[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS: cvs.openbsd.org: src

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
route add -src -dst

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@