summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2020-06-05Fix errors in long_documentationv1.0.1Brian May
2020-06-05Release version 1.0.0v1.0.0Brian May
2020-06-05Update changelogBrian May
2020-06-03Bump pytest from 5.4.2 to 5.4.3dependabot-preview[bot]
Bumps [pytest](https://github.com/pytest-dev/pytest) from 5.4.2 to 5.4.3. - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest/compare/5.4.2...5.4.3) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-03shutil.which is 3.3+Joshua Li
2020-06-03remove ImportError based branchingJoshua Li
2020-06-03reduceJoshua Li
2020-06-03remove version_info based branchingJoshua Li
2020-06-01Bump setuptools-scm from 4.1.1 to 4.1.2dependabot-preview[bot]
Bumps [setuptools-scm](https://github.com/pypa/setuptools_scm) from 4.1.1 to 4.1.2. - [Release notes](https://github.com/pypa/setuptools_scm/releases) - [Changelog](https://github.com/pypa/setuptools_scm/blob/master/CHANGELOG.rst) - [Commits](https://github.com/pypa/setuptools_scm/compare/v4.1.1...v4.1.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-29Remove legacy travis fileBrian May
2020-05-29Updated supported Python versionsBrian May
* Drop 2.7 * Add 3.7 and 3.8
2020-05-29Fix Python 3.8 file operationsBrian May
Under Python 3.8 we can not wrap a File in a Sock. Note this currently requires Python >= 3.5
2020-05-27Bump setuptools-scm from 4.1.0 to 4.1.1dependabot-preview[bot]
Bumps [setuptools-scm](https://github.com/pypa/setuptools_scm) from 4.1.0 to 4.1.1. - [Release notes](https://github.com/pypa/setuptools_scm/releases) - [Changelog](https://github.com/pypa/setuptools_scm/blob/master/CHANGELOG.rst) - [Commits](https://github.com/pypa/setuptools_scm/compare/v4.1.0...v4.1.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-26Bump setuptools-scm from 4.0.0 to 4.1.0dependabot-preview[bot]
Bumps [setuptools-scm](https://github.com/pypa/setuptools_scm) from 4.0.0 to 4.1.0. - [Release notes](https://github.com/pypa/setuptools_scm/releases) - [Changelog](https://github.com/pypa/setuptools_scm/blob/master/CHANGELOG.rst) - [Commits](https://github.com/pypa/setuptools_scm/compare/v4.0.0...v4.1.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-26Bump setuptools-scm from 3.5.0 to 4.0.0dependabot-preview[bot]
Bumps [setuptools-scm](https://github.com/pypa/setuptools_scm) from 3.5.0 to 4.0.0. - [Release notes](https://github.com/pypa/setuptools_scm/releases) - [Changelog](https://github.com/pypa/setuptools_scm/blob/master/CHANGELOG.rst) - [Commits](https://github.com/pypa/setuptools_scm/compare/v3.5.0...v4.0.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-26Bump pytest-cov from 2.8.1 to 2.9.0dependabot-preview[bot]
Bumps [pytest-cov](https://github.com/pytest-dev/pytest-cov) from 2.8.1 to 2.9.0. - [Release notes](https://github.com/pytest-dev/pytest-cov/releases) - [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest-cov/compare/v2.8.1...v2.9.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-26Bump flake8 from 3.8.1 to 3.8.2dependabot-preview[bot]
Bumps [flake8](https://gitlab.com/pycqa/flake8) from 3.8.1 to 3.8.2. - [Release notes](https://gitlab.com/pycqa/flake8/tags) - [Commits](https://gitlab.com/pycqa/flake8/compare/3.8.1...3.8.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-22Bump flake8 from 3.6.0 to 3.8.1dependabot-preview[bot]
Bumps [flake8](https://gitlab.com/pycqa/flake8) from 3.6.0 to 3.8.1. - [Release notes](https://gitlab.com/pycqa/flake8/tags) - [Commits](https://gitlab.com/pycqa/flake8/compare/3.6.0...3.8.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-21Bump setuptools-scm from 1.15.6 to 3.5.0dependabot-preview[bot]
Bumps [setuptools-scm](https://github.com/pypa/setuptools_scm) from 1.15.6 to 3.5.0. - [Release notes](https://github.com/pypa/setuptools_scm/releases) - [Changelog](https://github.com/pypa/setuptools_scm/blob/master/CHANGELOG.rst) - [Commits](https://github.com/pypa/setuptools_scm/compare/v1.15.6...v3.5.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-21Bump attrs from 19.1.0 to 19.3.0dependabot-preview[bot]
Bumps [attrs](https://github.com/python-attrs/attrs) from 19.1.0 to 19.3.0. - [Release notes](https://github.com/python-attrs/attrs/releases) - [Changelog](https://github.com/python-attrs/attrs/blob/master/CHANGELOG.rst) - [Commits](https://github.com/python-attrs/attrs/compare/19.1.0...19.3.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-21Create github workflowBrian May
2020-05-21Update flake8Brian May
2020-05-21Bump pytest from 3.4.2 to 5.4.2dependabot-preview[bot]
Bumps [pytest](https://github.com/pytest-dev/pytest) from 3.4.2 to 5.4.2. - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest/compare/3.4.2...5.4.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-21Bump pytest-cov from 2.6.0 to 2.8.1dependabot-preview[bot]
Bumps [pytest-cov](https://github.com/pytest-dev/pytest-cov) from 2.6.0 to 2.8.1. - [Release notes](https://github.com/pytest-dev/pytest-cov/releases) - [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest-cov/compare/v2.6.0...v2.8.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-15Add 'My VPN broke and need a solution fast' to the docs.jtagcat
2020-05-10remove debug message for getpeername failureMark Heiges
2020-05-10fix crash triggered by port scans closing socketMark Heiges
2020-05-10sshuttle as service linkMike Reider
2020-04-25Fix parsing of hostnames to allow ssh aliases defined in ssh configs) (#418)tobigrimm
* 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>
2020-03-28# Fix 410 Issue Correcte syntax write for connect server (#411)vBlackOut
2020-03-24Add password in prompt cmd (#401)vBlackOut
* 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
2020-03-24systemd integration doc adjustmentrjharmon
* the default NotifyAccess (=main) works now, no need to suggest =all
2020-03-24Arrange systemd notification to clarify the meaningrjharmon
* 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.
2020-03-24Run all systemd notifications from main processrjharmon
2020-03-24Trap UnicodeError to handle cases where hostnames returned by DNS are invalid.Chris Lawrence
2020-02-09Fix formatting error in CHANGES.rstBrian May
2020-02-09Fix various errors in documentationBrian May
2020-02-07Simplify nftables based methodJulian Wollrath
2020-02-04Fixed, removed unused importsHaw Loeung
2020-02-04Added nft_chain_exists() and fixed nft to use thatHaw Loeung
2020-02-04Handle when default chains already exists (#392)Haw Loeung
2019-12-13Link Directly to TCP Over TCP ExplanationNathan Aclander
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.
2019-12-13Auto sudoers file (#269)William Mantly
* 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
2019-11-09Make hostwatch locale-independent (#379)Ben Wiederhake
* 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
2019-11-08Add option for latency control buffer sizeJoseph Barker
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.
2019-10-27Fix broken string substitution from a765aa32Joseph Barker
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’.
2019-10-24README: add FreeBSDLi-Wen Hsu
2019-10-13Add tproxy udp port mark filter that was missed in #144, fixes #367.Norman Rasmussen
2019-10-03readme: add Nixunl89
2019-10-03Lock version of attrsBrian May
Latest version of attrs breaks pytest, see: https://stackoverflow.com/questions/58189683/typeerror-attrib-got-an-unexpected-keyword-argument-convert