Commit Graph

14 Commits

Author SHA1 Message Date
Michael Stapelberg c5bb71b2cf implement redir expression (+test)
fixes #17
2019-05-17 13:57:31 +02:00
Tom D b8b6574812 Implement GetRule for Immediate, Verdict, and Lookup expressions (#11) 2019-02-18 13:01:32 +01:00
Tom 2bb2b66f95 Implement support for anonymous & named sets. 2019-02-11 16:11:27 -08:00
Tom 3a9b1b0cab Implement verdict expression. 2019-01-16 16:23:05 -08:00
Michael Stapelberg fedef31bd8 nftables_test: add ConfigureNATSourceAddress for illustration
related to #5
2019-01-04 08:46:40 +01:00
Michael Stapelberg 9ac63cb282 add exprs and test for TCP MSS clamping 2018-10-22 09:22:02 +02:00
Florian Lehner efc2089755 res_id is big endian (#3)
Signed-off-by: Lehner Florian <dev@der-flo.net>
2018-10-05 17:58:05 +02:00
Michael Stapelberg 695079ebff objFromMsg: correctly set Table.Family
This fixes an issue in router7 where firewall rules would fail to be installed
on all but the first tries (the first try had no counter values, so the
passed-in Table would be returned as-is, with correct family).
2018-10-03 18:23:26 +02:00
Michael Stapelberg 89ed0f315e implement CounterObj, AddObj, GetObj, GetObjReset
related to https://github.com/rtr7/router7/issues/3
2018-08-08 23:09:16 +02:00
Michael Stapelberg 1324f5d5a9 add GetRule 2018-06-23 21:12:14 +02:00
Michael Stapelberg 23299d6a1a add port range test 2018-06-14 22:26:38 +02:00
Michael Stapelberg 13709ef9a6 add FlushRuleset 2018-06-14 08:26:52 +02:00
Michael Stapelberg dab6002a09 add enough expressions to express port forwardings 2018-06-04 23:13:54 +02:00
Michael Stapelberg afbe6ed893 Initial commit 2018-05-24 22:09:26 -07:00