aboutgitcodebugslistschat
path: root/conf.c
Commit message (Expand)AuthorAgeFilesLines
...
* log a detailed error (not usage()) when there are extra non-option argumentsLaine Stump2023-02-161-1/+1
* make conf_netns_opt() exit immediately after logging errorLaine Stump2023-02-161-12/+4
* make conf_ugid() exit immediately after logging errorLaine Stump2023-02-161-18/+9
* make conf_pasta_ns() exit immediately after logging errorLaine Stump2023-02-161-24/+11
* make conf_ports() exit immediately after logging errorLaine Stump2023-02-161-24/+28
* eliminate most calls to usage() in conf()Laine Stump2023-02-161-214/+122
* passt, tap: Add --fd optionRichard W.M. Jones2022-11-251-2/+26
* tcp: Separate helpers to create ns listening socketsDavid Gibson2022-11-251-3/+3
* style: Minor corrections to function commentsDavid Gibson2022-11-251-3/+3
* conf, udp: Drop mostly duplicated dns_send arrays, rename related fieldsStefano Brivio2022-11-161-43/+33
* conf: Fix mask calculation from prefix_len in conf_print()2022_11_10.4129764Stefano Brivio2022-11-101-1/+4
* conf: Split the notions of read DNS addresses and offered onesStefano Brivio2022-11-041-14/+35
* conf: Adjust netmask on mismatch between IPv4 address/netmask and gatewayStefano Brivio2022-11-041-1/+24
* Use typing to reduce chances of IPv4 endianness errorsDavid Gibson2022-11-041-26/+29
* Use IPV4_IS_LOOPBACK more widelyDavid Gibson2022-11-041-4/+4
* Minor improvements to IPv4 netmask handlingDavid Gibson2022-11-041-24/+39
* Correct some missing endian conversions of IPv4 addressesDavid Gibson2022-11-041-13/+13
* conf, passt.1: Don't imply --foreground with --debugStefano Brivio2022-10-271-4/+3
* conf: Don't pass leading ~ to parse_port_range() on exclusions2022_10_24.c11277bStefano Brivio2022-10-241-0/+1
* conf: Bind inbound ports with CAP_NET_BIND_SERVICE before isolate_user()Stefano Brivio2022-10-151-36/+35
* isolation: Only configure UID/GID mappings in userns when spawning shellDavid Gibson2022-10-151-1/+2
* isolation: Replace drop_caps() with a version that actually does somethingDavid Gibson2022-10-151-1/+1
* conf: Drop excess colons in usage for DHCP and DNS optionsStefano Brivio2022-10-151-4/+4
* conf: Report usage for --no-netns-quitStefano Brivio2022-10-151-0/+2
* conf, tcp, udp: Allow specification of interface to bind toStefano Brivio2022-10-151-10/+21
* conf, tap: Add option to quit once the client closes the connectionStefano Brivio2022-10-151-1/+16
* conf, log, Makefile: Add versioning informationStefano Brivio2022-10-151-0/+8
* log, conf: Add support for logging to fileStefano Brivio2022-10-141-3/+46
* conf: Drop duplicate, diverging optstring assignmentsStefano Brivio2022-10-141-14/+6
* Move logging functions to a new file, log.cStefano Brivio2022-10-141-0/+1
* cppcheck: Use inline suppression for strtok() in conf.cDavid Gibson2022-09-291-0/+2
* Don't shadow 'i' in conf_ports()David Gibson2022-09-291-2/+5
* Clean up parsing in conf_runas()David Gibson2022-09-291-45/+50
* Clean up parsing of port rangesDavid Gibson2022-09-291-140/+102
* Fix widespread off-by-one error dealing with port numbersDavid Gibson2022-09-241-2/+2
* Treat port numbers as unsignedDavid Gibson2022-09-241-5/+6
* Pass entire port forwarding configuration substructure to conf_ports()David Gibson2022-09-241-40/+22
* Don't use indirect remap functions for conf_ports()David Gibson2022-09-241-7/+7
* Consolidate port forwarding configuration into a common structureDavid Gibson2022-09-241-37/+37
* Improve types and names for port forwarding configurationDavid Gibson2022-09-241-36/+37
* conf, tcp, udp: Arrays for ports need 2^16 values, not 2^16-8Stefano Brivio2022-09-221-1/+1
* Allow --userns when pasta spawns a commandDavid Gibson2022-09-131-5/+0
* Handle userns isolation and dropping root at the same timeDavid Gibson2022-09-131-5/+6
* Clean up and rename conf_ns_open()David Gibson2022-09-131-71/+1
* Consolidate validation of pasta namespace optionsDavid Gibson2022-09-131-41/+42
* Move self-isolation code into a separate fileDavid Gibson2022-09-131-0/+1
* Safer handling if we can't open /proc/self/uid_mapDavid Gibson2022-09-131-2/+6
* Consolidate determination of UID/GID to run asDavid Gibson2022-09-131-8/+73
* Split checking for root from dropping root privilegeDavid Gibson2022-09-131-2/+3
* Don't store UID & GID persistently in the context structureDavid Gibson2022-09-131-3/+5