fangdingjun
311c076e55
use defer to make sure terminal.Restore to run
6 years ago
fangdingjun
911c955dd9
change log library
7 years ago
fangdingjun
2b973b326d
fix hang issue on close remote listener
7 years ago
fangdingjun
397f60da61
fix hang on tls handshake issue
7 years ago
fangdingjun
d91bc0bcf6
add dynamic http forward throungh secure channel
...
like dynamic forward, but this accept HTTP request incoming,
not socks5.
The destination is determined by http request, the quest is forwarded
through ssh secure channel.
7 years ago
fangdingjun
2413a56408
avoid double close the channel
7 years ago
fangdingjun
a64906e384
fix keepalive issue
7 years ago
Dingjun
fb6c630cec
use dialer on package obfssh
7 years ago
Dingjun
016df73cfd
add timeout for dial
7 years ago
Dingjun
d7abfb0d26
remove obfsucation, use tls instead
7 years ago
Dingjun
fd1a8528d6
process ssh connection error
7 years ago
Dingjun
ff7d021798
close channel instead of send something
7 years ago
Dingjun
bce4a81a51
return error on client.Run
8 years ago
Dingjun
1eaade8434
use empty struct as signal context
8 years ago
fangdingjun
9e68171e81
add debug log for transparent and socks request
8 years ago
Dingjun
231f434e73
ntohs: add byte order determine
8 years ago
Dingjun
2fec17c727
add transparent proxy support
...
add transparent proxy support for dynamic port forward on linux
on linux, can use iptables to redirect all tcp packet to obfssh
client dynamic listen port(-D), and forward through ssh channel
8 years ago
fangdingjun
f41c629080
change to socks.Conn
8 years ago
fangdingjun
f79d8627f6
specify the field name when initial SocksConn
8 years ago
Dingjun
1092739cd7
add obfssh_scp
8 years ago
fangdingjun
7ce2c424bc
correct import path
8 years ago
fangdingjun
ad396effa3
add more commandline options
...
client
add keepalive, timeout options
all add disable obfs after handshake option
8 years ago
fangdingjun
233ba2732a
first version
8 years ago