ipfw to iptables
Mon, 22 Oct 2001 13:14:13 +0800
On Monday 22 October 2001 12:49, mehrdad nosrati wrote:
> 4) I dont know which rule can forbiden IP source route in to my
> This can be done in FreeBSD as like:
> ipfw add 10 deny log ip from any to "my ip address" ipoptions
> ipfw add 11 deny log ip from any to "my ip address" ipoptions
For the sequence number that netfilter use automatically
for you, I guess if you want to change that you will
have to hack some code. You can always contribute it back
on the netfilter-devel mailing list...
For ipv4 options, get the latest version of netfilter by
CVS (instruction on main page). go into the userspace directory and type
# make most-of-pom
recompile your kernel and netfilter userspace tools.
make install and there you go.
For info on how to use it, type
iptables -m ipv4options --help
or read the source.
Have a nice day,
Senior R&D Engineer
"Silly hacker, root is for administrators"