Release of 0.1.4
[0.1.4] - 2023-02-17
Added
- Some ENV debugging variables for SNX
- Version check of SNX against what CheckPoints says should be used
- CLI option
--download-snx
that allows you to get SNX directly from your firewall - Possibility to use libsecret to encrypt sensitive data
- Config option to allow running snxwrapper as ROOT (
run-as-root
) - Possibility to manually define User-Agent in config file (
user-agent
) - Proper handling of SIGTERM
- Possibility to manually define server fingerprint in config file (
fingerprint
) - If
fingerprint
is configured, snxwrapper will try to create trustdb in /etc/snx - Dispatcher VPN_UP now receives extra info (IP, domain, DNS servers)
- Option to dump all downloaded webpages (
dump-all-http
)
Fixed
- Missing %d from issue #2 (closed)
- Syslog logging was turning on even when in TTY and without explicite use-syslog=True
- CheckPoint now checks UserAgent (FW version >= R81.10)
- TimeoutError in issue #1 (closed)
- Few uninitialized variables in exception handling path
- Better logging, debugs & error handling in get_chain_fingerprints()
- Curly brackets around some variables after logging system rework
- Extra info should now be passed to Dispatcher script
- Missing libraries in PyLint check by installing requirements.txt
Changed
- snx debugs are now turned on only when
debug
is enabled in config - cleaned up PyLint problems
- Removed TODO regarding moving timeouts to config and just added some description in comments
- Assorted small style changes/fixes
- Updated README.md to reflect new CLI option
--download-snx
- Fixed some typos/strange wording in README.md
- snxwrapper will refuse to run as root by default. This can be overriden by config (
run-as-root
) - HTTP timeout is now fast-recoverable error (wait time 3s instead of 15s)