]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commit
aliases: Add support to assign aliases to multiple RED interfaces
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 29 Jun 2022 18:27:23 +0000 (18:27 +0000)
committerPeter Müller <peter.mueller@ipfire.org>
Wed, 6 Jul 2022 10:01:50 +0000 (10:01 +0000)
commit6395bed8a4d621e2ed5b4e1417934c34ddc9a9a3
tree8fa61bc3ff78012fac316ba5d4bd76bf291ff5b2
parentf704d76e089604e94045b7ea83f2315dbddf52ca
aliases: Add support to assign aliases to multiple RED interfaces

This is a little patch which will extend the aliases page to offer an
interface selection if there are more than one RED interfaces.

This is a little hack to make configuration easier for users who have
manually set up more than one RED interface (e.g. for load balancing or
fail-over) and want to use the UI to configure firewall rules.

As a little benefit on the side, I had to rewrite setaliases.c to use
ip(8) instead of ifconfig(8).

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Acked-by: Peter Müller <peter.mueller@ipfire.org>
config/cfgroot/network-functions.pl
html/cgi-bin/aliases.cgi
langs/en/cgi-bin/en.pl
src/misc-progs/setaliases.c