Max Lv
d53cd0c3fd
decrease the MAX_UDP_TIMEOUT to 10s
9 years ago
Max Lv
248abd3d02
clean up
9 years ago
Max Lv
d5765a8bbe
fix incorrect p_len in ss_decrypt_all
9 years ago
Max Lv
9431b9b0c3
Add TPROXY support for redir mode
9 years ago
Max Lv
1a3b56170d
refine addr_header comparison
10 years ago
JohnnySun
4f45870970
Add try to use /etc/shadowsocks/config.json for ss-redir ss-server ss-tunnel.
10 years ago
JohnnySun
cc639b18a4
When user running ss-local but not input any argument, ss-local will try to use ./config(if exist).
bettter way.
change default config path as /etc/shadowsocks/config.json
When user running ss-local but not input any argument, ss-local will try to use ./config(if exist).
Fixed the indent
10 years ago
Max Lv
339372af39
fix #277
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
39362601a8
fix #271
10 years ago
Max Lv
434a10b512
refine #269
10 years ago
Leonard Li
8335bae6f7
fixed config.json compatibility issue
10 years ago
Max Lv
223b8bcd68
refine UDP timeout
10 years ago
Max Lv
a365d66d69
fix an issue of acl
10 years ago
Max Lv
7e46e3bacc
fix #258
10 years ago
Max Lv
f87ee5b424
bump version
10 years ago
Max Lv
5e68f3cd37
update Makefile
10 years ago
Max Lv
5cdd133fc7
add acl to server
10 years ago
Max Lv
6bb29ab5b1
refine #254
10 years ago
Max Lv
116db6c078
bind to 127.0.0.1 by default
10 years ago
Max Lv
601055e954
fix #250
10 years ago
Niu Tengyu
1590bf67d8
Update shadowsocks.h
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
Max Lv
e5983a364c
fix #240
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
KrazyIvan
013d3381c3
Dual mode IPv4/IPv6 stack support
10 years ago
Max Lv
86b78dedd7
fix potential overflow
10 years ago
Max Lv
e4b62b435c
fix #228
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
Max Lv
a0d1299961
fix #232
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
7ee996991f
fix a bug in ss-tunnel
10 years ago
Max Lv
ba889d277d
fix #227
10 years ago
Max Lv
a8a5085ed2
refine log
10 years ago
Max Lv
02111b64c2
fix #219
10 years ago
Max Lv
59f0699ce1
fix #218
10 years ago
Max Lv
3b07420550
refine tcp_nodelay
10 years ago
Max Lv
411e686106
fix http://www.v2ex.com/t/161515
10 years ago
Max Lv
ad690cc67e
fix for C89
10 years ago
Max Lv
108cac35f8
update README
10 years ago
Max Lv
40e9be0021
Avoid getaddrinfo() in the main loop
10 years ago
Max Lv
dfb4b3ba3c
refine mingw compatibility
10 years ago