56af51b43c 
								
							
								 
							
						 
						
							
							
								
								log TCP header if parse error  
							
							
								
 
							
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5249fd528c 
								
							
								 
							
						 
						
							
							
								
								add FORCE_NEW_PROTOCOL switch  
							
							
								
 
							
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								61959945c3 
								
							
								 
							
						 
						
							
							
								
								revert encrypt.py  
							
							
 
							
							
							new obfs header 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								928c26e4f2 
								
							
								 
							
						 
						
							
							
								
								fix some exceptions  
							
							
								
 
							
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9defba2d36 
								
							
								 
							
						 
						
							
							
								
								merge master 20150810  
							
							
								
 
							
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e5e3102591 
								
							
								 
							
						 
						
							
							
								
								remove debug code  
							
							
 
							
							
							add AddressMap for udp 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a9ea55c396 
								
							
								 
							
						 
						
							
							
								
								new UDP over TCP protocol, merge master  
							
							
								
 
							
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								469d9f7bfa 
								
							
								 
							
						 
						
							
							
								
								merge master  
							
							
								
 
							
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								69d369268a 
								
							
								 
							
						 
						
							
							
								
								update run.sh, set working dir  
							
							
								
 
							
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f78f5b56e3 
								
							
								 
							
						 
						
							
							
								
								client_key change  
							
							
								
 
							
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3af426b13b 
								
							
								 
							
						 
						
							
							
								
								remove tail  
							
							
								
 
							
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								543a5903a1 
								
							
								 
							
						 
						
							
							
								
								encrypt speed test  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ad588af75f 
								
							
								 
							
						 
						
							
							
								
								single user script  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d4ca0d281c 
								
							
								 
							
						 
						
							
							
								
								always UDP on  
							
							
 
							
							
							random length TCP/UDP packet 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								28318b5c1a 
								
							
								 
							
						 
						
							
							
								
								double UDP sockets for IPv4 and IPv6  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1f530ff8f1 
								
							
								 
							
						 
						
							
							
								
								fix udp ipv6  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								17122c299c 
								
							
								 
							
						 
						
							
							
								
								fix udp ipv6  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4b52f83376 
								
							
								 
							
						 
						
							
							
								
								udp ipv6  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								07dc98f60d 
								
							
								 
							
						 
						
							
							
								
								udp fix sendto argv  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								565812ae15 
								
							
								 
							
						 
						
							
							
								
								elaborate reasons of header parsing failure  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1e71fba852 
								
							
								 
							
						 
						
							
							
								
								drop UDP message if frag != 0  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c27f6283a2 
								
							
								 
							
						 
						
							
							
								
								UDP remote DNS resolve  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f2efed9608 
								
							
								 
							
						 
						
							
							
								
								add manyuser branch  
							
							
 
							
							
							support udp over tcp
support chacha20 & salsa20 (base on libsodium) 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e74ae193d0 
								
							
								 
							
						 
						
							
							
								
								elaborate reasons of header parsing failure  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								16db66675b 
								
							
								 
							
						 
						
							
							
								
								optimize LRUCache  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								082c8a80f4 
								
							
								 
							
						 
						
							
							
								
								fix duplicated close in LRUCache  
							
							
 
							
							
							close  #324  
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e17279e5bf 
								
							
								 
							
						 
						
							
							
								
								remove duplicated line (refer line 221)  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d3831bef8c 
								
							
								 
							
						 
						
							
							
								
								remove duplicate code from shell.py  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								edb7822a7b 
								
							
								 
							
						 
						
							
							
								
								convert remote_address to str so it will be printed more correctly on python 3  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d774286dc0 
								
							
								 
							
						 
						
							
							
								
								rename utils module into shell  
							
							
 
							
							
							Since utils is ambiguous, we want to give the module a more
clear role. 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cb7062e1c1 
								
							
								 
							
						 
						
							
							
								
								implement utils.print_exception()  
							
							
 
							
							
							Previously we used logging.error(e) and traceback.print_exc()
to output error stack trace. The problem is, we want to
output the stack trace only when verbose > 0. The if statement
scattered around the code. So we replaced them with the new
utils.print_exception() call. 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								dfd81af844 
								
							
								 
							
						 
						
							
							
								
								support --version  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								783a6ef7f2 
								
							
								 
							
						 
						
							
							
								
								support multiple server ip on client side  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e71ce6c758 
								
							
								 
							
						 
						
							
							
								
								fix server check  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e564f17505 
								
							
								 
							
						 
						
							
							
								
								fix bytes in utils  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6d09cd21ca 
								
							
								 
							
						 
						
							
							
								
								fix openssl  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								318d88ec89 
								
							
								 
							
						 
						
							
							
								
								use string more  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ce805f0aea 
								
							
								 
							
						 
						
							
							
								
								license under Apache License v2.0  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0cd261dd10 
								
							
								 
							
						 
						
							
							
								
								catch KeyError  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1c81465436 
								
							
								 
							
						 
						
							
							
								
								fix command line  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								73f21ffbf6 
								
							
								 
							
						 
						
							
							
								
								do not check config for daemon stop  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7aa37cad8e 
								
							
								 
							
						 
						
							
							
								
								check cipher before daemon start  
							
							
 
							
							
							fix  #280  
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ae99698b4e 
								
							
								 
							
						 
						
							
							
								
								implement --user  
							
							
 
							
							
							fix @278  
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								453a9c61a6 
								
							
								 
							
						 
						
							
							
								
								show CIDR error more friendly  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a0aa9173a8 
								
							
								 
							
						 
						
							
							
								
								Fix for Python3 map changed behavior  
							
							
 
							
							
							In Python3, map returns an iterator instead of list in Python2,
which cause map "lazier" than before, wrap with list() force it running. 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								79b9b53dbe 
								
							
								 
							
						 
						
							
							
								
								Never process empty string and prevent infinite loop  
							
							
 
							
							
							If user provide an empty string as network range, inet_pton will
treate it as an IPv6 unspecified address, it seems a bug but I
can't confirm. Then empty string will be converted to 0, 0 & 1
always be zero, so it caused dead loop. 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								070108f78b 
								
							
								 
							
						 
						
							
							
								
								Disable forbidden ip feature for local shadowsocks  
							
							
 
							
							
							Since forbidden ip is server-side only, disable it for local-side.
This commit also supress warning about IPv6 loopback because I can
confirm ::1/128 is the only loopback address, not like IPv4. 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b11d848986 
								
							
								 
							
						 
						
							
							
								
								Fix for Python3 lambda behavior change  
							
							
 
							
							
							In Python3, lambda no longer support use tuple as syntax.
So, ugly changes is inevitable. 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								aa28796524 
								
							
								 
							
						 
						
							
							
								
								Make common fit PEP8  
							
							
								
 
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8af359ae05 
								
							
								 
							
						 
						
							
							
								
								Use IPNetwork supporting forbidden ip feature in config utils  
							
							
 
							
							
							This commit also make "forbidden_ip" field available in config file.
If no forbidden ip specified in command line and config file,
default to "127.0.0.0/8,::1". 
							
						 
						11 years ago