"ulog" logging mode adds invalid action "ulog"
Consider this sample policy:
{
"description": "Netflow ULOG netfilter probe",
"log": {
"netflow": { "mode": "ulog", "group": 2, "range": "48", "threshold": 20 }
},
"filter": [
{
"out": "INET",
"action": "ulog",
"log": "netflow"
}
]
}
The relevant section of the corresponding rules-save file contains:
-A logulog-0 -j ULOG --ulog-nlgroup 2 --ulog-qthreshold 20 --ulog-cprange 48
-A logulog-0 -j ulog
The line “-A logulog-0 -j ulog” is invalid.
This happens on 0.2.7 and 0.3.1
(from redmine: issue id 2193, created on 2013-08-06, closed on 2013-10-31)
- Changesets:
- Revision f3f043ad by Kaarle Ritvanen on 2013-08-15T10:31:18Z:
check correctness of 'action' attribute
ref #2193