* cross-compile mips iptables segmentation fault on some commands
[not found] <AANLkTikF1V4vXmLn6FlbdSnr9MMa0qgfa9BWkLajfJoO@mail.gmail.com>
@ 2010-07-01 18:00 ` miranoko
2010-07-07 17:14 ` Jan Engelhardt
0 siblings, 1 reply; 2+ messages in thread
From: miranoko @ 2010-07-01 18:00 UTC (permalink / raw)
To: netfilter
I cross compiled iptables for mips architecture and tried running iptables.
when i do input accept or drop it works.
but when i do iptables -A xyz it produces segmentation fault.
other commands iptables -v and save,restore work fine.
Please let me know what i am doing wrong. what logs should i be
looking at for this.
/ # iptables -P INPUT ACCEPT
/ # iptables -P INPUT DROP
/ # iptables -A I
Segmentation fault
/ #
/ # iptables -t nat -L
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: cross-compile mips iptables segmentation fault on some commands
2010-07-01 18:00 ` cross-compile mips iptables segmentation fault on some commands miranoko
@ 2010-07-07 17:14 ` Jan Engelhardt
0 siblings, 0 replies; 2+ messages in thread
From: Jan Engelhardt @ 2010-07-07 17:14 UTC (permalink / raw)
To: miranoko; +Cc: netfilter
On Thursday 2010-07-01 20:00, miranoko wrote:
>I cross compiled iptables for mips architecture and tried running iptables.
>when i do input accept or drop it works.
>but when i do iptables -A xyz it produces segmentation fault.
>other commands iptables -v and save,restore work fine.
>Please let me know what i am doing wrong. what logs should i be
>looking at for this.
>
>/ # iptables -P INPUT ACCEPT
>/ # iptables -P INPUT DROP
>/ # iptables -A I
>Segmentation fault
>/ #
I don't have mips myself. Can you isolate? printfs, gdb, valgrind,
whatever works.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-07-07 17:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <AANLkTikF1V4vXmLn6FlbdSnr9MMa0qgfa9BWkLajfJoO@mail.gmail.com>
2010-07-01 18:00 ` cross-compile mips iptables segmentation fault on some commands miranoko
2010-07-07 17:14 ` Jan Engelhardt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).