aboutgitcodebugslistschat
path: root/udp.c
Commit message (Expand)AuthorAgeFilesLines
* udp: Always use sendto() rather than send() for forwarding spliced packetsDavid Gibson2022-12-061-33/+7
* udp: Separate tracking of inbound and outbound packet flowsDavid Gibson2022-12-061-57/+57
* udp: Also bind() connected ports for "splice" forwardingDavid Gibson2022-12-061-52/+32
* conf, udp: Drop mostly duplicated dns_send arrays, rename related fieldsStefano Brivio2022-11-161-9/+12
* tcp, udp: Don't initialise IPv6/IPv4 sockets if IPv4/IPv6 are not enabledStefano Brivio2022-11-101-2/+2
* udp: Check for answers to forwarded DNS queries before handling local redirectsStefano Brivio2022-11-041-11/+11
* Use typing to reduce chances of IPv4 endianness errorsDavid Gibson2022-11-041-15/+15
* Use IPV4_IS_LOOPBACK more widelyDavid Gibson2022-11-041-1/+1
* udp: Fix port and address checks for DNS forwarderStefano Brivio2022-10-151-3/+3
* conf, tcp, udp: Allow specification of interface to bind toStefano Brivio2022-10-151-17/+18
* Move logging functions to a new file, log.cStefano Brivio2022-10-141-0/+1
* udp: Replace pragma to ignore bogus stringop-overread warning with workaroundStefano Brivio2022-09-291-8/+18
* Fix widespread off-by-one error dealing with port numbersDavid Gibson2022-09-241-5/+5
* Treat port numbers as unsignedDavid Gibson2022-09-241-1/+1
* Don't use indirect remap functions for conf_ports()David Gibson2022-09-241-22/+0
* udp: Delay initialization of UDP reversed port mapping tableDavid Gibson2022-09-241-3/+22
* Consolidate port forwarding configuration into a common structureDavid Gibson2022-09-241-17/+13
* udp: Don't drop zero-length outbound UDP packetsDavid Gibson2022-09-131-7/+10
* udp: Don't pre-initialize msghdr arrayDavid Gibson2022-09-131-1/+5
* Make substructures for IPv4 and IPv6 specific context informationDavid Gibson2022-07-301-31/+31
* Separate IPv4 and IPv6 configurationDavid Gibson2022-07-301-4/+4
* udp: Ignore bogus -Wstringop-overread for write() from gcc 12.1Stefano Brivio2022-05-191-0/+4
* conf, tcp, udp: Allow address specification for forwarded portsStefano Brivio2022-05-011-63/+99
* udp: Out-of-bounds read, CWE-125 in udp_timer()Stefano Brivio2022-04-071-1/+1
* treewide: Unchecked return value from library, CWE-252Stefano Brivio2022-04-071-1/+2
* tap, tcp, udp, icmp: Cut down on some oversized buffersStefano Brivio2022-03-291-2/+2
* udp: Move flags before ts in struct udp_tap_port, avoid end paddingStefano Brivio2022-03-291-3/+3
* treewide: Mark constant references as constStefano Brivio2022-03-291-16/+18
* treewide: Packet abstraction with mandatory boundary checksStefano Brivio2022-03-291-20/+26
* tcp, udp, util: Enforce 24-bit limit on socket numbersStefano Brivio2022-03-291-0/+7
* udp: Use flags for local, loopback, and configured unicast bindsStefano Brivio2022-03-281-25/+23
* udp: Split buffer queueing/writing parts of udp_sock_handler()Stefano Brivio2022-03-281-171/+193
* udp: Drop _splice from recv, send, sendto static buffer namesStefano Brivio2022-03-281-29/+23
* udp: Explicitly initialise sin6_scope_id and sin_zero in sockaddr_in{,6}Stefano Brivio2022-02-251-0/+2
* tcp, udp: Receive batching doesn't pay off when writing single frames to tapStefano Brivio2022-02-211-16/+17
* udp: Allow loopback connections from host using configured unicast addressStefano Brivio2022-02-211-2/+18
* conf, udp: Introduce basic DNS forwardingStefano Brivio2022-02-211-0/+16
* passt, pasta: Namespace-based sandboxing, defer seccomp policy applicationStefano Brivio2022-02-211-2/+5
* tcp, udp, util: Fixes for bitmap handling on big-endian, castsStefano Brivio2022-01-261-2/+2
* passt: Drop <linux/ipv6.h> include, carry own ipv6hdr and opt_hdr definitionsStefano Brivio2022-01-261-2/+0
* passt: Add cppcheck target, test, and address resulting warningsStefano Brivio2021-10-211-10/+8
* udp: Avoid static initialiser for udp{4,6}_l2_bufStefano Brivio2021-10-211-18/+23
* udp: Fix maximum payload size calculation for IPv4 buffers, bump UDP_TAP_FRAMESStefano Brivio2021-10-211-2/+3
* passt: Fix build with gcc 7, use std=c99, enable some more Clang checkersStefano Brivio2021-10-211-43/+46
* ndp, dhcpv6, tcp, udp: Always use link-local as source if gateway isn'tStefano Brivio2021-10-201-0/+5
* passt: Add clang-tidy Makefile target and test, take care of warningsStefano Brivio2021-10-201-9/+9
* passt: Address warnings from Clang's scan-buildStefano Brivio2021-10-201-4/+11
* passt: Address gcc 11 warningsStefano Brivio2021-10-201-3/+5
* udp: drop bogus udp_tap_map ts assignmentStefan Hajnoczi2021-10-151-1/+0
* conf, tcp, udp: Add --no-map-gw to disable mapping gateway address to hostStefano Brivio2021-10-141-2/+2