serenity/Kernel/Net
Andreas Kling da981578e3 Kernel: Don't use a VLA for outgoing TCP packets
Since the payload size is user-controlled, this could be used to
overflow the kernel stack.

We should probably also be breaking things into smaller packets at a
higher level, e.g TCPSocket::protocol_send(), but let's do that as
a separate exercise.

Fixes #5310.
2021-02-12 23:00:25 +01:00
..
ARP.h Everywhere: Re-format with clang-format-11 2020-12-31 21:51:00 +01:00
E1000NetworkAdapter.cpp Everywhere: Replace dbgln<flag>(...) with dbgln_if(flag, ...) 2021-02-08 18:08:55 +01:00
E1000NetworkAdapter.h Everywhere: Re-format with clang-format-11 2020-12-31 21:51:00 +01:00
EthernetFrameHeader.h Everywhere: Re-format with clang-format-11 2020-12-31 21:51:00 +01:00
EtherType.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
ICMP.h Everywhere: Re-format with clang-format-11 2020-12-31 21:51:00 +01:00
IPv4.h Everywhere: Re-format with clang-format-11 2020-12-31 21:51:00 +01:00
IPv4Socket.cpp Kernel: Convert all *Builder::appendf() => appendff() 2021-02-09 19:18:13 +01:00
IPv4Socket.h Kernel: Improve ProcFS behavior in low memory conditions 2021-01-03 22:12:19 +01:00
IPv4SocketTuple.h SinglyLinkedList: Remove unused includes 2020-10-08 09:54:41 +02:00
LocalSocket.cpp Kernel: Convert all *Builder::appendf() => appendff() 2021-02-09 19:18:13 +01:00
LocalSocket.h Kernel: Improve ProcFS behavior in low memory conditions 2021-01-03 22:12:19 +01:00
LoopbackAdapter.cpp Everywhere: Replace a bundle of dbg with dbgln. 2021-01-11 11:55:47 +01:00
LoopbackAdapter.h Kernel: Switch singletons to use new Singleton class 2020-08-25 09:48:48 +02:00
NE2000NetworkAdapter.cpp Everywhere: Replace dbgln<flag>(...) with dbgln_if(flag, ...) 2021-02-08 18:08:55 +01:00
NE2000NetworkAdapter.h Kernel: Add NE2000 network card driver 2021-02-05 09:35:02 +01:00
NetworkAdapter.cpp Kernel: Use KResult a bit more in the IPv4 networking code 2021-01-31 12:13:16 +01:00
NetworkAdapter.h Kernel: Use KResult a bit more in the IPv4 networking code 2021-01-31 12:13:16 +01:00
NetworkTask.cpp Kernel: Hold less locks when receiving ICMP packets 2021-02-12 15:37:28 +01:00
NetworkTask.h Kernel: Move NetworkTask startup into NetworkTask::spawn() 2020-04-09 13:31:05 +02:00
Routing.cpp Meta: Split debug defines into multiple headers. 2021-01-26 21:20:00 +01:00
Routing.h Kernel: Move block condition evaluation out of the Scheduler 2020-11-30 13:17:02 +01:00
RTL8139NetworkAdapter.cpp Meta: Split debug defines into multiple headers. 2021-01-26 21:20:00 +01:00
RTL8139NetworkAdapter.h Kernel: Use AK::Span a bunch in the network adapter code 2020-07-28 20:19:22 +02:00
Socket.cpp Everywhere: Replace dbgln<flag>(...) with dbgln_if(flag, ...) 2021-02-08 18:08:55 +01:00
Socket.h Kernel: Improve ProcFS behavior in low memory conditions 2021-01-03 22:12:19 +01:00
TCP.h Everywhere: Re-format with clang-format-11 2020-12-31 21:51:00 +01:00
TCPSocket.cpp Kernel: Don't use a VLA for outgoing TCP packets 2021-02-12 23:00:25 +01:00
TCPSocket.h Kernel: Use KResult a bit more in the IPv4 networking code 2021-01-31 12:13:16 +01:00
UDP.h Everywhere: Re-format with clang-format-11 2020-12-31 21:51:00 +01:00
UDPSocket.cpp Kernel: Use KResult a bit more in the IPv4 networking code 2021-01-31 12:13:16 +01:00
UDPSocket.h Kernel/Net: Make IPv4Socket::protocol_receive() take a ReadonlyBytes 2020-12-18 19:22:26 +01:00