Module Name:    src
Committed By:   martin
Date:           Fri Feb  9 14:05:29 UTC 2018

Modified Files:
        src/sys/netinet [netbsd-7-1]: ip_input.c

Log Message:
Pull up following revision(s) (requested by maxv in ticket #1563):
        sys/netinet/ip_input.c: revision 1.366 (via patch)

Disable ip_allowsrcrt and ip_forwsrcrt. Enabling them by default was a
completely dumb idea, because they have security implications.

By sending an IPv4 packet containing an LSRR option, an attacker will
cause the system to forward the packet to another IPv4 address - and
this way he white-washes the source of the packet.

It is also possible for an attacker to reach hidden networks: if a server
has a public address, and a private one on an internal network (network
which has several internal machines connected), the attacker can send a
packet with:
        source =
        destination = public address of the server
        LSRR first address = address of a machine on the internal network
And the packet will be forwarded, by the server, to the internal machine,
in some cases even with the internal IP address of the server as a source.

To generate a diff of this commit:
cvs rdiff -u -r1.319 -r1.319.10.1 src/sys/netinet/ip_input.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Reply via email to