WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] Filtering traffic to Xen guest machines

Subject: [Xen-users] Filtering traffic to Xen guest machines
From: javier.prieto.ext@xxxxxxxxxxxxxxxxxxx
Date: Fri, 8 Feb 2008 00:34:40 +0100 (CET)
Delivery-date: Mon, 18 Feb 2008 09:28:06 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
Importance: Normal
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: SquirrelMail/1.4.4
Hello.
I've just started using Xen. My configuration is plain simple: I've got a
Centos 5 Host with Xen and a single virtual machine which also uses Centos 5.
Both of them have real IPs of the same real network.

Now, I have to delegate the server administration to an external company which
I don't trust, so I'd want to filter any connection started by the virtual
machine.

The idea is that everyone outside can connect that virtual IP, but any try of
connection from the Guest OS, which isn't part of an already established
communication, is dropped.

As far as I've seen, I should do it with EBtables, as the guest IP address is
part of a bridge in the host machine. In fact, I've tried using simple
restrictions, using --ip-source or --ip-destination, and it works.

The point is that ebtables doesn't have an option to check for SYN headers, so
I can't check if a package is trying to establish a new communication or not.
I can do it with IPtables, but it doesn't work as I'm trying to filter traffic
within a bridge.

Can anybody please give me some advice? Thanks in advance, and sorry for my
bad English :)


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

<Prev in Thread] Current Thread [Next in Thread>