ipfw modip
Marcelo Araujo
araujobsdport at gmail.com
Mon Mar 10 02:11:12 UTC 2008
Hi all,
In this weekend I worked again in modip function and I added the patchs
sent by novel@, but I've a some doubt around an error.
When I add within ip_fw.h:
162 O_TAGGED, /* arg1=tag number */
163
164 O_SET_IPDF,
165 O_SETIPTOSPRE,
The O_SET_IPDF running right, but O_SETIPTOSPRE no as below:
island# ipfw add modip df:0 ip from any to any
65100 setdf 0 ip from any to any
island# ipfw add modip ippre:flash ip from any to any
ipfw: getsockopt(IP_FW_ADD): Invalid argument
island#
When I change the sequence and put the O_IPTOSPRE in first location
within ip_fw.h:
162 O_TAGGED, /* arg1=tag number */
163
164 O_SETIPTOSPRE,
165 O_SET_IPDF,
island# ipfw add modip ippre:flash ip from any to any
65300 iptospre flash ip from any to any
island# ipfw add modip df:0 ip from any to any
ipfw: getsockopt(IP_FW_ADD): Invalid argument
Somebody can close look and point where I did an error.
The patch are at: http://people.freebsd.org/~araujo/logs/modip.diff
Best Regards,
--
Marcelo Araujo (__)
araujo at FreeBSD.org \\\'',)
http://www.FreeBSD.org \/ \ ^
Power To Server. .\. /_)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-ipfw/attachments/20080310/d29d8e6a/signature.pgp
More information about the freebsd-ipfw
mailing list