Commit Graph

221 Commits

Author SHA1 Message Date
349dbb6edf Fix EN typos
Small corrections for grammar and fluency [en_US].

git-svn-id: svn://kolibrios.org@10058 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-05-28 14:15:26 +00:00
4165acdf83 Remove $Revision$ from kernel file headers
- To better support git, remove SVN dependant `$Revision$` from file headers. This does *not* remove: the use of `__REV__` macro in `boostr.inc` and `kernel.asm`
- Header Copyright notices updated to 2024.
- Minimal white space cleanup (trailing spaces automatically removed).
- Note: `asmxygen.py` has a *large* amount of whitespace cleanup, due to incorrect line endings.

git-svn-id: svn://kolibrios.org@10051 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-05-22 15:15:14 +00:00
Doczom
fe3924b288 fixed bad commit(rev9976) of Jergen
git-svn-id: svn://kolibrios.org@9993 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-03-15 12:11:28 +00:00
Jurgen
34d6f8189f 1.Add procedure check exception 12 (overflow stack) 2.Add info in reference of function 68,24 (rus) 3.Change max limit size of the load file to 1G, for load big WinApp files. 4.Fix procedure close tcp socket:
When WinApp create/close socket in loop =>  crash core Kolibri

git-svn-id: svn://kolibrios.org@9976 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-02-16 18:07:13 +00:00
Doczom
cd441e7929 [KERNEL]: Replaced magic numbers with constants and cleaned code
git-svn-id: svn://kolibrios.org@9917 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-06-17 18:40:54 +00:00
Magomed Kostoev (mkostoevr)
824bf97e3c [KERNEL] Change fragmented packet log
git-svn-id: svn://kolibrios.org@9817 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-05-15 17:34:08 +00:00
Magomed Kostoev (mkostoevr)
cac3f92e93 [KERNEL] Update kernel images
git-svn-id: svn://kolibrios.org@9816 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-05-15 12:41:34 +00:00
Magomed Kostoev (mkostoevr)
7218749f8a [KERNEL] Change fragmented packet log
git-svn-id: svn://kolibrios.org@9815 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-05-15 12:36:21 +00:00
Magomed Kostoev (mkostoevr)
607e199769 [KERNEL] Use stack to save EDI and fix stack and EDI state on packet drop
git-svn-id: svn://kolibrios.org@9814 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-05-15 12:07:53 +00:00
Magomed Kostoev (mkostoevr)
908aa98953 [KERNEL] Temporally drop fragmented packets
git-svn-id: svn://kolibrios.org@9809 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-05-08 14:46:34 +00:00
Magomed Kostoev (mkostoevr)
68d6fe5255 [KERNEL] Attempt to fix unexpected stack state
git-svn-id: svn://kolibrios.org@9807 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-05-05 15:47:56 +00:00
Magomed Kostoev (mkostoevr)
2543e89522 [KERNEL] Temporal fix for fragmented packet building
git-svn-id: svn://kolibrios.org@9806 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-05-05 14:58:04 +00:00
Magomed Kostoev (mkostoevr)
ebefc0be7c [KERNEL] Fix incorrect address of the first buffer
git-svn-id: svn://kolibrios.org@9805 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-05-04 09:43:21 +00:00
Magomed Kostoev (mkostoevr)
4cd9e17acd [KERNEL] Fix FIXME
git-svn-id: svn://kolibrios.org@9804 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-05-02 14:42:34 +00:00
Magomed Kostoev (mkostoevr)
be86fc49c6 [KERNEL] Fix offset to first fragment
git-svn-id: svn://kolibrios.org@9803 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-05-02 14:41:19 +00:00
Magomed Kostoev (mkostoevr)
12d55e6e71 [KERNEL] Temporal fragmented packet size workaround
git-svn-id: svn://kolibrios.org@9802 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-05-02 12:41:26 +00:00
Magomed Kostoev (mkostoevr)
b2bd20b9fa [KERNEL] Temporal fix for EDI destruction
git-svn-id: svn://kolibrios.org@9801 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-05-02 11:26:04 +00:00
Magomed Kostoev (mkostoevr)
0700cf15dd [KERNEL] Update compyrights in IPv4.inc
git-svn-id: svn://kolibrios.org@9800 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-05-02 10:41:03 +00:00
Magomed Kostoev (mkostoevr)
52a5b1bf6e [KERNEL] Fix IPv4 packet buffer structuring
git-svn-id: svn://kolibrios.org@9799 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-05-02 10:35:07 +00:00
turbocat
d9a3ea763b kernel: added struct sockaddr
git-svn-id: svn://kolibrios.org@9739 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-03-13 14:45:55 +00:00
Magomed Kostoev (mkostoevr)
23097ce0e6 [KERNEL] Revert previous change
git-svn-id: svn://kolibrios.org@9736 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-03-10 11:14:11 +00:00
Magomed Kostoev (mkostoevr)
e37c439eda [KERNEL] Adjust packet size calculation
git-svn-id: svn://kolibrios.org@9729 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-02-23 15:47:10 +00:00
Doczom
707dc7c2e6 delete TASKDATA
git-svn-id: svn://kolibrios.org@9709 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-02-09 17:07:51 +00:00
Doczom
19347417f0 replacing TASK DATA.pid with APPDATA.tid
git-svn-id: svn://kolibrios.org@9692 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-02-06 20:33:29 +00:00
Magomed Kostoev (mkostoevr)
79aa4c134d [KERNEL] Fix eth_input function documentation
git-svn-id: svn://kolibrios.org@9395 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-04 19:56:44 +00:00
Magomed Kostoev (mkostoevr)
dde29ddf15 [KERNEL] Document eth_input function
git-svn-id: svn://kolibrios.org@9394 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-04 16:01:10 +00:00
hidnplayr
ae22a16a43 Fix loopback
git-svn-id: svn://kolibrios.org@9054 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-12 20:39:08 +00:00
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
20c622fb38 Don't put .dummy_fn function of net loopback device to data 'section'.
git-svn-id: svn://kolibrios.org@8103 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-10-16 18:36:30 +00:00
hidnplayr
f510a3a980 Remove some extra debug
git-svn-id: svn://kolibrios.org@8027 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-06-08 20:02:15 +00:00
hidnplayr
d6b05dd5d5 More TCP advertised window size fixes, small updates regarding closing of TCP sockets.
git-svn-id: svn://kolibrios.org@8026 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-06-08 19:57:03 +00:00
hidnplayr
2152b380e3 Fix TCP window updates
git-svn-id: svn://kolibrios.org@8024 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-06-05 21:05:55 +00:00
hidnplayr
c20f1efa82 TCP: Ack every other received full MSS segment, bugfixes.
git-svn-id: svn://kolibrios.org@7974 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-05-23 15:20:41 +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
e885b31ba8 Fix issue #122
git-svn-id: svn://kolibrios.org@7682 a494cfbc-eb01-0410-851d-a64ba20cac60
2019-09-02 20:45:28 +00:00
hidnplayr
38fd277557 small network code updates, annotations
git-svn-id: svn://kolibrios.org@7680 a494cfbc-eb01-0410-851d-a64ba20cac60
2019-08-25 19:02:34 +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
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