Re: chnage source of IPFW

2015-06-01 Thread samira
realy I want to detect rtp packets in add it by udpoption. so i add ucpdatalen similar to tcpdatalen for pilot. I think Only step 1 and 4 is done in stes that you said. now where is decoding functions? -- View this message in context: http://freebsd.1045724.n5.nabble.com/Change-source-of-IPFW-

Re: chnage source of IPFW

2015-06-01 Thread samira
In ip_fw_sockopt.c does not exist the check_ipfw_rule_body() function but in the check_ipfw_struct() I check opcode of new command and no change state and give that error! -- View this message in context: http://freebsd.1045724.n5.nabble.com/Change-source-of-IPFW-tp6015918p6016130.html Sent f

Re: chnage source of IPFW

2015-06-01 Thread Luigi Rizzo
; *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. > > > > &

Re: chnage source of IPFW

2015-06-01 Thread Andrey V. Elsukov
On 01.06.2015 12:44, samira wrote: > 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

chnage source of IPFW

2015-06-01 Thread samira
ext: http://freebsd.1045724.n5.nabble.com/chnage-source-of-IPFW-tp6015918.html Sent from the freebsd-ipfw mailing list archive at Nabble.com. ___ freebsd-ipfw@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw To unsubscri