Contributed by sean on from the yet another feature dept.
Cedric Berger has checked in changes to the routing subsystem that allows packets to be routed based on their source address.
Here's the commit message:
CVSROOT: /cvs Module name: src Changes by: firstname.lastname@example.org 2004/06/06 10:49:09
sys/conf : files sys/net : pf.c route.c route.h rtsock.c sys/netinet : in.h in_pcb.c ip_icmp.c ip_input.c ip_output.c ip_var.h Added files: sys/net : route_src.c Log message: extend routing table to be able to match and route packets based ontheir *source* IP address in addition to their destination address.routing table "destination" now contains a "struct sockaddr_rtin"for IPv4 instead of a "struct sockaddr_in".the routing socket has been extended in a backward-compatible way.todo: PMTU enhancements, ok deraadt@ mcbride@
(Comments are closed)