58 Commits

Author SHA1 Message Date
wangyu-
33d96331fe implement dummy socket 2018-06-15 11:47:57 -05:00
wangyu-
63950e2b22 new option pcap-send 2018-06-15 06:47:39 -05:00
wangyu-
4b8776c67a changed pcap_next_ex to pcap_loop 2018-06-15 02:48:52 -05:00
wangyu-
55f77463e7 fix pcap latency 2018-06-15 02:25:14 -05:00
wangyu-
23df5160d1 avoid using libnet_clear_packet() 2018-06-15 00:04:41 -05:00
root
af3d7e6c23 add log 2018-06-15 04:53:23 +00:00
wangyu
2ab846a9ca endianness macro, fix mac warning 2018-06-14 08:46:37 -07:00
wangyu
0b44f74d9b Merge branch 'portable' of https://github.com/wangyu-/udp2raw-tunnel into portable 2018-06-14 07:55:55 -07:00
wangyu
2198e23026 remove non-portable code on mac 2018-06-14 07:55:50 -07:00
wangyu-
e5524d9edf fix iphdr tcphdr udphdr 2018-06-14 09:54:33 -05:00
wangyu-
5d4ea64d00 remove non-portable code 2018-06-14 09:25:02 -05:00
wangyu-
1a4c494978 filter expression works 2018-06-14 08:18:26 -05:00
wangyu-
fed5bdc700 libpcap roughly works 2018-06-14 08:01:03 -05:00
wangyu-
83e13ebc5f libnet roughly works 2018-06-12 10:08:41 -05:00
wangyu-
8a1d5b58b1 add libnet and libpcap 2018-06-09 09:04:00 -05:00
wangyu-
5c7d48e711 new option set-ttl 2018-06-05 11:40:09 -05:00
wangyu-
2c67c319b7 fix last commit 2018-02-24 18:07:16 -06:00
wangyu-
0c2060028a --max-rst-allowed --max-rst-to-show 2018-02-24 17:26:29 -06:00
wangyu-
7cb65ec45d handle truncated packet 2018-02-20 06:10:18 -06:00
wangyu-
1bdb6a5720 fixed bug of last few commit, and fixed a bug of bind error 2017-11-21 14:46:11 -06:00
wangyu-
54f32f0611 fixed clear bug,add option random-drop 2017-10-11 09:10:38 -05:00
wangyu-
fc05e7f080 refactor 2017-09-24 03:14:08 -05:00
wangyu-
d778be2bfc refacotr 2017-09-23 03:05:23 -05:00
wangyu-
9a959c2dcf fix typo in help page 2017-09-06 19:24:39 -05:00
wangyu-
9472fe8bb3 seq mode 3 and 4,include git version in help page 2017-09-06 05:31:29 -05:00
wangyu-
178327c581 refactor 2017-09-06 01:37:14 -05:00
wangyu-
698504aca0 refactor 2017-09-06 01:31:29 -05:00
wangyu-
934a65e7bf disabled force socket buf size by default 2017-09-04 03:21:34 -05:00
wangyu-
d3290a9a94 fixed possible alignment issue 2017-08-31 10:36:33 -05:00
wangyu-
dc4936dc60 implemented --lower-level auto for client. better makefile 2017-08-26 05:38:33 -05:00
root
b30a347c23 implemented --lower-level auto for server 2017-08-21 20:26:55 +08:00
wangyu
12741d9b9b better bpf filter 2017-08-18 18:23:40 +08:00
wangyu
8356b45c3b trival 2017-08-18 00:23:18 +08:00
wangyu
455dcc1e84 trival 2017-08-15 13:04:21 +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
307399b00a added option lower-level 2017-08-07 23:42:09 +08:00
wangyu
82a0adf081 added lib dir 2017-08-05 20:44:48 +08:00
wangyu
956bc5ab06 changed iptables -A to -I, auth_mode: simple 2017-08-04 21:46:49 +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
203eccb2d0 fixed ts bug 2017-08-04 03:29:53 +08:00
wangyu
f2ffb42abe no auto seq increse in send bare and recv bare 2017-08-03 23:32:19 +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
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