Re: ip xfrm policy semantics

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Timo Teräs
Date: Friday, January 9, 2009 - 12:21 pm

Timo Teräs wrote:

Forget the above. I had a typo in my policy config.

Having:
  policy out dst pptp-server
  policy out dst internal-pptp-client

set to high priority and no transforms works great too.


So basically, I would like to have separate policy for 'out' and
'fwd_out'. But adding new policy type is kinda bad. I wonder why
in the first place 'in' and 'fwd' were split, but 'out' was left
all alone without any information about if it's forwarded or local
packet?

So, I'm back to thinking how to fix this without adding IP
addresses to my security policies.

The options I could think of are:
1. A way to test input interface on policy selector
2. GRE upper layer awareness. gre key being the likely key.
(3. Splitting 'out' policy to 'out' and 'outfwd')

Any comment on which would the preferred way to go?

- Timo
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
ip xfrm policy semantics, Timo Teräs, (Fri Jan 9, 7:16 am)
Re: ip xfrm policy semantics, Timo Teräs, (Fri Jan 9, 10:09 am)
Re: ip xfrm policy semantics, Timo Teräs, (Fri Jan 9, 12:21 pm)