Comments (3)
Hello.
Yes, it does require the iptables binary to be on the path.
It uses that binary to manipulate the tables because the in kernel net filter does not have a good user space API.
Regards
from go-iptables.
I understand now how it works, this module is a wrapper around the iptables interface to netfilter. The iptables syntax is well understood and widely used. I agree that the kernel api is pretty horrible, and the nftables command that the netfilter people say is the only interface they support is not much better (even if it has more features than the iptables interface).
But I do not think this is true: "Netfilter developers heavily advocate using iptables utlity for programmatic manipulation." I have found that the netfilter people are only willing to take the usage of nftables into account when debugging the api.
from go-iptables.
Ok cool.
from go-iptables.
Related Issues (20)
- iptables 1.8.4 (nf_tables) - Test Failures
- [BUG] Prepending iptables path to list of args in `runWithOutput` makes some methods fail unexpectedly HOT 2
- StructuredStats fails to parse negated source/dest CIDRs HOT 1
- iptablesHasCheckCommand wrong version check when iptables version is v1.4.21 HOT 2
- tryLock() should return an error if it fails to acquire a lock
- hostnames not supported? HOT 1
- can you check this pull request for enabling the use of environment variables
- Cannot parse negated CIDR ex: "!192.168.122.0/24" HOT 1
- nftables support HOT 1
- How get --line-numbers ?
- Exists() method returns false for existing rule. HOT 1
- CAP_NET_ADMIN capability ? HOT 1
- --wait can not set timeout on 1.4.21 HOT 2
- I should how to insert rules with go-iptables HOT 1
- Panic: when target is empty
- Redirection for already established TCP connection
- BUILD file not found in directory 'iptables' of external repository HOT 1
- Add `GetRuleById()` function HOT 1
- Add `DeleteById()` function HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-iptables.