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
fangdingjun
3b9fb72ce3
set dialer timeout to 15 seconds
7 years ago
Dingjun
4a182a8ef7
update doc
7 years ago
Dingjun
fb6c630cec
use dialer on package obfssh
7 years ago
Dingjun
441017d722
update README
7 years ago
Dingjun
f39fed1a4b
use dialer
7 years ago
Dingjun
5bde493445
update sample config
7 years ago
Dingjun
016df73cfd
add timeout for dial
7 years ago
Dingjun
283245e12f
update commandline help
7 years ago
Dingjun
ea706dc06b
update sample code
7 years ago
Dingjun
d7abfb0d26
remove obfsucation, use tls instead
7 years ago
Dingjun
15bb6de9b9
change connection timeout
7 years ago
Dingjun
fd1a8528d6
process ssh connection error
7 years ago
Dingjun
17bf0ea0c1
add httpProxyConn
7 years ago
Dingjun
ff7d021798
close channel instead of send something
7 years ago
Dingjun
89af1089d5
handle panic
7 years ago
Dingjun
2b0c794741
fix build error
8 years ago
dingjun
30173cbe32
fix build error when use RPI toolchain
8 years ago
dingjun
dba220995b
add getOriginDst of cgo
...
the cgo version support both ipv4 and ipv6
8 years ago
dingjun
86e39c2b23
update .gitignore
8 years ago
Dingjun
fcb4b307c6
exit non-zero on error
8 years ago
Dingjun
bce4a81a51
return error on client.Run
8 years ago
Dingjun
7848013c7f
golint
8 years ago
Dingjun
33dfddc91e
fix error context
8 years ago
dingjun
414fcf3293
add HostKeyCallback
8 years ago
Dingjun
1eaade8434
use empty struct as signal context
8 years ago
Dingjun
05e2ae4e0c
rename
8 years ago
fangdingjun
31850ed384
use net.JoinHostPort
8 years ago
fangdingjun
9e68171e81
add debug log for transparent and socks request
8 years ago
fangdingjun
9117932fe7
use GetSockoptIPv6Mreq to get original ip desination
...
more compitable
original syscall will fail on linux/386
8 years ago
fangdingjun
610f55b478
use socks.Client.Dial function
8 years ago
fangdingjun
f2aee4a407
add missing err handle
...
process upper case proxy environment variable
8 years ago
fangdingjun
3018f210e2
add debug log for proxy
8 years ago
fangdingjun
db1424cbd4
use textproto to read http headers
8 years ago
fangdingjun
c2c1be3ac3
obfssh_client: add proxy support
...
support proxy type http, https(http proxy over TLS), socks5
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
97d3031a2e
go vet
8 years ago
fangdingjun
cf4239dd9f
unified the file path
8 years ago
fangdingjun
fb4067916e
scp: support get multiple remote file to local
8 years ago
fangdingjun
6bb7601ef4
fix logical
8 years ago
fangdingjun
6d563ff863
update config example
8 years ago
fangdingjun
60e2c73a5f
change the help message format
8 years ago
fangdingjun
f41c629080
change to socks.Conn
8 years ago
fangdingjun
fb73158f76
add custom help message
...
change the command line and config fiie priority
add custom usage text
8 years ago
fangdingjun
f79d8627f6
specify the field name when initial SocksConn
8 years ago
Dingjun
adb6d676c0
more error check
8 years ago