Commit graph

700 commits

Author SHA1 Message Date
Ariadne Conill
606e98d7bd docs: add interfaces-forward(5) manual page 2020-12-16 06:31:17 -07:00
Ariadne Conill
ffcf1976b8 tests: add tests for forward executor 2020-12-16 06:23:38 -07:00
Ariadne Conill
1c2fddfbaa executor-scripts: add forward executor 2020-12-16 06:13:29 -07:00
Ariadne Conill
71bc4b3dc9
Merge pull request #137 from ifupdown-ng/fix/dhclient-executor-args
dhcp executor: Pass correct arguments to dhclient
2020-12-14 18:33:36 -07:00
A. Wilcox
b9d6c190e4
dhcp executor: Pass correct arguments to dhclient
They are opt-args, not pop-tarts.
2020-12-14 11:23:59 -06:00
Ariadne Conill
31bc5c3b10 multicall: remove bug report link from multicall help text 2020-12-04 01:02:28 -07:00
Ariadne Conill
f34ad12751 multicall: a little bit of polishing 2020-12-04 00:55:04 -07:00
Ariadne Conill
27c10c57d1 ifctrstat: lowercase the applet description 2020-12-04 00:51:35 -07:00
Ariadne Conill
d1286e57f9 multicall: print applet descriptions 2020-12-04 00:50:19 -07:00
Ariadne Conill
65aa268e9d ifquery: use single printf call for graphviz header, saves 16 bytes 2020-12-04 00:37:02 -07:00
Ariadne Conill
1f7fe26dd9 version: use printf() with a static string, compiler changes this into puts() automatically, saves additional 20 bytes 2020-12-04 00:31:53 -07:00
Ariadne Conill
3734aaecbd version: use a single printf() call for the entire about text, saves 104 bytes on aarch64 2020-12-04 00:26:01 -07:00
Ariadne Conill
8a8f56dda8 version: remove newline between copyright statements 2020-12-04 00:14:20 -07:00
Maximilian Wilhelm
bed0b67583
Merge pull request #134 from ifupdown-ng/feature/wifi-executor
wifi executor
2020-12-04 07:19:21 +01:00
Maximilian Wilhelm
383ae31372 wifi executor: And some sanity checks to stopping wpa_supplicant
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2020-12-04 07:01:47 +01:00
Ariadne Conill
d7cc2a9917 doc: interfaces: clarify that both wireless-tools and wpa_supplicant are needed for full functionality 2020-12-03 04:58:45 -07:00
Ariadne Conill
93c8827205 wifi executor: fix up some shell nitpicks 2020-12-03 04:56:47 -07:00
Ariadne Conill
589a1f3023 docs: interfaces-wifi: add manpage xrefs for iwconfig(8) and wpa_supplicant(8). 2020-12-02 19:29:22 -07:00
Ariadne Conill
4e3a4c6cb8 wifi executor: add support for insecure wifi networks 2020-12-02 19:27:28 -07:00
Ariadne Conill
eeb40937fb doc: document the wifi executor as interfaces-wifi(5). 2020-12-02 18:48:57 -07:00
Ariadne Conill
b2f5a62c35 wifi executor: protect against unintentionally clobbering $IF_WIFI_CONFIG_PATH 2020-12-02 18:31:39 -07:00
Ariadne Conill
f77d3558f7 executors: add wifi executor 2020-12-02 18:29:05 -07:00
Ariadne Conill
cef4fafdb9
Merge pull request #129 from BarbarossaTM/feature/dhcp-config
Rename dhcp related interface options to dhcp-* and allow interface specific config file
2020-12-02 11:57:19 -07:00
Ariadne Conill
3d47b34d7a
Merge pull request #133 from ifupdown-ng/feature/smart-stanza-merging
improve stanza merging by rewriting address properties as CIDR
2020-12-02 11:50:15 -07:00
Ariadne Conill
b10094eae7 tests: ifquery: add tests to verify stanza merging works as expected 2020-12-02 11:42:45 -07:00
Ariadne Conill
c4d9d6fd06 interface: add lif_interface_finalize() which rewrites addresses as CIDR when an interface stanza ends 2020-12-02 11:38:39 -07:00
Ariadne Conill
0dd7756df2 tests: add fixture illustrating how smart stanza merging should work 2020-12-02 11:17:41 -07:00
Ariadne Conill
43159fec82
Merge pull request #132 from ifupdown-ng/bugfix/ipv6-default-netmask
fix ipv6 default netmask
2020-12-02 11:07:12 -07:00
Ariadne Conill
259851a829 interface: fix default netmask size for AF_INET6 addresses (closes #130) 2020-12-02 11:05:40 -07:00
Ariadne Conill
e1fb4c6087 tests: ifquery: add tests for checking the default netmasks 2020-12-02 10:59:40 -07:00
Maximilian Wilhelm
ff8e5d392c dhcp: Fix test
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2020-11-30 22:38:55 +01:00
Maximilian Wilhelm
b21cb37df0 dhcp: Pass given config file to dhclient, if present
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2020-11-30 22:38:32 +01:00
Maximilian Wilhelm
aada42795c DHCP: Rename options to dhcp-*
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2020-11-30 22:36:28 +01:00
Ariadne Conill
6730db5468
Merge pull request #127 from ifupdown-ng/bugfix/multicall-getopt
multicall: fix inappropriate use of getopt in the multicall stub
2020-11-19 03:33:19 -07:00
Ariadne Conill
7911944633 tests: add getopt regression test for multicall stub 2020-11-19 03:28:51 -07:00
Ariadne Conill
46bb0565fa multicall: do not call getopt_long() inside the stub applet 2020-11-19 03:18:23 -07:00
Maximilian Wilhelm
9715b41c28
Merge pull request #125 from ifupdown-ng/feature/ifparse
YAML output support
2020-11-14 19:10:55 +01:00
Ariadne Conill
89b96a5108 doc: ifparse: chase --yaml-raw -> -F yaml-raw change 2020-11-13 21:53:41 -07:00
Ariadne Conill
545c3870ab ifparse: use -F to select output format instead of individual output options 2020-11-13 21:53:36 -07:00
Ariadne Conill
d2a75c7bb4 yaml-writer: constify 2020-11-13 21:35:12 -07:00
Ariadne Conill
dd8064142c yaml-writer: add ability to enable/disable type annotations 2020-11-13 21:31:48 -07:00
Ariadne Conill
3bf406bf92 doc: add ifparse manual page 2020-11-12 02:28:02 -07:00
Ariadne Conill
c5520f95dd ifparse: fix usage example 2020-11-12 02:22:25 -07:00
Ariadne Conill
7ca5305063 makefile: enabling YAML costs 2KB 2020-11-11 03:25:54 -07:00
Ariadne Conill
8097d5015f ifparse: if interface marked as auto, add "auto: !!bool true" to YAML output 2020-11-11 03:13:32 -07:00
Ariadne Conill
dbfebbff87 YAML: add support for booleans 2020-11-11 03:11:48 -07:00
Ariadne Conill
5010dce3d5 ifparse: rename --yaml to --yaml-raw 2020-11-11 03:10:50 -07:00
Ariadne Conill
95f0ea4895 yaml writer: implement type hinting 2020-11-11 02:51:24 -07:00
Ariadne Conill
2ec3a39c89 ifparse: add --yaml flag 2020-11-11 02:50:29 -07:00
Ariadne Conill
cfb43e9573 add really basic yaml document graph building and writing functionality 2020-11-11 02:46:28 -07:00