Darien Raymond
f3c5df8798
make sure writer not buffered
2017-11-15 11:23:25 +01:00
Darien Raymond
5a6022d1ed
log err for SetReadDeadline(). fix #707
2017-11-15 01:14:02 +01:00
Darien Raymond
0dbfb66126
clean up dns package
2017-11-15 00:36:14 +01:00
Darien Raymond
a430e2065a
move port allocation to udp package
2017-11-14 23:45:07 +01:00
Darien Raymond
268d7264e8
use external config converter first, and then fallback to the internal one
2017-11-11 22:29:00 +01:00
Darien Raymond
901d13ca76
allow normalized env name for asset location. fix #702
2017-11-11 15:23:42 +01:00
DarienRaymond
e88bea0ee6
Merge pull request #700 from ToutyRater/patch-1
...
typo
2017-11-10 14:08:53 +01:00
ToutyRater
2c62346011
typo
2017-11-10 12:38:32 +00:00
Darien Raymond
c4bf58dc50
allow release script to access cloud storage
2017-11-09 23:10:09 +01:00
Darien Raymond
6f51496879
Update version
2017-11-09 22:43:13 +01:00
Darien Raymond
594ec15c09
cleanup buffer usage
2017-11-09 22:33:15 +01:00
Darien Raymond
6e61538b36
close http server properly
2017-11-09 01:06:40 +01:00
Darien Raymond
66b82e4ab7
cleanup MultiBuffer
2017-11-09 00:55:28 +01:00
Darien Raymond
3d2fd372e1
avoid writing empty payload in bytesToBufferWriter
2017-11-08 23:43:16 +01:00
Darien Raymond
cf080e8061
ensure buffer is completely filled in
2017-11-08 22:41:46 +01:00
Darien Raymond
d5fd7efa7e
fast read on first packet
2017-11-08 22:23:21 +01:00
Darien Raymond
14bc183754
update arch values
2017-11-08 21:33:41 +01:00
Darien Raymond
2a96aaaf7b
comments
2017-11-08 18:14:44 +01:00
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