Commit Graph
222 Commits
Author SHA1 Message Date
Max Lv 79a98a66d8 Refine geteuid() 2016-11-16 18:19:51 +08:00
Max Lv 2b7c487b09 Refine #954 2016-11-16 14:38:23 +08:00
Max Lv 6d9331a56d Fix #954 2016-11-16 14:04:57 +08:00
Rayson Zhu 07d2b1a005 exit when running as a nonexistent user and warn when running as root 2016-11-14 21:14:06 +08:00
Max Lv 5cd294879b Add -6 option for #942 2016-11-12 11:01:05 +08:00
Max Lv f64cb0b0ca Refine the timer of traffic stat 2016-11-12 10:18:53 +08:00
Max Lv a0151422eb Fix the traffic counter in UDP mode 2016-11-12 09:58:06 +08:00
Max Lv aac4240e9f Fix #909 2016-10-29 13:40:40 +08:00
Max Lv 85a5c86637 Refine LRU cache by clearing old objects 2016-10-26 08:53:21 +08:00
Kim e0cfa6945a Friendlize init message while listen on an IPv6 address. (#901)
Before,

```bash
$ ss-local -s::1 -p8388 -b::1 -l1080 -k123456 -v
 ...
 2016-10-25 20:07:03 INFO: listening at ::1:1080
 ...
```

After,

```bash
$ ss-local -s::1 -p8388 -b::1 -l1080 -k123456 -v
 ...
 2016-10-25 20:07:49 INFO: listening at [::1]:1080
 ...
```
2016-10-26 08:14:01 +08:00
Kim 5524ec2201 Update local.c (#900)
Setup default cipher instead of null
2016-10-26 07:58:57 +08:00
Max Lv 7029cfca3a Refine event handling 2016-10-14 09:10:36 +08:00
Max Lv efafb59647 Fix #863 2016-10-02 13:37:45 +08:00
Max Lv 248fdcb610 Fix #841 2016-09-23 11:51:42 +08:00
Max Lv 2868e7e7b2 Fix TFO on Linux 2016-09-20 10:14:49 +08:00
Max Lv 3fbfb469d0 Revert "Refine #836"
This reverts commit 0949f9a73b.
2016-09-20 10:10:49 +08:00
Max Lv 0949f9a73b Refine #836 2016-09-20 09:14:59 +08:00
Max Lv 1bf7bd5f83 Fix #836 2016-09-20 08:58:49 +08:00
Max Lv 366fbace1f Fix #826 again 2016-09-12 12:28:15 +08:00
Max Lv 306f84b522 Fix #826 2016-09-12 12:17:52 +08:00
Max Lv 61cd731c4e Fix issue with authentication 2016-09-09 22:08:04 +08:00
Max Lv b28638ab80 Clean up 2016-09-09 13:17:58 +08:00
Max Lv 2ae356a1bb Fix error handling when parsing the header 2016-09-09 08:56:06 +08:00
Max Lv 42d9b68dcc Remove white list option in CLI 2016-09-08 13:06:13 +08:00
Max Lv 64870a276b Add HTTP/SNI parser (#809)
* WiP: add HTTP/SNI parser

* WiP: replace hostname with HTTP/SNI header

* WiP: add ACL

* Fix white list

* Replace free() with ss_free()

* Refine sockaddr handling

* Add HTTP/SNI support to redir
2016-09-08 10:10:23 +08:00
Max Lv 9a43cc6e6b Fix #781 2016-08-27 06:58:55 +08:00
Max Lv 5812840b24 Fix typo 2016-08-26 09:19:38 +08:00
Max Lv 46afbdcfd6 Refine incomplete header handling 2016-08-22 21:04:32 +08:00
Max Lv d31210c217 Fix VPN apis for Android 4.x 2016-08-13 17:13:32 +08:00
Max Lv 722d8d0c62 Fix build on Linux 2016-08-11 15:17:21 +08:00
Max Lv d319c0300c Add mptcp option, close #756 2016-08-04 13:30:39 +08:00
Max Lv 34b9036b5b Add MTU option 2016-08-03 11:53:28 +08:00
Max Lv 6cd81b3cfb Add tips for usage with kcptun 2016-08-03 09:53:12 +08:00
Max Lv 3f71b2a914 Fix #746 2016-07-29 16:57:36 +08:00
anonymous-contributor af69798355 New jconf parameters (#695)
* Add 'tunnel_address' support for json config parser

And allow ss-tunnel to use the newly introduced parser.

Signed-off-by: Adam Anonymous <anonymous_temp_user@yahoo.co.jp>

* Add "mode" support for jconf

Now jconf supports "mode" setting, allowed values are "tcp_only",
"tcp_and_udp" and "udp_only".

Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp>

* Use jconf "mode" for server/local/tunnel/manager

Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp>

* Add per-project vimrc to gitignore

As the coding style differs from kernel and other projects, so such
project vimrc should be helpful.

Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp>
2016-06-30 23:19:13 -05:00
Max Lv bf210be2b7 Refine #690 2016-06-28 15:35:16 +08:00
Max Lv 55dea8b973 Fix #690 2016-06-28 15:33:55 +08:00
cs17899219 d33b865ec7 Add a signal SIGUSR1 for safely stop the server (#677) 2016-06-14 21:29:06 -05:00
Max Lv 00209ab2ea Revert "Add APIs for non thread safe usage of shadowsocks-libev library"
This reverts commit 3e4c922363.
2016-06-14 09:15:58 +08:00
Max Lv 3e4c922363 Add APIs for non thread safe usage of shadowsocks-libev library 2016-06-13 17:47:11 +08:00
Max Lv 658703a1bd Fix #673 2016-06-12 09:09:03 +08:00
Max Lv 0cfae045e8 Fix #648 2016-05-26 14:35:02 +08:00
Max Lv fe22a6c90b Refine error handling of connect() 2016-05-23 12:07:36 +08:00
Kim 342bd3f776 Fix ipv6 address format in log message 2016-05-08 17:34:54 +08:00
Max Lv bb50fc22ca Add option for binding to address #626 2016-05-06 14:52:33 +08:00
Max Lv 41d93b126a Fix #626 2016-05-06 13:23:18 +08:00
Max Lv 72ee77ea35 Fix #615 2016-04-28 10:34:26 +08:00
Kim 08f873adc7 Roll up year to 2016 2016-04-22 22:50:26 +08:00
Kim dfa9e17c1b Add help option
* updated cli option 'help'

- all 5 apps supports cli option '-h' without error exit code
- supports long option '--help'

* fixed bad line brake
2016-04-21 06:22:58 +08:00
Max Lv ac5f26c6fa Fix #585 2016-04-17 19:38:10 +08:00