turekt
ec1e802faf
Added dynset exprs support ( #173 )
...
fixes https://github.com/google/nftables/issues/172
- Rearranged `exprFromMsg` function
- Rearranged limit expr marshaling logic
- Added dynamic flag for sets
- Implemented connlimit
- Added missing constants
- Added tests
2022-07-29 18:32:59 +02:00
TheDiveO
1f0380f5c7
list tables and chains optionally by specific table family ( #168 )
2022-06-07 17:23:05 +02:00
TheDiveO
06687b6e34
use TableFamilyUnspecified (NFPROTO_UNSPEC) instead of AF_UNSPEC ( #165 )
2022-05-15 23:16:05 +02:00
TheDiveO
eeaebcf552
add New constructor (with options functions, such as lasting connection)
...
* Close receiver for lasting netlink connections while defaulting to existing temporary netlink connection usage
* add unit test for New lasting connection, Close and correct default connection handling behavior
* refactor tests to use New constructor
* make Conn mutex un-exported (#159 )
fixes issue #157
2022-05-09 13:25:29 +02:00
Timo Beckers
3ba45f5d78
Use NFPROTO_ constants for TableFamily ( #76 )
2019-11-15 10:17:43 +01:00
Serguei Bezverkhi
14f3137cde
protect cc.messages from racing ( #75 )
...
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>
2019-11-14 16:22:42 +01:00
Maxime Demode
e49143a9d1
[table] Add FlushTable function.
2019-10-23 14:37:48 +02:00
Ryan Whelan
b0a2c473e0
List tables ( #16 )
...
list tables function
2019-05-13 14:13:23 +02:00
Ryan Whelan
7bac3e3135
Restructure code base into smaller files ( #15 )
...
* Restrcture code base into smaller files
* Package level doc string
* Move ExprsFromMsg back from expr sub-module
* gofmt
2019-05-03 23:54:09 +02:00