diff --git a/README.md b/README.md index c5c2c3274d2972501a6c72b984f3f7da27b35bad..7bf854ca9f836da80de99da536f0600933f1bdfb 100644 --- a/README.md +++ b/README.md @@ -51,15 +51,13 @@ Usage of ./go-mmproxy: -l string Adress the proxy listens on (default "0.0.0.0:8443") -listeners int - Number of listener sockets that will be opened for the listen address (default 1) + Number of listener sockets that will be opened for the listen address (Linux 3.9+) (default 1) -mark int The mark that will be set on outbound packets -v int 0 - no logging of individual connections 1 - log errors occuring in individual connections 2 - log all state changes of individual connections - - ``` Example invocation: diff --git a/main.go b/main.go index 194bc00614b07cb7874fec3230933b15b5330f00..ca76dcf4ebbecde37075bfbb643da3d53d13ac02 100644 --- a/main.go +++ b/main.go @@ -42,7 +42,8 @@ func init() { flag.IntVar(&verbose, "v", 0, `0 - no logging of individual connections 1 - log errors occuring in individual connections 2 - log all state changes of individual connections`) - flag.IntVar(&listeners, "listeners", 1, "Number of listener sockets that will be opened for the listen address") + flag.IntVar(&listeners, "listeners", 1, + "Number of listener sockets that will be opened for the listen address (Linux 3.9+)") } func readRemoteAddrPROXYv2(conn net.Conn, ctrlBuf []byte) (net.Addr, net.Addr, []byte, error) {