Re: [uml-user] iptables question

2008-04-01 Thread kewlemer
On 3/31/08, Raul Lopez Nevot <[EMAIL PROTECTED]> wrote: > > Can anyone please tell me what I'm missing. > > > You have not the correct loadable modules for your kernel. > If you have compiled your brand new kernel, with ARCH=um (I guess > because it's last version), mount your root file system on

Re: [uml-user] iptables question

2008-03-31 Thread Raul Lopez Nevot
> Can anyone please tell me what I'm missing. You have not the correct loadable modules for your kernel. If you have compiled your brand new kernel, with ARCH=um (I guess because it's last version), mount your root file system on host machine (mount root_fs /mnt -o loop), and install the modules c

Re: [uml-user] iptables question

2008-03-31 Thread Jeff Dike
On Sun, Mar 30, 2008 at 11:57:16PM -0700, kewlemer wrote: > iptables -L gives the following error - > -bash-3.2# iptables -L > WARNING: Error inserting x_tables > (/lib/modules/2.6.24/kernel/net/netfilter/x_tables.ko): Invalid module > format > FATAL: Error inserting ip_tables > (/lib/modules/2.6.2

Re: [uml-user] iptables question

2008-03-31 Thread kewlemer
On 3/30/08, kewlemer <[EMAIL PROTECTED]> wrote: > Hi all, > > I'm running 2.6.24 UML kernel and Fedora AMD64 filesystem from > http://uml.nagafix.co.uk/. > I forgot to add that its Fedora 8 AMD64 filesystem. Thanks, KM - Ch

[uml-user] iptables question

2008-03-30 Thread kewlemer
Hi all, I'm running 2.6.24 UML kernel and Fedora AMD64 filesystem from http://uml.nagafix.co.uk/. I have compiled all the netfilter and iptables options the 2.6.24 kernel provides. I have also installed the iptables userspace program by simply doing a "yum install iptables". The version installe

Re: [uml-user] iptables modules

2007-06-25 Thread Antoine Martin
Haywood Floyd wrote: > Hi, > > I downloaded the debian 3.1 file system and debian 4.0 file system. > After the uml boot, i typed at the shell prompt > iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE > he replays with > FATAL: Module ip_tables not found. > iptables v1.3.6: can't initial

Re: [uml-user] Iptables Module with UML Kernel

2006-08-23 Thread Jeff Dike
On Wed, Aug 23, 2006 at 12:24:19AM -0700, Mathew Brown wrote: > Sorry to bring this issue up again, but I was wondering if there was > some wiki that could be updated to reflect things such at the TT > issue? I'm sure that I'm not the only one that ran into this. If > there is one, I woul

Re: [uml-user] Iptables Module with UML Kernel

2006-08-23 Thread Mathew Brown
Hi, Sorry to bring this issue up again, but I was wondering if there was some wiki that could be updated to reflect things such at the TT issue? I'm sure that I'm not the only one that ran into this. If there is one, I wouldn't mind updating parts myself (with my limited knowledge) :D

Re: [uml-user] Iptables Module with UML Kernel

2006-08-21 Thread Jeff Dike
On Sun, Aug 20, 2006 at 12:08:50PM +0200, Blaisorblade wrote: > Jeff, could you add to the "Tracing Thread mode" the (OBSOLETE) / (DEPRECATED > mark so that users won't enable it? Yeah, that's a good idea. Jeff -

Re: [uml-user] Iptables Module with UML Kernel

2006-08-20 Thread Blaisorblade
On Sunday 20 August 2006 15:21, Mathew Brown wrote: > Hi, > If you mean by statically linked, CONFIG_STATIC_LINK=y Yes. > , I tried it > with 2.6.17-9 and it worked fine. Here's a diff between the .config > file that I used for static linking (without TT) and when I tried to > use TT (.

Re: [uml-user] Iptables Module with UML Kernel

2006-08-20 Thread Mathew Brown
Hi, If you mean by statically linked, CONFIG_STATIC_LINK=y, I tried it with 2.6.17-9 and it worked fine. Here's a diff between the .config file that I used for static linking (without TT) and when I tried to use TT (.configwithttthatsegfaults). If you'd like, I can send you the actual .

Re: [uml-user] Iptables Module with UML Kernel

2006-08-20 Thread Blaisorblade
On Sunday 20 August 2006 11:37, Mathew Brown wrote: > Hi, > I think I solved it. I also think that I found a bug. Here's what I > did and why I think it's a bug: > > I thought the problem might be related to 2.6.17-9 so I downloaded > 2.6.16 and compiled it. It's behavior was different b

Re: [uml-user] Iptables Module with UML Kernel

2006-08-20 Thread Mathew Brown
Hi, I think I solved it. I also think that I found a bug. Here's what I did and why I think it's a bug: I thought the problem might be related to 2.6.17-9 so I downloaded 2.6.16 and compiled it. It's behavior was different but it still wouldn't boot. It would give me the following:

Re: [uml-user] Iptables Module with UML Kernel

2006-08-19 Thread Mathew Brown
Thanks. I added stderr=1 to the kernel line and it gives me the following: io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered (default) Kernel panic - not syncing: Segfault with no mm <6>Stopping all CPUs...done EIP: 00

Re: [uml-user] Iptables Module with UML Kernel

2006-08-19 Thread Jeff Dike
On Sat, Aug 19, 2006 at 11:58:44AM -0700, Mathew Brown wrote: > Checking that ptrace can change system call numbers...OK > Checking syscall emulation patch for ptrace...OK > Checking advanced syscall emulation patch for ptrace...OK > Checking for tmpfs mount on /dev/shm...OK > Checking PROT_EXEC mm

Re: [uml-user] Iptables Module with UML Kernel

2006-08-19 Thread Mathew Brown
Thanks. I downloaded the latest stable kernel (2.6.17-9) and enabled most options (I build in everything inside the kernel instead of modules). However, when I tried running it, it would give me the following and then exit: Checking that ptrace can change system call numbers...OK Checking syscal

Re: [uml-user] Iptables Module with UML Kernel

2006-08-19 Thread Blaisorblade
On Friday 18 August 2006 21:34, Mathew Brown wrote: > Hi, > I'm currently using the 2.6.17-rc1 UML kernel provided at > http://user-mode-linux.sourceforge.net/new/ However, when attempting > to use iptables: > > iptables -L > > I get the following error: iptables v1.2.11: can't initialize i

[uml-user] Iptables Module with UML Kernel

2006-08-18 Thread Mathew Brown
Hi, I'm currently using the 2.6.17-rc1 UML kernel provided at http://user-mode-linux.sourceforge.net/new/ However, when attempting to use iptables: iptables -L I get the following error: iptables v1.2.11: can't initialize iptables table `filter': iptables who? (do you need to insmod?) An

Re: [uml-user] iptables

2006-06-26 Thread Christian Bockermann
With "-t XXX" you select the TABLE to modify/view To display the forward-chain you can just do iptables -t filter -nvL FORWARD ("-t filter" is default and can be left out) For example, to make uml reach the outside world and protect uml against connections from outside you would do

Re: [uml-user] iptables

2006-06-26 Thread paul john
thank you guys all. 2006/6/26, Christian Bockermann <[EMAIL PROTECTED]>: What's /etc/resolv.conf look like in your UML? You have to specify aname server here.Does your FORWARD-chain allow udp 53 from 192.168.0.0/24 to the       is this forward-chain of host ?  i don't know how to ? iptables -t FOR

Re: [uml-user] iptables

2006-06-26 Thread Christian Bockermann
What's /etc/resolv.conf look like in your UML? You have to specify a name server here. Does your FORWARD-chain allow udp 53 from 192.168.0.0/24 to the nameservers you have in /etc/resolv.conf? Greets, Chris Am 26.06.2006 um 15:52 schrieb paul john: > in host , i use "iptables -t nat -A

Re: [uml-user] iptables

2006-06-26 Thread Blaisorblade
On Monday 26 June 2006 15:52, paul john wrote: > in host , i use "iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -j > MASQUERADE" to enable umls accessing the world . but can't resolve domain > name , if you just give a ip , in umls can ping out the world .but if give > a domain name , can't , i

[uml-user] iptables

2006-06-26 Thread paul john
in host , i use "iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -j MASQUERADE" to enable umls accessing the world . but can't resolve domain name , if you just give a ip , in umls can ping out the world .but if give a domain name , can't , i don't know what's problem . please . -- skype id (flo

Re: [uml-user] Iptables Host Machine Setup

2006-06-08 Thread Stefano Melchior
On Thu, Jun 08, 2006 at 03:22:08PM +0100, robl wrote: Dear Rob,, > > I'm looking for some help/advice on setting up a firewall for my uml host > machine. Specifically, I'm using tuntap and have eth0 listening promisc with > br0 having the public internet facing ip. I then have tap (0,1,2) interf

[uml-user] Iptables Host Machine Setup

2006-06-08 Thread robl
Hi, I'm looking for some help/advice on setting up a firewall for my uml host machine. Specifically, I'm using tuntap and have eth0 listening promisc with br0 having the public internet facing ip. I then have tap (0,1,2) interfaces for each uml guest. I'd like to firewall the host machine so on

Re: [uml-user] IPTABLES in monolitic UML Kernel

2005-01-25 Thread Blaisorblade
On Tuesday 25 January 2005 16:21, [EMAIL PROTECTED] wrote: > Hi, i would like to use Iptables on my UML guest. > When i use : > iptables -L > i have this output: > > ip_tables: version magic '2.6.8-1-686 preempt 686 gcc-3.3' should be > '2.6.9-bb4 gcc-3.3' FATAL: Error inserting ip_tables > (/lib/m

[uml-user] IPTABLES in monolitic UML Kernel

2005-01-25 Thread uml
Hi, i would like to use Iptables on my UML guest. When i use : iptables -L i have this output:   ip_tables: version magic '2.6.8-1-686 preempt 686 gcc-3.3' should be '2.6.9-bb4 gcc-3.3'FATAL: Error inserting ip_tables (/lib/modules/2.6.8-1-686/kernel/net/ipv4/netfilter/ip_tables.ko): Invalid