aboutgitcodebugslistschat
path: root/util.c
Commit message (Expand)AuthorAgeFilesLines
* conf, tcp, udp: Allow address specification for forwarded portsStefano Brivio2022-05-011-15/+12
* treewide: Unchecked return value from library, CWE-252Stefano Brivio2022-04-071-4/+7
* treewide: Fix android-cloexec-* clang-tidy warnings, re-enable checksStefano Brivio2022-03-291-1/+1
* treewide: Mark constant references as constStefano Brivio2022-03-291-4/+4
* treewide: Packet abstraction with mandatory boundary checksStefano Brivio2022-03-291-23/+37
* util: Fix function declaration style of write_pidfile()Stefano Brivio2022-03-291-1/+2
* tcp, udp, util: Enforce 24-bit limit on socket numbersStefano Brivio2022-03-291-0/+7
* tcp: Refactor to use events instead of states, split out spliced implementationStefano Brivio2022-03-281-0/+19
* conf, util, tap: Implement --trace option for extra verbose loggingStefano Brivio2022-03-251-0/+6
* seccomp: Adjust list of allowed syscalls for armv6l, armv7lStefano Brivio2022-02-261-1/+2
* passt, pasta: Namespace-based sandboxing, defer seccomp policy applicationStefano Brivio2022-02-211-16/+113
* util: Avoid return of possibly truncated unsigned long in bitmap_isset()Stefano Brivio2022-02-011-2/+2
* passt: Address new clang-tidy warnings from LLVM 13.0.1Stefano Brivio2022-01-301-3/+5
* tcp, udp, util: Fixes for bitmap handling on big-endian, castsStefano Brivio2022-01-261-3/+9
* conf, pasta: Explicitly pass CLONE_{NEWUSER,NEWNET} to setns()Stefano 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-2/+2
* passt: Fix build with gcc 7, use std=c99, enable some more Clang checkersStefano Brivio2021-10-211-4/+6
* util: Go to next non-empty line, skip newlines in line_read()Stefano Brivio2021-10-201-1/+5
* passt: Add clang-tidy Makefile target and test, take care of warningsStefano Brivio2021-10-201-2/+3
* passt: Static builds: don't redefine __vsyslog(), skip getpwnam() and initgro...Stefano Brivio2021-10-161-4/+7
* util, pasta: Don't read() and lseek() every single line in read_line()Stefano Brivio2021-10-161-4/+23
* util: Don't duplicate debug messages, they're already on stderrStefano Brivio2021-10-151-4/+4
* passt, pasta: Completely avoid dynamic memory allocationStefano Brivio2021-10-141-12/+117
* passt, pasta: Add seccomp supportStefano Brivio2021-10-141-0/+2
* util: Fix comment to bitmap_clear()Stefano Brivio2021-10-141-1/+1
* conf, tap: Split netlink and pasta functions, allow interface configurationStefano Brivio2021-10-141-1/+1
* pasta: Allow specifying paths and names of namespacesGiuseppe Scrivano2021-10-071-20/+8
* tcp, tap: Turn tcp_probe_mem() into sock_probe_mem(), use for AF_UNIX socket tooStefano Brivio2021-10-051-0/+28
* conf, tcp: Periodic detection of bound ports for pasta port forwardingStefano Brivio2021-09-271-2/+6
* util: Fix parsing of next option in ipv6_l4hdr()Stefano Brivio2021-09-271-2/+1
* passt, pasta: Introduce command-line options and port re-mappingStefano Brivio2021-09-011-24/+23
* util: Don't close ping sockets if bind() failsStefano Brivio2021-08-041-3/+6
* util: Fix millisecond logging timestamp calculationStefano Brivio2021-08-041-1/+1
* tcp, udp: Allow binding ports in init namespace to both tap and loopbackStefano Brivio2021-07-261-5/+9
* checksum: Introduce AVX2 implementation, unify helpersStefano Brivio2021-07-261-80/+0
* udp: Introduce recvmmsg()/sendmmsg(), zero-copy path from socketStefano Brivio2021-07-211-14/+26
* passt: Add PASTA mode, major reworkStefano Brivio2021-07-171-31/+131
* util: On -DDEBUG, log to stderr with timestampsStefano Brivio2021-05-211-0/+26
* icmp: Implement lazy bind for ping socketsStefano Brivio2021-05-211-1/+3
* icmp: Implement ping tracking based on echo identifiersStefano Brivio2021-05-211-3/+0
* udp, passt: Introduce socket packet buffer, avoid getsockname() for UDPStefano Brivio2021-04-301-8/+16
* udp: Connection tracking for ephemeral, local ports, and related fixesStefano Brivio2021-04-291-7/+9
* tcp: Avoid SO_ACCEPTCONN getsockopt() by noting listening/data sockets numbersStefano Brivio2021-04-291-14/+5
* passt: Spare some syscalls, add some optimisations from profilingStefano Brivio2021-04-231-0/+15
* passt: Run in background, add message logging with severitiesStefano Brivio2021-03-181-0/+18
* passt: Introduce ICMP echo proxyStefano Brivio2021-03-181-1/+6
* passt: Assorted fixes from "fresh eyes" reviewStefano Brivio2021-02-211-6/+8
* passt: New design and implementation with native Layer 4 socketsStefano Brivio2021-02-161-3/+138
* passt: Add IPv6 and NDP support, further fixes for IPv4 CTStefano Brivio2021-02-161-0/+39