[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS: cvs.openbsd.org: src
- To: source-changes_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org
- Subject: CVS: cvs.openbsd.org: src
- From: Kjell Wooding <kjell_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org>
- Date: Sun, 1 Jul 2001 11:16:08 -0600 (MDT)
- Reply-to: Kjell Wooding <kjell_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org>
CVSROOT: /cvs
Module name: src
Changes by: kjell_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org 2001/07/01 11:16:03
Modified files:
sbin/pfctl : pfctl_parser.c
sys/net : pf.c pfvar.h
Log message:
Add port ranges to the rdr directive. Connections can be redirected
to either a range of the same size, or a single port. Redirects
between ranges of different sizes are not supported. Eg:
rdr dc0 10.0.0.0/24 port 60000:61000 -> 127.0.0.1 port 65530:* proto udp
rdr xl0 0.0.0.0/0 port 6660:6669 -> 127.0.0.1 port 6667 proto tcp
This replaces the wildcard port patch (when port = 0), as it should no
longer be necessary. ok dhartmei@
Visit your host, monkey.org