Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ip6tables-support #4

Closed

Conversation

ton31337
Copy link

@ton31337 ton31337 commented Jun 3, 2021

Closes #3

ton31337 added 3 commits June 3, 2021 11:57
Example:
```
 # HELP iptables_default_packets_total iptables_exporter: Total packets matching a chain's default policy.
 # TYPE iptables_default_packets_total counter
 iptables_default_packets_total{chain="DOCKER",command="iptables-save",policy="-",table="filter"} 0
 iptables_default_packets_total{chain="DOCKER",command="iptables-save",policy="-",table="nat"} 0
0iptables_default_packets_total{chain="DOCKER-ISOLATION-STAGE-1",command="iptables-save",policy="-",table="filter"} 0
 iptables_default_packets_total{chain="DOCKER-ISOLATION-STAGE-2",command="iptables-save",policy="-",table="filter"} 0
-iptables_default_packets_total{chain="DOCKER-USER",command="iptables-save",policy="-",table="filter"} 0
-iptables_default_packets_total{chain="FORWARD",command="ip6tables-save",policy="ACCEPT",table="filter"} 0
:iptables_default_packets_total{chain="FORWARD",command="iptables-save",policy="DROP",table="filter"} 0
-iptables_default_packets_total{chain="INPUT",command="ip6tables-save",policy="ACCEPT",table="filter"} 633
-iptables_default_packets_total{chain="INPUT",command="iptables-save",policy="ACCEPT",table="filter"} 4.4871354e+07
:iptables_default_packets_total{chain="INPUT",command="iptables-save",policy="ACCEPT",table="nat"} 26812
-iptables_default_packets_total{chain="OUTPUT",command="ip6tables-save",policy="ACCEPT",table="filter"} 606
-iptables_default_packets_total{chain="OUTPUT",command="iptables-save",policy="ACCEPT",table="filter"} 2.7409757e+07
 iptables_default_packets_total{chain="OUTPUT",command="iptables-save",policy="ACCEPT",table="nat"} 118690
```

Signed-off-by: Donatas Abraitis <[email protected]>
Just for readability.

Signed-off-by: Donatas Abraitis <[email protected]>
@ton31337 ton31337 closed this Mar 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ip6tables support
1 participant