Re: chnage source of IPFW

2015-06-01 Thread Luigi Rizzo
On Mon, Jun 1, 2015 at 11:44 AM, samira nazari@gmail.com 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 * . ​adding commands is doable but it requires you to touch multiple parts of the code, namely: - the

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 i add

Please, review my change to ipfw, I want to commit it :)

2015-06-01 Thread Lev Serebryakov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 https://reviews.freebsd.org/D1776 It was discussed in this list some time ago, but looks like everything stuck. Any comments/objections? This patch works on my router since first patch version without problems and allows me to greatly

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