Max Lv
5cd294879b
Add -6 option for #942
2016-11-12 11:01:05 +08:00
Max Lv
39436d7618
Refine set_linger
2016-11-11 18:35:44 +08:00
Max Lv
1ed725daf8
Refine APIs for auto-blocking
2016-11-11 16:38:13 +08:00
Max Lv
87b01a14d5
Fix #939
2016-11-10 17:22:03 +08:00
Max Lv
60c25dbace
Reduce the side effects
2016-11-07 17:39:55 +08:00
Max Lv
bac7ba79dd
Drop FIN packets to misbehaving clients ( #925 )
...
* Drop FIN if detecting bad clients
* Fix the command line
* Refine iptables rules
* Refine euid
2016-11-07 02:26:57 -06:00
Max Lv
869f3b7bc8
Refine error handling of ATYP
2016-10-31 16:05:03 +08:00
Max Lv
e2f8b9a34a
Refine error levels
2016-10-31 15:22:44 +08:00
Max Lv
aac4240e9f
Fix #909
2016-10-29 13:40:40 +08:00
Max Lv
4a760fd50b
Fix #907 #908
2016-10-29 13:38:07 +08:00
Max Lv
cfae8dcfcc
Refine outbound feature #905
2016-10-29 08:11:53 +08:00
Kim
a7f5359cab
New feature: ss-server outbound block ( #905 )
...
* New feature: server outbound block
* Update server_block_chn.acl
* Update server_block_chn.acl
Add Baidu-HK
* cleanup
2016-10-29 07:30:11 +08:00
Max Lv
8bb961c29a
Ignore IPs in white list. #899
2016-10-26 10:28:49 +08:00
Max Lv
85a5c86637
Refine LRU cache by clearing old objects
2016-10-26 08:53:21 +08:00
Kim
31e30e35ba
Update server.c ( #898 )
...
Friendlize init message while listen on an IPv6 address.
2016-10-25 20:19:30 +08:00
Max Lv
7029cfca3a
Refine event handling
2016-10-14 09:10:36 +08:00
Max Lv
435401bf7c
Refine auto blocking
2016-10-10 16:36:21 +08:00
Max Lv
3c6bec8d6a
Fix a typo
2016-10-10 12:00:30 +08:00
Max Lv
2dd96d3036
Refine the ACL behavior
2016-10-10 09:06:52 +08:00
Max Lv
c4880e6cf4
Refine ACL for malicious request
2016-10-10 08:25:57 +08:00
Max Lv
efafb59647
Fix #863
2016-10-02 13:37:45 +08:00
Max Lv
c29099df3f
Enable block list by default
2016-10-01 07:32:40 +08:00
Max Lv
7ee9290657
Block address in block list
2016-10-01 07:15:13 +08:00
Max Lv
34fe1a71a6
Refine error levels
2016-09-27 12:11:37 +08:00
Max Lv
3e5816bb0b
fix hostname validation
2016-09-23 10:48:18 +08:00
Max Lv
bd1601f847
Bump version
2016-09-21 20:39:44 +08:00
Max Lv
a5c9bcfb58
Refine auto block mechanism
2016-09-19 13:10:06 +08:00
Max Lv
9bff0298f1
Remove shutdown calls
2016-09-11 10:31:26 +08:00
Max Lv
b28638ab80
Clean up
2016-09-09 13:17:58 +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
a3a51b8414
Refine hostname validation
2016-09-06 09:01:51 +08:00
Max Lv
bf194fef75
Add validation of domain name
2016-08-31 09:45:47 +08:00
Max Lv
7c76026791
Shutdown socket if failed to handshake
2016-08-29 13:32:03 +08:00
Max Lv
9a43cc6e6b
Fix #781
2016-08-27 06:58:55 +08:00
Max Lv
f73031df20
Fix #780
2016-08-27 06:55:58 +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
6c6f986576
Fix a typo
2016-08-12 16:09:38 +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
Syrone Wong
b1f5c68650
Fix typo (found by codespell) ( #753 )
...
Signed-off-by: Syrone Wong <wong.syrone@gmail.com >
2016-08-03 06:50:43 -05:00
Max Lv
34b9036b5b
Add MTU option
2016-08-03 11:53:28 +08:00
Max Lv
3f71b2a914
Fix #746
2016-07-29 16:57:36 +08:00
tim-le
ad17d91b42
fix bugs with when ss-server bind_address enabled ( #725 )
...
* SO_REUSEADDR for remote sockfd
avoid ERROR: bind_to_address: Address already in use
* set addr->sin_port to be 0
2016-07-14 18:08:10 -05: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
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
f1464caca7
Fix a typo #642
2016-05-23 14:33:40 +08:00
Max Lv
fe22a6c90b
Refine error handling of connect()
2016-05-23 12:07:36 +08:00