* 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
* 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.
* 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
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.
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.
- 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.
* Improve Travis
Faster booting with "sudo : required"...Newer environment (i.e. higher GCC version) for more stable builds.
* Improve Speed #2
* Improve Speed #3
Improved based on the log of last build
When ss-server wrapped in a plugin server, every peer_name are 127.0.0.1, black list seems not working.
If large requests sent from the plugin server, ss-server would in DoS.
Maybe when in plugin mode, disable black list in ss-server and move it to plugin server?
This commit changes the "method" parameter in the debian/config.json
from "rc4-md5" to "chacha20-ietf-poly1305". rc4-md5 is unsafe and
there is support for a better AEAD ciphersuite.
- Cleanup
- KCP now confirms to work on jessie/stretch/xenial
- install pristine-tar specifically (was through recommends of
git-buildpackage previously)