summaryrefslogtreecommitdiffhomepage
path: root/talpid-core
diff options
context:
space:
mode:
authorDavid Lönnhager <david.l@mullvad.net>2020-02-14 10:28:48 +0100
committerDavid Lönnhager <david.l@mullvad.net>2020-06-02 10:05:01 +0200
commitadf3abd9eccf4bd9ec230810eda497bf57a13263 (patch)
tree63cfbf7d8ab383fd20966ee6d9e2d4536f60e42c /talpid-core
parent3b59a0ae1ca0cd725b166a843364712956bf3335 (diff)
downloadmullvadvpn-adf3abd9eccf4bd9ec230810eda497bf57a13263.tar.xz
mullvadvpn-adf3abd9eccf4bd9ec230810eda497bf57a13263.zip
Rename nftables chains so they can be manipulated using nft
Diffstat (limited to 'talpid-core')
-rw-r--r--talpid-core/src/firewall/linux.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/talpid-core/src/firewall/linux.rs b/talpid-core/src/firewall/linux.rs
index e291cc9050..4bf52d62d8 100644
--- a/talpid-core/src/firewall/linux.rs
+++ b/talpid-core/src/firewall/linux.rs
@@ -55,8 +55,8 @@ lazy_static! {
/// TODO(linus): This crate is not supposed to be Mullvad-aware. So at some point this should be
/// replaced by allowing the table name to be configured from the public API of this crate.
static ref TABLE_NAME: CString = CString::new("mullvad").unwrap();
- static ref IN_CHAIN_NAME: CString = CString::new("in").unwrap();
- static ref OUT_CHAIN_NAME: CString = CString::new("out").unwrap();
+ static ref IN_CHAIN_NAME: CString = CString::new("input").unwrap();
+ static ref OUT_CHAIN_NAME: CString = CString::new("output").unwrap();
/// Allows controlling whether firewall rules should have packet counters or not from an env
/// variable. Useful for debugging the rules.