https://github.com/hectorta1989/iptables-rules-management-cpp
https://github.com/hectorta1989/iptables-rules-management-cpp
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/hectorta1989/iptables-rules-management-cpp
- Owner: HectorTa1989
- License: mit
- Created: 2021-07-25T13:51:11.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-10-27T01:47:10.000Z (almost 4 years ago)
- Last Synced: 2025-01-07T06:47:54.181Z (9 months ago)
- Language: C++
- Size: 8.79 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# iptables-cpp
C++ library for listing, adding, modifying, and deleting iptable rules
## Build instructions
### Using a docker container
git clone https://github.com/HectorTa1989/iptables-rules-management-Cpp.git \
cd iptables-cpp \
docker build -t iptables-ubuntu . \docker run -it --cap-add=NET_ADMIN --cap-add=NET_RAW iptables-ubuntu /bin/bash \
git clone https://github.com/HectorTa1989/iptables-rules-management-Cpp.git \
cd iptables-cpp \
sudo ./build.sh### Local builds
git clone https://github.com/HectorTa1989/iptables-rules-management-Cpp.git \
cd iptables-cpp \
sudo ./build.sh### Usage instructions
Running the demo: \
sudo ./iptablescppRunning the unit tests: \
sudo ./run-tests## Development Notes
### Preferred IDE
Visual Studio Code
### Recommended VS Code extensions
C/C++ IntelliSense (Microsoft) \
https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptoolsClang-format (xaver) \
https://marketplace.visualstudio.com/items?itemName=xaver.clang-formatCMake (twxs) \
https://marketplace.visualstudio.com/items?itemName=twxs.cmakeCMake Tools (Microsoft) \
https://marketplace.visualstudio.com/items?itemName=ms-vscode.cmake-toolsDoxygen Documentation Generator (Christoph Schlosser) \
https://marketplace.visualstudio.com/items?itemName=cschlosser.doxdocgenRemote Development (Microsoft) \
https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.vscode-remote-extensionpack