- 25 Apr, 2020 1 commit
-
-
tobigrimm authored
* Fix parsing of hostnames to allow ssh aliases defined in ssh configs) * nicer formatting, pep8 applied * Properly parse IPv6 addresses with port specification * Now also handles hostnames with port specified and IPv6 addresses without port properly * Updated parameter description for the remotehost specification * Make the urlparse import backwards compatible to python2 Co-authored-by:Tobi <tobi-git@grimm.gr>
-
- 28 Mar, 2020 1 commit
-
-
vBlackOut authored
-
- 24 Mar, 2020 5 commits
-
-
vBlackOut authored
* Add auto password prompt Add auto password with sshpass use user:password@host or user:password:port@host * Update ssh.py * Fix for IPv4 only * Delete print sorry bad commit * ipv4 fix * Fix IPv4 args * Fix for ipv6 * Fix ipv6 no password * Add function parse_hostport * Fix minor bug detect port * Fix minor bug password detect * Clear Code * bad write "=" replace with "==" * Rewrite code for more understand logical and fix minor bug * add default define port * delete old variable unused * replace "==" per "is" try fix code reviews * reback * try define password with len * Fix consistence variable password PR * simplify function split ipv4 or ipv6 * clear code
-
rjharmon authored
* the default NotifyAccess (=main) works now, no need to suggest =all
-
rjharmon authored
* this spot in the lifecycle is precisely when we know that the remote server is running AND that the local firewall-control daemon is started.
-
rjharmon authored
-
Chris Lawrence authored
-
- 09 Feb, 2020 2 commits
- 07 Feb, 2020 1 commit
-
-
Julian Wollrath authored
-
- 04 Feb, 2020 3 commits
-
-
Haw Loeung authored
-
Haw Loeung authored
-
Haw Loeung authored
-
- 13 Dec, 2019 2 commits
-
-
Nathan Aclander authored
See Below was confusing because it linked to the entire documentation section. This provides a direct link to the section explaining why TCP over TCP is a bad idea.
-
William Mantly authored
* added sudoers options to command line arguments * added sudoers options to command line arguments * template for sudoers file * Added option for GUI sudo * added support for GUI sudo * script for auto adding sudo file * sudoers auto add works and validates * small change * Clean up for CI * removed code that belongs in another PR * added path for package bins * added sudoers bin * added sudoers-add to setup file * fixed issue with sudoers bash script * auto sudoers now works * added --sudoers-no-modify option * bin now works with ./run * removed debug print * Updated sudoers-add script * Fixed error passing sudoers config to script * more dynamic building of sudoers file * added option to specify sudoers.d file name * fixed indent issue * fixed indent issue * indent issue * clean up * formating * docs * fix for flags * Update usage.rst * removed shell=true * cleared CI errors * cleared CI errors * removed random * cleared linter issue * cleared linter issue * cleared linter issue * updated sudoers-add script * safer temp file * moved bin directory * moved bin directory * removed print * fixed spacing issue * sudoers commands must only containe upper case latters
-
- 09 Nov, 2019 1 commit
-
-
Ben Wiederhake authored
* Make hostwatch locale-independent See #377: hostwatch used to call netstat and parse the result, without setting the locale. The problem is converting the binary output to a unicode string, as the locale may be utf-8, latin-1, or literally anything. Setting the locale to C avoids this issue, as netstat's source strings to not use non-ASCII characters. * Break line, check all other invocations
-
- 08 Nov, 2019 1 commit
-
-
Joseph Barker authored
This commit resolves #297, allowing the buffers used in the latency control to be changed with a command line option ‘--latency-buffer-size’. We do this by changing a module variable in ssnet.py (similar to the MAX_CHANNEL variable) which seems to be the simplest code change without extensive hacking. Documentation is also updated.
-
- 27 Oct, 2019 1 commit
-
-
Joseph Barker authored
The changes in a765aa32 removed a more complex pieced of code for parsing which sudo command to use. The %(eb)s no longer refers to any variable and is directly printed to the command line. %(eb)s is now replaced with ‘sudo’.
-
- 24 Oct, 2019 1 commit
-
-
Li-Wen Hsu authored
-
- 13 Oct, 2019 1 commit
-
-
Norman Rasmussen authored
-
- 03 Oct, 2019 2 commits
-
-
unl89 authored
-
Brian May authored
Latest version of attrs breaks pytest, see: https://stackoverflow.com/questions/58189683/typeerror-attrib-got-an-unexpected-keyword-argument-convert
-
- 22 Sep, 2019 5 commits
-
-
Nick Sokolov authored
Regression was introduced in #337 that is skipping all local traffic, including DNS. This change makes UDP port 53 (DNS) LOCAL traffic to be treated as special case. Fixes #357
-
unl89 authored
-
Nick Sokolov authored
In certain cases socket.connect fails with ECONNABORTED, which is treated as "unknown" error causing sshuttle to crash. Fixes #356
-
Anthony Cornehl authored
-
Anthony Cornehl authored
-
- 25 Jul, 2019 1 commit
-
-
cptpcrd authored
`pacman -Sy` does a partial upgrade, which is specifically documented as being unsupported.
-
- 21 Jun, 2019 1 commit
-
-
José Augusto authored
Correct the install flag for arch linux installation example.
-
- 08 Jun, 2019 2 commits
-
-
Daniel Jeffery authored
* use addrtype match to return the LOCAL trafik * Add assertion for the new LOCAL firewall rule added in PR 312. * Fix linter complaints
-
Jeremy Eder authored
-
- 04 Apr, 2019 1 commit
-
-
Elijah Lynn authored
-
- 14 Feb, 2019 2 commits
-
-
Thomas Bouve authored
-
Thomas Bouve authored
* assembler import fix. * Added noqa to import statements.
-
- 11 Feb, 2019 1 commit
-
-
Bastian Venthur authored
* re-organized imports according to pep8 * fixed all remaining pep8 issues * moved common config into setup.cfg, additionally test `tests` * removed --select=X -- the errors selected where by default not in flake8's --ignore list so effectively had no effect * update .travis.yml to reflect changes in tox.ini * make travis just use tox in order to avoid code duplaction * replace py.test with pytest * fixed .travis.yml * try different pypy toxenv * hopefully fixed testenv for pypy * added pypy basepython, removed unused python2.6 * install dev package before testing (fixes missing coverage) * fixed empty exception pass blocks with noqa * Added dummy log message on empty try-except-pass blocks to make dodacy happy :( * Replaced Exception with BaseException
-
- 28 Jan, 2019 3 commits
-
-
Brian May authored
-
Brian May authored
-
Vasil Kolev authored
There's a known issue that makes sshuttle crash if there are too many routes on the remote host (that don't fit in 64KB). This patch requests the routes only if auto-nets is specified on the command line.
-
- 23 Jan, 2019 2 commits
-
-
Alex Tomlins authored
This was susceptible to the same deadlock issue that ipt_chain_exists had and was fixed in d43db80d where if the command returned a significant amount of output, it wouldn't all be read in, resulting in the subprocess hanging waiting for the output to be read.
-
Alex Tomlins authored
subprocess.run only exists for python3, and this needs to also support python 2.7
-