ETH_DEVICE_SKIP does not recognize device name with dash (-) in it

This forum is only for reproducible bugs with csf and lfd (i.e. not iptables problems, lack of understanding how to use a feature, etc). Posts must be accompanied with full technical details of the problem and how it can be recreated. Any posts not adhering to this, or not considered bugs, will be moved to the General Discussion (csf) forum.
2 posts Page 1 of 1
Junior Member
Posts: 2
Joined: 20 Jul 2017, 10:54

We have device names with a dash in them:
Code: Select all
[root@youreal-web07 ~]# ifconfig
eth-internet: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        -- SNIP --

eth-local: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        -- SNIP --

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        -- SNIP --
eth-local is a management interface and I want it to be skipped by csf, so I set ETH_DEVICE_SKIP to eth-local, however during start csf reports that this is not valid:
Code: Select all
*WARNING* ETH_DEVICE_SKIP device [eth-local] not listed in ip/ifconfig
Posts: 1432
Joined: 01 Oct 2008, 09:24

We'll have a fix for this in the next release.
2 posts Page 1 of 1