FreeBSD Bug 188261 - How to apply patch to pfSense
-
@maverickws said in FreeBSD Bug 188261 - How to apply patch to pfSense:
I'll go to pfSense bug tracker
pls. let me suggest his help as well @viktor_g
-
@DaddyGo I've added here:
https://redmine.pfsense.org/issues/10820Thanks!
-
@maverickws said in FreeBSD Bug 188261 - How to apply patch to pfSense:
I've added here:
nice..
You Welcome -
@DaddyGo Hi,
I just wanted to post an update, after some tests I concluded that this issue was only happening when I was using Hetzner vSwitch, and after creating new network interfaces and assigning those the issue stopped. So it is not due to pfSense nor the virtualisation per se.
Cheers -
@maverickws said in FreeBSD Bug 188261 - How to apply patch to pfSense:
Hetzner vSwitch
In any case, it is definitely useful for lessons and information about Hetzner vSwitch vs. pfSense
-
Just for reference if you wanted to apply that patch (which you don't because it's ancient) you would need to do so against the pfSense source code and then build it. You can't apply it against an installed system, it's against C source code.
https://github.com/pfsense/FreeBSD-src/blob/RELENG_2_4_5/sys/netinet/ip_fastfwd.cSteve
-
@DaddyGo said in FreeBSD Bug 188261 - How to apply patch to pfSense:
In any case, it is definitely useful for lessons and information about Hetzner vSwitch vs. pfSense
Right. So here what happened was I had set the LAN interface to MTU 1400, but apparently that was not enough (at all!)
What I did next was to, in:
Services > DHCP Serverfor each interface that was connected to Hetzner's vSwitch I have added to:
- Additional BOOTP/DHCP Options
Option Number: 26
Type: Unsigned 16 bit integer
Value: 1400This fixed it, but afterwards I went to the interfaces and also added MSS 1400 (for target value 1360).
@stephenw10 said in FreeBSD Bug 188261 - How to apply patch to pfSense:
Just for reference if you wanted to apply that patch (which you don't because it's ancient) you would need to do so against the pfSense source code and then build it. You can't apply it against an installed system, it's against C source code.
https://github.com/pfsense/FreeBSD-src/blob/RELENG_2_4_5/sys/netinet/ip_fastfwd.cSteve
Yes I see that now. But actually it turned out to be good that wasn't easily patched as the solution was not related to that!!
-
Nice catch. That's an unfortunate situation if you really need to apply that to everything.
Is that workaround documented anywhere?
Steve
-
Hi Stephen, not that I know of.
Actually I busted my brains for three days trying to figure out the issue. As I was already looking to patch pfSense :D and all lol.So basically here I had set the LAN/DMZ etc interface (the internal facing) to MTU 1400 on the interface configuration. I had assumed that by having the interface at 1400 mtu it would automatically set it to all the client interfaces but apparently not.
So after I added the additional dhcp options all started working just fine, but decided to configure MSS anyway after reading about.
-
If you want this patch I think the best avenue is a ticket on redmine. If the pfSense developers agree, then they will patch themselves. Otherwise it is waiting until an eventual update which would use a patched version of FreeBSD
-
@chrcoluk said in FreeBSD Bug 188261 - How to apply patch to pfSense:
ticket on redmine
if you read, this has happened in the past
@maverickws " I've added here:
https://redmine.pfsense.org/issues/10820Thanks!"