20 Jul 2005 14:05
local / remote problems with SA
Markku Savela <msa <at> burp.tkv.asdf.org>
2005-07-20 12:05:33 GMT
2005-07-20 12:05:33 GMT
I've tried to prepare for the new Ipsec implementation and I keep bumping into problems that are related to the local/remote vs. src/dst in SA's. My current attempt was to keep src/dst of the SA as is, and use the transport selectors in local/remote style. However, I run into a bit of a compatiblity problem. I need to support old PFKEY with IKEv1, and in there I have a "transport selector" in a form of port and protocol in address extension. The problem is that in the "old" PFKEY there is no indication of the direction of the SA, and I don't know whether the port in DST extesion is supposed to be local or remote. (I course, I could try to make heuristic guess based on the dst address, but it can fail, because not all own addresses are necessarily known when SA is loaded). I'm just sounding off list opinion about possible solutions. I think I have the following choices: 1) use my current mixed model (SA dst/src, transport selectors remote/local) and in IKEv1 mode, make the heuristic guess. 2) go all the way, change SA's also to use remote/local, and in IKEv1 mode, make the heuristic guess. I would probably have new SADB_EXT_ADDRESS_REMOTE and SADB_ADDRESS_LOCAL, which would be used instead of _SRC/_DST by IKEv2), as well as the new transport selectors SADB_EXT_SELECTOR_REMOTE, SADB_EXT_SELECTOR_LOCAL) 3) go all the way to other direction, ignore local/remote in SA's, and(Continue reading)
RSS Feed