]> git.ipfire.org Git - people/ms/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:23:41 +0000 (18:23 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 5 Jul 2022 10:59:29 +0000 (10:59 +0000)
commite6b881b49744d098314b6cf94c8e0e31ce6c088d
treee1b88d1e3beaa406d7ea8060fdda97c12c854d0a
parent8000bc0a4375ee7afdc1d56023681b8ac9502c3d
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>
config/cfgroot/network-functions.pl
html/cgi-bin/aliases.cgi
langs/en/cgi-bin/en.pl
src/misc-progs/setaliases.c