Product Promotion
0x5a.live
for different kinds of informations and explorations.
GitHub - yaa110/rust-iptables: Rust bindings for iptables
Rust bindings for iptables. Contribute to yaa110/rust-iptables development by creating an account on GitHub.
Visit SiteGitHub - yaa110/rust-iptables: Rust bindings for iptables
Rust bindings for iptables. Contribute to yaa110/rust-iptables development by creating an account on GitHub.
Powered by 0x5a.live 💗
Rust iptables
This crate provides bindings for iptables application in Linux (inspired by go-iptables). This crate uses iptables binary to manipulate chains and tables. This source code is licensed under MIT license that can be found in the LICENSE file.
[dependencies]
iptables = "*"
Getting started
1- Import the crate iptables
and manipulate chains:
let ipt = iptables::new(false).unwrap();
assert!(ipt.new_chain("nat", "NEWCHAINNAME").is_ok());
assert!(ipt.append("nat", "NEWCHAINNAME", "-j ACCEPT").is_ok());
assert!(ipt.exists("nat", "NEWCHAINNAME", "-j ACCEPT").unwrap());
assert!(ipt.delete("nat", "NEWCHAINNAME", "-j ACCEPT").is_ok());
assert!(ipt.delete_chain("nat", "NEWCHAINNAME").is_ok());
For more information, please check the test file in tests
folder.
Rust Resources
are all listed below.
GitHub - rodrigorc/papercraft: Papercraft is a tool to unwrap 3D models.
resource
~/github.com
resource
GitHub - zellij-org/zellij: A terminal workspace with batteries included
resource
~/github.com
resource
GitHub - Rustixir/darkbird: In-memory database inspired by erlang mnesia
resource
~/github.com
resource
GitHub - serayuzgur/weld: Full fake REST API generator written with Rust
resource
~/github.com
resource
GitHub - LemmyNet/lemmy: 🐀 A link aggregator and forum for the fediverse
resource
~/github.com
resource
GitHub - osrg/rustybgp: BGP implemented in the Rust Programming Language
resource
~/github.com
resource
GitHub - shssoichiro/oxipng: Multithreaded PNG optimizer written in Rust
resource
~/github.com
resource
GitHub - Linus-Mussmaecher/rucola: Terminal-based markdown note manager.
resource
~/github.com
resource
GitHub - BurntSushi/rust-csv: A CSV parser for Rust, with Serde support.
resource
~/github.com
resource
Made with ❤️
to provide different kinds of informations and resources.