aboutgitcodebugslistschat
path: root/conf.c
Commit message (Expand)AuthorAgeFilesLines
* conf, passt.1: Exit if we can't bind a forwarded port, except for -[tu] allStefano Brivio2024-02-161-25/+11
* treewide: Make a bunch of pointer variables pointers to constDavid Gibson2024-01-161-5/+7
* udp: Consistently use -1 to indicate un-opened sockets in mapsDavid Gibson2023-11-071-0/+1
* log: Enable format warningsDavid Gibson2023-11-071-1/+1
* port_fwd: Move automatic port forwarding code to port_fwd.[ch]David Gibson2023-11-071-84/+1
* conf: Cleaner initialisation of default forwarding modesDavid Gibson2023-11-071-33/+27
* conf: Remove overly cryptic selection of forward tableDavid Gibson2023-10-041-12/+8
* cppcheck: Make many pointers constDavid Gibson2023-10-041-2/+3
* conf: Demote overlapping port ranges error to a warningDavid Gibson2023-08-131-4/+3
* netlink: Propagate errors for "dump" operationsDavid Gibson2023-08-041-14/+51
* netlink: Explicitly pass netlink sockets to operationsDavid Gibson2023-08-041-7/+8
* netlink: Split nl_route() into separate operation functionsDavid Gibson2023-08-041-2/+2
* netlink: Split nl_addr() into separate operation functionsDavid Gibson2023-08-041-7/+5
* netlink: Split up functionality of nl_link()David Gibson2023-08-041-2/+2
* util: Make ns_enter() a void function and report setns() errorsDavid Gibson2023-08-041-1/+2
* conf: Correct length checking of interface names in conf_ports()David Gibson2023-06-281-3/+8
* conf: Fix size checking of -I interface nameDavid Gibson2023-06-281-2/+2
* conf: Accept -a and -g without --config-net in pasta modeStefano Brivio2023-06-251-6/+7
* conf: Make -a/--address really imply --no-copy-addrsStefano Brivio2023-06-251-0/+3
* conf, log: On -h / --help, print usage to stdout, not stderrStefano Brivio2023-06-231-5/+18
* conf: Fix erroneous check of ip6->gw2023_06_03.429e1a7David Gibson2023-06-031-1/+1
* conf, pasta: With --config-net, copy all addresses by defaultStefano Brivio2023-05-231-2/+16
* netlink: Add functionality to copy addresses from outer namespaceStefano Brivio2023-05-231-3/+5
* conf: Don't exit if sourced default route has no gatewayStefano Brivio2023-05-231-3/+7
* Revert "conf: Adjust netmask on mismatch between IPv4 address/netmask and gat...Stefano Brivio2023-05-231-24/+1
* conf, pasta: With --config-net, copy all routes by defaultStefano Brivio2023-05-231-0/+16
* conf: --config-net option is for pasta mode onlyStefano Brivio2023-05-231-1/+7
* netlink: Add functionality to copy routes from outer namespaceStefano Brivio2023-05-231-2/+2
* util, conf: Add and use ns_is_init() helperStefano Brivio2023-05-231-15/+1
* 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