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
409eade12e
switch to new netlink.AttributeDecoder
...
fixes #2
2018-08-10 18:59:05 +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
beb488f6fa
implement expr.Payload unmarshaling
2018-06-28 20:05:27 +02:00
Michael Stapelberg
1324f5d5a9
add GetRule
2018-06-23 21:12:14 +02:00
Michael Stapelberg
0dd2e15e25
AddChain, AddRule: use table’s family
2018-06-19 10:02:23 +02:00
Michael Stapelberg
13709ef9a6
add FlushRuleset
2018-06-14 08:26:52 +02:00
Matt Layher
4de6a4e001
Close netlink connection after flushing commands ( #1 )
2018-06-09 15:12:55 +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