cvs commit: src/sys/netinet ip_icmp.c src/share/man/man4 icmp.4

Andre Oppermann andre at
Sun Aug 21 15:13:06 GMT 2005

Andre Oppermann wrote:
> andre       2005-08-21 15:09:07 UTC
>   FreeBSD src repository
>   Modified files:
>     sys/netinet          ip_icmp.c
>     share/man/man4       icmp.4
>   Log:
>   Add a sysctl to change to length of the quotation of the original
>   packet in an ICMP reply.  The minimum of 8 bytes is internally
>   enforced.  The maximum quotation is the remaining space in the
>   reply mbuf.
>   This option is added in response to the issues raised in I-D
>   draft-gont-icmp-payload-00.txt.

Grmpf...  Typing :wq too fast.  The sysctl name is net.inet.icmp.quotelen.

Next I'm going to make this more intelligent by always quoting the entire
TCP header including TCP options if the original packet was TCP.  This
aids in-the-wild debugging a lot and allows the receiver to do more
elaborate checks on the validity of the response.


More information about the cvs-src mailing list