1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-21 17:51:01 +00:00
serenity/Kernel/Net
Idan Horowitz da2f33df82 Kernel: Stop modifying peer address/port in sendto on a TCP socket
POSIX (rightfully so) specifies that the sendto address argument is
ignored in connection-oriented protocols.

The TCPSocket also assumed the peer address may not change post-connect
and would trigger a UAF in sockets_by_tuple() when it did.
2023-12-26 18:36:43 +01:00
..
Intel Kernel: Use Processor::wait_check in loops waiting for HW to respond 2023-09-15 11:07:35 -06:00
Realtek Kernel: Use Processor::wait_check in loops waiting for HW to respond 2023-09-15 11:07:35 -06:00
VirtIO Kernel/VirtIO: Ensure proper error propagation in core methods 2023-09-24 19:54:23 -06:00
ARP.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
EthernetFrameHeader.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
EtherType.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ICMP.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
IPv4.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
IPv4Socket.cpp Kernel: Stop modifying peer address/port in sendto on a TCP socket 2023-12-26 18:36:43 +01:00
IPv4Socket.h Kernel/Net: Rework ephemeral port allocation 2023-07-29 16:51:58 -06:00
IPv4SocketTuple.h AK: Rename GenericTraits to DefaultTraits 2023-11-09 10:05:51 -05:00
LocalSocket.cpp Everywhere: Move global Kernel pattern code to Kernel/Library directory 2023-06-04 21:32:34 +02:00
LocalSocket.h Everywhere: Move global Kernel pattern code to Kernel/Library directory 2023-06-04 21:32:34 +02:00
LoopbackAdapter.cpp Kernel: Stop including the ethernet header in LoopbackAdapter's mtu 2023-11-25 16:34:38 +01:00
LoopbackAdapter.h Kernel/Net: Don't allocate memory for adapters' names 2023-08-12 11:48:48 -06:00
NetworkAdapter.cpp Kernel/Net: Don't allocate memory for adapters' names 2023-08-12 11:48:48 -06:00
NetworkAdapter.h Kernel/Net: Don't allocate memory for adapters' names 2023-08-12 11:48:48 -06:00
NetworkingManagement.cpp Kernel/Net: Don't allocate memory for adapters' names 2023-08-12 11:48:48 -06:00
NetworkingManagement.h Kernel/Net: Don't allocate memory for adapters' names 2023-08-12 11:48:48 -06:00
NetworkTask.cpp Kernel: Don't allocate memory for names of processes and threads 2023-08-09 21:06:54 -06:00
NetworkTask.h Kernel: Avoid deadlock when trying to send packets from the NetworkTask 2021-04-30 23:11:56 +02:00
Routing.cpp Kernel: Properly support the SO_BROADCAST socket option 2023-12-24 22:22:58 +01:00
Routing.h Kernel: Properly support the SO_BROADCAST socket option 2023-12-24 22:22:58 +01:00
Socket.cpp Kernel: Stub out getsockopt for the SO_REUSEADDR option 2023-12-24 22:22:58 +01:00
Socket.h Kernel: Properly support the SO_BROADCAST socket option 2023-12-24 22:22:58 +01:00
TCP.h Everywhere: Remove unused includes of AK/StdLibExtras.h 2023-01-02 20:27:20 -05:00
TCPSocket.cpp Kernel/Net: Implement TCP_NODELAY 2023-11-08 09:31:54 +01:00
TCPSocket.h Kernel/Net: Implement TCP_NODELAY 2023-11-08 09:31:54 +01:00
UDP.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
UDPSocket.cpp Kernel: Properly support the SO_BROADCAST socket option 2023-12-24 22:22:58 +01:00
UDPSocket.h Kernel/Net: Rework ephemeral port allocation 2023-07-29 16:51:58 -06:00