You are not logged in.
Here is my (humble) script :
#Flush
iptables -F INPUT
iptables -F OUTPUT
iptables -F FORWARD
#Default policy
iptables -P INPUT DROP
iptables -P FORWARD DROP
iptables -P OUTPUT ACCEPT
#Loopback interface
iptables -A INPUT -i lo -j ACCEPT
#We can ping us
iptables -A INPUT -i eth0 -p icmp -j ACCEPT
iptables -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
The last line generates this strange error :
iptables: Unknown error 4294967295
Does anyone figure out what my mistake is or is this a bug(less likely) ?
EDIT : problem is solved
Cause :
'state match' module was not built...
Solution :
I rebuilt the module.
Thanks for advice anyway, that's what led me to this.
If only iptables had been more verbose than error ####### , I could have figured it out myself
Offline
I would suspect it is your last rule. It doesn't have any source or destination delimiters.
Try commenting out that line, and rerun the script..just to see.
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline