Max Lv
a02a67dcf0
Update GFWList
8 years ago
Max Lv
63f50dcbe7
Refine ACL
8 years ago
Mygod
82943612fd
Update gfwlist
8 years ago
Max Lv
31a88839d0
Handle large HTTP header properly
8 years ago
Max Lv
1153c89bcb
Update gfwlist.acl
8 years ago
Syrone Wong
e6c0780435
memset zero before using
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
8 years ago
Max Lv
001e6da00d
Fix #993
8 years ago
Max Lv
dafadaa621
Fix #990
8 years ago
Syrone Wong
9db8c3abe8
zeroize some structs before using
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
8 years ago
Syrone Wong
cbe12c30fe
Update uthash to latest
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
8 years ago
Max Lv
b7e5a97a74
Fix building error of ss-redir
8 years ago
Max Lv
25cc062e5d
Use cork_container_of instead
8 years ago
Max Lv
65843154cf
Fix building error
8 years ago
Max Lv
a63a33861f
Add container_of
8 years ago
Syrone Wong
baff29e970
Fix issues found by cppcheck
- GNU treats void* as char* when doing pointer arithmetic, so let's make it clear
- Fix memory leak, save copy from malloc() and pass the original pointer to free()
- minor type mismatches
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
8 years ago
Max Lv
8b358c59c7
Disable resolution retry after startup
8 years ago
Syrone Wong
43a236d3ca
Clarify calculation precedence for '&' and '?' ( #986 )
8 years ago
Max Lv
a987783b2a
Fix a potential memory leak
8 years ago
Max Lv
24b407c37d
Fix #981
8 years ago
Rayson Zhu
135ceedb14
revert `pwd->name` to `user` when error occurs ( #979 )
8 years ago
Rayson Zhu
4034190b15
Change supplementary groups after setgid. ( #977 )
8 years ago
Max Lv
fd388e0502
Fix #972
8 years ago
Rayson zhu
7bbf81068b
fix broken EL6 packaging support
Tests show that EL6 is too old to support `%elif` statement (which is very stupid).
And revert dependency `openssl-libs` to `openssl` because of
inconsistent names in EL6.
8 years ago
Rayson zhu
5d85590f7c
support packaging for openSUSE
8 years ago
Rayson zhu
1c738323a7
Similar fix as #967
8 years ago
Rayson zhu
a8fdd77fbf
add `user` config option
8 years ago
tim-le
aca5f5ddb4
Fix #966 again ( #967 )
* SO_REUSEADDR for remote sockfd
avoid ERROR: bind_to_address: Address already in use
* set addr->sin_port to be 0
* Update server.c
* Update server.c
* Update server.c
* Update server.c
* Update server.c
* Update server.c
* Update server.c
8 years ago
Max Lv
dbc530ccb1
Fix #966
8 years ago
Max Lv
c0b26e380e
Fix #985
8 years ago
Rayson zhu
b80c159758
RPM packaing: move .la and .so to devel subpackage
8 years ago
Rayson zhu
156cd88776
check for libsodium, libev, libudns if configured with system library
8 years ago
Max Lv
f14d37f09c
Merge pull request #962 from vfreex/packaging-bash-completion
Package bash completion file
8 years ago
Rayson zhu
9754edda9c
package bash completion files
8 years ago
Rayson zhu
48d159504f
fix -l completion
8 years ago
Rayson zhu
a6ef853e2b
will not print user name
8 years ago
Max Lv
28a61096f3
Merge pull request #959 from vfreex/fix-configure-enable-system-shared-lib
Fix broken `configure --enable-system-shared-lib`
8 years ago
Rayson zhu
54f607e0ec
Fix broken `configure --enable-system-shared-lib`
The following error will occur when configuring with --enable-system-shared-lib:
```
/usr/bin/rm: cannot remove 'libtoolT': No such file or directory
```
This issue is caused by overwriting gnu make variable `RM` with `rm`,
whose default value is `rm -f` (https://www.gnu.org/software/make/manual/html_node/Implicit-Variables.html ).
8 years ago
Max Lv
a7350a19b3
Merge pull request #958 from vfreex/fix-completion-ciphers
Bash completion: add missing cipher list
8 years ago
Rayson Zhu
a21f515d37
Bash completion: add missing cipher list
8 years ago
Max Lv
936cbaf4fd
Merge pull request #957 from vfreex/feature-bash-completion
Add bash completion files
8 years ago
Rayson Zhu
cfaadbdd62
Add bash completion files
8 years ago
Max Lv
52e391962f
Add option for firewall rules
8 years ago
Max Lv
79a98a66d8
Refine geteuid()
8 years ago
Max Lv
a05a64f563
Add missing macro #954
8 years ago
Max Lv
2b7c487b09
Refine #954
8 years ago
Max Lv
6d9331a56d
Fix #954
8 years ago
Max Lv
a76f8f46ba
Merge pull request #953 from vfreex/feature-uid
Feature: Support uid for `-a` option.
8 years ago
Max Lv
780b1aeb1a
Merge pull request #952 from vfreex/fix-jconf-parse
Fix config file parsing
8 years ago
Max Lv
12612c6395
Refine key string
8 years ago
Rayson zhu
99a1ece116
Feature: uid support in run_as
8 years ago