Skip to content

Commit fdd8044

Browse files
committed
upd doc
1 parent 97332c7 commit fdd8044

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ Simple, scriptable, secure HTTP/SOCKS5 forward proxy.
4242
* Scripting with JavaScript:
4343
* Access filter by JS function
4444
* Upstream proxy selection by JS function
45+
* Seamless proxy client integration with OpenSSH: `ssh -o ProxyCommand="dumbproxy -config proxy.cfg -mode stdio %h %p" root@server1`
4546

4647
## Installation
4748

@@ -540,7 +541,7 @@ Usage of /home/user/go/bin/dumbproxy:
540541
-min-tls-version value
541542
minimum TLS version accepted by server (default TLS12)
542543
-mode value
543-
proxy operation mode (http/socks5) (default http)
544+
proxy operation mode (http/socks5/stdio) (default http)
544545
-passwd string
545546
update given htpasswd file and add/set password for username. Username and password can be passed as positional arguments or requested interactively
546547
-passwd-cost int

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ func parse_args() *CLIArgs {
384384
})
385385
flag.BoolVar(&args.unixSockUnlink, "unix-sock-unlink", true, "delete file object located at Unix domain socket bind path before binding")
386386
flag.Var(&args.unixSockMode, "unix-sock-mode", "set file mode for bound unix socket")
387-
flag.Var(&args.mode, "mode", "proxy operation mode (http/socks5)")
387+
flag.Var(&args.mode, "mode", "proxy operation mode (http/socks5/stdio)")
388388
flag.StringVar(&args.auth, "auth", "none://", "auth parameters")
389389
flag.IntVar(&args.verbosity, "verbosity", 20, "logging verbosity "+
390390
"(10 - debug, 20 - info, 30 - warning, 40 - error, 50 - critical)")

0 commit comments

Comments
 (0)