Re: ipfilter and ipfw order.

From: Vlad GALU (vladgalu_at_gmail.com)
Date: 06/24/05

  • Next message: Greg Rowe: "Looking For Ideas or Suggestions"
    Date: Fri, 24 Jun 2005 15:29:23 +0300
    To: freebsd-net@freebsd.org
    
    

    On 6/24/05, ming fu <fming@borderware.com> wrote:
    > Hi,
    >
    > In the 4.x kernel, ipfilter was hardcoded before ipfw in the ip_input().
    > However, in the 5.x kernel, they register themselve to the pfil hook. As
    > there isn't a priority number during the hook up, looks like who ever
    > register first get to filter the packet first.
    >
    > In case I want to preserve the 4.x behaviour of ipf before ipfw in the
    > input path, how do I reliable achieve that.

       Link ipfilter statically inside the kernel. Load ipfw as a module.

    >
    > Regards,
    > Ming
    > _______________________________________________
    > freebsd-net@freebsd.org mailing list
    > http://lists.freebsd.org/mailman/listinfo/freebsd-net
    > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
    >

    -- 
    If it's there, and you can see it, it's real.
    If it's not there, and you can see it, it's virtual.
    If it's there, and you can't see it, it's transparent.
    If it's not there, and you can't see it, you erased it.
    _______________________________________________
    freebsd-net@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-net
    To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
    

  • Next message: Greg Rowe: "Looking For Ideas or Suggestions"

    Relevant Pages

    • Re: IPFW, IPFilter and NAT
      ... >> ipfilter and dummynet I don't know. ... > compile them in kernel, then the answer was not stated. ... a second check does the same for IPFW. ... also allow me to use IPFW stateful features on NAT'ed connections, ...
      (comp.unix.bsd.freebsd.misc)
    • RE: strange problem with ipfw and rc.conf
      ... compile either one of the firewalls into the kernel to work. ... You need to read the firewall section of the handbook. ... I would recommend you use ipfilter as your firewall. ... IPFW is for the experienced firewall user who has FW ...
      (freebsd-questions)
    • Statefull filtering with IPFW + IPFilter (was: Packet flow through IPFW+IPF+IPNAT)
      ... > make a difference if they were loaded as modules or compiled in kernel. ... I have done some tests with IPFW and IPF compiled in kernel and I was ... not work in IPFW but only work in IPFilter ??? ... This flow of packets will give IPFW work with right statefull filtering ...
      (FreeBSD-Security)
    • Re: networking fubar
      ... >> ipfw, ipfilter or pf? ... > as luigi pointed out privately, there is a new ipfw and i was ... > running a kernel without the matching installworld. ...
      (freebsd-current)
    • Re: FreeBSD Gateway problems
      ... >speed connection for 3 years now, and I've just gotten it back. ... >Well all these other How-Tos I found on FreeBSDDiary.org told me all I needed ... To use ipfw adding these options to your kernel is a good place to start: ...
      (freebsd-questions)