-
Notifications
You must be signed in to change notification settings - Fork 759
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
Support for RFC4638 #572
Comments
|
Hi Andrew, Thanks for the pointers. The kernel support will be in the upcoming 16.1 in late January and the stable release 15.7.24 in early Januar. :) The last MPD bump I can see was in August, I don't believe the patches are in the FreeBSD ports tree yet. I've contacted David Wood, but so far I haven't gotten a response. I think it brings us down to 1 out of 3 issues:
|
|
Thanks for the response @fichtner - I installed opnsense yesterday, it seems to suggest the mpd5 version installed is 5.7 (4-nov-2015) - but I agree, I couldn't really see if that version did contain an MTU fix. Will try and find some information myself unless anyone else can comment with greater details. |
|
Hi Franco, the mpd support didn't make it in yet (and I see the last commit to the port was done with maintainer timeout).. looks like you're already in cc list for the PR containing the port patches (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203695) |
|
@koobs how should https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203695 be proceeded? Prodding, timeout? Build logs, etc? |
|
@koobs thanks, I will provide portlint and poudriere output |
|
@fichtner Yeah no problem, happy to test and make sure it's all working :) |
|
Kernel support was introduced to FreeBSD 11-CURRENT in r287654 and MFCed to 10-STABLE in r288918. The change should apply to any recent FreeBSD kernel (including 9.x, if that's what you're still using) without changes, as the kernel netgraph code is fairly static and mature. mpd5 support is yet to be committed to FreeBSD ports, though there is a patch in FreeBSD bug 203695. The revised patch follows comments from @koobs in the bug, and makes the incorporation of the RFC 4638 patches conditional on __FreeBSD_version being sufficiently high to indicate the relevant kernel support exists. If you add RFC 4638 support to an older kernel, you'll need to change net/mpd5/Makefile so that the RFC 4638 patches are included unconditionally. Once you have kernel and mpd5 support available, the FreeBSD bug tells you how to configure the PPPoE parent interfaces and mpd5. I believe your interfaces.inc has diverged quite significantly from pfSense's version. My experience of adding RFC 4638 support to pfSense suggests that the logic for setting and testing parent interface MTUs needs careful design. You need to support both physical interfaces and vlans as PPPoE parent interfaces whilst respecting the Principle of Least Astonishment. The vlan case is trickier to get right, not least as other vlans on the same physical interface having MTU > 1500 without explicit configuration is a bad idea! |
|
@andrew-s test package for mpd5 is now available. you'll also have to use the new kernel... Manual config is necessary still, but it should be functional at least. |
|
mpd 5.8 has been released with the fix and will be available in 15.7.24. The only missing piece is the GUI code additions for writing the proper config file. :) |
|
@andrew-s (or anyone else working on this) My implementation of RFC 4638 support for pfSense has now been merged into pfSense 2.3. The logic used is documented in the pull request. I hope that information is helpful. |
|
@davidjwood thanks for checking back and congrats for getting the feature merged finally :) I don't think this will make it in time for 16.1, but it'll be shipped in one of the minor updates that follow. |
|
@fichtner I haven't managed to get this to work, still seem to be getting 1492 regardless - doing "onsense-update -kr 15.7.24 && reboot" did upgrade, but the version numbers still seem to be off on the kernel - any ideas? |
|
Off how? 10.1-RELEASE-p25 is the kernel version. The real 15.7.24 is out on Monday along with MPD 5.8. The core adjustments are missing too, Ad will look at those after his well-deserved holiday. :) |
|
Running 15.7.24 and editing In addition I assigned an interface to the same network card as the PPPOE link (in my case em1) as follows: UNUSED__MTUFIX_ONLY (em1) config:Interface Assignments (ignore V4ONLY): |
fix mtu parent setting and add max-payload for pppoe
fix mtu parent setting and add max-payload for pppoe (cherry picked from commit 0953e76)
|
Confirmed by multiple users, will ship this tomorrow in 16.1.5. Thanks everyone!!! :) |


Been trying to get MTU > 1492 to work on PPPoE connections (my ISP supports that along with the modem i'm using), from some initial investigation I thought it would be the PPP daemon (mpd) but it looks like a few months ago they implemented this;
http://sourceforge.net/p/mpd/bugs/54/
But it seems it requires FreeBSD 10.2 to work (assuming it does work when all the pieces come together) - I believe, everything else has the support for the larger MTU's.
Thanks!
The text was updated successfully, but these errors were encountered: