nftables/expr
Aleksei Ilin 7a6c4ef3e7
nat: Add flag for specified range in DNAT (#270)
Example: meta l4proto tcp dnat to 10.200.45.6:9080

  [ meta load l4proto => reg 1 ]
  [ cmp eq reg 1 0x00000006 ]
  [ immediate reg 1 0x062dc80a ]
  [ immediate reg 2 0x00007823 ]
  [ nat dnat ip addr_min reg 1 proto_min reg 2 flags 0x2 ]
2024-08-30 09:01:02 +02:00
..
bitwise.go Refactor expr for obj reimplementation (#265) 2024-07-24 08:26:13 +02:00
bitwise_test.go refactor: pass table family when un/marshalling expr 2022-05-15 23:12:26 +02:00
byteorder.go Refactor expr for obj reimplementation (#265) 2024-07-24 08:26:13 +02:00
connlimit.go Refactor expr for obj reimplementation (#265) 2024-07-24 08:26:13 +02:00
counter.go Refactor expr for obj reimplementation (#265) 2024-07-24 08:26:13 +02:00
ct.go Implement cthelper object expr (#268) 2024-08-15 08:47:35 +02:00
ct_test.go ct: Specify direction for saddr, daddr, proto-src, proto-dst (#264) 2024-08-05 08:38:34 +02:00
dup.go Refactor expr for obj reimplementation (#265) 2024-07-24 08:26:13 +02:00
dynset.go Refactor expr for obj reimplementation (#265) 2024-07-24 08:26:13 +02:00
expr.go nat: Add flag for specified range in DNAT (#270) 2024-08-30 09:01:02 +02:00
exthdr.go Refactor expr for obj reimplementation (#265) 2024-07-24 08:26:13 +02:00
exthdr_test.go refactor: pass table family when un/marshalling expr 2022-05-15 23:12:26 +02:00
fib.go Refactor expr for obj reimplementation (#265) 2024-07-24 08:26:13 +02:00
flow_offload.go Refactor expr for obj reimplementation (#265) 2024-07-24 08:26:13 +02:00
hash.go Refactor expr for obj reimplementation (#265) 2024-07-24 08:26:13 +02:00
immediate.go Refactor expr for obj reimplementation (#265) 2024-07-24 08:26:13 +02:00
limit.go Refactor expr for obj reimplementation (#265) 2024-07-24 08:26:13 +02:00
log.go Refactor expr for obj reimplementation (#265) 2024-07-24 08:26:13 +02:00
lookup.go Refactor expr for obj reimplementation (#265) 2024-07-24 08:26:13 +02:00
match.go Refactor expr for obj reimplementation (#265) 2024-07-24 08:26:13 +02:00
match_test.go add typed xtables information un/marshalling 2022-05-15 23:12:26 +02:00
meta_test.go Fix Meta unmarshal when is Source Register (#174) 2022-08-08 17:45:52 +02:00
nat.go nat: Add flag for specified range in DNAT (#270) 2024-08-30 09:01:02 +02:00
nat_test.go nat: Add flag for specified range in DNAT (#270) 2024-08-30 09:01:02 +02:00
notrack.go Refactor expr for obj reimplementation (#265) 2024-07-24 08:26:13 +02:00
numgen.go Refactor expr for obj reimplementation (#265) 2024-07-24 08:26:13 +02:00
objref.go Refactor expr for obj reimplementation (#265) 2024-07-24 08:26:13 +02:00
payload.go Refactor expr for obj reimplementation (#265) 2024-07-24 08:26:13 +02:00
queue.go Refactor expr for obj reimplementation (#265) 2024-07-24 08:26:13 +02:00
quota.go Refactor expr for obj reimplementation (#265) 2024-07-24 08:26:13 +02:00
range.go Refactor expr for obj reimplementation (#265) 2024-07-24 08:26:13 +02:00
redirect.go Refactor expr for obj reimplementation (#265) 2024-07-24 08:26:13 +02:00
reject.go Refactor expr for obj reimplementation (#265) 2024-07-24 08:26:13 +02:00
rt.go Refactor expr for obj reimplementation (#265) 2024-07-24 08:26:13 +02:00
socket.go Refactor expr for obj reimplementation (#265) 2024-07-24 08:26:13 +02:00
socket_test.go Implement socket expr (#222) 2023-05-06 10:49:33 +02:00
synproxy.go Add synproxy obj (#269) 2024-08-27 09:06:28 +02:00
target.go Refactor expr for obj reimplementation (#265) 2024-07-24 08:26:13 +02:00
target_test.go add typed xtables information un/marshalling 2022-05-15 23:12:26 +02:00
tproxy.go Refactor expr for obj reimplementation (#265) 2024-07-24 08:26:13 +02:00
verdict.go Refactor expr for obj reimplementation (#265) 2024-07-24 08:26:13 +02:00