[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-users] ip which is already being used can be taken by windowsvps


  • To: "Jingyun He" <jingyun.ho@xxxxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
  • Date: Sun, 18 Oct 2009 12:33:46 +1100
  • Cc:
  • Delivery-date: Sat, 17 Oct 2009 18:34:38 -0700
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • Thread-index: AcpPaaNIlsyG3zAPStazlSGOhuEQcQAKMebA
  • Thread-topic: [Xen-users] ip which is already being used can be taken by windowsvps

> 
> Hello,
> I just noticed that the windows vps can take any IP that is already
> being used in the network,
> e.g. one other server is using 1.1.1.1, and another vps in the network
> just assign that IP, and activate it, then the ip 1.1.1.1 will connect
> to vps, and the server will lose connection.
> 
> Do you have any suggestion to avoid this?
> 

Some suggestions:

1. Make sure that anything that ever wants to talk to 1.1.1.1 uses SSL
so that it can never be impersonated. Make sure that you pay attention
if your ssh client ever complains that the key has changed.
2. Put each VM on a /30 network and route everything to it. It might be
a pain to maintain but it greatly reduces the attack surface.
3. Use iptables to filter that port to make sure the source IP address
is correct (remember to allow for DHCP queries if you use that - they
will appear to come from 0.0.0.0 I think).
4. Install arpwatch (I think that's what it's called) that can notify if
the relationship between a mac address and an IP address changes

James


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.