徐宏星
|
c1c401747a
Added Replace method to replace rulespec (in specified pos)
|
1 rok temu |
Benjamin Gilbert
|
7eee2d17ac
iptables_test: fix ListWithCounters mismatch on newer kernels
|
1 rok temu |
Benjamin Gilbert
|
5fe0f0dc59
iptables_test: fix typo in variable name
|
1 rok temu |
Casey Callendrello
|
d2b8608923
Merge pull request #96 from alegrey91/main
|
2 lat temu |
alegrey91
|
d457c6ef18
feat: add ListByid function and test
|
2 lat temu |
Alex Stockinger
|
d79ecfa55e
Introduce `InsertUnique()`
|
2 lat temu |
Benjamin Gilbert
|
140a7b6901
Fix lints
|
2 lat temu |
Casey Callendrello
|
abea47c2ca
Merge pull request #75 from aojea/wait
|
4 lat temu |
Phil Sutter
|
d20c681f41
Implement ClearAndDeleteChain
|
4 lat temu |
Phil Sutter
|
b15012c6af
Implement ChainExists
|
4 lat temu |
Phil Sutter
|
406f90a0f5
Implement DeleteIfExists
|
4 lat temu |
Antonio Ojea
|
619e48d024
new iptables constructor
|
4 lat temu |
Antonio Ojea
|
ec15d217d9
iptables IsNotExist robustness
|
5 lat temu |
Casey Callendrello
|
2ed0620363
Merge pull request #56 from asilvr/structured-stats
|
5 lat temu |
Bruce Ma
|
5991869119
make iptables Error judge with protocal to adpat both ipv4 and ipv6
|
6 lat temu |
Alex Silver
|
a2c10e26fc
Created a ParseStat method to allow for parsing a single stat; updated Stat struct with data types
|
6 lat temu |
Alex Silver
|
f5321a7c41
Added StructuredStats method to returned structured stat data
|
6 lat temu |
Casey Callendrello
|
5c15b20bd5
Add support for iptables in nftables mode.
|
6 lat temu |
Casey Callendrello
|
afafc097ec
error: add Error.IsNotExist
|
7 lat temu |
Edward Betts
|
fc63fdb246
correct spelling mistake
|
7 lat temu |
Casey Callendrello
|
fa79f602b7
Error handling: fix up code from sanbornm, add tests
|
7 lat temu |
Casey Callendrello
|
73490834f6
Merge branch 'iptables-stats' of https://github.com/phensley/go-iptables into phensley-iptables-stats
|
7 lat temu |
Casey Callendrello
|
e1118ab94a
test: no longer test noWait
|
8 lat temu |
Terra
|
8a57cb8dd6
iptables.go: Add support for ListWithCounters method
|
8 lat temu |
Patrick Hensley
|
f4bc352331
Add Stats method to list rules w/ pkts, bytes.
|
8 lat temu |
Van De Walle Bernard
|
5463fbac3b
Add support for ListChains method. (#26)
|
8 lat temu |
Robbert Klarenbeek
|
1b1808cef7
Add support for IPv6 with ip6tables
|
9 lat temu |
Dan Williams
|
bd49ce2460
*: fix locking multiple operations with old iptables
|
9 lat temu |
Jonathan Boulle
|
41c24d1684
tests: add mutex lock when necessary
|
9 lat temu |
Jonathan Boulle
|
e1427d0cec
tests: ensure we test without hasWait/hasCheck
|
9 lat temu |