1
0
mirror of https://github.com/yarrick/iodine.git synced 2024-11-25 22:46:05 +03:00

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.
- Disabled password echo on win32, fixes #44.
- 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"
- Fixed segfault in server when sending version reject.

View File

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