Skip to content

main/iptables: improve ebtables init

Thomas Liske requested to merge liske/aports:fix-ebtables-init into master
  • 63448da2

    The broute table does not work with nftables which breaks the restart action:

# /etc/init.d/ebtables restart
 * Stopping bridge firewall ...
ebtables: No chain/target/match by that name
ebtables v1.8.4 (nf_tables):  RULE_FLUSH failed (No such file or directory): rule in chain (null)
ebtables: No chain/target/match by that name                                                                                                                                   [ !! ]
 * ERROR: ebtables failed to stop
  • babce113

    With SAVE_ON_STOP the init script will fail to stop since ebtables-save is called with wrong parameters:

# /etc/init.d/ebtables stop
 * Saving ebtables state ...
Unknown arguments found on commandline                                                                                                                                         [ !! ]
 * ERROR: ebtables failed to stop

Merge request reports