hidnplayr
7b13d5fb4e
Add is_userspace_region checks to some socket functions.
...
Disabled PPPoE and IPv6 completely by default, as not functional.
git-svn-id: svn://kolibrios.org@9049 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-10 09:41:13 +00:00
b6f769987c
kernel: Check for base+len overflow in is_region_userspace
...
git-svn-id: svn://kolibrios.org@9045 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-09 09:22:44 +00:00
hidnplayr
e32ea5d3c8
Network device error/missed/dropped packet counters.
...
+ Network buffer sanity checks.
git-svn-id: svn://kolibrios.org@9017 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-07 19:26:17 +00:00
hidnplayr
3868bd567a
Add network packet error counters.
...
git-svn-id: svn://kolibrios.org@8896 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-20 20:22:57 +00:00
d4bf03befc
[KERNEL] #2 Preparing to merge legacy TASKDATA into APPDATA:
...
- rename event_mask in APPDATA to occured_events, cause TASKDATA already has event_mask and they have different meaning and usage
- small fixes
git-svn-id: svn://kolibrios.org@8867 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-16 13:57:17 +00:00
9cdec89085
[KERNEL] Preparing to merge legacy TASKDATA into APPDATA:
...
- now doesnt use TASK_COUNT, now uses [thread_count] global instead of it
- update come copyrights
git-svn-id: svn://kolibrios.org@8866 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-16 10:04:10 +00:00
Coldy
b91122a57b
Fix vulnerabilitie in sysfn 74.1 (add sanity check for user buffer), now user applications can't corrupt kernel memory via invalid buffer address
...
git-svn-id: svn://kolibrios.org@8700 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-04-28 06:56:45 +00:00
hidnplayr
31963d41b2
sys_protocols: don't destroy esi input reg
...
git-svn-id: svn://kolibrios.org@7963 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-05-21 13:35:44 +00:00
hidnplayr
93a672ba27
network code cleanup
...
git-svn-id: svn://kolibrios.org@7679 a494cfbc-eb01-0410-851d-a64ba20cac60
2019-08-25 18:46:47 +00:00
hidnplayr
338b57422f
network code cleanup, fix some statistics
...
git-svn-id: svn://kolibrios.org@7678 a494cfbc-eb01-0410-851d-a64ba20cac60
2019-08-25 18:21:44 +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
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
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
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
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
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
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
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
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
c42c7651f7
Disabled verbose network debug output.
...
git-svn-id: svn://kolibrios.org@4388 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-12-19 21:39:14 +00:00
hidnplayr
5e80cb25b3
Fixed typo in tcp_input.inc
...
git-svn-id: svn://kolibrios.org@4387 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-12-19 21:31:51 +00:00
hidnplayr
bf755d6cbd
TCP: advertise correct window, small updates and bugfixes
...
git-svn-id: svn://kolibrios.org@4347 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-12-13 12:20:53 +00:00
hidnplayr
e3504571ad
SOCKET_connect: better error handling.
...
git-svn-id: svn://kolibrios.org@4025 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-10-14 07:08:51 +00:00
hidnplayr
818a0e4636
Incoming packets are now handled in separate thread instead of directly by interrupt handler.
...
git-svn-id: svn://kolibrios.org@3982 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-10-07 20:53:02 +00:00
hidnplayr
6a650a3fbd
Bugfix for API 74, -1
...
git-svn-id: svn://kolibrios.org@3879 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-09-01 08:02:59 +00:00
hidnplayr
72f900e956
new function: NET_packet_free, i8255x driver should not cause problems anymore.
...
git-svn-id: svn://kolibrios.org@3861 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-08-07 13:13:29 +00:00
CleverMouse
65d0cef44b
style fixes, no binary changes (style checker was sick for some time)
...
git-svn-id: svn://kolibrios.org@3711 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-06-26 23:35:43 +00:00
hidnplayr
97c13d77de
use blocking sockets by default.
...
git-svn-id: svn://kolibrios.org@3704 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-06-25 20:02:56 +00:00
hidnplayr
1ca5fecb5c
Fixed alignment for data in network stack. Alqo, network queue uses a mutex now.
...
git-svn-id: svn://kolibrios.org@3698 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-06-24 11:39:05 +00:00
hidnplayr
f828457410
SOCKET_connect can now block if wanted.
...
git-svn-id: svn://kolibrios.org@3674 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-06-17 18:17:17 +00:00
hidnplayr
2b3ee8e109
Correct stats for UDP and ICMP.
...
git-svn-id: svn://kolibrios.org@3643 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-06-11 10:46:29 +00:00
hidnplayr
c0fe9dddf7
Improved loopback device, separate ARP tables for every interface, added arpstat functionality to netstat, preparing zeroconf to work on multiple interfaces, improved API (fn 76, fn 74), fixed some bugs.
...
git-svn-id: svn://kolibrios.org@3601 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-06-05 00:21:20 +00:00
hidnplayr
c2bc66096c
Renamed some variables and constants in network code, removed NET_set_default function, improved TCP timers
...
git-svn-id: svn://kolibrios.org@3600 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-06-04 14:12:37 +00:00
hidnplayr
e93a49b442
Disabled network debug output by default.
...
git-svn-id: svn://kolibrios.org@3556 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-28 19:19:23 +00:00
hidnplayr
e4cf34c0de
Merge new network stack with trunk
...
git-svn-id: svn://kolibrios.org@3545 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-28 17:34:26 +00:00
CleverMouse
f059bc06d5
priorities in scheduler
...
git-svn-id: svn://kolibrios.org@3534 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-27 09:02:35 +00:00
Marat Zakiyanov (Mario79)
2f699083c4
1) Correcting information about copiright
...
2) VESA draw the small speedup
git-svn-id: svn://kolibrios.org@2455 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-03-13 16:51:57 +00:00
CleverMouse
037099f50d
Style corrected for new rules, no semantic changes
...
git-svn-id: svn://kolibrios.org@2288 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-10-14 21:38:50 +00:00
Alexey Teplov (
abfe37adc4
small changes and optimization
...
git-svn-id: svn://kolibrios.org@1369 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-01-08 12:39:50 +00:00
Alexey Teplov (
83e2f051b2
Set align 4 for subroutines in main loop.
...
git-svn-id: svn://kolibrios.org@1168 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-09-18 18:30:04 +00:00
Evgeny Grechnikov (Diamond)
5628c096c5
some cosmetic fixes
...
git-svn-id: svn://kolibrios.org@983 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-12-28 21:21:41 +00:00
Mihail Semenyako (mike.dld)
22720e823e
Network stack: real socket numbers, comments, code cleanup
...
git-svn-id: svn://kolibrios.org@922 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-11-16 23:05:02 +00:00
Mihail Semenyako (mike.dld)
c58b0535f6
Fix in socket_read (page_fault) and udp_rx (incorrect IP comparison)
...
git-svn-id: svn://kolibrios.org@915 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-11-09 18:04:54 +00:00
Mihail Semenyako (mike.dld)
a26689b104
Fix for r907: correctly initialize resend queue
...
git-svn-id: svn://kolibrios.org@913 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-11-06 21:36:36 +00:00
Mihail Semenyako (mike.dld)
931d4df6c1
Fix for r907 (uninitialized prev/next pointers in sockets list)
...
git-svn-id: svn://kolibrios.org@909 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-11-05 14:50:17 +00:00
Mihail Semenyako (mike.dld)
54e9661045
Network stack: dynamic sockets list, other small fixes
...
git-svn-id: svn://kolibrios.org@907 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-11-05 00:42:22 +00:00