| Commit message (Expand) | Author | Age | Files | Lines |
* | treewide: Make a bunch of pointer variables pointers to const | David Gibson | 2024-01-16 | 1 | -2/+2 |
* | util: Make sock_l4() treat empty string ifname like NULL | David Gibson | 2023-12-27 | 1 | -1/+1 |
* | treewide: Avoid in_addr_t | David Gibson | 2023-12-27 | 1 | -1/+1 |
* | util: Drop explicit setting to INADDR_ANY/in6addr_any in sock_l4() | David Gibson | 2023-12-27 | 1 | -4/+0 |
* | port_fwd, util: Don't bind UDP ports with opposite-side bound TCP ports | Stefano Brivio | 2023-11-22 | 1 | -0/+21 |
* | util: Add open_in_ns() helper | David Gibson | 2023-11-07 | 1 | -0/+53 |
* | port_fwd: Move automatic port forwarding code to port_fwd.[ch] | David Gibson | 2023-11-07 | 1 | -64/+1 |
* | cppcheck: Make many pointers const | David Gibson | 2023-10-04 | 1 | -2/+3 |
* | Avoid shadowing index(3) | David Gibson | 2023-09-27 | 1 | -6/+6 |
* | epoll: Split handling of listening TCP sockets into their own handler | David Gibson | 2023-08-13 | 1 | -1/+1 |
* | epoll: Generalize epoll_ref to cover things other than sockets | David Gibson | 2023-08-13 | 1 | -7/+20 |
* | util: Make ns_enter() a void function and report setns() errors | David Gibson | 2023-08-04 | 1 | -5/+3 |
* | Use C11 anonymous members to make poll refs less verbose to use | David Gibson | 2023-08-04 | 1 | -2/+2 |
* | util, conf: Add and use ns_is_init() helper | Stefano Brivio | 2023-05-23 | 1 | -0/+25 |
* | passt: Relicense to GPL 2.0, or any later version | Stefano Brivio | 2023-04-06 | 1 | -1/+1 |
* | tcp, udp, util: Pass socket creation errors all the way up | Stefano Brivio | 2023-03-09 | 1 | -13/+18 |
* | treewide: Fix header includes to build with musl | Chris Kuhn | 2023-03-09 | 1 | -0/+1 |
* | util: Add own prototype for __clone2() on ia642023_02_27.c538ee8 | Stefano Brivio | 2023-02-27 | 1 | -0/+9 |
* | Make assertions actually useful | David Gibson | 2023-02-12 | 1 | -1/+0 |
* | util: Always return -1 on error in sock_l4() | David Gibson | 2022-11-25 | 1 | -1/+1 |
* | util: Allow sock_l4() to open dual stack sockets | David Gibson | 2022-11-25 | 1 | -2/+15 |
* | util, pasta: Add do_clone() wrapper around __clone2() and clone() | Stefano Brivio | 2022-11-16 | 1 | -0/+21 |
* | arp, tap, util: Don't use perror() after seccomp filter is installed | Stefano Brivio | 2022-11-16 | 1 | -3/+3 |
* | Replace FWRITE with a function | David Gibson | 2022-10-15 | 1 | -0/+33 |
* | conf, tcp, udp: Allow specification of interface to bind to | Stefano Brivio | 2022-10-15 | 1 | -1/+18 |
* | util: Check return value of lseek() while reading bound ports from procfs | Stefano Brivio | 2022-10-15 | 1 | -3/+7 |
* | Move logging functions to a new file, log.c | Stefano Brivio | 2022-10-14 | 1 | -120/+1 |
* | clang-tidy: Suppress warning about unchecked error in logfn macro | David Gibson | 2022-09-29 | 1 | -1/+1 |
* | Handle userns isolation and dropping root at the same time | David Gibson | 2022-09-13 | 1 | -5/+0 |
* | Move self-isolation code into a separate file | David Gibson | 2022-09-13 | 1 | -51/+0 |
* | Consolidate determination of UID/GID to run as | David Gibson | 2022-09-13 | 1 | -50/+0 |
* | Split checking for root from dropping root privilege | David Gibson | 2022-09-13 | 1 | -3/+26 |
* | Don't store UID & GID persistently in the context structure | David Gibson | 2022-09-13 | 1 | -6/+6 |
* | util: Drop any supplementary group before dropping privileges | Stefano Brivio | 2022-08-30 | 1 | -1/+1 |
* | Make substructures for IPv4 and IPv6 specific context information | David Gibson | 2022-07-30 | 1 | -2/+2 |
* | Allow different external interfaces for IPv4 and IPv6 connectivity | David Gibson | 2022-07-30 | 1 | -1/+1 |
* | util: Fix debug print on failed SO_REUSEADDR setting in sock_l4() | Stefano Brivio | 2022-07-14 | 1 | -1/+1 |
* | Remove unused line_read() | David Gibson | 2022-07-06 | 1 | -54/+0 |
* | Use new lineread implementation for procfs_scan_listen() | David Gibson | 2022-07-06 | 1 | -4/+6 |
* | conf: Add --runas option, changing to given UID and GID if started as root | Stefano Brivio | 2022-05-19 | 1 | -0/+52 |
* | conf, tcp, udp: Allow address specification for forwarded ports | Stefano Brivio | 2022-05-01 | 1 | -15/+12 |
* | treewide: Unchecked return value from library, CWE-252 | Stefano Brivio | 2022-04-07 | 1 | -4/+7 |
* | treewide: Fix android-cloexec-* clang-tidy warnings, re-enable checks | Stefano Brivio | 2022-03-29 | 1 | -1/+1 |
* | treewide: Mark constant references as const | Stefano Brivio | 2022-03-29 | 1 | -4/+4 |
* | treewide: Packet abstraction with mandatory boundary checks | Stefano Brivio | 2022-03-29 | 1 | -23/+37 |
* | util: Fix function declaration style of write_pidfile() | Stefano Brivio | 2022-03-29 | 1 | -1/+2 |
* | tcp, udp, util: Enforce 24-bit limit on socket numbers | Stefano Brivio | 2022-03-29 | 1 | -0/+7 |
* | tcp: Refactor to use events instead of states, split out spliced implementation | Stefano Brivio | 2022-03-28 | 1 | -0/+19 |
* | conf, util, tap: Implement --trace option for extra verbose logging | Stefano Brivio | 2022-03-25 | 1 | -0/+6 |
* | seccomp: Adjust list of allowed syscalls for armv6l, armv7l | Stefano Brivio | 2022-02-26 | 1 | -1/+2 |