Skip to contentSkip to conversation

Mark ESP packets

DISCUSSION Stephen Clark 2 participants 3 messages Aug 12, 2011 netfilter

lore
Share & tools
lore
#0 lore raw

Hello,

Is it possible to mark esp packets so they can be identified when the re-traverse netfilter as unencrypted packets?

Thank,
Steve

Signature · 5 lines
"They that give up essential liberty to obtain temporary safety,
deserve neither liberty nor safety."  (Ben Franklin)

"The course of history shows that as a government grows, liberty
decreases."  (Thomas Jefferson)
#1 lore raw
Quoted 4 lines · Stephen Clark

Hello,

Is it possible to mark esp packets so they can be identified when the re-traverse netfilter as unencrypted packets?

It should be, as the skb remains the same.
Or you could also use -m policy --dir in --proto esp on unencrypted packets.

#2 lore raw
Quoted 1 line · Jan Engelhardt

-m policy --dir in --proto esp

Thanks Jan,

This appears to work.

Signature · 5 lines
"They that give up essential liberty to obtain temporary safety,
deserve neither liberty nor safety."  (Ben Franklin)

"The course of history shows that as a government grows, liberty
decreases."  (Thomas Jefferson)