[patch] ICMP unreach, frag needed but df set + ro mtu broken



Hi,

while looking at an entirely different problems I found that icmp
unreach, frag needed but df set does not take into account any route
mtu in ip_forward breaking pmtu.

I put a patch here:
http://sources.zabbadoz.net/freebsd/patchset/patch-20071228-02-ip-forward-unreach-needfrag-ro.diff

Testing and review welcome.


PS: After a quick glance I think ip_fastfwd should be ok.

--
Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT
Software is harder than hardware so better get it right the first time.
_______________________________________________
freebsd-net@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • freebsd 5.3R and ipx routing troubles
    ... ipx router. ... A network scheme is simple: ... fxp0: flags=8843mtu 1500 ... Adding route to interface fxp3f0 ...
    (freebsd-net)
  • ICMP_UNREACH_NEEDFRAG broken in -current
    ... Internal network MTUs are 1500. ... but continues to use the default route with an MTU of 1500. ... which returns another zero and nothing interesting happens (cvs blame says ...
    (freebsd-net)
  • Re: OSA-Express, 100mb Token-Ring, QDIO, MTU Size Question
    ... What you are suggesting the OSA does would, I think, require too much ... ROUTE DEFAULT 192.168.0.224 OSD1 MTU 4070 ... port on my z/OS 1.7 LPARs to 4070 using the GATEWAY statement (still ...
    (bit.listserv.ibm-main)
  • Re: I love TCPIP (not!)
    ... LAN/subnetwork as the OSA feature and the adjacent router, ... such destination. ... entry with a subnetwork route. ... ROUTE DEFAULT 10.1.1.254 ETH1 MTU 8192 ...
    (bit.listserv.ibm-main)
  • routing bug?
    ... I am experiencing some weird routing phenomena. ... When I open a UDP socket and send datagrams to an address ... switch from going out the route specific interfaceto going out ... fxp0: flags=8843mtu 1500 ...
    (freebsd-stable)