-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FreeBSD MTU issue w/fix #1677
Comments
@tickerguy , please create a PR. also, please notice that this repo belongs to "SE VPN Developer Edition" (versioned 5.x.x), code is aligned to stable edition, but accepting PR will not propse changes to stable edition automatically. i.e. you will need to test 5.x.x built from git master. @metalefty , I recall you run SE VPN on freebsd, can you please review these changes ? |
Yes, I will review after @tickerguy creates a PR for 5.x. |
Done (I think -- last time I set up a pull it was through Jira, so hope
I did it right :-))
On 10/19/2022 06:14, metalefty wrote:
Yes, I will review after @tickerguy <https://github.com/tickerguy>
creates a PR for 5.x.
—
Reply to this email directly, view it on GitHub
<#1677 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADJVXIH5W3BESEVDQTOV4F3WD7CY3ANCNFSM6AAAAAARIQJ54M>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
Karl Denninger
***@***.***
/The Market Ticker/
/[S/MIME encrypted email preferred]/
|
- Fix DNS resolution when no IPv6 address is configured on any interface [1] - Disable MTU changes to avoid frequent interface up/down [2] [1] SoftEtherVPN/SoftEtherVPN#1510 [2] SoftEtherVPN/SoftEtherVPN#1677 Obtained from: SoftEtherVPN/SoftEtherVPN#1510 PR: 267178
- Fix DNS resolution when no IPv6 address is configured on any interface [1] - Disable MTU changes to avoid frequent interface up/down [2] [1] SoftEtherVPN/SoftEtherVPN#1510 [2] SoftEtherVPN/SoftEtherVPN#1677 Obtained from: SoftEtherVPN/SoftEtherVPN#1510 PR: 267178 (cherry picked from commit a2224f6)
softether-4.38.9760
Server
FreeBSD 13.1-STABLE
64-bit AMD
The server attempts to modify the MTU of the local interface so as to use jumbo frames if the attempted transmission will be more than the default (typically 1500 bytes for an Ethernet controller.) This behavior is disabled if the interface is opened raw, but that is only supported on Linux.
On FreeBSD this results in multiple attempts to reset the MTU higher, and then complaints when even the interfaces maximum jumbo frame size is insufficient.
Expected behavior:
The server should function normally.
Actual behavior:
The server repeatedly attempts to modify the MTU, each of which attempts results in an up/down and is wildly destructive to network traffic and other services on the machine.
Steps to reproduce
Start server on FreeBSD (loaded from packages, or built from ports.)
Note repeated up/downs in the dmesg log and complaints in the server logfiles about MTU size.
Patch -
The following patch against src/Cedar/BridgeUnix.c resolves the problem by disabling the MTU reset function if and only if the software is compiled on FreeBSD.
The text was updated successfully, but these errors were encountered: