mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-10-30 13:13:44 +00:00
Replace nonce cache with a ping-pong bloom filter (#1282)
* Add Ping-Pong bloom filter * Refine bloom filter insertion * Reduce the error rate to 0.00001 * Avoid alignment issue in murmurhash2 * Fix a memory leak * Fix build on non-GPU targets * Detect get_current_dir_name in configure * Update README.md * Remove redudant bfree() * Reduce the memory usage for local client * Fix #1275 * Refine #1275 * Use IP when bypassing SNI domains * Also apply replay detector on UDP traffic * Update deb build script Now build script is able to auto detect system and choose libraries necessary to build. Also update the README accordingly. * Update build script to enable jessie/stretch etc Also include a few cleanup that simplified pkg installation from backports repository.
This commit is contained in:
+4
-1
@@ -1384,7 +1384,7 @@ main(int argc, char **argv)
|
||||
|
||||
USE_TTY();
|
||||
|
||||
while ((c = getopt_long(argc, argv, "f:s:p:l:k:t:m:b:c:i:d:a:n:huUv6",
|
||||
while ((c = getopt_long(argc, argv, "f:s:p:l:k:t:m:b:c:i:d:a:n:huUv6A",
|
||||
long_options, NULL)) != -1) {
|
||||
switch (c) {
|
||||
case GETOPT_VAL_FAST_OPEN:
|
||||
@@ -1477,6 +1477,9 @@ main(int argc, char **argv)
|
||||
case '6':
|
||||
ipv6first = 1;
|
||||
break;
|
||||
case 'A':
|
||||
FATAL("One time auth has been deprecated. Try AEAD ciphers instead.");
|
||||
break;
|
||||
case '?':
|
||||
// The option character is not recognized.
|
||||
LOGE("Unrecognized option: %s", optarg);
|
||||
|
||||
Reference in New Issue
Block a user