2033 Commits

Author SHA1 Message Date
Baptiste Wicht
eb98f9f472 Fix TCP header length handling 2016-09-19 20:14:44 +02:00
Baptiste Wicht
bb433ba9ba Fix IP header length 2016-09-19 20:13:12 +02:00
Baptiste Wicht
4afeb82c4e Better handling of variable IP header length 2016-09-19 19:59:48 +02:00
Baptiste Wicht
26abd1fd6a Add receive function to stream sockets 2016-09-19 18:43:57 +02:00
Baptiste Wicht
54baef231d Fix warnings 2016-09-19 10:22:48 +02:00
Baptiste Wicht
d88726b2cd Fix warnings 2016-09-19 10:21:08 +02:00
Baptiste Wicht
283e743eb9 Documentation 2016-09-19 10:19:51 +02:00
Baptiste Wicht
ee7914c9e2 Documentation of the network interface 2016-09-19 10:10:14 +02:00
Baptiste Wicht
9f69c771f6 Documentation of the tlib 2016-09-19 10:04:09 +02:00
Baptiste Wicht
d4bc47274c Cleanup of TCP implementation 2016-09-18 23:02:13 +02:00
Baptiste Wicht
a92a5c5784 Add send function to ease send of message 2016-09-18 22:29:23 +02:00
Baptiste Wicht
3f3386f9ba Doc 2016-09-18 21:36:07 +02:00
Baptiste Wicht
8af2f9f7cc Cleanup tlib 2016-09-18 21:34:55 +02:00
Baptiste Wicht
90b389c1ea Add note 2016-09-18 21:27:49 +02:00
Baptiste Wicht
1e671d61f1 Refactor TCP layer a bit 2016-09-18 21:23:13 +02:00
Baptiste Wicht
2ac2e27fd1 Restore TCP disconnect 2016-09-18 21:22:46 +02:00
Baptiste Wicht
08d4219d4e Cleanup 2016-09-18 21:10:07 +02:00
Baptiste Wicht
ad7a4f41cf Review initialization of local ports 2016-09-18 21:03:13 +02:00
Baptiste Wicht
76b4264192 Cleanup 2016-09-18 20:51:12 +02:00
Baptiste Wicht
0422e1fed8 Continue cleanup network suport 2016-09-18 20:26:37 +02:00
Baptiste Wicht
bbd2f31093 Handle UDP unbind 2016-09-18 19:59:05 +02:00
Baptiste Wicht
623772062b Improve UDP support 2016-09-18 19:46:50 +02:00
Baptiste Wicht
ef8182271e Store the UDP "connections" 2016-09-18 11:24:55 +02:00
Baptiste Wicht
0e5e27c9bb Extract the datastructure for connections 2016-09-18 11:14:24 +02:00
Baptiste Wicht
900b6d3e46 Prepare UDP "connection" handling 2016-09-18 11:04:24 +02:00
Baptiste Wicht
e6d5dd2b71 New utility 2016-09-18 10:46:45 +02:00
Baptiste Wicht
03ee69e9a6 Cleanup 2016-09-17 22:43:48 +02:00
Baptiste Wicht
f2833a522b Remove kernel_prepare_packet from DNS layer
The kernel does not need to send DNS packets. This is up to the user
space.
2016-09-17 22:34:07 +02:00
Baptiste Wicht
0ca2d96100 Disable alpha for now
Everything has been implemented in nslookup / resolve (tlib)
2016-09-17 22:31:41 +02:00
Baptiste Wicht
bf78df3dcf Prepare HTTP support 2016-09-17 22:23:49 +02:00
Baptiste Wicht
7d57d2a019 Cleanup 2016-09-17 21:57:13 +02:00
Baptiste Wicht
f9d9b40920 Review prepare_packet functions 2016-09-17 21:46:46 +02:00
Baptiste Wicht
395fc33a9a Cleanup 2016-09-17 20:38:18 +02:00
Baptiste Wicht
ddb4486afc Remove legacy alpha functions 2016-09-17 20:37:28 +02:00
Baptiste Wicht
6caa59e5af Rename prepare_packet 2016-09-17 20:33:36 +02:00
Baptiste Wicht
2f0ee33ba9 finalize_packet may fail 2016-09-17 20:19:35 +02:00
Baptiste Wicht
42cb0a97a8 Fix the fix 2016-09-17 20:16:55 +02:00
Baptiste Wicht
0d2c2746b2 Fix possible invalid memory access 2016-09-17 20:01:28 +02:00
Baptiste Wicht
9884934146 Fix bug in fat32::clear 2016-09-17 20:00:27 +02:00
Baptiste Wicht
1cddac2883 Improve sonar configuration 2016-09-17 19:50:42 +02:00
Baptiste Wicht
7906a4c9a9 Fix the CI branch 2016-09-17 19:45:20 +02:00
Baptiste Wicht
a5c9fc3792 Pipeline script for Jenkins 2016-09-17 19:38:21 +02:00
Baptiste Wicht
09c6002bc1 Reformat 2016-09-17 19:24:58 +02:00
Bryon Gloden, CISSP®
19c9d44690 [tlib][net] fix the memory leaks (#7)
* memory leak: buffer

[tlib/src/net.cpp:69]: (error) Memory leak: buffer

Found by https://github.com/bryongloden/cppcheck
2016-09-17 19:22:37 +02:00
Baptiste Wicht
9d5da4769d Delete all TCP work to the TCP layer 2016-09-17 17:34:13 +02:00
Baptiste Wicht
f55de06866 Refactor 2016-09-17 16:29:13 +02:00
Baptiste Wicht
a8ddc2156c Cleanup 2016-09-17 16:28:51 +02:00
Baptiste Wicht
0dbdfd22b7 Fix the ACK of PSH 2016-09-17 16:23:40 +02:00
Baptiste Wicht
29b5a777fb Guard the TCP connections datastructure 2016-09-17 16:21:20 +02:00
Baptiste Wicht
bfa88d4218 Better initialization 2016-09-17 16:20:25 +02:00