mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 03:07:43 +02:00
Drop launch-ether-wake
The helper binary is being dropped and etherwake is enabled for CAP_NET_RAW. This allows execution by unprivileged users as needed by the web user interface (nobody). Reported-by: Albert Schwarzkopf <ipfire@quitesimple.org> Fixes: #12562 Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -171,7 +171,7 @@ if ( $cgiparams{'ACTION'} eq 'wakeup' )
|
||||
|
||||
undef %cgiparams;
|
||||
|
||||
system("/usr/local/bin/launch-ether-wake $mac $iface");
|
||||
system("/usr/sbin/etherwake -i $iface $mac");
|
||||
|
||||
# make a box with info, 'refresh' to normal screen after 5 seconds
|
||||
if ( $refresh eq 'yes' )
|
||||
|
||||
Reference in New Issue
Block a user