On Mon, 20 Aug 2007 13:18:31 +0000 (UTC) Burkhard Ott <(E-Mail Removed)> wrote:
| Am Mon, 20 Aug 2007 12:04:15 +0000 schrieb phil-news-nospam:
|
|
|> Could you explain why such a route would need to be injected to other routers?
|> That does not make sense for end-to-end encryption. Once encrypted within the
|> host, maybe the router is needed internally to cause the packet to go through
|> the encryption steps. But once it is encrypted and headed out to the internet,
|> why would it need to go through any different router?
|
| That is what I told you in my first response to you posting but anyway...
| If I understood correctely you try to establish a tunnel on you gateway
| and if the tunnel is gone you want that the traffic goes still out via
| NAT, thats the thing you could do.
There is no NAT.
|> And just what kind of route change would this be if my server is still served
|> by the same router run by my ISP?
|
| I didn't know that your network is so simple, usually you have more than
| one entrypoint to the backbone and in this case you will need also the
| posibility to route dynamically.
That may be the case. But that can be done by the ISP even if I have only one
gateway setting on my machine. Maybe I'll have more than one. Maybe I'll add
OSPF routing. But that's orthogonal to what I'm trying to do with IPsec.
|> If you were running an ISP that hosted web servers, would you allow your users
|> to inject OSPF routes into your infrastructure?
|
| I work on an ISP and yes bigger customers have access to the routers and
| can change their routes, in every bigger environment have you the same
| constellation.
Define "bigger"? Would someone running 1 colocated host be eligible?
Or 4 hots?
| Have you ever heared from a route filter, probably not.
I know what router filters are. I don't understand the context of what you
are asking.
|> What I do see actually happening is not routes. It is an internal policy that
|> specifies what peers should engage certain types of IPsec encryption. If the
|> policy is in effect, traffic does not go to that host in the clear, and any
|> attempt to send traffic to that peer when an SA is not established causes one
|> to be initiated (which should work if the peer is also set up for it). This
|
| And then what happend with the packets, they use the default gw or a
| static route.
Whatever is appropriate for the destination IP address.
|> basically means I need to decide IN ADVANCE which peers will and which
|> peers will not engage IPsec. What I WANT TO DO is not make that
|> decision in advance, but rather, make that decision on my end based on
|> whether the peer has chosen to use IPsec or not. If they choose to use
|> IPsec (which could be determined simply by establishing a successful SA)
|> then all traffic to their IP should then be encrypted (and all traffic
|> from then decrypted). Otherwise, none of the traffic should.
|
| Now where is then the problem, if the packets pass the policy and are
| encrypted then they will be sent via default gw if there is no other
| route, if they not pass the policy they do the same but unencrypted.
But how to make the policy handle it. It will have to be dynamic. The
gateway is irrelevant because it will be the same gateway for that IP
address whether the packets are encrypted or not.
|> Have you ever used the ipsec-tools package?
|
| I don't know if we have the same version and OS, probably not but I built
| successfull tunnelsetups with openswan,freeswan,strongswan,racoon,kame and
| some properitary solutions like netscreen or sonicwall.
This isn't for a separate tunnel. This will be IPsec transport mode,
though tunnel mode might be a viability if doable within the same machine.
--
|---------------------------------------/----------------------------------|
| Phil Howard KA9WGN (ka9wgn.ham.org) / Do not send to the address below |
| first name lower case at ipal.net /
spamtrap-2007-08-22-(E-Mail Removed) |
|------------------------------------/-------------------------------------|