Commit Graph
2495 Commits
Author SHA1 Message Date
wangxufire 61e145140d trigger macOS build
trigger macOS build

trigger macOS build

trigger macOS build

trigger macOS build

trigger macOS build

trigger macOS build
2017-07-09 23:36:59 -05:00
Max Lv 0e74ea509c Refine the CLI help text. #1547 2017-07-06 17:17:17 +08:00
Vladimir Olteanu 556627399e parsing socks 5 request: more suggestive code 2017-07-04 23:57:21 -05:00
Vladimir Olteanu afb27ad054 count length bit when checking buffer size 2017-07-04 23:57:21 -05:00
xqdoo00o 3f0564f2ff Update README.md
update MbedTLS version
2017-07-03 01:32:57 -05:00
Secbone 4c88c72a66 delete duplicate code 2017-07-02 17:45:57 -05:00
Yuxiang Zhu c90cb5a0ae Fix #1533
This patch is going to replace the group name 'nogroup' with 'nobody' in
debian/shadowsocks-libev.service, and move file
'/etc/default/shadowsocks-libev' to '/etc/sysconfig/shadowsocks-libev'.

This is implemented by creating a text patch file. Not sure whether
there is a better approach.
2017-06-28 05:02:49 -05:00
Max Lv 5070256631 Clean up 2017-06-28 17:13:00 +08:00
Max Lv c11b2c08e4 Bump version v3.0.7 2017-06-27 14:17:53 +08:00
Jiewei Qian 42ce34518d Add ARGS env variable to alpine Dockerfile (#1537) 2017-06-21 00:57:02 -05:00
Max Lv babc9c4775 Fix #1531 2017-06-18 16:02:57 +08:00
Max Lv 95b4416e14 Clean up 2017-06-14 16:36:47 +08:00
Mass Carl 6b70ce59eb Add TW website "Bahamut" (#1527)
Since some part of this website "Bahamut" is blocked by China.And it benefits to many gamers and anime lovers.So I decide to list it into the GFW.
2017-06-12 02:25:47 -05:00
thelastfantasy a51309d88f 添加漫画人 (#1525) 2017-06-12 00:55:58 -05:00
Max Lv f5278f0ac8 Fix a typo 2017-06-12 10:27:41 +08:00
Max Lv ba81b2f49e Decrease the visibility of fragmentation. #1524 2017-06-12 10:14:03 +08:00
Xiandong eba486cb02 Output service method in list API (#1523)
* Fix #1518 config file with wrong json format

Removing trailing "," to make the configuration file compliant with JSON specification

* Remove extra "," in json file

* server_port should be integer instead of string 

server_port in generated json configuration file should be integer instead of string

* Add list active service ports feature

A new management API has been added to list all active service ports.

* Make list API output JSON compliant 

In the following format:
[
{ "server_port":"8388","password":"password"},
...
]
Note that server_port value is string instead of integer for easy display on the console.

* Make safe room for the new list entry

"\n\t{\"server_port\":\"%s\",\"password\":\"%s\"}," 
Reserve 50 char spaces for the extra characters in the above.

* Output method for each service port in list API
2017-06-08 21:56:35 -05:00
Max Lv f308ddeda6 Fix #1522 2017-06-08 15:39:18 +08:00
Xiandong e2f717e9fb Add list API to list service ports (#1521)
* Fix #1518 config file with wrong json format

Removing trailing "," to make the configuration file compliant with JSON specification

* Remove extra "," in json file

* server_port should be integer instead of string 

server_port in generated json configuration file should be integer instead of string

* Add list active service ports feature

A new management API has been added to list all active service ports.

* Make list API output JSON compliant 

In the following format:
[
{ "server_port":"8388","password":"password"},
...
]
Note that server_port value is string instead of integer for easy display on the console.

* Make safe room for the new list entry

"\n\t{\"server_port\":\"%s\",\"password\":\"%s\"}," 
Reserve 50 char spaces for the extra characters in the above.
2017-06-07 22:10:52 -05:00
Xiandong 195a961e97 server_port in json file should be integer (#1520)
* Fix #1518 config file with wrong json format

Removing trailing "," to make the configuration file compliant with JSON specification

* Remove extra "," in json file

* server_port should be integer instead of string 

server_port in generated json configuration file should be integer instead of string
2017-06-06 04:27:22 -05:00
Xiandong b9085c2e32 Remove extra "," in json file 2017-06-06 02:55:50 -05:00
Xiandong ae156c6aeb Fix #1518 config file with wrong json format
Removing trailing "," to make the configuration file compliant with JSON specification
2017-06-06 02:55:50 -05:00
Vladimir Olteanu 0b2dce5fe9 ss-redir: fix memleak in remote_send_cb 2017-06-05 19:09:38 -05:00
Max Lv 03adf82a8a Clean up 2017-05-28 22:37:09 +08:00
Max Lv 4b1550626f Update specs 2017-05-27 09:34:55 +08:00
Aaron LI e65b3b1505 Move <sys/socket.h> inclusion to fix build on DFlyBSD
The ``<sys/socket.h>`` header should be included in ``src/netutils.h``
before the usage of ``struct sockaddr_storage``, otherwise build failed
with errors such as:

```
In file included from udprelay.c:53:0:
netutils.h:68:22: error: 'struct sockaddr_storage' declared inside parameter list [-Werror]
                      int ipv6first);
                      ^
netutils.h:68:22: error: its scope is only this definition or declaration, which is probably not what you want [-Werror]
```

Tested on DragonFly BSD 4.9-development and Debian Linux testing.
2017-05-24 20:00:53 +08:00
Sherlock Holo 2734365a82 Update README.md
complement RHEL/Fedora depends
2017-05-23 16:42:12 +08:00
Lucas BEE 44feddd4f6 ss-redir: Add option to disable SNI feature
Add an option 'disable_sni' in the config file to allow clients running
ss-redir to disable the HTTP/SNI feature
2017-05-23 06:23:53 +08:00
Max Lv b7bb4358e1 Clean up 2017-05-22 17:11:59 +08:00
Max Lv b7bdb16338 Fix #1502 2017-05-19 12:27:19 +08:00
Mygod 72622a3e3d Use standard __ANDROID__ preprocessor macro 2017-05-17 07:08:41 +08:00
Max Lv c02176df71 Update README.md 2017-05-15 09:06:38 +08:00
Max Lv 33fe5adc19 Remove debug info 2017-05-06 07:30:30 +08:00
Max Lv 0313c8bcc6 Fix stat_update_cb for UDP packets 2017-05-06 07:24:12 +08:00
Roger Shimizu 6c5142a2de Update simple-obfs git repo and branch
simple-obfs is released to debian unstable, and its git repo
is moved to alioth.
So update the URL of git repo and branch accordingly.
2017-05-04 22:01:52 +08:00
Max Lv 3f0d39aee6 Fix #1491 2017-05-03 15:36:58 +08:00
Max Lv b00ac7e103 Add PPA to README 2017-05-03 12:59:02 +08:00
Zou Yong eb30a3d161 Fix losing data issue of SALSA20 cipher
If nonce received in more than one packet under some network condition, the salsa20 cipher decryption will lose cipher->nonce_len - left_len bytes of data.
2017-04-30 21:01:15 +08:00
Zou Yong 0559d8ce2e Fix decryption failed issue by nonce overwrite
If the first packet is less than nonce length, then the chunk nonce data will be overwrote by next packet and result in decrypt failed
2017-04-28 19:35:42 +08:00
Vladimir Olteanu c6bc21bc1a Make use of struct when parsing method select requests 2017-04-27 07:45:26 +08:00
Vladimir Olteanu 8065d2f0cf Make SOCKS5 fields unsigned 2017-04-27 07:45:26 +08:00
Max Lv bc96aed3b0 Bump version v3.0.6 2017-04-26 15:02:56 +08:00
Daniel b918fd7a77 aviod twice resolving when domain has bypassed ip 2017-04-25 07:13:27 +08:00
Daniel 81006d4690 resolve when acl_match_host failed 2017-04-23 16:46:23 +08:00
Daniel 54acbba2a7 resolve domain so we can bypass domain with geoip 2017-04-23 16:46:23 +08:00
zzzdong 9db9df5f4d Add a option in CMakeLists.txt for switch build with static libraries or not 2017-04-23 07:16:22 +08:00
Max Lv 7fc1d63276 Update link in README 2017-04-20 12:17:40 +08:00
Roger Shimizu aaff27ed4d Update scripts/build_deb.sh
- Update debian pkg dsc URL of libsodium to 1.0.11-2.
- Update libbloom git repo to debian's anonscm (alioth).
- Update branch of libbloom git repo from exp1 to master.
  It's got released to debian unstable.
- Update branch of shadowsocks-libev git repo from exp1 to master
  It's got released to debian experimental.
2017-04-19 14:33:56 +08:00
Max Lv d252da8d83 Fix another potential out of bound access. #1465 2017-04-19 12:46:59 +08:00
Max Lv 9ee82a9a89 Fix a potential out of bound access. #1465 2017-04-19 12:16:41 +08:00