aboutgitcodebugslistschat
path: root/tap.c
Commit message (Expand)AuthorAgeFilesLines
* tap: Split tap_ip6_send() into UDP and ICMP variantsDavid Gibson2022-10-191-20/+62
* Split tap_ip_send() into IPv4 and IPv6 specific functionsDavid Gibson2022-10-191-83/+94
* tap: Remove unhelpeful vnet_pre optimization from tap_send()David Gibson2022-10-191-20/+9
* Remove support for TCP packets from tap_ip_send()David Gibson2022-10-191-9/+2
* Add helpers for normal inbound packet destination addressesDavid Gibson2022-10-191-5/+28
* Add csum_ip4_header() helper to calculate IPv4 header checksumsDavid Gibson2022-10-191-2/+1
* Add csum_udp4() helper for calculating UDP over IPv4 checksumsDavid Gibson2022-10-191-1/+1
* Add csum_udp6() helper for calculating UDP over IPv6 checksumsDavid Gibson2022-10-191-3/+2
* Add csum_icmp4() helper for calculating ICMP checksumsDavid Gibson2022-10-191-3/+1
* Add csum_icmp6() helper for calculating ICMPv6 checksumsDavid Gibson2022-10-191-4/+2
* conf: Bind inbound ports with CAP_NET_BIND_SERVICE before isolate_user()Stefano Brivio2022-10-151-0/+1
* tap: Don't check sequence counts when adding packets to poolStefano Brivio2022-10-151-6/+6
* conf, tap: Add option to quit once the client closes the connectionStefano Brivio2022-10-151-0/+5
* Move logging functions to a new file, log.cStefano Brivio2022-10-141-0/+1
* cppcheck: Reduce scope of some variablesDavid Gibson2022-09-291-2/+3
* tap: Check return value of accept4() before calling getsockopt()Stefano Brivio2022-09-221-2/+4
* Make substructures for IPv4 and IPv6 specific context informationDavid Gibson2022-07-301-11/+11
* Separate IPv4 and IPv6 configurationDavid Gibson2022-07-301-2/+2
* Move passt mac_guest init to be more symmetric with pastaDavid Gibson2022-07-301-0/+6
* tap: Add informational messages for UNIX domain socket connectionsStefano Brivio2022-06-181-0/+10
* conf, tap: False "Buffer not null terminated" positives, CWE-170Stefano Brivio2022-04-071-3/+3
* treewide: Argument cannot be negative, CWE-687Stefano Brivio2022-04-071-0/+5
* tap: Resource leak, CWE-404Stefano Brivio2022-04-071-1/+4
* treewide: Unchecked return value from library, CWE-252Stefano Brivio2022-04-071-7/+12
* tap: Re-read from tap in tap_handler_pasta() on buffer fullStefano Brivio2022-03-301-2/+9
* tap: Allow ioctl() and openat() for tap_ns_tun() re-initialisationStefano Brivio2022-03-301-0/+2
* tap, tcp, udp, icmp: Cut down on some oversized buffersStefano Brivio2022-03-291-11/+13
* treewide: Fix android-cloexec-* clang-tidy warnings, re-enable checksStefano Brivio2022-03-291-1/+2
* treewide: Mark constant references as constStefano Brivio2022-03-291-11/+15
* treewide: Packet abstraction with mandatory boundary checksStefano Brivio2022-03-291-163/+168
* tcp: Rework timers to use timerfd instead of periodic bitmap scanStefano Brivio2022-03-291-1/+1
* dhcpv6, tap, tcp: Use IN6_ARE_ADDR_EQUAL instead of open-coded memcmp()Stefano Brivio2022-03-281-2/+2
* conf, util, tap: Implement --trace option for extra verbose loggingStefano Brivio2022-03-251-2/+2
* tap: Cast ETH_MAX_MTU to signed in comparisonsStefano Brivio2022-02-261-2/+2
* passt: Drop PASST_LEGACY_NO_OPTIONS sectionsStefano Brivio2022-02-221-7/+0
* passt, pasta: Namespace-based sandboxing, defer seccomp policy applicationStefano Brivio2022-02-211-31/+27
* passt: Address new clang-tidy warnings from LLVM 13.0.1Stefano Brivio2022-01-301-4/+4
* passt, tap: Daemonise once socket is ready without waiting for connectionStefano Brivio2022-01-281-17/+45
* seccomp: Add a number of alternate and per-arch syscallsStefano Brivio2022-01-261-1/+1
* 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
* passt: Add cppcheck target, test, and address resulting warningsStefano Brivio2021-10-211-13/+16
* passt: Fix build with gcc 7, use std=c99, enable some more Clang checkersStefano Brivio2021-10-211-7/+6
* passt, pasta: Add seccomp supportStefano Brivio2021-10-141-0/+11
* conf, tap: Split netlink and pasta functions, allow interface configurationStefano Brivio2021-10-141-104/+16
* pasta: Allow specifying paths and names of namespacesGiuseppe Scrivano2021-10-071-9/+6
* tcp, tap: Turn tcp_probe_mem() into sock_probe_mem(), use for AF_UNIX socket tooStefano Brivio2021-10-051-1/+7
* tap: Don't leak file descriptor used to bring up loopback interfaceStefano Brivio2021-09-271-6/+11
* tap: Fix comment for tap_sock_init_tun_ns()Stefano Brivio2021-09-271-1/+1
* tap: Bring up tap device too, configure previous MAC address if anyStefano Brivio2021-09-271-2/+74