opnsense-src/sys/net
Zhenlei Huang 34db75d218 if_vxlan(4): Add checking for loops and nesting of tunnels
User misconfiguration, either tunnel loops, or a large number of
different nested tunnels, can overflow the kernel stack. Prevent that
by using if_tunnel_check_nesting().

PR:		278394
Diagnosed by:	markj
Reviewed by:	kp
Approved by:	re (cperciva)
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D45197

(cherry picked from commit 93fbfef0b50354b7a1620822454ef29cd415cb2d)
(cherry picked from commit 3ebd2b1c73)
2024-05-23 07:00:03 +08:00
..
altq
route fib_algo(4): Lower level of algorithm switching messages to LOG_INFO 2024-04-18 21:30:33 +02:00
bpf.c bpf: Make dead_bpf_if const 2023-11-13 11:56:57 +08:00
bpf.h
bpf_buffer.c
bpf_buffer.h
bpf_filter.c
bpf_jitter.c
bpf_jitter.h
bpf_zerocopy.c
bpf_zerocopy.h
bpfdesc.h
bridgestp.c
bridgestp.h
debugnet.c debugnet: Fix logging of frame length 2024-04-15 12:00:50 +08:00
debugnet.h
debugnet_inet.c
debugnet_int.h
dlt.h
ethernet.h Teach if_smsc to get MAC from bootargs. 2023-12-28 15:40:31 +01:00
firewire.h
ieee8023ad_lacp.c
ieee8023ad_lacp.h
ieee_oui.h
if.c if: guard against if_ioctl being NULL 2024-05-20 09:38:40 +02:00
if.h net: Fix two typos in source code comments 2024-01-23 07:41:03 +01:00
if_arp.h Support ARP for 802 networks 2024-04-27 10:45:22 -04:00
if_bridge.c if_bridge: clean up INET/INET6 handling 2024-04-29 10:11:07 -04:00
if_bridgevar.h
if_clone.c netlink: move NETLINK define to opt_global.h 2023-10-16 09:42:33 +02:00
if_clone.h
if_dead.c
if_disc.c
if_dl.h
if_edsc.c
if_enc.c
if_enc.h
if_epair.c sys: Use mbufq_empty instead of comparing mbufq_len against 0 2024-01-18 14:37:29 -08:00
if_ethersubr.c ethernet: Fix logging of frame length 2024-04-15 12:00:37 +08:00
if_fwsubr.c
if_gif.c
if_gif.h
if_gre.c
if_gre.h
if_infiniband.c
if_ipsec.c
if_ipsec.h
if_lagg.c
if_lagg.h
if_llatbl.c if_llatbl: Fix a typo in a KASSERT message 2024-01-25 07:47:31 +01:00
if_llatbl.h
if_llc.h
if_loop.c
if_me.c
if_media.c
if_media.h
if_mib.c
if_mib.h
if_ovpn.c
if_ovpn.h
if_pflog.h
if_pfsync.h
if_private.h
if_stf.c
if_stf.h
if_strings.h
if_tap.h
if_tun.h
if_tuntap.c if_tuntap: fix NOIP build 2024-01-12 18:05:12 +01:00
if_types.h
if_var.h
if_vlan.c netlink: move NETLINK define to opt_global.h 2023-10-16 09:42:33 +02:00
if_vlan_var.h
if_vxlan.c if_vxlan(4): Add checking for loops and nesting of tunnels 2024-05-23 07:00:03 +08:00
if_vxlan.h
ifdi_if.m iflib: invert default restart on VLAN changes 2023-08-24 13:48:19 -07:00
iflib.c iflib: Add subinterface interrupt allocation function 2024-04-24 15:14:48 -07:00
iflib.h iflib: Add subinterface interrupt allocation function 2024-04-24 15:14:48 -07:00
ifq.c
ifq.h
infiniband.h
mp_ring.c
mp_ring.h
mppc.h
mppcc.c
mppcd.c
netisr.c
netisr.h
netisr_internal.h
netmap.h
netmap_legacy.h
netmap_user.h
netmap_virt.h
paravirt.h
pfil.c pfil: don't leak pfil_head_t on interface detach 2024-01-08 16:29:05 -08:00
pfil.h
pfkeyv2.h
pfvar.h pf: sctp heartbeats confirm a connection 2023-11-24 10:20:45 +01:00
ppp_defs.h
radix.c
radix.h
rndis.h
route.c
route.h
rss_config.c
rss_config.h
rtsock.c rtsock: Fix a typo in a source code comment 2024-01-25 07:43:49 +01:00
sff8436.h
sff8472.h
slcompress.c
slcompress.h
toeplitz.c
toeplitz.h
vnet.c vnet: (read) lock the vnet list while iterating it 2023-12-14 12:20:25 +01:00
vnet.h