OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Henning Brauer (henning_at_cvs.openbsd.org)
Date: Mon Oct 14 2002 - 07:58:28 CDT

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    CVSROOT: /cvs
    Module name: src
    Changes by: henningcvs.openbsd.org 2002/10/14 06:58:28

    Modified files:
            sys/net : pf.c pfvar.h
            sbin/pfctl : parse.y pfctl_parser.c

    Log message:
    Allow one to specify a netblock in a binat rule:

    binat on fxp0 from 192.168.0.32/27 to any -> 10.0.7.128/27

    Both the network mask on the source and redirect addresses MUST be the
    same, and it works by essentially combining the network section of the
    redirect address with the host section of the source address.

    from ryan

    ok dhartmei