sshuttle/sshuttle
vieira f9361d7014 Order first by port range and only then by swidth
This change makes the subnets with the most specific port ranges come
before subnets with larger, least specific, port ranges. Before this
change subnets with smaller swidth would always come first and only for
subnets with the same width would the size of the port range be
considered.

Example:
188.0.0.0/8 -x 0.0.0.0/0:443
Before: 188.0.0.0/8 would come first meaning that all ports would be
routed through the VPN for the subnet 188.0.0.0/8
After: 0.0.0.0/0:443 comes first, meaning that port 443 will be
excluded for all subnets, including 188.0.0.0/8. All other ports of
188.0.0.0/8 will be routed.
2017-05-08 16:56:42 +10:00
..
methods Adds support for tunneling specific port ranges (#144) 2017-05-07 13:18:13 +10:00
tests Order first by port range and only then by swidth 2017-05-08 16:56:42 +10:00
__init__.py Use argparse for command line options 2016-03-22 13:12:59 +11:00
__main__.py Fix installation from wheel 2016-01-17 10:21:21 +11:00
assembler.py Seed hosts without auto hosts 2016-05-03 00:18:32 +00:00
client.py Adds support for tunneling specific port ranges (#144) 2017-05-07 13:18:13 +10:00
cmdline.py Adds support for tunneling specific port ranges (#144) 2017-05-07 13:18:13 +10:00
firewall.py Order first by port range and only then by swidth 2017-05-08 16:56:42 +10:00
helpers.py Fix PEP8 issues 2016-04-30 18:08:46 +10:00
hostwatch.py Seed hosts without auto hosts 2016-05-03 00:18:32 +00:00
linux.py Ensure locale is set to C for external commands 2016-04-23 12:53:45 +10:00
options.py Adds support for tunneling specific port ranges (#144) 2017-05-07 13:18:13 +10:00
sdnotify.py Tests and documentation for systemd integration 2016-10-30 10:58:03 +11:00
server.py Work around non tabular headers in BSD netstat 2017-04-05 13:11:08 +10:00
ssh.py Allow remote hosts with colons in the username 2017-02-11 09:02:28 +11:00
ssnet.py Fix warning: closed channel got=STOP_SENDING 2016-10-28 08:25:21 +11:00
ssyslog.py Add Python 3.5 support. 2015-11-16 09:09:01 +11:00
stresstest.py Fix PEP8 issues. 2015-11-16 09:10:02 +11:00