sshuttle/tests/client
Scott Kuhl a7df12cd68 Fix --tmark option
Even when --tmark was used, the iptables code always used '1' for the
mark. This patch corrects the problem.

Previously, it wasn't clear if the tmark should be supplied in
hexadecimal or as an integer. This makes it use hexadecimal, checks
that the input is hexadecimal, and updates the associated
documentation.

This patch also makes --ttl information get passed to the firewall in
a way that matches how other information gets passed. The ttl and
tmark information are passed next to each other in many places and
this patch also makes the order consistent.
2021-05-27 21:48:43 -04:00
..
test_firewall.py Fix --tmark option 2021-05-27 21:48:43 -04:00
test_helpers.py feat: remove mock from test dependencies. 2021-01-17 15:42:55 +11:00
test_methods_nat.py Fix --tmark option 2021-05-27 21:48:43 -04:00
test_methods_pf.py Fix --tmark option 2021-05-27 21:48:43 -04:00
test_methods_tproxy.py Fix --tmark option 2021-05-27 21:48:43 -04:00
test_options.py Allow comments in configuration file 2021-02-16 07:51:32 +11:00
test_sdnotify.py feat: remove mock from test dependencies. 2021-01-17 15:42:55 +11:00