Commit Graph

71 Commits

Author SHA1 Message Date
wangyu
18f1d995f8 support multi client,but still buggy 2017-07-28 19:47:30 +08:00
wangyu
e89d7649b6 removed fd sn 2017-07-28 11:31:37 +08:00
wangyu
52358117e6 trival 2017-07-28 00:31:10 +08:00
wangyu
791f4e1ecf trival 2017-07-28 00:29:26 +08:00
wangyu
7933edd9ac it works again 2017-07-28 00:15:10 +08:00
wangyu
21d5f9097f trival 2017-07-27 11:30:10 +08:00
wangyu
5a7734a007 server can handle multi handshake now,but still much work left 2017-07-27 02:00:31 +08:00
wangyu
4bd87235e6 fixed icmp mode filter bug 2017-07-27 00:00:01 +08:00
wangyu
dec07e3c19 added parse_bare,parse_safer 2017-07-26 23:55:42 +08:00
wangyu
1695879605 tried to let server handle multiple handshake,failed 2017-07-26 22:58:22 +08:00
wangyu
0a7d1a99a8 added max_conv_size 2017-07-26 19:47:52 +08:00
wangyu
fbf42c7554 added iptables warn 2017-07-26 19:20:15 +08:00
wangyu
3196c24977 trival 2017-07-26 18:53:40 +08:00
wangyu
7f939890b6 trival 2017-07-26 18:51:31 +08:00
wangyu
283f008f4b trival 2017-07-26 18:45:21 +08:00
wangyu
4d3ed9e9aa trival 2017-07-26 18:00:45 +08:00
wangyu
d4fa238d1e more options 2017-07-26 17:53:15 +08:00
wangyu
66c201e629 more options,help message 2017-07-26 08:51:05 +08:00
wangyu
93c0d789c4 a bunch of commit together,i lost some commit log while upgrading git 2017-07-26 06:29:40 +08:00
wangyu
c6371c0ef5 added md5.c 2017-07-25 01:55:30 +08:00
wangyu
c6c085b36c trival 2017-07-25 01:54:09 +08:00
wangyu
aef193779b fixed some inefficient code 2017-07-25 00:42:11 +08:00
wangyu
966ec3c925 log macro to print file name and line number 2017-07-25 00:04:49 +08:00
wangyu
3e50007667 added log.h log.cpp 2017-07-24 21:18:58 +08:00
wangyu
df58e3f914 update makefile 2017-07-24 14:22:01 +08:00
wangyu
49f6b93cba encrypt.cpp refactor to suppport more mode 2017-07-24 12:34:42 +08:00
wangyu
5568a7e7e2 fixed clear function bug 2017-07-24 11:31:21 +08:00
wangyu
deb466fa83 last commit means added option source-port actually 2017-07-24 10:54:59 +08:00
wangyu
ade4ef04d2 added option source ip 2017-07-24 10:54:05 +08:00
wangyu
39729da0ca added trick to auto get source ip 2017-07-24 02:22:33 +08:00
wangyu
340a8b09bc fix bug of conv cleaning 2017-07-23 22:16:16 +08:00
wangyu
8ecb55d845 fix the bug caused by sign 2017-07-23 19:43:00 +08:00
wangyu
bf449634f1 changed pointer to const,it doesnt work now,why? 2017-07-23 19:21:40 +08:00
wangyu
aaff345cae trival 2017-07-23 18:13:45 +08:00
wangyu
89a4e40c28 key1 for send_bare ,key2 for send_safe 2017-07-23 06:43:54 +08:00
wangyu
cff5e4d1f8 trival 2017-07-23 06:27:15 +08:00
wangyu
5abde3017a refactor,tcp udp works at the moment 2017-07-23 06:24:32 +08:00
wangyu
53ad5730b3 refactor,udp tcp works 2017-07-23 04:17:06 +08:00
wangyu
c552a6fddf trival 2017-07-23 03:02:46 +08:00
wangyu
c71abcd001 trival 2017-07-23 03:01:29 +08:00
wangyu
7525459d1a trival 2017-07-23 02:57:32 +08:00
wangyu
b21d1e368c moved definations 2017-07-23 02:48:20 +08:00
wangyu
5d344025f1 move bufs inside of function 2017-07-23 01:27:39 +08:00
wangyu
98bc2e0b99 it still works,commit before refactor 2017-07-22 23:39:35 +08:00
wangyu
269754a009 changed get_true_random back to u32t ,otherwise it cores 2017-07-22 17:09:46 +08:00
wangyu
0f48a323e2 fix broken udp 2017-07-22 16:19:06 +08:00
wangyu
2b0624bb5a verify myid oppiste_id before anti-replay 2017-07-22 15:22:45 +08:00
wangyu
95a3ff68e1 icmp works 2017-07-22 13:36:33 +08:00
wangyu
04eb3e3ac0 tcp udp both work 2017-07-22 01:19:13 +08:00
wangyu
58e4c4ba39 refactor for udp and icmp mode 2017-07-21 20:30:27 +08:00