Olli Janatuinen
|
39ae37f7b0
feat: add DeleteById function
|
4 months ago |
Stephen Kitt
|
49b5927c0f
Fix the 1.8.9 version check
|
1 year ago |
Casey Callendrello
|
9e9711e74c
Merge pull request #113 from costasd/fix_iptables_tests_189
|
1 year ago |
Costas Drogos
|
73a26db0ef
Fix iptables stats tests for iptables > 1.8.9
|
1 year ago |
Costas Drogos
|
f61413f163
Support overriding binaries' path
|
1 year ago |
徐宏星
|
c1c401747a
Added Replace method to replace rulespec (in specified pos)
|
1 year ago |
Benjamin Gilbert
|
7eee2d17ac
iptables_test: fix ListWithCounters mismatch on newer kernels
|
1 year ago |
Benjamin Gilbert
|
5fe0f0dc59
iptables_test: fix typo in variable name
|
1 year ago |
Casey Callendrello
|
d2b8608923
Merge pull request #96 from alegrey91/main
|
2 years ago |
alegrey91
|
d457c6ef18
feat: add ListByid function and test
|
2 years ago |
Alex Stockinger
|
d79ecfa55e
Introduce `InsertUnique()`
|
2 years ago |
Benjamin Gilbert
|
140a7b6901
Fix lints
|
2 years ago |
Casey Callendrello
|
abea47c2ca
Merge pull request #75 from aojea/wait
|
3 years ago |
Phil Sutter
|
d20c681f41
Implement ClearAndDeleteChain
|
4 years ago |
Phil Sutter
|
b15012c6af
Implement ChainExists
|
4 years ago |
Phil Sutter
|
406f90a0f5
Implement DeleteIfExists
|
4 years ago |
Antonio Ojea
|
619e48d024
new iptables constructor
|
4 years ago |
Antonio Ojea
|
ec15d217d9
iptables IsNotExist robustness
|
5 years ago |
Casey Callendrello
|
2ed0620363
Merge pull request #56 from asilvr/structured-stats
|
5 years ago |
Bruce Ma
|
5991869119
make iptables Error judge with protocal to adpat both ipv4 and ipv6
|
5 years ago |
Alex Silver
|
a2c10e26fc
Created a ParseStat method to allow for parsing a single stat; updated Stat struct with data types
|
5 years ago |
Alex Silver
|
f5321a7c41
Added StructuredStats method to returned structured stat data
|
5 years ago |
Casey Callendrello
|
5c15b20bd5
Add support for iptables in nftables mode.
|
6 years ago |
Casey Callendrello
|
afafc097ec
error: add Error.IsNotExist
|
6 years ago |
Edward Betts
|
fc63fdb246
correct spelling mistake
|
7 years ago |
Casey Callendrello
|
fa79f602b7
Error handling: fix up code from sanbornm, add tests
|
7 years ago |
Casey Callendrello
|
73490834f6
Merge branch 'iptables-stats' of https://github.com/phensley/go-iptables into phensley-iptables-stats
|
7 years ago |
Casey Callendrello
|
e1118ab94a
test: no longer test noWait
|
7 years ago |
Terra
|
8a57cb8dd6
iptables.go: Add support for ListWithCounters method
|
7 years ago |
Patrick Hensley
|
f4bc352331
Add Stats method to list rules w/ pkts, bytes.
|
8 years ago |