]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Introduce two new MAC Framework and MAC policy entry points:
authorRobert Watson <rwatson@FreeBSD.org>
Thu, 21 Aug 2003 18:39:16 +0000 (18:39 +0000)
committerRobert Watson <rwatson@FreeBSD.org>
Thu, 21 Aug 2003 18:39:16 +0000 (18:39 +0000)
commitbaee0c3e6678567b56caad178cc3da040e79a94b
tree6a1f15378f4332cafbb49bbd7fdcf872e2d43637
parenteb8c7f999290d0cd203ab601aa1ebe613a7822ff
Introduce two new MAC Framework and MAC policy entry points:

  mac_reflect_mbuf_icmp()
  mac_reflect_mbuf_tcp()

These entry points permit MAC policies to do "update in place"
changes to the labels on ICMP and TCP mbuf headers when an ICMP or
TCP response is generated to a packet outside of the context of
an existing socket.  For example, in respond to a ping or a RST
packet to a SYN on a closed port.

Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
sys/netinet/ip_icmp.c
sys/netinet/tcp_subr.c
sys/netinet/tcp_timewait.c