aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/netfilter/Kconfig
diff options
context:
space:
mode:
authorAhmed Abdelsalam <amsalam20@gmail.com>2018-01-07 19:22:02 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2018-01-10 16:28:44 +0100
commit202a8ff545ccdaa5ac2000d9201df3453c8816be (patch)
tree4fed1fb56e279949f802e566cb32c4c95cd281fd /net/ipv6/netfilter/Kconfig
parentnetfilter: core: return EBUSY in case NAT hook is already in use (diff)
downloadlinux-dev-202a8ff545ccdaa5ac2000d9201df3453c8816be.tar.xz
linux-dev-202a8ff545ccdaa5ac2000d9201df3453c8816be.zip
netfilter: add IPv6 segment routing header 'srh' match
It allows matching packets based on Segment Routing Header (SRH) information. The implementation considers revision 7 of the SRH draft. https://tools.ietf.org/html/draft-ietf-6man-segment-routing-header-07 Currently supported match options include: (1) Next Header (2) Hdr Ext Len (3) Segments Left (4) Last Entry (5) Tag value of SRH Signed-off-by: Ahmed Abdelsalam <amsalam20@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/ipv6/netfilter/Kconfig')
-rw-r--r--net/ipv6/netfilter/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/net/ipv6/netfilter/Kconfig b/net/ipv6/netfilter/Kconfig
index 806e95375ec8..b6f5edf926d2 100644
--- a/net/ipv6/netfilter/Kconfig
+++ b/net/ipv6/netfilter/Kconfig
@@ -240,6 +240,15 @@ config IP6_NF_MATCH_RT
To compile it as a module, choose M here. If unsure, say N.
+config IP6_NF_MATCH_SRH
+ tristate '"srh" Segment Routing header match support'
+ depends on NETFILTER_ADVANCED
+ help
+ srh matching allows you to match packets based on the segment
+ routing header of the packet.
+
+ To compile it as a module, choose M here. If unsure, say N.
+
# The targets
config IP6_NF_TARGET_HL
tristate '"HL" hoplimit target support'