wangyu- / udp2raw

A Tunnel which Turns UDP Traffic into Encrypted UDP/FakeTCP/ICMP Traffic by using Raw Socket,helps you Bypass UDP FireWalls(or Unstable UDP Environment)
MIT License
7.28k stars 1.17k forks source link

Why --mtu-warn is 1375 default? #530

Closed jearton closed 5 months ago

jearton commented 5 months ago

I found that even sending packets larger than 1375 was OK, just with warning logs. So should I raise the mtu warning threshold?

wangyu- commented 5 months ago

udp2raw acutally doesn't know what is the exact mtu your network supports. 1375 is only an experiential value. you can supress the warning by --mtu-warn 9999

wangyu- commented 5 months ago

there is an article in the wiki on MTU: https://github.com/wangyu-/udp2raw/wiki/about-mtu

jearton commented 5 months ago

OK, I got it.