[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: Cedric Berger <cedric_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org>
- Date: Sun, 6 Jun 2004 11:08:23 -0600 (MDT)
CVSROOT: /cvs
Module name: src
Changes by: cedric_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org 2004/06/06 11:08:23
Modified files:
sbin/route : keywords.c keywords.h keywords.sh route.8
route.c show.c
Log message:
add new "-src" and "-srcmask" modifiers to make it possible to add a source
selector part to the routing table entry. complements existing "-dst" and
"-dstmask". typical use:
route add -src 20.20.20.22 20.20.20.21
route add -src 192.168.1.0/24 -dst 192.168.2.0/24 20.20.20.21
useful for example to implement symetrical routing on multihomed boxes,
or to better select which packets to send to gif/tun/... tunnels.
new '-S' flag similar to netstat one. ok deraadt@ mcbride@
Visit your host, monkey.org