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.
Post Reply
Murfy
Junior Member
Posts: 2
Joined: 20 Jul 2017, 10:54

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

Post by Murfy »

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

ForumAdmin
Moderator
Posts: 1460
Joined: 01 Oct 2008, 09:24

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

Post by ForumAdmin »

We'll have a fix for this in the next release.

Post Reply