aboutgitcodebugslistschat
path: root/conf.c
Commit message (Expand)AuthorAgeFilesLines
* 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
* conf: Fix getopt_long() optstring for current semantics of -D, -S, -pStefano Brivio2022-09-021-2/+2
* Allow pasta to take a command to executeDavid Gibson2022-08-301-9/+18
* Use explicit --netns option rather than multiplexing with PIDDavid Gibson2022-08-301-25/+60
* More deterministic detection of whether argument is a PID, PATH or NAMEDavid Gibson2022-08-301-82/+90
* Move ENOENT error message into conf_ns_opt()David Gibson2022-08-301-2/+1
* Remove --nsrun-dir optionDavid Gibson2022-08-301-20/+4
* conf: Use "-D none" and "-S none" instead of missing empty option argumentsDavid Gibson2022-08-301-24/+32
* conf: Make the argument to --pcap option mandatoryDavid Gibson2022-08-301-15/+3
* Don't unnecessarily avoid CLOEXEC flags2022_08_24.60ffc5bDavid Gibson2022-08-241-7/+3
* conf: Fix incorrect bounds checking for sock_path parameterDavid Gibson2022-08-241-1/+1
* Make substructures for IPv4 and IPv6 specific context informationDavid Gibson2022-07-301-90/+94
* Separate IPv4 and IPv6 configurationDavid Gibson2022-07-301-68/+80
* Clarify semantics of c->v4 and c->v6 variablesDavid Gibson2022-07-301-39/+20