1592 Commits

Author SHA1 Message Date
Baptiste Wicht
3eef5e0699 Prepare DNS decoding 2016-09-11 11:05:46 +02:00
Baptiste Wicht
5eeed9b206 UDP Checksum 2016-09-11 10:40:10 +02:00
Baptiste Wicht
a7b3b45f38 Prepare UDP encoding 2016-09-10 20:52:06 +02:00
Baptiste Wicht
cc475a7e28 Prepare DNS decoding 2016-09-10 20:43:47 +02:00
Baptiste Wicht
9b064fe6b9 Prepare UDP support 2016-09-10 20:40:41 +02:00
Baptiste Wicht
e0dc61693e Review odin mouse support 2016-09-10 20:18:08 +02:00
Baptiste Wicht
bc460e91c5 Support for reverse iterators 2016-09-10 20:09:18 +02:00
Baptiste Wicht
7e62659471 push_front support 2016-09-10 19:44:01 +02:00
Baptiste Wicht
a80297f2ce Remove the default window 2016-09-10 19:24:27 +02:00
Baptiste Wicht
60a6ac57a2 Generate windows on the fly 2016-09-10 19:24:07 +02:00
Baptiste Wicht
96cb067608 Generate window color randomly 2016-09-10 19:20:05 +02:00
Baptiste Wicht
89997be334 Simple program to generate random numbers 2016-09-10 18:36:11 +02:00
Baptiste Wicht
2e978f15ba Basic random capabilities 2016-09-10 18:35:55 +02:00
Baptiste Wicht
3ef31e9718 Use the new API 2016-09-10 17:32:02 +02:00
Baptiste Wicht
8a12f79453 Better tlib file API 2016-09-10 17:31:57 +02:00
Baptiste Wicht
de2574bd40 Fix file descriptor handling 2016-09-10 16:24:36 +02:00
Baptiste Wicht
4a8644b480 Start fd at 1 2016-09-10 16:01:26 +02:00
Baptiste Wicht
61305cfa48 Fix error messages 2016-09-10 15:51:56 +02:00
Baptiste Wicht
2ad062c464 ifconfig program 2016-09-10 15:46:57 +02:00
Baptiste Wicht
54a5669fad Fixes memory issues with network interface
When the vector grows, it invalidates the network interface pointers
2016-09-09 17:42:59 +02:00
Baptiste Wicht
b2f77b6036 Better names 2016-09-09 17:22:35 +02:00
Baptiste Wicht
5e8c59d9b1 Publish more network information 2016-09-09 17:18:03 +02:00
Baptiste Wicht
091edbcd4a Fix the indentation 2016-09-09 17:08:25 +02:00
Baptiste Wicht
f8ac9a81a3 Smarter selection of the interface 2016-09-09 16:55:37 +02:00
Baptiste Wicht
3093a82f68 Prepare loopback interface support 2016-09-09 16:15:50 +02:00
Baptiste Wicht
e11c114bbe Reply to ICMP replies 2016-09-08 21:04:31 +02:00
Baptiste Wicht
5594d03ac6 Tag the packet with the indices of the headers 2016-09-08 20:52:13 +02:00
Baptiste Wicht
ab53488091 Wait for several packets if necessary 2016-09-08 19:25:53 +02:00
Baptiste Wicht
8b092bed75 Better logging 2016-09-08 19:25:46 +02:00
Baptiste Wicht
02ba9365a5 Forward packets to self mac address correctly 2016-09-08 18:46:37 +02:00
Baptiste Wicht
8c5ede6339 Support for emplace_push 2016-09-08 18:46:13 +02:00
Baptiste Wicht
4ace048537 Cleanup interface 2016-09-08 16:40:19 +02:00
Baptiste Wicht
0bd37a93cb Better interface 2016-09-08 16:29:32 +02:00
Baptiste Wicht
b7d3793bd0 Review the interface 2016-09-08 16:20:08 +02:00
Baptiste Wicht
9311f5cd4d Improve network interface 2016-09-08 16:15:10 +02:00
Baptiste Wicht
1aa9ccf37c Add make_unexpected 2016-09-08 16:05:47 +02:00
Baptiste Wicht
80300ea7ee Improve the interface 2016-09-08 12:58:30 +02:00
Baptiste Wicht
587dd7cb90 Fix typo 2016-09-08 12:49:48 +02:00
Baptiste Wicht
e2dc653863 Add static assertions on the size of expected 2016-09-08 12:44:29 +02:00
Baptiste Wicht
1e8fe35905 Add timeout support to packet waiting 2016-09-08 12:39:07 +02:00
Baptiste Wicht
25625b44af Better handling for ARP timeout error 2016-09-08 12:25:09 +02:00
Baptiste Wicht
1505fe2f70 Add default timeout for ARP resolution 2016-09-08 12:20:53 +02:00
Baptiste Wicht
026406da50 Use explicit error for timeout 2016-09-08 12:17:32 +02:00
Baptiste Wicht
ebbc9e63cd Propagate ARP errors 2016-09-08 12:15:39 +02:00
Baptiste Wicht
84240bd87c Propagate the error 2016-09-08 12:09:01 +02:00
Baptiste Wicht
175bda1ad2 prepare_packet can fail 2016-09-08 11:06:47 +02:00
Baptiste Wicht
1d4b202224 Handle ARP requests to self 2016-09-08 10:47:06 +02:00
Baptiste Wicht
625fde7496 Make the makefile more portable 2016-09-06 15:21:15 +02:00
Baptiste Wicht
5c4222c6b5 Add version with timeout to forced ARP cache 2016-09-05 23:25:58 +02:00
Baptiste Wicht
10efba4956 Wait for ARP packet with timeout 2016-09-05 23:24:12 +02:00