Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is anyprot deprecated? #272

Closed
khumarahn opened this issue Jul 17, 2020 · 4 comments
Closed

Is anyprot deprecated? #272

khumarahn opened this issue Jul 17, 2020 · 4 comments

Comments

@khumarahn
Copy link

I get with version 1.21:

# sslh -f --listen 0.0.0.0:443 --tls 127.0.0.1:777 --anyprot 127.0.0.1:888
sslhcfg: invalid option "--anyprot"
sslhcfg: unexpected argument "127.0.0.1:1080"
 [-fin] [-F <file>] [-v <n>] [--transparent] [-t <n>] [-u <str>] [-P <file>] [-C <path>] [--syslog-facility=<str>] [--on-timeout=<str>] [-p <host:port>]... [--ssh=<host:port>]... [--tls=<host:port>]... [--openvpn=
<host:port>]... [--tinc=<host:port>]... [--xmpp=<host:port>]... [--http=<host:port>]... [--adb=<host:port>]... [--socks5=<host:port>]...\n  -F, --conffile=<file>        Specify configuration file
  -v, --verbose=<n>        
  -f, --foreground              Run in foreground instead of as a daemon
  -i, --inetd                   Run in inetd mode: use stdin/stdout instead of network listen
  -n, --numeric                 Print IP addresses and ports as numbers
  --transparent                 Set up as a transparent proxy
  -t, --timeout=<n>             Set up timeout before connecting to default target
  -u, --user=<str>              Username to change to after set-up
  -P, --pidfile=<file>          Path to file to store PID of current instance
  -C, --chroot=<path>           Root to change to after set-up
  --syslog-facility=<str>       Facility to syslog to
  --on-timeout=<str>            Target to connect to when timing out
  -p, --listen=<host:port>      Listen on host:port
  --ssh=<host:port>             Set up ssh target
  --tls=<host:port>             Set up TLS/SSL target
  --openvpn=<host:port>         Set up OpenVPN target
  --tinc=<host:port>            Set up tinc target
  --xmpp=<host:port>            Set up XMPP target
  --http=<host:port>            Set up HTTP (plain) target
  --adb=<host:port>             Set up ADB (Android Debug) target
  --socks5=<host:port>          Set up socks5 target

This does not appear with 1.20. Man page for 1.21 still lists anyprot as a valid option.

@yrutschle
Copy link
Owner

It's not. So that's at least two bugs, because the test suite should have caught this one. As mentionned on the mailing list, I'll have to do a second release of v1.21 anyway...

@khumarahn
Copy link
Author

ok, thank you! I will happily use 1.20 in the meanwhile.

@yrutschle
Copy link
Owner

Okay, so Github now closes issues automagically based on the commit description, I guess.

It worked fine with the configuration file: I'd just forgotten the command line option definition, and I currently have no test to verify the command line.

@yrutschle
Copy link
Owner

(I'll add a test before making a v1.21b)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants