Re: kern/188543: [ipfw] ipfw option `in` is not working on FreeBSD10

2014-04-16 Thread bycn82
Hi According to the `loop` in the chk() function, everytime it was invoked, the arg will be checked against `the chain`, so I assumed that the same is always the same, I saw that, `the chain` is always `V_layer3_chain`, but I did not find any V_layer2_chain !!! So I assumed that currently i

Re: kern/188543: [ipfw] ipfw option `in` is not working on FreeBSD10

2014-04-16 Thread bycn82
Cool! I just finished the overview of the source code,and finally understood the `for loop` in the ip_fw2.c roughly, beside of the coding style,sorry for my ironic words, I want to ask whether my understanding is correct. you wrap the packet/frame in the `check frame` or `check packet` which

Re: kern/188543: [ipfw] ipfw option `in` is not working on FreeBSD10

2014-04-16 Thread bycn82
tks for ur testing, u r right, that s the reason y i said the `in` option is not functioning properly. and who is the guy maintains the source of ipfw. two things i want to said to him, 1. the source of ipfw is cool,amazingly powerful, by reading the source code, it found actually it checked

Re: kern/188543: [ipfw] ipfw option `in` is not working on FreeBSD10

2014-04-16 Thread ae
Synopsis: [ipfw] ipfw option `in` is not working on FreeBSD10 Responsible-Changed-From-To: freebsd-ipfw->ae Responsible-Changed-By: ae Responsible-Changed-When: Wed Apr 16 14:19:42 UTC 2014 Responsible-Changed-Why: Take it. http://www.freebsd.org/cgi/query-pr.cgi?pr=188543 __

Re: kern/188543: [ipfw] ipfw option `in` is not working on FreeBSD10

2014-04-16 Thread lhmwzy
The following reply was made to PR kern/188543; it has been noted by GNATS. From: lhmwzy To: bug-follo...@freebsd.org, byc...@gmail.com Cc: Subject: Re: kern/188543: [ipfw] ipfw option `in` is not working on FreeBSD10 Date: Wed, 16 Apr 2014 21:12:42 +0800 --001a11c12c1af3685704f728aba7 Conte

Re: kern/188543: [ipfw] ipfw option `in` is not working on FreeBSD10

2014-04-16 Thread bycn82
thanks for commenting, for testing i started to read the source code this morning when i was in the mrt. i was a java developer and the source code for i have to said "what a mess!" On Wed, 16 Apr 2014 10:40:00 +0800, lhmwzy wrote: The following reply was made to PR kern/188543; it has been