Max Lv
10fe2ec970
Merge pull request #238 from KrazyIvan-/patch-2
...
output bugs
2015-03-06 11:31:50 +08:00
JohnnySun
2de1ef639b
Add isatty check when change STDERR_FILENO to a file
2015-03-05 21:32:05 +08:00
Max Lv
b875797839
clean up
2015-03-05 14:16:28 +08:00
Max Lv
c760f11902
refine #274
2015-03-05 12:05:53 +08:00
Max Lv
f8e86c57c0
fix #274
2015-03-05 12:03:58 +08:00
Max Lv
a365d66d69
fix an issue of acl
2015-02-08 20:38:31 +09:00
Max Lv
7e46e3bacc
fix #258
2015-02-08 19:23:42 +08:00
Max Lv
5cdd133fc7
add acl to server
2015-02-08 09:49:45 +08:00
Max Lv
02050e49e7
Merge branch 'master' of github.com:shadowsocks/shadowsocks-libev
...
Conflicts:
src/udprelay.c
2015-01-27 20:48:56 +08:00
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
2015-01-27 20:45:51 +08:00
Max Lv
f3f6ece4fc
clean up
2015-01-26 14:25:39 +08:00
Max Lv
e131e64f27
fix #241
2015-01-24 13:48:54 +08:00
KrazyIvan
c627efb43d
Update server.c
2015-01-24 13:29:11 +08:00
KrazyIvan
a9c12d0f6f
output bugs
...
fix bug:
initialize ciphers... (null)
listening at (null):8388
2015-01-23 20:27:19 +08:00
Max Lv
e6e75ed6fb
refine output
2015-01-23 17:07:43 +08:00
Max Lv
86b78dedd7
fix potential overflow
2015-01-23 15:43:23 +08:00
Max Lv
726a1b7dd7
clean up
2015-01-22 09:12:19 +08:00
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.
2015-01-21 23:46:03 +08:00
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
2015-01-21 15:47:25 +08:00
Max Lv
a8a5085ed2
refine log
2015-01-15 12:11:32 +08:00
Max Lv
3b07420550
refine tcp_nodelay
2015-01-13 09:07:53 +08:00
Max Lv
dfb4b3ba3c
refine mingw compatibility
2015-01-11 13:40:08 +09:00
Max Lv
c2d1911bb0
clean up
2015-01-10 15:38:02 +08:00
Max Lv
64c494e18f
Fix issues with MinGW
2015-01-10 16:28:16 +09:00
Meitian Huang
6dbf0fae07
Refine nameserver settings
...
* Use the nameserver given in the configuration file if any.
* Use Google Public DNS only if the user does not nominate a nameserver.
2015-01-10 17:24:24 +11:00
Max Lv
e5289e9ba4
Replace libasyncns with libudns
2015-01-10 12:31:13 +09:00
Max Lv
2a15e97196
bump version
2015-01-07 21:54:19 +09:00
Max Lv
a772aba1f4
refine log
2014-12-22 11:58:21 +08:00
Max Lv
93d861f9b9
fix #187
2014-12-19 10:50:29 +08:00
Max Lv
888c2438c3
refine timeout
2014-12-17 08:48:30 +08:00
Max Lv
cd6a5e409d
tune timeout
2014-12-17 08:34:10 +08:00
Max Lv
ae85d6f36b
fix some bugs
2014-12-13 11:31:38 +08:00
Meitian Huang
915236fcab
Fix build on FreeBSD
2014-12-05 23:02:17 +11:00
Max Lv
dc066d5ceb
refine commandline output
2014-12-05 14:20:08 +08:00
Max Lv
1a94c7b68f
enlarge backlog number
2014-12-01 12:49:23 +08:00
Max Lv
e9f2369486
handle EINPROGRESS nicely
2014-11-21 10:54:29 +08:00
Max Lv
1268016e06
remove tcp_nodelay
2014-11-14 08:57:33 +08:00
Max Lv
042749d533
fix build on win32
2014-11-13 08:51:48 +08:00
Max Lv
693b198887
refine server end
2014-11-12 17:16:25 +08:00
Max Lv
b198d1da2e
bump version
2014-11-12 13:12:59 +08:00
Max Lv
08a35fd1bb
handle sigterm and sigkill
2014-11-12 11:52:34 +08:00
Max Lv
1235900963
fix a build issue
2014-10-23 16:21:19 +08:00
Liu Qishuai
dc77188954
fixes
2014-10-18 05:43:13 +00:00
Liu Qishuai
54345cbee0
add TCP-fast-open support from server to remote
2014-10-16 05:29:50 +00:00
clowwindy
369d27ee78
increase BUF_SIZE
2014-09-16 12:47:52 +08:00
Max Lv
53f0af4e9e
refine the timer
2014-08-09 08:54:12 +08:00
Datong Sun
1d8719f2e4
Added support for setrlimit(2)
2014-07-14 01:49:24 -05:00
Max Lv
aec9f9bc9a
add license headers
2014-05-25 13:13:39 +08:00
Max Lv
815c61f853
fix a typo
2014-05-09 19:40:29 +08:00
Max Lv
75a98f8ecc
clean up
2014-05-04 17:25:32 +08:00