nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							9110354b23
							
						
					 | 
					
						
						
							
							doc: update README files
						
						
						
						
						
					 | 
					
						2017-08-31 11:45:01 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							95aa3fa38f
							
						
					 | 
					
						
						
							
							examples: update doc for "9. Transparent Proxy without dnsmasq"
						
						
						
						
						
					 | 
					
						2017-08-31 11:30:27 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							73f0987b96
							
						
					 | 
					
						
						
							
							examples: add 9. Transparent Proxy without dnsmasq
						
						
						
						
						
					 | 
					
						2017-08-31 11:03:34 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							5b9dc1563a
							
						
					 | 
					
						
						
							
							examples: add link in README file
						
						
						
						
						
					 | 
					
						2017-08-31 01:23:26 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							432dc9485b
							
						
					 | 
					
						
						
							
							examples: add example 7. Transparent Proxy with dnsmasq
						
						
						
						
						
					 | 
					
						2017-08-31 01:19:49 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							a839f8d195
							
						
					 | 
					
						
						
							
							config: add new settings in examples for ver 0.4
						
						
						
						
						
					 | 
					
						2017-08-31 00:53:24 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							ee6eec0b52
							
						
					 | 
					
						
						
							
							doc: update documents for ver0.4
						
						
						
						
						
					 | 
					
						2017-08-31 00:08:22 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							e7dd21289f
							
						
					 | 
					
						
						
							
							ipset: 1. ipset flush; 2. ipset in main config
						
						
						
						
						
					 | 
					
						2017-08-29 18:36:42 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							45a03ff62d
							
						
					 | 
					
						
						
							
							examples: add order number
						
						
						
						
						
					 | 
					
						2017-08-29 10:05:06 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							9d9fe7bfd8
							
						
					 | 
					
						
						
							
							systemd: add CAP_NET_ADMIN capability for ipset
						
						
						
						
						
					 | 
					
						2017-08-28 23:14:52 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							4729fc57f3
							
						
					 | 
					
						
						
							
							ipset: do not create ipset when ipset name is ""
						
						
						
						
						
					 | 
					
						2017-08-28 23:14:02 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							ada5cdfcc3
							
						
					 | 
					
						
						
							
							ipset: add ipset management. REQUIRE CAP_NET_ADMIN capability.
						
						
						
						
						
					 | 
					
						2017-08-28 19:23:32 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							419fa05171
							
						
					 | 
					
						
						
							
							conf: support relative path in "rules-dir" config
						
						
						
						
						
					 | 
					
						2017-08-25 20:32:51 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							1a941cd095
							
						
					 | 
					
						
						
							
							systemd: add CapabilityBoundingSet settings in service file so that glider can listen on port below 1024 with none-root user
						
						
						
						
						
					 | 
					
						2017-08-24 11:58:32 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							4e4e778f1d
							
						
					 | 
					
						
						
							
							README: update TODO list
						
						
						
						
						
					 | 
					
						2017-08-23 23:04:03 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							0f2e490001
							
						
					 | 
					
						
						
							
							README: add go version info
						
						
						
						
						
					 | 
					
						2017-08-23 21:19:09 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							6055efa537
							
						
					 | 
					
						
						
							
							rule: parse cidr once
						
						
						
						
						
					 | 
					
						2017-08-23 21:11:08 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							1b400d984e
							
						
					 | 
					
						
						
							
							rule: use new concurrent sync.Map instead of old map
						
						
						
						
						
					 | 
					
						2017-08-23 18:58:24 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							65f33beaa3
							
						
					 | 
					
						
						
							
							log: add LogFunc so we can define a custom logger
						
						
						
						
						
					 | 
					
						2017-08-23 18:04:20 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							cba2f36b08
							
						
					 | 
					
						
						
							
							forwarder: add NextDialer method so we can choose dialer by domain name (not dns server) in dns proxy
						
						
						
						
						
					 | 
					
						2017-08-23 17:45:57 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							652d49182a
							
						
					 | 
					
						
						
							
							1. general: restructured codes;
						
						
						
						
						
						
						
						2. rule: add dnsserver to ip rule map;
3. dns: add DNSAnswerHandler so we can define a custom handler when a domain resolved 
						
					 | 
					
						2017-08-23 16:35:39 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							dd5ba37582
							
						
					 | 
					
						
						
							
							dns: add the ability to get resloved ip address of domain. (so we can add ip address to ipset later)
						
						
						
						
						
					 | 
					
						2017-08-21 23:57:49 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							dbc9fc7b5c
							
						
					 | 
					
						
						
							
							README: fixed rule file link
						
						
						
						
						
					 | 
					
						2017-08-20 21:51:54 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							0bff373a4e
							
						
					 | 
					
						
						
							
							rules: add rules.d folder
						
						
						
						
						
					 | 
					
						2017-08-20 21:49:21 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							989d3c9787
							
						
					 | 
					
						
						
							
							rules: add rules-dir folder config support
						
						
						
						
						
					 | 
					
						2017-08-20 21:44:18 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							b2b3a94798
							
						
					 | 
					
						
						
							
							redir: fixed a compile error on linux
						
						
						
						
						
					 | 
					
						2017-08-17 20:26:46 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							4574ab1c1a
							
						
					 | 
					
						
						
							
							general: optimize codes
						
						
						
						
						
					 | 
					
						2017-08-16 22:37:42 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							5fef071349
							
						
					 | 
					
						
						
							
							dns: add experimental codes to specify different remote dns server in rule file
						
						
						
						
						
					 | 
					
						2017-08-16 13:20:12 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							5c0c2e926d
							
						
					 | 
					
						
						
							
							doc: fixed link in systemd/README.md
						
						
						
						
						
					 | 
					
						2017-08-14 00:02:05 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							b29d972adc
							
						
					 | 
					
						
						
							
							dnstun: add the ability to support both udp and tcp dns request
						
						
						
						
						
					 | 
					
						2017-08-13 23:51:08 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							1a14762d84
							
						
					 | 
					
						
						
							
							general: change StringSlice to StringSliceUniq to remove duplicate flag values
						
						
						
						
						
					 | 
					
						2017-08-13 20:25:21 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							ed788fd1c7
							
						
					 | 
					
						
						
							
							general: use string slice instead of custom arrFlags type.
						
						
						
						
						
					 | 
					
						2017-08-12 12:20:25 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							085e6ba040
							
						
					 | 
					
						
						
							
							change version
						
						
						
						
						
					 | 
					
						2017-08-08 09:49:32 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							7a919ed124
							
						
					 | 
					
						
						
							
							dnstun: remove last dot in getDomain func
						
						
						
						
						
					 | 
					
						2017-08-07 15:06:26 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							8cb0672df0
							
						
					 | 
					
						
						
							
							doc: update
						
						
						
						
						
					 | 
					
						2017-08-01 20:58:34 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							f8f6308e92
							
						
					 | 
					
						
						
							
							strategy: fixed a bug in haproxy which actually act as a rrproxy.
						
						
						
						
						
					 | 
					
						2017-07-31 19:29:43 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							b3b06cbfa5
							
						
					 | 
					
						
						
							
							README: change checkhost -> checkwebsite
						
						
						
						
						
					 | 
					
						2017-07-31 14:07:47 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							a06d56cce0
							
						
					 | 
					
						
						
							
							proxy chek: 1. improve check method: send a http get request and check the response, if the first 4 byte is "HTTP" then the proxy is avaliable.  2. if a proxy is disabled, increase the check duration. 3. update related docs.
						
						
						
						
						
					 | 
					
						2017-07-31 13:42:11 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							8527d48190
							
						
					 | 
					
						
						
							
							remove addr in redir proxy which is not needed.
						
						
						
						
						
					 | 
					
						2017-07-30 13:37:33 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							83df90b8b2
							
						
					 | 
					
						
						
							
							fixed a bug in redir proxy.
						
						
						
						
						
					 | 
					
						2017-07-30 13:33:50 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							aa67e5df41
							
						
					 | 
					
						
						
							
							fixed a mistake in config example
						
						
						
						
						
					 | 
					
						2017-07-30 13:04:57 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							76fbaf2cec
							
						
					 | 
					
						
						
							
							return strategy proxy if no rule file specified.
						
						
						
						
						
					 | 
					
						2017-07-30 12:38:41 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							88c8eeff35
							
						
					 | 
					
						
						
							
							fixed a bug in redir proxy.
						
						
						
						
						
					 | 
					
						2017-07-30 12:03:19 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							16ed700fd1
							
						
					 | 
					
						
						
							
							add config examples link in README file
						
						
						
						
						
					 | 
					
						2017-07-30 11:53:16 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							cfce89e795
							
						
					 | 
					
						
						
							
							add some example configs
						
						
						
						
						
					 | 
					
						2017-07-30 11:44:34 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							d9bfd95216
							
						
					 | 
					
						
						
							
							add TODO list in README file.
						
						
						
						
						
					 | 
					
						2017-07-30 10:57:24 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							3d8c976bd0
							
						
					 | 
					
						
						
							
							1. add CIDR rule support; 2. update some docs; 3. optimize rule.go codes.
						
						
						
						
						
					 | 
					
						2017-07-30 10:35:11 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							4dd429b754
							
						
					 | 
					
						
						
							
							add proxy rule file support.
						
						
						
						
						
					 | 
					
						2017-07-30 01:54:19 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							bf692de636
							
						
					 | 
					
						
						
							
							change "func GetProxy() Proxy" to "GetProxy(dstAddr string) Proxy" so we could add rule based proxy later
						
						
						
						
						
					 | 
					
						2017-07-29 23:20:27 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							88dda17725
							
						
					 | 
					
						
						
							
							1. optimized strategy proxy code. 2. changed config name "checkhost" -> "checkwebsite" 3. optimized proxy check function.
						
						
						
						
						
					 | 
					
						2017-07-29 21:31:01 +08:00 | 
					
					
						
						
							
							
							
						
					 |