Darien Raymond
9cc9a76b71
cleanup
2017-11-08 11:11:13 +01:00
Darien Raymond
143488ad8c
update geosite data
2017-11-07 23:28:11 +01:00
Darien Raymond
ead3fa09e5
release buffer on error
2017-11-07 22:33:16 +01:00
Darien Raymond
cab5c10fc2
remove use of KeepAlive
2017-11-07 22:31:47 +01:00
Darien Raymond
7cd2d62d06
release buffer on error
2017-11-07 16:53:02 +01:00
Darien Raymond
8554a5e0bf
fix buffer leak
2017-11-07 16:28:39 +01:00
Darien Raymond
d9ce03d25b
test case for geoip:cn
2017-11-07 16:21:36 +01:00
Darien Raymond
e1c8ffd378
put systemd unit file into /etc/systemd/system. fix #623
2017-11-07 15:25:58 +01:00
Darien Raymond
1b6b39faad
comments
2017-11-07 15:02:21 +01:00
Darien Raymond
f5d76c8eb0
fix lint warnings
2017-11-07 14:40:51 +01:00
Darien Raymond
251d6f6fcb
fix lint warning
2017-11-07 13:07:50 +01:00
Darien Raymond
c1eccb3a45
safe release buffer
2017-11-07 11:58:43 +01:00
Darien Raymond
ccf1fb6616
fix buffer leak in multi buffer
2017-11-07 11:40:12 +01:00
Darien Raymond
d1e7e7002f
fix buffer leak in crypto io
2017-11-07 11:39:54 +01:00
Darien Raymond
4761139fbc
comments
2017-11-06 22:42:16 +01:00
Darien Raymond
57648c145c
cachable domain matcher: step 2
2017-11-06 22:30:56 +01:00
Darien Raymond
6b77e14bf6
cachable domain matcher, step 1
2017-11-06 21:12:28 +01:00
Darien Raymond
482793d28a
get asset location on demand
2017-11-06 12:23:21 +01:00
Darien Raymond
064d7249f5
banchmark IPNetTable
2017-11-05 23:39:47 +01:00
DarienRaymond
71d34e7451
Merge pull request #685 from valture/ua-leak
...
Prevent UA from being set to golang's default ones
2017-11-05 22:30:43 +01:00
Darien Raymond
4444cc985d
http proxy in transparent mode
2017-11-05 22:13:15 +01:00
Valture
40b97e7cd3
add test for UA header
2017-11-05 20:06:40 +00:00
Valture
973378d610
Prevent UA from being set to golang's default ones
...
Go automatically sets HTTP header `User-Agent' to `Go-http-client/1.1'
if it hasn't been set before, which in some cases breaks the
transparency of proxy.
Such behavior can be prevented by setting it to an empty string.
2017-11-05 19:24:26 +00:00
Darien Raymond
95b8be93c3
exit on mandatory files only
2017-11-05 20:12:40 +01:00
Darien Raymond
e60de73c70
geosite data
2017-11-05 17:19:39 +01:00
Darien Raymond
682319a004
proto def for geosite
2017-11-05 17:19:34 +01:00
Darien Raymond
eb8f11c512
remove chinaips
2017-11-05 17:00:22 +01:00
Darien Raymond
541924dc88
fix cidr parsing for non-normalized ips
2017-11-05 10:37:23 +01:00
Darien Raymond
01cfcbeb30
update README
2017-11-05 01:17:52 +01:00
Darien Raymond
1d2c624062
get asset location
2017-11-04 21:33:09 +01:00
Darien Raymond
cec45a416c
allow fast close on UDP session. fix #682
2017-11-04 20:50:17 +01:00
Darien Raymond
fde421ac58
Revert "check request.Host instead of request.URL.Host. fix #681 "
...
This reverts commit ba16987a07
.
2017-11-04 09:47:41 +01:00
Darien Raymond
25a1f1d450
fix typo
2017-11-04 01:45:00 +01:00
Darien Raymond
4b240eb683
DiscardBytes
2017-11-04 01:33:35 +01:00
Darien Raymond
4412d73b28
get rid off ioutil
2017-11-04 01:33:28 +01:00
Darien Raymond
ba16987a07
check request.Host instead of request.URL.Host. fix #681
2017-11-04 00:35:05 +01:00
Darien Raymond
1b1bdc10af
remove unused lines
2017-11-04 00:22:42 +01:00
Darien Raymond
823a3bf795
upload docker files to gcs
2017-11-04 00:22:19 +01:00
Darien Raymond
b0a132596f
install more files
2017-11-03 23:42:33 +01:00
Darien Raymond
1413bb2944
update
2017-11-03 22:40:12 +01:00
Darien Raymond
55f821be20
update release ci
2017-11-03 17:11:21 +01:00
Darien Raymond
14052351d6
build with golang 1.9.2
2017-11-03 14:45:23 +01:00
Darien Raymond
a083e1fcd6
use go 1.9.2
2017-11-03 14:44:24 +01:00
Darien Raymond
2f5d501643
fix length calculation in bufferToBytesReader.WriteTo
2017-11-03 13:19:48 +01:00
Darien Raymond
10712b3235
fix http port parsing
2017-11-03 13:03:51 +01:00
Darien Raymond
f39b9add63
Update version
2017-11-02 22:03:33 +01:00
Darien Raymond
c30aa63df7
update config file using new syntax
2017-11-02 21:33:47 +01:00
Darien Raymond
198156b236
add geoip data
2017-11-02 10:56:39 +01:00
Darien Raymond
3545d20b1c
protobuf for geoip
2017-11-02 10:54:06 +01:00
Darien Raymond
08ece5d2bf
default security to auto
2017-10-30 21:14:04 +01:00