nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							8951d1b442
							
						
					 | 
					
						
						
							
							examples: add order number
						
						
						
						
						
					 | 
					
						2017-08-29 10:05:06 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							3612700c0f
							
						
					 | 
					
						
						
							
							systemd: add CAP_NET_ADMIN capability for ipset
						
						
						
						
						
					 | 
					
						2017-08-28 23:14:52 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							684c17507d
							
						
					 | 
					
						
						
							
							ipset: do not create ipset when ipset name is ""
						
						
						
						
						
					 | 
					
						2017-08-28 23:14:02 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							ac1976d5d7
							
						
					 | 
					
						
						
							
							ipset: add ipset management. REQUIRE CAP_NET_ADMIN capability.
						
						
						
						
						
					 | 
					
						2017-08-28 19:23:32 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							f5eeae91a5
							
						
					 | 
					
						
						
							
							conf: support relative path in "rules-dir" config
						
						
						
						
						
					 | 
					
						2017-08-25 20:32:51 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							867bafaa78
							
						
					 | 
					
						
						
							
							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
							
						 
					 | 
					
						
						
						
						
							
						
						
							11df26061b
							
						
					 | 
					
						
						
							
							README: update TODO list
						
						
						
						
						
					 | 
					
						2017-08-23 23:04:03 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							f76c83b6d4
							
						
					 | 
					
						
						
							
							README: add go version info
						
						
						
						
						
					 | 
					
						2017-08-23 21:19:09 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							e67a0755a2
							
						
					 | 
					
						
						
							
							rule: parse cidr once
						
						
						
						
						
					 | 
					
						2017-08-23 21:11:08 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							f687c0b7d0
							
						
					 | 
					
						
						
							
							rule: use new concurrent sync.Map instead of old map
						
						
						
						
						
					 | 
					
						2017-08-23 18:58:24 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							a902152ef1
							
						
					 | 
					
						
						
							
							log: add LogFunc so we can define a custom logger
						
						
						
						
						
					 | 
					
						2017-08-23 18:04:20 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							cfc8ee9b5e
							
						
					 | 
					
						
						
							
							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
							
						 
					 | 
					
						
						
						
						
							
						
						
							1ca16dac79
							
						
					 | 
					
						
						
							
							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
							
						 
					 | 
					
						
						
						
						
							
						
						
							825dea4f65
							
						
					 | 
					
						
						
							
							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
							
						 
					 | 
					
						
						
						
						
							
						
						
							375e8f9f65
							
						
					 | 
					
						
						
							
							README: fixed rule file link
						
						
						
						
						
					 | 
					
						2017-08-20 21:51:54 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							ecacbe7142
							
						
					 | 
					
						
						
							
							rules: add rules.d folder
						
						
						
						
						
					 | 
					
						2017-08-20 21:49:21 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							7b4e07bbe4
							
						
					 | 
					
						
						
							
							rules: add rules-dir folder config support
						
						
						
						
						
					 | 
					
						2017-08-20 21:44:18 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							503a5c5503
							
						
					 | 
					
						
						
							
							redir: fixed a compile error on linux
						
						
						
						
						
					 | 
					
						2017-08-17 20:26:46 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							6469d3332e
							
						
					 | 
					
						
						
							
							general: optimize codes
						
						
						
						
						
					 | 
					
						2017-08-16 22:37:42 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							c3329ac601
							
						
					 | 
					
						
						
							
							dns: add experimental codes to specify different remote dns server in rule file
						
						
						
						
						
					 | 
					
						2017-08-16 13:20:12 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							8831c37e57
							
						
					 | 
					
						
						
							
							doc: fixed link in systemd/README.md
						
						
						
						
						
					 | 
					
						2017-08-14 00:02:05 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							639aa2f093
							
						
					 | 
					
						
						
							
							dnstun: add the ability to support both udp and tcp dns request
						
						
						
						
						
					 | 
					
						2017-08-13 23:51:08 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							75de6dab38
							
						
					 | 
					
						
						
							
							general: change StringSlice to StringSliceUniq to remove duplicate flag values
						
						
						
						
						
					 | 
					
						2017-08-13 20:25:21 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							8cc0ac2ac2
							
						
					 | 
					
						
						
							
							general: use string slice instead of custom arrFlags type.
						
						
						
						
						
					 | 
					
						2017-08-12 12:20:25 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							505fb5e504
							
						
					 | 
					
						
						
							
							change version
						
						
						
						
						
					 | 
					
						2017-08-08 09:49:32 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							de229c1a7d
							
						
					 | 
					
						
						
							
							dnstun: remove last dot in getDomain func
						
						
						
						
						
					 | 
					
						2017-08-07 15:06:26 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							b41679a1f3
							
						
					 | 
					
						
						
							
							doc: update
						
						
						
						
						
					 | 
					
						2017-08-01 20:58:34 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							071ed4ae62
							
						
					 | 
					
						
						
							
							strategy: fixed a bug in haproxy which actually act as a rrproxy.
						
						
						
						
						
					 | 
					
						2017-07-31 19:29:43 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							71ac9500c7
							
						
					 | 
					
						
						
							
							README: change checkhost -> checkwebsite
						
						
						
						
						
					 | 
					
						2017-07-31 14:07:47 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							4219c4a7fa
							
						
					 | 
					
						
						
							
							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
							
						 
					 | 
					
						
						
						
						
							
						
						
							eb9e2fd4e5
							
						
					 | 
					
						
						
							
							remove addr in redir proxy which is not needed.
						
						
						
						
						
					 | 
					
						2017-07-30 13:37:33 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							cf837b5b40
							
						
					 | 
					
						
						
							
							fixed a bug in redir proxy.
						
						
						
						
						
					 | 
					
						2017-07-30 13:33:50 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							6886d74313
							
						
					 | 
					
						
						
							
							fixed a mistake in config example
						
						
						
						
						
					 | 
					
						2017-07-30 13:04:57 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							76285aec17
							
						
					 | 
					
						
						
							
							return strategy proxy if no rule file specified.
						
						
						
						
						
					 | 
					
						2017-07-30 12:38:41 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							00f51a55b3
							
						
					 | 
					
						
						
							
							fixed a bug in redir proxy.
						
						
						
						
						
					 | 
					
						2017-07-30 12:03:19 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							4d5e0e4330
							
						
					 | 
					
						
						
							
							add config examples link in README file
						
						
						
						
						
					 | 
					
						2017-07-30 11:53:16 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							c8ae638fcc
							
						
					 | 
					
						
						
							
							add some example configs
						
						
						
						
						
					 | 
					
						2017-07-30 11:44:34 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							f691306853
							
						
					 | 
					
						
						
							
							add TODO list in README file.
						
						
						
						
						
					 | 
					
						2017-07-30 10:57:24 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							6eb29f9874
							
						
					 | 
					
						
						
							
							1. add CIDR rule support; 2. update some docs; 3. optimize rule.go codes.
						
						
						
						
						
					 | 
					
						2017-07-30 10:35:11 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							b726d341e3
							
						
					 | 
					
						
						
							
							add proxy rule file support.
						
						
						
						
						
					 | 
					
						2017-07-30 01:54:19 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							dfb25665c7
							
						
					 | 
					
						
						
							
							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
							
						 
					 | 
					
						
						
						
						
							
						
						
							23f314889e
							
						
					 | 
					
						
						
							
							1. optimized strategy proxy code. 2. changed config name "checkhost" -> "checkwebsite" 3. optimized proxy check function.
						
						
						
						
						
					 | 
					
						2017-07-29 21:31:01 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							5e9f0e8858
							
						
					 | 
					
						
						
							
							fixed all known bugs
						
						
						
						
						
					 | 
					
						2017-07-29 18:15:22 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							29f5341fa0
							
						
					 | 
					
						
						
							
							add features info in README file.
						
						
						
						
						
					 | 
					
						2017-07-27 01:22:56 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							dd07c527b0
							
						
					 | 
					
						
						
							
							parse domain in dns request playload. (prepare for the forward rule and ipset management features.)
						
						
						
						
						
					 | 
					
						2017-07-26 18:56:24 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							13214534f8
							
						
					 | 
					
						
						
							
							update systemd README file
						
						
						
						
						
					 | 
					
						2017-07-24 17:22:13 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							3e7f671490
							
						
					 | 
					
						
						
							
							add systemd service file.
						
						
						
						
						
					 | 
					
						2017-07-24 17:16:40 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							51078cf002
							
						
					 | 
					
						
						
							
							update doc
						
						
						
						
						
					 | 
					
						2017-07-23 01:57:05 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							9fbd527072
							
						
					 | 
					
						
						
							
							added more info to config example
						
						
						
						
						
					 | 
					
						2017-07-23 01:46:06 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								nadoo
							
						 
					 | 
					
						
						
						
						
							
						
						
							859fb4737f
							
						
					 | 
					
						
						
							
							added install info for ArchLinux
						
						
						
						
						
					 | 
					
						2017-07-21 18:58:51 +08:00 | 
					
					
						
						
							
							
							
						
					 |