[Midnightbsd-cvs] [MidnightBSD/src] 3df01f: ipfw: Add sysctl flag CTLFLAG_TUN to loader tunables
Zhenlei Huang
noreply at github.com
Thu Nov 23 15:25:45 EST 2023
Branch: refs/heads/master
Home: https://github.com/MidnightBSD/src
Commit: 3df01f4b49d495e92e94b4486181e81a4277b3ef
https://github.com/MidnightBSD/src/commit/3df01f4b49d495e92e94b4486181e81a4277b3ef
Author: Zhenlei Huang <zlei at FreeBSD.org>
Date: 2023-11-23 (Thu, 23 Nov 2023)
Changed paths:
M sys/netpfil/ipfw/ip_fw_pfil.c
Log Message:
-----------
ipfw: Add sysctl flag CTLFLAG_TUN to loader tunables
The following sysctl variables are actually loader tunables. Add sysctl
flag CTLFLAG_TUN to them so that `sysctl -T` will report them correctly.
1. net.inet.ip.fw.enable
2. net.inet6.ip6.fw.enable
3. net.link.ether.ipfw
No functional change intended.
Reviewed by: glebius
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D41928
(cherry picked from commit 49197c391b3d49a33bcd08471bf64d533cd10f9d)
(cherry picked from commit f5f6da90597cb65ce55c4f17718a200097f6f78f)
(cherry picked from commit 09f08dbe248e6ffd031c1eff26aeacef0c6880e9)
Commit: 0daa41d3addd46e55193348087cb29e7a0de717f
https://github.com/MidnightBSD/src/commit/0daa41d3addd46e55193348087cb29e7a0de717f
Author: Zhenlei Huang <zlei at FreeBSD.org>
Date: 2023-11-23 (Thu, 23 Nov 2023)
Changed paths:
M sbin/ipfw/ipfw.8
Log Message:
-----------
ipfw.8: Adjust section for loader tunables
Move the descriptions of loader tunables from section 'SYSCTL VARIABLES'
to section 'LOADER TUNABLES'.
See also 49197c391b3d (ipfw: Add sysctl flag CTLFLAG_TUN to loader tunables).
MFC after: 2 days
Differential Revision: https://reviews.freebsd.org/D41981
(cherry picked from commit 12349f38898f231ca803dcf526bac88cb1b5cd2b)
(cherry picked from commit bb6f9a95402a6c3ab8167481b81465f8ad5016fc)
(cherry picked from commit e31a331ddda6ffcb711bb950794be5d53e537e2a)
Commit: b74ffdc110ce2ce942025c59b22f974ae02eb2e4
https://github.com/MidnightBSD/src/commit/b74ffdc110ce2ce942025c59b22f974ae02eb2e4
Author: Zhenlei Huang <zlei at FreeBSD.org>
Date: 2023-11-23 (Thu, 23 Nov 2023)
Changed paths:
M sys/netinet/ip_mroute.c
Log Message:
-----------
ip_mroute: Fix sysctl knobs
The loader tunable `net.inet.ip.mfchashsize` does not have corresponding
sysctl MIB entry. Just add it.
While here, the sysctl variable `net.inet.pim.squelch_wholepkt` is actually
a loader tunable. Add sysctl flag CTLFLAG_TUN to it so that `sysctl -T`
will report it correctly.
Reviewed by: kp
Fixes: 443fc3176dee Introduce a number of changes to the MROUTING code
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D41997
(cherry picked from commit f549e22901b3a391c76659bee55802b1214112fd)
(cherry picked from commit b0f026435a150933ecb6f2d1359fd1b4898657f1)
(cherry picked from commit ef3edef9ec8b7d19e5f66c385340604ab29ccc78)
Commit: 2345f0ee54813260d3cd6d1c17eb0e65a8864e48
https://github.com/MidnightBSD/src/commit/2345f0ee54813260d3cd6d1c17eb0e65a8864e48
Author: Zhenlei Huang <zlei at FreeBSD.org>
Date: 2023-11-23 (Thu, 23 Nov 2023)
Changed paths:
M sys/netpfil/ipfilter/netinet/mlfk_ipl.c
Log Message:
-----------
ipfilter: Add sysctl flag CTLFLAG_TUN to loader tunable
The sysctl variable `net.inet.ipf.large_nat` is actually a loader
tunable. Add sysctl flag CTLFLAG_TUN to it so that `sysctl -T` will
report it correctly.
No functional change intended.
Reviewed by: cy (for #network)
Fixes: a805ffbcbce8 ipfilter: Make LARGE_NAT a tunable
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D42005
(cherry picked from commit ba883e7a5ac43b27a373f2b1b0044fd2eb769d4e)
(cherry picked from commit a9359dcde241f17421a71bc8c96dee08625db9dd)
(cherry picked from commit 25c371dc559a9ea23905baa5cbfed3f6d9d6eb5c)
Compare: https://github.com/MidnightBSD/src/compare/30885858af8f...2345f0ee5481
More information about the Midnightbsd-cvs
mailing list