turekt
5cbea79940
Added ct timeout obj ( #275 )
2024-09-11 08:27:40 +02:00
turekt
aca62a1d00
Add secmark obj support ( #274 )
2024-09-09 22:56:09 +02:00
turekt
2fecffcfe1
Add ct expect support ( #272 )
2024-09-09 08:35:05 +02:00
turekt
6ddeb7caed
Implement cthelper object expr ( #268 )
2024-08-15 08:47:35 +02:00
turekt
38e481bfc4
Added GetNamedObjects and ResetNamedObjects ( #267 )
2024-08-14 08:10:09 +02:00
turekt
4d451ef75f
Fix staticcheck issues ( #266 )
2024-08-11 10:00:48 +02:00
turekt
3b928008ad
refactor nftable Object handling (NamedObj type) ( #259 )
...
* Refactored obj.go to a more generic approach
* Added object support for already implemented expressions
* Added test for limit object
fixes https://github.com/google/nftables/issues/253
2024-07-29 08:43:58 +02:00
Lionel Jouin
0b98a7af91
Replace TODO const by golang.org/x/sys/unix ( #256 )
...
Replace some hardcoded consts by the ones provided in
golang.org/x/sys/unix
2024-03-18 08:32:45 +01:00
singchia
5555df300c
feat: add monitor on table chain rule set setelem and obj events ( #250 )
...
fixes https://github.com/google/nftables/issues/224
2023-12-13 08:23:07 +01:00
turekt
0f60df61a2
Support for quota as object ( #244 )
...
Fixes https://github.com/google/nftables/issues/238
2023-12-12 21:49:45 +01:00
turekt
535f5eb8da
Fix incorrect netlink acknowledgement handling ( #194 )
...
fixes https://github.com/google/nftables/issues/175
2022-10-02 16:01:48 +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
Matt Layher
6f19c4381e
nftables: fix staticcheck error for Conn.getObj ( #137 )
...
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2021-12-09 23:08:38 +01:00
Alexis PIRES
64aca752d1
Remove Object API ( #100 )
...
Co-authored-by: Alexis PIRES <alexis.pires@atos.net>
2020-03-09 08:43:47 +01:00
Alexis PIRES
fdd795dea1
Add GetObject/GetObjects, ResetObject/ResetObjects ( #92 )
...
GetObj/GetObjReset accidentally returns all objects, GetObject returns only the specified one.
2020-01-21 08:36:27 +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
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