Skip to contentSkip to conversation

OR with the --set-mark flag

DISCUSSION Robert Scott 3 participants 3 messages Aug 3, 2004 – Aug 10, 2004 1 message not in the archive netfilter

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

It appears that using the MARK target "--set-mark <value>" option always overwrites whatever mark is already there with <value>. Is there a way to perform an OR operation with what is already there?

--rb

#2 lore raw

I believe there is a patch in pom that allow this

but it patches iptables as well as the kernel

Alex

Quoted 7 lines · Robert Scott

It appears that using the MARK target "--set-mark <value>" option always overwrites whatever mark is already there with <value>. Is there a way to perform an OR operation with what is already there?

--rb