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-devel

Re: [Xen-devel] vif-bridge question

To: Matt Ayres <matta@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] vif-bridge question
From: Ian Pratt <Ian.Pratt@xxxxxxxxxxxx>
Date: Mon, 22 Nov 2004 08:30:42 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxxxx, Ian.Pratt@xxxxxxxxxxxx
Delivery-date: Mon, 22 Nov 2004 08:39:58 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
In-reply-to: Your message of "Mon, 22 Nov 2004 01:55:46 EST." <1101106546.30622.57.camel@xxxxxxxxxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
> in /etc/xen/scripts/vif-bridge there is this snippet of code:
> 
> if [ ${ip} ] ; then
> 
>     # If we've been given a list of IP networks, allow pkts with these
> src addrs.
>     for addr in ${ip} ; do
>         iptables ${iptcmd} FORWARD -m physdev --physdev-in ${vif} -s
> ${addr} -j ACCEPT
>     done
> 
> 
> The ip list is a command line argument.  My question where is the domain
> config file can I specify the IP's that will be sent to vif-bridge?  I
> tried:
> 
> ip="1.1.1.1/32 1.1.1.2/32" and other variations but I just get illegal
> kernel boot option.

As I recall, it's looking for a comma separated list of IP addrs
ip="1.2.3.4,2.3.4.5"

I don't think the 'antispoof' stuff in vif-bridge is widely used
as most people that want to do firewalling roll their own.

I'd be interested to hear how it works for you. In particular,
you might need to make the rules more lenient to allow some DHCP
servers to work.

Ian


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

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