Set interface MTU to 1200.

1188 is the uncompressed DNS reply payload size that gets through
unfragmented on Ethernet.
This commit is contained in:
Erik Ekman 2009-03-07 00:32:14 +00:00 committed by Erik Ekman
parent 3db5cd24b7
commit addd798712
2 changed files with 4 additions and 2 deletions

View file

@ -15,7 +15,9 @@ CHANGES:
- Added win32 code to read DNS server from system, fixes #45. - Added win32 code to read DNS server from system, fixes #45.
- Disabled password echo on win32, fixes #44. - Disabled password echo on win32, fixes #44.
- Fix encoding error making all autoprobing > 1024 bytes fail, #52. - Fix encoding error making all autoprobing > 1024 bytes fail, #52.
- Increase default interface MTU to 1500. - Increase default interface MTU to 1200.
- Fix autoprobing error making every third probe fail, set IP flag
Dont-Fragment where supported. Fixes #54.
2009-01-23: 0.5.0 "iPassed" 2009-01-23: 0.5.0 "iPassed"
- Fixed segfault in server when sending version reject. - Fixed segfault in server when sending version reject.

View file

@ -969,7 +969,7 @@ main(int argc, char **argv)
foreground = 0; foreground = 0;
bind_enable = 0; bind_enable = 0;
bind_fd = 0; bind_fd = 0;
mtu = 1500; mtu = 1200;
listen_ip = INADDR_ANY; listen_ip = INADDR_ANY;
port = 53; port = 53;
ns_ip = INADDR_ANY; ns_ip = INADDR_ANY;