Hello every one,
I want to add a parameter in commands for ipfw,  like " ipfw add allow udp
from any to any *udpdatalen 10 * ".

I changes in /usr/src/sbin/ipfw/ipfw2.c like tcpdatalen option and now i
have udpdatalen command correctly in cli, but when i add argument(10) this
error occurred.
" *ipfw: getsockopt(IP_FW_ADD): Invalid argument* "

also I define variables in /usr/src/sys/netinet/ip_fw.h and change .c files
in /usr/src/sys/net pfil/ and build kernel and did not changed that error.

Thank you for all of your comments and help.







--
View this message in context: 
http://freebsd.1045724.n5.nabble.com/chnage-source-of-IPFW-tp6015918.html
Sent from the freebsd-ipfw mailing list archive at Nabble.com.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw
To unsubscribe, send any mail to "[email protected]"

Reply via email to