Date: Sun, 13 Apr 2014 05:58:58 GMT From: Bill Yuan <bycn82@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/188542: ipfw option `in` is not working on FreeBSD Message-ID: <201404130558.s3D5wwLU045720@cgiserv.freebsd.org> Resent-Message-ID: <201404130600.s3D600Hl086891@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 188542 >Category: misc >Synopsis: ipfw option `in` is not working on FreeBSD >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Apr 13 06:00:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Bill Yuan >Release: 10 Release >Organization: cozilyworks >Environment: FreeBSD FB10 10.0-RELEASE FreeBSD 10.0-RELEASE #0: Sun Apr 13 03:14:30 HKT 2014 root@FB10:/usr/obj/usr/src/sys/GENERIC amd64 >Description: according to the man page, the rule option `in|out` are still supported in FreeBSD10. But somehow the rule with in did not match anything in my case. >How-To-Repeat: root@FB10:~ # ipfw -f flush Flushed all rules. //Create rules <--------------------------------- root@FB10:~ # ipfw add count all from any to any MAC any any in via em0 00100 count ip from any to any MAC any any in via em0 root@FB10:~ # ipfw add count all from any to any MAC any any via em0 00200 count ip from any to any MAC any any via em0 //Check counters<----------------------------------- root@FB10:~ # ipfw show 00100 0 0 count ip from any to any MAC any any in via em0 00200 26 2232 count ip from any to any MAC any any via em0 65535 3453 293448 allow ip from any to any >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404130558.s3D5wwLU045720>