diff options
author | Ahmed Abdelsalam <amsalam20@gmail.com> | 2018-01-07 19:22:02 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-01-10 16:28:44 +0100 |
commit | 202a8ff545ccdaa5ac2000d9201df3453c8816be (patch) | |
tree | 4fed1fb56e279949f802e566cb32c4c95cd281fd /net/ipv6/netfilter/Kconfig | |
parent | cbef426ce725d46beb5ba84b9e9eb624c25462dd (diff) | |
download | linux-stable-202a8ff545ccdaa5ac2000d9201df3453c8816be.tar.gz linux-stable-202a8ff545ccdaa5ac2000d9201df3453c8816be.tar.bz2 linux-stable-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/Kconfig | 9 |
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' |