aboutgitcodebugslistschat
path: root/conf.c
Commit message (Expand)AuthorAgeFilesLines
* passt: Relicense to GPL 2.0, or any later versionStefano Brivio2023-04-061-1/+1
* conf: Allow binding to ports on an interface without a specific addressStefano Brivio2023-03-291-1/+3
* Work around weird false positives with cppcheck-2.9.1David Gibson2023-03-211-1/+1
* conf: Terminate on EMFILE or ENFILE on sockets for port mappingStefano Brivio2023-03-091-7/+29
* treewide: Fix header includes to build with muslChris Kuhn2023-03-091-0/+2
* conf, passt: Rename stderr to force_stderrChris Kuhn2023-03-091-3/+3
* conf, icmp, tcp, udp: Add options to bind to outbound address and interfaceStefano Brivio2023-03-091-12/+89
* conf, passt.h: Rename "outbound" interface to "template" interfaceStefano Brivio2023-03-091-4/+7
* log, conf, tap: Define die() as err() plus exit(), drop cppcheck workaroundsStefano Brivio2023-02-271-3/+0
* conf, udp: Allow any loopback address to be used as resolverStefano Brivio2023-02-271-0/+6
* conf: Split add_dns{4,6}() out of get_dns()Stefano Brivio2023-02-271-35/+51
* conf: Fix typo and logic in conf_ports() check for port binding2023_02_16.4663cccStefano Brivio2023-02-161-1/+7
* conf, tap: Silence two false positive invalidFunctionArg from cppcheckStefano Brivio2023-02-161-0/+3
* conf, tcp, udp: Exit if we fail to bind sockets for all given portsStefano Brivio2023-02-161-13/+34
* 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