Invalid log level (NFLOG(7,-,))

Wayne S <[email protected]>
Newsgroups gmane.comp.security.shorewall
Message-ID <[email protected]>
I have defined in params
LOGINFO="NFLOG(7,,)"

In shorewall.config I have
LOG_LEVEL="$LOGINFO"

ulogd2.service is running just fine with group 7:

 ulogd[924]: building new pluginstance stack: 'log7:NFLOG,base1:BASE,ifi1:IFINDEX,ip2str1:IP2STR,print1:PRINTPKT,emu7:LOGEMU'

But checking shorewall I get:

Checking using Shorewall 5.2.3.4...
Processing /etc/shorewall/params ...
Processing /etc/shorewall/shorewall.conf...
Loading Modules...
Checking /etc/shorewall/zones...
Checking /etc/shorewall/interfaces...
Checking /etc/shorewall/hosts...
Determining Hosts in Zones...
Locating Action Files...
   ERROR: Invalid log level (NFLOG(7,-,)) /usr/share/shorewall/actions.std (EOF)

If I change this line in shorewall.config, by removing :$LOG_LEVEL:

BLACKLIST_DEFAULT="Broadcast(DROP),Multicast(DROP),dropNotSyn:$LOG_LEVEL,dropInvalid:$LOG_LEVEL,DropDNSrep:$LOG_LEVEL"

to

BLACKLIST_DEFAULT="Broadcast(DROP),Multicast(DROP),dropNotSyn,dropInvalid,DropDNSrep"

Shorewall runs just fine. $LOG_LEVEL is used elsewhere with no problems.

Is this an issue with my configuration or with shorewall?

Wayne
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.