OpenVZ Forum


Home » General » Support » [SOLVED] iptables: Unknown error 18446744073709551615 (and yes, I've googled)
[SOLVED] iptables: Unknown error 18446744073709551615 (and yes, I've googled) [message #34037] Wed, 26 November 2008 18:20 Go to next message
jbwiv is currently offline  jbwiv
Messages: 15
Registered: August 2006
Junior Member
I've applied the fixes recommended here (http://kb.parallels.com/article_117_746_en.html), so my /etc/sysconfig/iptables-config has:

IPTABLES="iptable_filter iptable_mangle ipt_limit ipt_multiport ipt_tos ipt_TOS ipt_REJECT ipt_TCPMSS ipt_tcpmss ipt_ttl ipt_LOG ipt_length ip_conntrack ip_conntrack_ftp ip_conntrack_irc ipt_conntrack ipt_state ipt_helper iptable_nat ip_nat_ftp ip_nat_irc ipt_REDIRECT xt_mac ipt_owner"

and my /etc/vz/vz.conf has:

IPTABLES="iptable_filter iptable_mangle ipt_limit ipt_multiport ipt_tos ipt_TOS ipt_REJECT ipt_TCPMSS ipt_tcpmss ipt_ttl ipt_LOG ipt_length ip_conntrack ip_conntrack_ftp ip_conntrack_irc ipt_conntrack ipt_state ipt_helper iptable_nat ip_nat_ftp ip_nat_irc ipt_REDIRECT xt_mac ipt_owner"

my containers config has:

IPTABLES="iptable_filter iptable_mangle ipt_limit ipt_multiport ipt_tos ipt_TOS ipt_REJECT ipt_TCPMSS ipt_tcpmss ipt_ttl ipt_LOG ipt_length ip_conntrack ip_conntrack_ftp ip_conntrack_irc ipt_conntrack ipt_state ipt_helper iptable_nat ip_nat_ftp ip_nat_irc ipt_REDIRECT xt_mac ipt_owner"

I've rebooted the vz service, and the container. However, when I try to set up masquerading within the container, I get this:

[root@sshhost ~]# iptables -t nat -A PREROUTING -i venet0 -j MASQUERADE
iptables: Unknown error 18446744073709551615

Can anyone help?

Thanks,
jbwiv

[Updated on: Mon, 01 December 2008 17:35]

Report message to a moderator

Re: iptables: Unknown error 18446744073709551615 (and yes, I've googled) [message #34038 is a reply to message #34037] Wed, 26 November 2008 18:22 Go to previous messageGo to next message
jbwiv is currently offline  jbwiv
Messages: 15
Registered: August 2006
Junior Member
Btw, here's my machine info:

# uname -a
Linux myserver 2.6.18-92.1.13.el5.028stab059.6 #1 SMP Fri Nov 14 16:01:01 MSK 2008 x86_64 x86_64 x86_64 GNU/Linux

# cat /proc/cpuinfo | grep "model name"
model name : AMD Athlon(tm) 64 X2 Dual Core Processor 6000+

# cat /etc/issue
CentOS release 5.2 (Final)

Thanks,
Jbwiv
Re: iptables: Unknown error 18446744073709551615 (and yes, I've googled) [message #34043 is a reply to message #34038] Thu, 27 November 2008 11:07 Go to previous messageGo to next message
khorenko is currently offline  khorenko
Messages: 533
Registered: January 2006
Location: Moscow, Russia
Senior Member
Hi.

Could you please additionally post which template do you use (32bit or 64bit)?
In particular - just want to know:
* # rpm -qf `which iptables`
* # file `which iptables`

Thanks.
--
Konstantin


If your problem is solved - please, report it!
It's even more important than reporting the problem itself...
Re: iptables: Unknown error 18446744073709551615 (and yes, I've googled) [message #34051 is a reply to message #34043] Thu, 27 November 2008 21:48 Go to previous messageGo to next message
jbwiv is currently offline  jbwiv
Messages: 15
Registered: August 2006
Junior Member
Thanks Konstantine.

Here you go:

[root@sshhost /]# rpm -qf `which iptables`
iptables-1.3.5-4.el5
[root@sshhost /]# file `which iptables`
/sbin/iptables: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), for GNU/Linux 2.6.9, stripped
Re: iptables: Unknown error 18446744073709551615 (and yes, I've googled) [message #34060 is a reply to message #34037] Fri, 28 November 2008 17:13 Go to previous messageGo to next message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hello,

Don't you make a mistake/misprint in a command you've shown?
"iptables -t nat -A PREROUTING -i venet0 -j MASQUERADE"

I guess it's improper way using MASQUERADE. MASQUERADE is used in POSTROUTING chain.
Re: iptables: Unknown error 18446744073709551615 (and yes, I've googled) [message #34063 is a reply to message #34037] Fri, 28 November 2008 19:04 Go to previous messageGo to next message
jbwiv is currently offline  jbwiv
Messages: 15
Registered: August 2006
Junior Member
Yes,that's correct. I simply pasted the wrong line from my debugging efforts. I get the same error when I execute it properly in POSTROUTING.

Thanks,John
Re: iptables: Unknown error 18446744073709551615 (and yes, I've googled) [message #34064 is a reply to message #34063] Fri, 28 November 2008 19:08 Go to previous messageGo to next message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Then please make sure that ipt_MASQUERADE is loaded on the HN.
Re: iptables: Unknown error 18446744073709551615 (and yes, I've googled) [message #34096 is a reply to message #34064] Mon, 01 December 2008 17:35 Go to previous message
jbwiv is currently offline  jbwiv
Messages: 15
Registered: August 2006
Junior Member
Yes, making sure it was loaded in the hardware node solved the problem. I can't believe I missed something so simple! Thanks!
Previous Topic: Wrong quota
Next Topic: mingetty causing high load - fedora 10
Goto Forum:
  


Current Time: Fri Jul 26 02:25:03 GMT 2024

Total time taken to generate the page: 0.03280 seconds