Commit Graph

177 Commits

Author SHA1 Message Date
hidnplayr
5c963ac890 Fix ICMP Echo reply, broken in #5522
git-svn-id: svn://kolibrios.org@7536 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-11-06 20:12:47 +00:00
hidnplayr
a6b5419b5d Fix ARP Reply, broken in #5522
git-svn-id: svn://kolibrios.org@7535 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-11-06 19:50:07 +00:00
hidnplayr
144ea3d326 Use tcp_output instead of tcp_respond to send delayed acks, we need it for correct window advertisement amongst other things...
git-svn-id: svn://kolibrios.org@7099 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-10-17 19:59:47 +00:00
ashmew2
a396aff3da Fix TCP window size in tcp_respond
git-svn-id: svn://kolibrios.org@7098 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-10-17 19:43:14 +00:00
hidnplayr
44f6fd248e TCP: Use bitflag instead of dword for t_force.
git-svn-id: svn://kolibrios.org@6916 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-05-31 17:54:16 +00:00
hidnplayr
f8148f187a TCP: dont accept out of order FINs.
git-svn-id: svn://kolibrios.org@6915 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-05-30 21:21:21 +00:00
hidnplayr
5b5249a5d6 TCP: Don't increase sequence number when resending a FIN.
git-svn-id: svn://kolibrios.org@6914 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-05-30 20:33:16 +00:00
ashmew2
c23792822f TCP Fast ACK: Fix advertised window size
git-svn-id: svn://kolibrios.org@6913 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-05-30 16:41:35 +00:00
hidnplayr
e9dc6c5ab5 TCP: improved routing, connect.
git-svn-id: svn://kolibrios.org@6912 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-05-28 20:57:46 +00:00
hidnplayr
e15ba926dd UDP: Improved routing.
git-svn-id: svn://kolibrios.org@6911 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-05-28 20:55:31 +00:00
hidnplayr
3c9e868864 TCP_process_input: remember device number.
git-svn-id: svn://kolibrios.org@6910 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-05-28 20:50:33 +00:00
hidnplayr
f4e464bc8a Bugfix for TCP advertised window calculation.
git-svn-id: svn://kolibrios.org@6909 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-05-28 16:52:24 +00:00
ashmew2
caf7d0c041 Add a build script for Linux
git-svn-id: svn://kolibrios.org@6908 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-05-26 18:56:19 +00:00
ashmew2
03c47f08be Build script for linux
git-svn-id: svn://kolibrios.org@6907 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-05-26 18:43:39 +00:00
CleverMouse
2a755c9a3d on RST, close TCP connection but don't free the structure - owner process should know what happened
git-svn-id: svn://kolibrios.org@6710 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-11-14 12:30:05 +00:00
hidnplayr
af09dcd4b0 Fix TCP_RANGESET
git-svn-id: svn://kolibrios.org@6512 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-09-05 15:56:33 +00:00
hidnplayr
58663b49dd More comments and stats in TCP code.
git-svn-id: svn://kolibrios.org@6476 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-08-15 18:06:19 +00:00
hidnplayr
b4e2367e09 IPv4_route: bugfix in route determination.
git-svn-id: svn://kolibrios.org@6475 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-08-15 17:27:45 +00:00
hidnplayr
9d14a71733 TCP_output: update advertised receive window correctly
git-svn-id: svn://kolibrios.org@6474 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-08-15 17:25:50 +00:00
hidnplayr
6c4e2f8033 More descriptive constant names, reduced socket buffer size.
git-svn-id: svn://kolibrios.org@6413 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-04-30 21:15:55 +00:00
hidnplayr
69c414474f Broadcast does not need gateway.
git-svn-id: svn://kolibrios.org@6220 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-02-14 19:35:20 +00:00
hidnplayr
cbca315c7d IPv4: Dont crash when there is no route to host.
git-svn-id: svn://kolibrios.org@6122 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-02-01 19:43:10 +00:00
hidnplayr
c81c3fbd4f Cosmetical changes in network code, updated TCP timer code.
git-svn-id: svn://kolibrios.org@6011 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-12-27 15:37:31 +00:00
hidnplayr
0be26c4c22 Implemented TCP 2MSL (Timed-wait) timer.
Cleanup and various bugfixes in network code.

git-svn-id: svn://kolibrios.org@5976 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-12-16 21:20:53 +00:00
hidnplayr
7cff3aa25b Improved error handling in sockets code.
git-svn-id: svn://kolibrios.org@5969 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-12-15 21:54:06 +00:00
hidnplayr
b6883ee547 Improved RAW sockets. Added ability to set TTL thorugh setsockopt, Improved ping program.
git-svn-id: svn://kolibrios.org@5842 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-10-11 18:23:40 +00:00
hidnplayr
3315ff7280 Fixed stack corruption when TCP input queue is full.
git-svn-id: svn://kolibrios.org@5841 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-10-11 17:43:07 +00:00
hidnplayr
47d756fe2f Bugfixes to bind socket to device.
git-svn-id: svn://kolibrios.org@5584 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-07-20 11:13:42 +00:00
hidnplayr
042ae8524e bugfix in SOCKET_ring_create (stack corruption)
git-svn-id: svn://kolibrios.org@5566 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-06-01 21:44:10 +00:00
hidnplayr
a3a355b72d Disabled net_alloc/free debug info
git-svn-id: svn://kolibrios.org@5536 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-03-20 12:13:57 +00:00
hidnplayr
7928780e50 New network buffers - phase II (Use a static number of static sized pre-allocated buffers)
git-svn-id: svn://kolibrios.org@5528 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-03-18 13:40:27 +00:00
hidnplayr
8502d3d6db Fixed small bug introduced in SVN3601.
git-svn-id: svn://kolibrios.org@5524 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-03-17 22:32:21 +00:00
hidnplayr
b2cff15daa Kernel hack for i8255x devices is no longer needed. Corrected network buffer size.
git-svn-id: svn://kolibrios.org@5523 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-03-17 22:01:39 +00:00
hidnplayr
0ba1fff7a7 New network buffers - phase I
git-svn-id: svn://kolibrios.org@5522 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-03-17 21:50:29 +00:00
hidnplayr
b23bd6c7e3 Collect some more TCP statistics.
git-svn-id: svn://kolibrios.org@5442 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-02-21 15:07:30 +00:00
hidnplayr
7b10f06b00 SOCKET_receive: generate a new network event when we expect the caller to call back later.
git-svn-id: svn://kolibrios.org@5364 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-01-08 23:32:03 +00:00
Yogev Ezra
76a0cbdfe5 Change copyright year in kernel and drivers to 2015. No code changes.
git-svn-id: svn://kolibrios.org@5363 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-01-08 20:10:22 +00:00
Sergey Semyonov (Serge)
b4814c7084 kernel: update PTE bits
git-svn-id: svn://kolibrios.org@5356 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-01-06 14:53:54 +00:00
hidnplayr
22d5b72b64 Dont crash on socket_fork when out of memory.
git-svn-id: svn://kolibrios.org@5155 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-11-01 18:27:28 +00:00
hidnplayr
c993fd46f8 Small changes in TCP_input
git-svn-id: svn://kolibrios.org@5133 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-09-19 19:02:34 +00:00
hidnplayr
e7360b0f51 Cleanup/small refactor of some internal network functions.
git-svn-id: svn://kolibrios.org@5015 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-08-02 12:48:32 +00:00
hidnplayr
ce330875f5 Moved TCP slow timer handler to separate thread, to avoid possible deadlocks.
git-svn-id: svn://kolibrios.org@5013 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-07-30 09:44:18 +00:00
hidnplayr
985e69de26 Disabled experimental PPPoE and IPv6 support by default.
git-svn-id: svn://kolibrios.org@5001 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-07-17 15:52:31 +00:00
CleverMouse
0727266021 fix kernel crash when TCP input queue is full
git-svn-id: svn://kolibrios.org@5000 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-07-17 15:44:18 +00:00
hidnplayr
0923c62681 IPv4: accept all destination addresses when we dont have one yet.
git-svn-id: svn://kolibrios.org@4976 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-06-15 12:00:30 +00:00
hidnplayr
eae21c4be3 Increased the max socket buffer size from 32k to 256k, for better network throughput on slower links.
git-svn-id: svn://kolibrios.org@4959 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-05-28 23:00:53 +00:00
hidnplayr
06df103c1c Fixed some debug output in ICMP_input procedure.
git-svn-id: svn://kolibrios.org@4892 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-04-24 17:34:09 +00:00
Marat Zakiyanov (Mario79)
da8c332884 Added the tag "Revision: XXXX" in some kernel files, to form the right number of revision at boot (blue boot screen).
git-svn-id: svn://kolibrios.org@4850 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-04-17 21:19:45 +00:00
hidnplayr
5ae0511a52 Fixed stack corruption on SOCKET_num_to_ptr error.
git-svn-id: svn://kolibrios.org@4574 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-02-18 19:42:18 +00:00
hidnplayr
bd53b16a76 Bugfix for SOCKET_alloc.
git-svn-id: svn://kolibrios.org@4535 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-01-27 10:27:38 +00:00