Max Lv
032c609c4d
truncate HMAC-SHA1 to 10 bytes
9 years ago
Max Lv
5292700bbc
update documents
9 years ago
Max Lv
8d46ced3c9
fix auth in udprelay
9 years ago
Max Lv
0e79c93ad1
add auth to udprelay
9 years ago
Max Lv
f3686420ea
fix typos
9 years ago
Max Lv
9f553536cb
Use IV + Chunk id as key of BLAKE2b
9 years ago
Max Lv
552fca1bff
Use one time key for BLAKE2b
9 years ago
Max Lv
d3e43e09a2
Refine the authentication for true CCA
9 years ago
Max Lv
441ac45547
Use one time key for BLAKE2b
9 years ago
Max Lv
1e10661a51
Refine the authentication for true CCA
9 years ago
Max Lv
5ae4df94e4
Update the hash function
9 years ago
Gang Zhuo
50b503803c
fix the protocol document
9 years ago
Max Lv
53c2900b19
refine onetime auth
9 years ago
Max Lv
6d79387715
use crc16
9 years ago
Max Lv
5c98a84fdd
refine log
9 years ago
Max Lv
2feb417e94
refine log
9 years ago
Max Lv
58e6dbd470
refine the protocol document
9 years ago
Max Lv
9e021aa919
add CRC8 for payload authentication
9 years ago
Max Lv
59b6fd992f
Revert "apply onetime auth to the first packet"
This reverts commit 889e4b96a1
.
9 years ago
Max Lv
889e4b96a1
apply onetime auth to the first packet
9 years ago
Max Lv
c78610a37a
bump version
9 years ago
Max Lv
9d2c14b335
encode auth flag in atyp
9 years ago
Max Lv
42ee808681
add onetime authentication
9 years ago
Max Lv
a50e00c240
refine conn cache
9 years ago
Max Lv
4c508e1ed4
add ip addr support
9 years ago
Max Lv
5f3c2e1256
Add ss-manager for multi-user control and traffic statistics.
9 years ago
Max Lv
944e3b2a16
refine the log of TCP only mode
9 years ago
Max Lv
ea9d293abe
add UDP relay only mode
9 years ago
Max Lv
00e7ea205c
check name_len in the header
10 years ago
Max Lv
9431b9b0c3
Add TPROXY support for redir mode
10 years ago
JohnnySun
4f45870970
Add try to use /etc/shadowsocks/config.json for ss-redir ss-server ss-tunnel.
10 years ago
JohnnySun
2de1ef639b
Add isatty check when change STDERR_FILENO to a file
10 years ago
Max Lv
b875797839
clean up
10 years ago
Max Lv
c760f11902
refine #274
10 years ago
Max Lv
f8e86c57c0
fix #274
10 years ago
Max Lv
a365d66d69
fix an issue of acl
10 years ago
Max Lv
7e46e3bacc
fix #258
10 years ago
Max Lv
5cdd133fc7
add acl to server
10 years ago
Max Lv
b672c4ce7f
Fix an issue on Android
http://androidxref.com/5.0.0_r2/xref/bionic/libc/include/netdb.h#164
http://androidxref.com/5.0.0_r2/xref/bionic/libc/dns/net/getaddrinfo.c#627
10 years ago
Max Lv
f3f6ece4fc
clean up
10 years ago
Max Lv
e131e64f27
fix #241
10 years ago
KrazyIvan
c627efb43d
Update server.c
10 years ago
KrazyIvan
a9c12d0f6f
output bugs
fix bug:
initialize ciphers... (null)
listening at (null):8388
10 years ago
Max Lv
e6e75ed6fb
refine output
10 years ago
Max Lv
86b78dedd7
fix potential overflow
10 years ago
Max Lv
726a1b7dd7
clean up
10 years ago
KrazyIvan
70f17645de
Dual mode IPv4/IPv6 stack support
Listen on all IP address (ipv4 and ipv6 dual mode) in single bind by default if not specify '-s'
Create an IPv6 server socket that can also accept IPv4 connections. To do so, create a regular IPv6 socket, turn off the socket option IPV6_V6ONLY, bind it to the "any" address, and start receiving. IPv4 addresses will be presented as IPv6 addresses, in the IPv4-mapped format.
10 years ago
KrazyIvan-
28b3793b23
Update server.c
Fix multi addr bind:
example ./ss-server -s 0 -s ::
2015-01-21 07:28:09 ERROR: bind: Address already in use
2015-01-21 07:28:09 ERROR: Could not bind
2015-01-21 07:28:09 ERROR: bind() error
10 years ago
Max Lv
a8a5085ed2
refine log
10 years ago
Max Lv
3b07420550
refine tcp_nodelay
10 years ago