Commit Graph
349 Commits
Author SHA1 Message Date
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
Max Lv e5983a364c fix #240 2015-01-24 01:16:36 +00:00
Max Lv 5c7e9951b2 Merge pull request #237 from KrazyIvan-/patch-2
Dual mode IPv4/IPv6 stack support
2015-01-23 17:54:09 +08:00
Max Lv e6e75ed6fb refine output 2015-01-23 17:07:43 +08:00
KrazyIvan 013d3381c3 Dual mode IPv4/IPv6 stack support 2015-01-23 16:58:49 +08:00
Max Lv 86b78dedd7 fix potential overflow 2015-01-23 15:43:23 +08:00
Max Lv e4b62b435c fix #228 2015-01-23 08:45:48 +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
Max Lv a0d1299961 fix #232 2015-01-21 20:37:40 +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 7ee996991f fix a bug in ss-tunnel 2015-01-19 08:58:08 +08:00
Max Lv ba889d277d fix #227 2015-01-15 15:26:46 +09:00
Max Lv a8a5085ed2 refine log 2015-01-15 12:11:32 +08:00
Max Lv 02111b64c2 fix #219 2015-01-13 11:58:55 +08:00
Max Lv 59f0699ce1 fix #218 2015-01-13 10:23:32 +08:00
Max Lv 3b07420550 refine tcp_nodelay 2015-01-13 09:07:53 +08:00
Max Lv 411e686106 fix http://www.v2ex.com/t/161515 2015-01-12 20:47:07 +08:00
Max Lv ad690cc67e fix for C89 2015-01-12 17:41:09 +08:00
Max Lv 108cac35f8 update README 2015-01-12 18:30:11 +09:00
Max Lv 40e9be0021 Avoid getaddrinfo() in the main loop 2015-01-12 16:49:47 +09:00
Max Lv dfb4b3ba3c refine mingw compatibility 2015-01-11 13:40:08 +09:00
Max Lv 3bcba86432 fix #211 2015-01-10 16:24:11 +08: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 cf222a9b4e update documents 2015-01-07 10:05:44 +08:00
Max Lv 7fc0a136ec refine the connection close 2015-01-04 17:41:32 +08:00
Max Lv 1e9f033baf update redir 2015-01-04 17:15:24 +08: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 ee8b55e2c8 limit the timeout of udprelay 2014-12-16 10:59:53 +08:00
Max Lv 30c38d319b add stdint for mingw 2014-12-13 11:25:00 +00:00
Max Lv 561c28b573 fix fake cipher 2014-12-13 18:47:40 +08:00
Max Lv 1336881e9f remove HAVE_SODIUM_H 2014-12-13 18:29:35 +08:00
Max Lv 9e1b5999ba update configure.ac 2014-12-13 07:08:53 +00:00
Max Lv 5ace152631 update autoconf tools 2014-12-13 06:59:06 +00:00
Max Lv bca8a499f9 integrate libsodium as a submodule 2014-12-13 11:58:13 +08:00
Max Lv ae85d6f36b fix some bugs 2014-12-13 11:31:38 +08:00
Max Lv e38836c5be update Makefile 2014-12-13 02:10:47 +00:00
Max Lv a0d773ca89 refine the sodium support 2014-12-13 09:42:59 +08:00
Max Lv aae283faf8 implement encrypt() function 2014-12-12 20:48:11 +08:00
Max Lv f7d2fc0eb2 add fake ciphers for salsa20 chacha20 2014-12-11 20:42:31 +08:00
Max Lv 5838c021a4 fix #181 2014-12-07 09:35:12 +08:00
aa65535 a065bc0d8c refine error message 2014-12-06 11:01:57 +08:00