aboutgitcodebugslistschat
path: root/tcp.c
Commit message (Expand)AuthorAgeFilesLines
* tcp, tcp_splice: Fix port remapping for inbound, spliced connectionsStefano Brivio2022-10-151-4/+3
* tcp, tcp_splice: Adjust comments to current meaning of inbound and outboundStefano Brivio2022-10-151-1/+1
* conf, tcp, udp: Allow specification of interface to bind toStefano Brivio2022-10-151-12/+15
* Move logging functions to a new file, log.cStefano Brivio2022-10-141-0/+1
* cppcheck: Suppress NULL pointer warning in tcp_sock_consume()David Gibson2022-09-291-0/+1
* cppcheck: Work around false positive NULL pointer dereference errorDavid Gibson2022-09-291-0/+1
* Fix widespread off-by-one error dealing with port numbersDavid Gibson2022-09-241-6/+6
* Treat port numbers as unsignedDavid Gibson2022-09-241-2/+2
* Don't use indirect remap functions for conf_ports()David Gibson2022-09-241-22/+0
* Consolidate port forwarding configuration into a common structureDavid Gibson2022-09-241-23/+19
* Improve types and names for port forwarding configurationDavid Gibson2022-09-241-6/+6
* Make substructures for IPv4 and IPv6 specific context informationDavid Gibson2022-07-301-17/+17
* Separate IPv4 and IPv6 configurationDavid Gibson2022-07-301-10/+10
* Allow different external interfaces for IPv4 and IPv6 connectivityDavid Gibson2022-07-301-1/+1
* tcp: Silence warning from gcc 11.3 with -OfastStefano Brivio2022-06-081-2/+8
* tcp: Work around gcc 12 bogus warning in tcp_rtt_dst_check()Stefano Brivio2022-05-201-0/+6
* conf, tcp, udp: Allow address specification for forwarded portsStefano Brivio2022-05-011-27/+36
* tcp: False "Out-of-bounds read" positive, CWE-125Stefano Brivio2022-04-071-1/+5
* tcp, tcp_splice: False "Negative array index read" positives, CWE-129Stefano Brivio2022-04-071-4/+8
* tcp: Dereference null return value, CWE-476Stefano Brivio2022-04-071-1/+1
* treewide: Unchecked return value from library, CWE-252Stefano Brivio2022-04-071-7/+12
* tcp: False "Untrusted loop bound" positive, CWE-606Stefano Brivio2022-04-051-0/+2
* treewide: Invalid type in argument to printf format specifier, CWE-686Stefano Brivio2022-04-051-19/+19
* tap, tcp, udp, icmp: Cut down on some oversized buffersStefano Brivio2022-03-291-10/+41
* tcp: Fix warning by gcc 5.4 on ppc64le about comparison in CONN_OR_NULL()Stefano Brivio2022-03-291-13/+13
* treewide: Mark constant references as constStefano Brivio2022-03-291-44/+51
* treewide: Packet abstraction with mandatory boundary checksStefano Brivio2022-03-291-195/+247
* tcp, tcp_splice: Use less awkward syntax to swap in/out sockets from poolsStefano Brivio2022-03-291-5/+4
* tcp: Fit struct tcp_conn into a single 64-byte cachelineStefano Brivio2022-03-291-135/+163
* tcp_splice: Close sockets right away on high number of open filesStefano Brivio2022-03-291-0/+1
* tcp: Rework timers to use timerfd instead of periodic bitmap scanStefano Brivio2022-03-291-231/+272
* tcp, udp, util: Enforce 24-bit limit on socket numbersStefano Brivio2022-03-291-0/+17
* dhcpv6, tap, tcp: Use IN6_ARE_ADDR_EQUAL instead of open-coded memcmp()Stefano Brivio2022-03-281-6/+6
* tcp: Refactor to use events instead of states, split out spliced implementationStefano Brivio2022-03-281-1495/+851
* seccomp, tcp: Add fcntl64 to pasta syscalls for armv6l, armv7lStefano Brivio2022-02-281-1/+1
* tcp, udp: Receive batching doesn't pay off when writing single frames to tapStefano Brivio2022-02-211-16/+20
* passt, pasta: Namespace-based sandboxing, defer seccomp policy applicationStefano Brivio2022-02-211-8/+5
* passt: Address new clang-tidy warnings from LLVM 13.0.1Stefano Brivio2022-01-301-5/+5
* passt, tap: Daemonise once socket is ready without waiting for connectionStefano Brivio2022-01-281-1/+1
* seccomp: Add a number of alternate and per-arch syscallsStefano Brivio2022-01-261-1/+1
* tcp: Don't round down MSS to >= 64KiB page size, but clamp it in any caseStefano Brivio2022-01-261-3/+3
* tcp, udp, util: Fixes for bitmap handling on big-endian, castsStefano Brivio2022-01-261-1/+1
* tcp, netlink, HAS{BYTES_ACKED,MIN_RTT,GETRANDOM} and NETLINK_GET_STRICT_CHKStefano Brivio2022-01-261-0/+36
* passt: Drop <linux/ipv6.h> include, carry own ipv6hdr and opt_hdr definitionsStefano Brivio2022-01-261-1/+0
* tap, tcp: Fix two comparisons with different signedness reported by gcc 7Stefano Brivio2022-01-261-1/+1
* tcp: Cover all usages of tcpi_snd_wnd with HAS_SND_WNDStefano Brivio2022-01-261-0/+2
* tcp: Restore source address to network endianness before using it for hash tableStefano Brivio2021-10-211-2/+3
* passt: Add cppcheck target, test, and address resulting warningsStefano Brivio2021-10-211-53/+56
* passt: Fix build with gcc 7, use std=c99, enable some more Clang checkersStefano Brivio2021-10-211-82/+90
* Makefile, tcp: Don't try to use tcpi_snd_wnd from tcp_info on pre-5.3 kernelsStefano Brivio2021-10-211-1/+8