Datong Sun
							
						 
					 | 
					
						
						
							
						
						583cdbe300
					 | 
					
						
						
							
							perf(fake-tcp) reduce the number of clone() calls in hot path
						
						
						
						
						
						
					 | 
					
						2021-11-19 12:35:21 +08:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Datong Sun
							
						 
					 | 
					
						
						
							
						
						91988520e5
					 | 
					
						
						
							
							feat(*) add DNS name support for --remote argument in both Client and
						
						
						
						
						
						
						
						Server 
						
						
					 | 
					
						2021-11-19 12:30:47 +08:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Datong Sun
							
						 
					 | 
					
						
						
							
						
						41e86521b7
					 | 
					
						
						
							
							fix(fake-tcp) more robust checking for receiving end closing, avoids
						
						
						
						
						
						
						
						panicking tasks from causing server to stop completely 
						
						
					 | 
					
						2021-10-10 00:29:28 +08:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Datong Sun
							
						 
					 | 
					
						
						
							
						
						427fb7c19a
					 | 
					
						
						
							
							fix(fake-tcp) use 64 as TTL value, fixes #11
						
						
						
						
						
						
					 | 
					
						2021-10-09 23:57:47 +08:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Datong Sun
							
						 
					 | 
					
						
						
							
						
						8371256f0b
					 | 
					
						
						
							
							perf(fake-tcp) use cached tuples per dispatcher task to avoid RwLock
						
						
						
						
						
						
						
						contentions. Use multi queue Tun. Upgraded tokio to 1.12.0.
This makes the entire Phantun forward process completely lock contention free 
						
						
					 | 
					
						2021-09-23 12:59:49 +08:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Datong Sun
							
						 
					 | 
					
						
						
							
						
						04b0e97c1d
					 | 
					
						
						
							
							perf(fake-tcp) faster checksum calculation
						
						
						
						
						
						
						
						Before:
```
test packet::benchmarks::bench_build_tcp_packet_128  ... bench:         207 ns/iter (+/- 25)
test packet::benchmarks::bench_build_tcp_packet_1460 ... bench:         670 ns/iter (+/- 14)
test packet::benchmarks::bench_build_tcp_packet_512  ... bench:         334 ns/iter (+/- 21)
```
After:
```
test packet::benchmarks::bench_build_tcp_packet_128  ... bench:         206 ns/iter (+/- 9)
test packet::benchmarks::bench_build_tcp_packet_1460 ... bench:         259 ns/iter (+/- 16)
test packet::benchmarks::bench_build_tcp_packet_512  ... bench:         212 ns/iter (+/- 11)
``` 
						
						
					 | 
					
						2021-09-20 23:12:53 +08:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Datong Sun
							
						 
					 | 
					
						
						
							
						
						4a9e41b0b7
					 | 
					
						
						
							
							chore(*) refactor Phantun and fake-tcp to their own crates
						
						
						
						
						
						
					 | 
					
						2021-09-19 00:36:40 -07:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 |