aboutgitcodebugslistschat
path: root/conf.c
Commit message (Expand)AuthorAgeFilesLines
* 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
* Move passt mac_guest init to be more symmetric with pastaDavid Gibson2022-07-301-3/+0
* Initialize host side MAC when in IPv6 only modeDavid Gibson2022-07-301-9/+12
* Separately locate external interfaces for IPv4 and IPv6David Gibson2022-07-301-2/+17
* Allow different external interfaces for IPv4 and IPv6 connectivityDavid Gibson2022-07-301-17/+21
* conf: Reset range endpoints after parsing one excluded port specifier2022_07_14.b86cd00Stefano Brivio2022-07-141-0/+1
* conf: Allow to specify ranges and ports excluded from given rangesStefano Brivio2022-07-141-11/+101
* conf: Fix initialisation of IPv6 unicast and link-local addressesStefano Brivio2022-07-141-2/+2
* Handle the case of a DNS server on localhostDavid Gibson2022-07-141-0/+16
* Parse resolv.conf with new lineread implementationDavid Gibson2022-07-061-8/+14
* conf: In conf_runas(), on static builds, group information is also unusedStefano Brivio2022-06-181-0/+1
* conf: Fix one Coverity CID 258163 warning, work around another oneStefano Brivio2022-05-201-5/+3
* conf: Add --runas option, changing to given UID and GID if started as rootStefano Brivio2022-05-191-0/+70
* conf, tcp, udp: Allow address specification for forwarded portsStefano Brivio2022-05-011-25/+95