Re: net.pf.request_maxcount not working after upgrading from 12.1-RELEASE to 12.2 RELEASE.

2020-12-12 Thread Kristof Provost

On 12 Dec 2020, at 15:07, Franco Fichtner wrote:

There's no reason for this to be a tunable. It's perfectly safe to
change this at runtime.


Well, RWTUN would have enabled both boot and runtime which is also
"perfectly safe".  :)


Good idea. Done in 368588.

I expect to be bothering people about an EN for the vnet/epair issue 
next week, I’ll see if I can include this in the bothering.


Best regards,
Kristof
___
freebsd-pf@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-pf
To unsubscribe, send any mail to "freebsd-pf-unsubscr...@freebsd.org"


Re: net.pf.request_maxcount not working after upgrading from 12.1-RELEASE to 12.2 RELEASE.

2020-12-12 Thread Franco Fichtner


> There's no reason for this to be a tunable. It's perfectly safe to
> change this at runtime.

Well, RWTUN would have enabled both boot and runtime which is also
"perfectly safe".  :)


Cheers,
Franco
___
freebsd-pf@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-pf
To unsubscribe, send any mail to "freebsd-pf-unsubscr...@freebsd.org"


Re: net.pf.request_maxcount not working after upgrading from 12.1-RELEASE to 12.2 RELEASE.

2020-12-12 Thread Dimitry Andric
On 12 Dec 2020, at 10:55, Segreteria  wrote:
> 
> I can no longer load pf at boot without workarounds as after upgrade to 
> 12.2-RELEASE net.pf.request_maxcount=30 in /boot/loader.conf is not 
> loaded before pf starts.
> 
> Can somebody explain exactly why is this happening? Is this a new policy of 
> this kernel parameter?

It seems to have changed with https://svnweb.freebsd.org/changeset/base/364456:


r364456 | kp | 2020-08-21 15:11:33 +0200 (Fri, 21 Aug 2020) | 7 lines

MFC r355744:

pf: Make request_maxcount runtime adjustable

There's no reason for this to be a tunable. It's perfectly safe to
change this at runtime.



> What is the suggested way to face this change?

I believe it must be set in sysctl.conf(5) after this change.

-Dimitry

___
freebsd-pf@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-pf
To unsubscribe, send any mail to "freebsd-pf-unsubscr...@freebsd.org"


net.pf.request_maxcount not working after upgrading from 12.1-RELEASE to 12.2 RELEASE.

2020-12-12 Thread Segreteria

Hi everybody,

I can no longer load pf at boot without workarounds as after upgrade to 
12.2-RELEASE net.pf.request_maxcount=30 in /boot/loader.conf is not 
loaded before pf starts.


Can somebody explain exactly why is this happening? Is this a new policy 
of this kernel parameter?


What is the suggested way to face this change?

Regards.

Nicola

___
freebsd-pf@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-pf
To unsubscribe, send any mail to "freebsd-pf-unsubscr...@freebsd.org"