Commit Graph

199 Commits

Author SHA1 Message Date
wangyu-
934a65e7bf disabled force socket buf size by default 2017-09-04 03:21:34 -05:00
wangyu-
44eb464182 tuned parameter 2017-08-31 11:12:12 -05:00
wangyu-
d3290a9a94 fixed possible alignment issue 2017-08-31 10:36:33 -05:00
wangyu-
d2ebcf6f6d added a unit test and a comment 2017-08-28 17:41:31 -05:00
wangyu-
1f94c40ccf added some comment 2017-08-27 03:31:22 -05:00
wangyu-
01a1d2b006 trival 2017-08-26 08:25:38 -05:00
wangyu-
dc4936dc60 implemented --lower-level auto for client. better makefile 2017-08-26 05:38:33 -05:00
wangyu-
1293b95335 bug fix and improve for conf 2017-08-23 10:47:09 -05:00
wangyu-
0a7f9b5cc6 fixed conf bugs and refactor 2017-08-23 07:01:21 -05:00
Peter Cai
057f81007d
main: don't warn config-file as 'unknown' 2017-08-23 11:16:41 +08:00
Peter Cai
1f2f0d96fd
main: fix missing includes 2017-08-23 11:09:46 +08:00
Peter Cai
01e0e51b9b
config: treat TABs as spaces 2017-08-23 11:03:27 +08:00
Peter Cai
6ef38709a6
config: trim spaces and tabs 2017-08-23 11:03:24 +08:00
Peter Cai
57b874ee6d
main: ignore empty lines in configuration 2017-08-23 11:03:21 +08:00
Peter Cai
ab0ce3ade3
main: merge cli/config arguments and check for duplications 2017-08-23 11:03:18 +08:00
Peter Cai
968d35178a
main: allow loading configuration files (--config-file) 2017-08-23 11:03:12 +08:00
wangyu-
f8e268769c trival 2017-08-22 21:10:32 -05:00
wangyu-
b9030fe81d deleted useless headers 2017-08-22 11:00:44 -05:00
root
033fa830f7 trival 2017-08-21 23:31:55 +08:00
root
dd8539e420 fixed --lower-level auto bug 2017-08-21 21:49:29 +08:00
wangyu
19ce820813 added new options to help page 2017-08-21 20:42:59 +08:00
root
b30a347c23 implemented --lower-level auto for server 2017-08-21 20:26:55 +08:00
root
497320e446 added --keep-rule --gen-add option 2017-08-20 16:28:23 +08:00
wangyu
769b99546b added log,now listeing 2017-08-18 23:37:21 +08:00
wangyu
6c578738ca trival 2017-08-18 00:58:40 +08:00
wangyu
a33133c3de trival 2017-08-18 00:50:56 +08:00
wangyu
8356b45c3b trival 2017-08-18 00:23:18 +08:00
wangyu
e502076394 fixed help page.some new function in common 2017-08-17 23:40:17 +08:00
wangyu
837de123b2 added android target to makefile,fixed some log 2017-08-16 19:44:19 +08:00
wangyu
bb67509179 added lower-level option in help page 2017-08-15 15:48:19 +08:00
wangyu
cee22ec3dc zero out every sockaddr 2017-08-15 13:03:22 +08:00
wangyu
32166d65ae bug fix 2017-08-13 08:18:23 +08:00
wangyu
2af94823e3 better makefile 2017-08-13 02:14:50 +08:00
root
0266163b12 fixed a makefile problem 2017-08-12 19:21:24 +08:00
wangyu
e890a6344c reverted extern c syntax,fixed a makefile problem 2017-08-11 12:25:04 +08:00
broncotc
ed6416a30d add cmake support and fix compile errors 2017-08-11 10:45:40 +08:00
wangyu
c48c619002 added mtu warning 2017-08-09 21:29:54 +08:00
wangyu
ce2e6a094d added send-direction failure direction,x86 binary 2017-08-08 15:49:11 +08:00
wangyu
307399b00a added option lower-level 2017-08-07 23:42:09 +08:00
wangyu
61be9cf76c changed binary file name 2017-08-05 21:04:47 +08:00
wangyu
82a0adf081 added lib dir 2017-08-05 20:44:48 +08:00
wangyu
9542e37577 -g option,better log 2017-08-05 17:31:07 +08:00
wangyu
de80871a71 refactor 2017-08-05 10:03:40 +08:00
wangyu
54c3f20e32 added about to exit 2017-08-04 23:08:45 +08:00
wangyu
956bc5ab06 changed iptables -A to -I, auth_mode: simple 2017-08-04 21:46:49 +08:00
wangyu
acece0b329 handle more signal 2017-08-04 18:35:51 +08:00
wangyu
77eff2e6b1 auto add iptables rule, fixed Wformat warnings 2017-08-04 17:12:23 +08:00
wangyu
bc04a6898d ack increase monotonically 2017-08-04 12:46:46 +08:00
wangyu
5cf4cc7cb2 prepare work for auto add iptables rule 2017-08-04 11:51:39 +08:00
wangyu
1fba601d9c conn_info_t::recover() ,reuse last_hb_sent_time 2017-08-04 05:27:47 +08:00
wangyu
351d14734f fixed anti_replay dead loop 2017-08-04 04:22:16 +08:00
wangyu
203eccb2d0 fixed ts bug 2017-08-04 03:29:53 +08:00
wangyu
ede2600993 deleted blob 2017-08-03 23:40:00 +08:00
wangyu
f2ffb42abe no auto seq increse in send bare and recv bare 2017-08-03 23:32:19 +08:00
wangyu
501b620c35 fix bug of len <0 2017-08-02 20:54:32 +08:00
wangyu
649b69cd85 fixed tcp mode syn ack flag error 2017-08-02 19:10:38 +08:00
wangyu
cf47d0a7a8 simplified protocal 2017-08-02 18:57:27 +08:00
wangyu
0349c83254 trival 2017-08-01 20:14:13 +08:00
wangyu
ce5d68ab46 deleted key2 2017-08-01 20:03:29 +08:00
wangyu
8ebfd38c7f fixed icmp handshake bug,when iptables rule is not set 2017-07-31 21:30:05 +08:00
wangyu
db726b445a trival 2017-07-31 20:09:45 +08:00
wangyu
b0c8448fdf fixed sed ack_seq of faketcp mode 2017-07-31 19:50:05 +08:00
wangyu
66e6e7946a fixed icmp seq 2017-07-31 19:01:50 +08:00
wangyu
46c4333240 trival 2017-07-31 15:12:20 +08:00
wangyu
cea566f187 trival 2017-07-31 13:26:07 +08:00
wangyu
00bc3453e2 debug_flag 2017-07-31 11:00:58 +08:00
wangyu
2fc8149116 fixed epoll dead loop 2017-07-31 09:25:59 +08:00
wangyu
2245fbdb54 deleted my exit 2017-07-31 07:51:31 +08:00
wangyu
63e7dbb240 fixed assert bug 2017-07-30 23:50:39 +08:00
wangyu
9df06648ea implemented server re-send packet 2017-07-30 23:18:37 +08:00
wangyu
49f3f0d04a trivalmake 2017-07-30 18:09:51 +08:00
wangyu
269a516d6d trival 2017-07-30 17:07:41 +08:00
wangyu
84855a393c fixed core dumped from last commit 2017-07-30 17:07:17 +08:00
wangyu
9f10fd4766 trival 2017-07-30 16:57:24 +08:00
wangyu
0b65dc2358 added tons of assert,fixed some small bugs 2017-07-30 16:37:49 +08:00
wangyu
e822e244b0 bug fixes,more log 2017-07-30 13:39:18 +08:00
wangyu
b485efc4c3 grab connection works 2017-07-30 05:53:30 +08:00
wangyu
b03c5ebf14 changed some members of conn_info to pointers 2017-07-30 03:46:28 +08:00
wangyu
e15338c179 trival 2017-07-29 21:22:13 +08:00
wangyu
0efcacfdf4 fixed warnings 2017-07-29 20:58:38 +08:00
wangyu
701eb8dbcf split to multi files 2017-07-29 20:32:26 +08:00
wangyu
e32a65d5e9 added max_ready_conn_num max_handshake_conn_num 2017-07-29 02:49:50 +08:00
wangyu
74b60b2007 implemented connection recovery 2017-07-29 02:13:42 +08:00
wangyu
b4d9549c0b trival 2017-07-29 00:25:20 +08:00
wangyu
2b7774dcc3 fixed tons of bugs 2017-07-29 00:22:26 +08:00
wangyu
5369e7d7a5 fixe log color bug 2017-07-28 23:24:49 +08:00
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
283f008f4b trival 2017-07-26 18:45:21 +08:00
wangyu
4d3ed9e9aa trival 2017-07-26 18:00:45 +08:00