File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ You can download the binary for your platform from [Releases](https://github.com
107107Example:
108108
109109``` shell
110- GOHPTS_RELEASE=v1.11.1 ; wget -v https://github.com/shadowy-pycoder/go-http-proxy-to-socks/releases/download/$GOHPTS_RELEASE /gohpts-$GOHPTS_RELEASE -linux-amd64.tar.gz -O gohpts && tar xvzf gohpts && mv -f gohpts-$GOHPTS_RELEASE -linux-amd64 gohpts && ./gohpts -h
110+ GOHPTS_RELEASE=v1.11.2 ; wget -v https://github.com/shadowy-pycoder/go-http-proxy-to-socks/releases/download/$GOHPTS_RELEASE /gohpts-$GOHPTS_RELEASE -linux-amd64.tar.gz -O gohpts && tar xvzf gohpts && mv -f gohpts-$GOHPTS_RELEASE -linux-amd64 gohpts && ./gohpts -h
111111```
112112
113113Alternatively, you can install it using ` go install ` command (requires Go [ 1.24] ( https://go.dev/doc/install ) or later):
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ require (
88 github.com/rs/zerolog v1.34.0
99 github.com/shadowy-pycoder/arpspoof v0.0.1
1010 github.com/shadowy-pycoder/colors v0.0.1
11- github.com/shadowy-pycoder/mshark v0.0.17
11+ github.com/shadowy-pycoder/mshark v0.0.18
1212 github.com/wzshiming/socks5 v0.5.2
1313 golang.org/x/sys v0.33.0
1414 golang.org/x/term v0.32.0
Original file line number Diff line number Diff line change @@ -36,8 +36,8 @@ github.com/shadowy-pycoder/arpspoof v0.0.1 h1:K5D+cVGc3SCTI4VxSB6oE2x8SJgxRjE72E
3636github.com/shadowy-pycoder/arpspoof v0.0.1 /go.mod h1:dsVZh4gbbQFA4BQLEmL2qpsjtytKwxaf4oA2tRmvCW8 =
3737github.com/shadowy-pycoder/colors v0.0.1 h1:weCj/YIOupqy4BSP8KuVzr20fC+cuAv/tArz7bhhkP4 =
3838github.com/shadowy-pycoder/colors v0.0.1 /go.mod h1:lkrJS1PY2oVigNLTT6pkbF7B/v0YcU2LD5PZnss1Q4U =
39- github.com/shadowy-pycoder/mshark v0.0.17 h1:ZVgMHt89Gzij2VXwEf2E4Jnjc5ItOvbVehGwc1V6YyY =
40- github.com/shadowy-pycoder/mshark v0.0.17 /go.mod h1:Txx0p8JxYOGd+0V+6N9MeCUGtGdfHAATWE8KB1nd7H0 =
39+ github.com/shadowy-pycoder/mshark v0.0.18 h1:SaNsl7U2N1LaDc8ZGfdOclRI0UsyiDE/39NjxU2dHnQ =
40+ github.com/shadowy-pycoder/mshark v0.0.18 /go.mod h1:Txx0p8JxYOGd+0V+6N9MeCUGtGdfHAATWE8KB1nd7H0 =
4141github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg =
4242github.com/stretchr/testify v1.9.0 /go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY =
4343github.com/wzshiming/socks5 v0.5.2 h1:LtoowVNwAmkIQSkP1r1Wg435xUmC+tfRxorNW30KtnM =
Original file line number Diff line number Diff line change @@ -603,7 +603,7 @@ func (tsu *tproxyServerUDP) handleDNSConnection(conn *dnsConn) {
603603 if err := dns .Parse (buf [:nr ]); err == nil {
604604 conn .respChan <- dns
605605 } else {
606- tsu .p .logger .Error ().Err (err ).Msgf ("%v" , buf [:nr ])
606+ tsu .p .logger .Debug ().Err (err ).Msgf ("%v" , buf [:nr ])
607607 }
608608 }
609609 nw , ew := tsu .gwConn .WriteToUDP (buf [0 :nr ], conn .srcAddr )
Original file line number Diff line number Diff line change 11package gohpts
22
3- const Version string = "gohpts v1.11.1 "
3+ const Version string = "gohpts v1.11.2 "
You can’t perform that action at this time.
0 commit comments