diff options
author | darkgallium <florian+git@aloneinthedark.xyz> | 2020-06-28 17:01:12 +0200 |
---|---|---|
committer | darkgallium <florian+git@aloneinthedark.xyz> | 2020-06-28 17:01:12 +0200 |
commit | 6fe86469ee9b74a8cf628ff21513a8f298a6b4b6 (patch) | |
tree | f3d41ec7addfaad1ee9effb9c3495f9c5acac2dd /src/fw.rs | |
parent | d2ae084fc1be2671c2a301e689c8632576922785 (diff) | |
download | diplonat-6fe86469ee9b74a8cf628ff21513a8f298a6b4b6.tar.gz diplonat-6fe86469ee9b74a8cf628ff21513a8f298a6b4b6.zip |
update README & Dockerfile
Diffstat (limited to 'src/fw.rs')
-rw-r--r-- | src/fw.rs | 12 |
1 files changed, 0 insertions, 12 deletions
@@ -73,15 +73,3 @@ pub fn cleanup(ipt: &iptables::IPTables) -> Result<(), FirewallError> { Ok(()) } -/* -fn main() { - let ipt = iptables::new(false).unwrap(); - setup(&ipt); - - let mut test: HashSet<Port> = HashSet::new(); - test.insert(Port { proto: String::from("tcp"), number: 443 }); - let a = get_opened_ports(&ipt); - let l = test.difference(&a).collect::<Vec<&Port>>(); - println!("{:?}", l); -} -*/ |