conntrack: label update requires a previous label in place
Pablo Neira Ayuso
maintainerPATCH 1/1 conntrack: label update requires a previous label in place
You have to set an initial label if you plan to update it later on. If conntrack comes with no initial label, then it is not possible to attach it later because conntrack extensions are created by the time the new entry is created.
Update manpage to document this behaviour.
Signed-off-by Pablo Neira Ayuso <[email protected]>
--- conntrack.8 | 3 +++ 1 file changed, 3 insertions(+)
conntrack.8 +3 -0
@@ -193,6 +193,9 @@ Use multiple \-l options to specify multiple labels that need to be set. Specify the conntrack label to add to the selected conntracks. This option is only available in conjunction with "\-I, \-\-create", "\-A, \-\-add" or "\-U, \-\-update". +You must set a default label for conntracks initially if you plan to update it +later, that is, "\-U, \-\-update" requires an initial label already. If you +update a conntrack entry without an initial label, an error will be reported. .TP .BI "--label-del " "[LABEL]" Specify the conntrack label to delete from the selected conntracks.
Signature · 1 line
2.30.2