fangdingjun
8c32fb3bb1
use context.Context to signal exit
6 years ago
fangdingjun
311c076e55
use defer to make sure terminal.Restore to run
6 years ago
fangdingjun
b39998c6d3
Merge branch 'tls' of github.com:fangdingjun/obfssh into tls
6 years ago
fangdingjun
16c39a262b
add shell/exec support on server
6 years ago
fangdingjun
e002d3d1c8
change max packet size
6 years ago
fangdingjun
106c3b07e0
fix name in README
6 years ago
fangdingjun
c0543037df
update README
6 years ago
fangdingjun
3a5b7b1bd6
change level for log message
6 years ago
fangdingjun
e821ce6ecb
use CertChecker for public key auth
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
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