LxCenter HyperVM & Kloxo Support

Forum



Members   Search      Help    Register    Login    Home
Home » HyperVM Community Support » HyperVM OpenVZ » Iptables ip ban rule with comment (error: 4294967295)
Iptables ip ban rule with comment (error: 4294967295) [message #97098] Mon, 26 March 2012 19:44 Go to next message
ediz is currently offline ediz  Turkey
Messages: 6
Registered: March 2012
Member
In my vps (Hypervm) i need to add ip bans with comments

When i send;
> iptables -A INPUT -s 222.111.111.111 -j DROP -m comment --comment "spammer123"


I receive;
> iptables: Unknown error 4294967295

I research almost 2 hours but i find nothing, someone says "its a bug and you have to rebuild kernel!?"

Anyone know solution OR different methode for comment/note ?

Thank you.


Re: Iptables ip ban rule with comment (error: 4294967295) [message #97113 is a reply to message #97098] Tue, 27 March 2012 10:30 Go to previous messageGo to next message
shazar is currently offline shazar  United States
Messages: 1856
Registered: May 2011
Grandmaster
LxCenter Core Team Member
LxCenter Representative
OpenVZ?

https://www.mercuryvps.com
HyperVM Xen VPS hosting
Re: Iptables ip ban rule with comment (error: 4294967295) [message #97114 is a reply to message #97113] Tue, 27 March 2012 10:58 Go to previous messageGo to next message
ediz is currently offline ediz  Turkey
Messages: 6
Registered: March 2012
Member
I dont know exacly,
i see "centos-5-i386-cpanel-11.24.2" In Hypervm and "CENTOS 5.8 i686 virtuozzo" in Whm.


I try yum update iptables and yum update kernel but nothing happened just "no package marked for update" message.

[Updated on: Tue, 27 March 2012 11:08]

Report message to a moderator

Re: Iptables ip ban rule with comment (error: 4294967295) [message #97115 is a reply to message #97114] Tue, 27 March 2012 11:01 Go to previous messageGo to next message
shazar is currently offline shazar  United States
Messages: 1856
Registered: May 2011
Grandmaster
LxCenter Core Team Member
LxCenter Representative
from the shell paste the output of uname -a

https://www.mercuryvps.com
HyperVM Xen VPS hosting
Re: Iptables ip ban rule with comment (error: 4294967295) [message #97116 is a reply to message #97115] Tue, 27 March 2012 11:09 Go to previous messageGo to next message
ediz is currently offline ediz  Turkey
Messages: 6
Registered: March 2012
Member
Quote:
I try yum update iptables and yum update kernel but nothing happened just "no package marked for update" message.



root@asd [~]# uname -a
Linux asd.mypagee.com 2.6.18-128.1.1.el5.028stab062.3PAE #1 SMP Tue May 5 17:50:37 MSD 2009 i686 i686 i386 GNU/Linux


[Updated on: Tue, 27 March 2012 11:09]

Report message to a moderator

Re: Iptables ip ban rule with comment (error: 4294967295) [message #97121 is a reply to message #97116] Tue, 27 March 2012 12:10 Go to previous messageGo to next message
shazar is currently offline shazar  United States
Messages: 1856
Registered: May 2011
Grandmaster
LxCenter Core Team Member
LxCenter Representative
Can you run iptables at all or is the problem just with a comment? Basically the person who mentioned kernel is right. The OpenVZ host has control over how iptables is done.

https://www.mercuryvps.com
HyperVM Xen VPS hosting
Re: Iptables ip ban rule with comment (error: 4294967295) [message #97124 is a reply to message #97121] Tue, 27 March 2012 12:41 Go to previous messageGo to next message
ediz is currently offline ediz  Turkey
Messages: 6
Registered: March 2012
Member
I can run iptables without problem only i cant add comment and i have to.


Is that problem depend to vps provider or main server ?

[Updated on: Tue, 27 March 2012 12:41]

Report message to a moderator

Re: Iptables ip ban rule with comment (error: 4294967295) [message #97125 is a reply to message #97124] Tue, 27 March 2012 12:46 Go to previous messageGo to next message
shazar is currently offline shazar  United States
Messages: 1856
Registered: May 2011
Grandmaster
LxCenter Core Team Member
LxCenter Representative
I just know with OpenVZ the host can disable you from using iptables altogether, so I think it is related.

https://www.mercuryvps.com
HyperVM Xen VPS hosting
Re: Iptables ip ban rule with comment (error: 4294967295) [message #97126 is a reply to message #97125] Tue, 27 March 2012 12:51 Go to previous messageGo to next message
ediz is currently offline ediz  Turkey
Messages: 6
Registered: March 2012
Member
Thank you @shazar
Re: Iptables ip ban rule with comment (error: 4294967295) [message #97130 is a reply to message #97126] Tue, 27 March 2012 14:58 Go to previous messageGo to next message
shazar is currently offline shazar  United States
Messages: 1856
Registered: May 2011
Grandmaster
LxCenter Core Team Member
LxCenter Representative
Let us know if your host helps as it may be helpful to others in the future to know the question to ask and to whom.

https://www.mercuryvps.com
HyperVM Xen VPS hosting
Re: Iptables ip ban rule with comment (error: 4294967295) [message #97132 is a reply to message #97130] Tue, 27 March 2012 16:30 Go to previous messageGo to next message
ediz is currently offline ediz  Turkey
Messages: 6
Registered: March 2012
Member
Problem solved by vps hosting provider, probably problem was from virtualisation software.

Thank you again.
Re: Iptables ip ban rule with comment (error: 4294967295) [message #97149 is a reply to message #97132] Wed, 28 March 2012 08:29 Go to previous messageGo to next message
shazar is currently offline shazar  United States
Messages: 1856
Registered: May 2011
Grandmaster
LxCenter Core Team Member
LxCenter Representative
Can you ask them to what they did and post for others or for inclusion into the HyperVM OpenVZ driver?

https://www.mercuryvps.com
HyperVM Xen VPS hosting
Re: Iptables ip ban rule with comment (error: 4294967295) [message #97261 is a reply to message #97149] Sat, 31 March 2012 02:16 Go to previous message
semir is currently offline semir  Hungary
Messages: 976
Registered: January 2011
Location: Hungary
Senior Master
Forum Moderator
LxCenter Evangelist
Hi Shazar!

Mostly complete list of iptables modules known by openvz:


IPTABLES="ipt_REJECT ipt_tos ipt_limit ipt_multiport iptable_filter iptable_mangle
ipt_TCPMSS ipt_tcpmss ipt_ttl ipt_length iptable_nat ip_tables ipt_ttl ipt_TCPMSS ipt_tos
ipt_REJECT ip_conntrack_ftp ipt_LOG 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 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"


ProfiVPS.com Cheap VPS hosting! Buy it from me Smile
ProfiVPS.hu Megbízható, Olcsó VPS bérlés, Virtuális szerver bérlés

If I helped you, please consider putting my link on your site/blog! Thank you in advance Smile
Previous Topic:New OpenVZ updates causing issues with HyperVM
Next Topic:could not find filesystem '/dev/root' on boot
Goto Forum:
  


Current Time: Tue May 21 13:45:01 EDT 2013

Total time taken to generate the page: 0.01249 seconds
.:: Contact :: Home :: Privacy ::.

Click here to lend your support to: LxCenter and make a donation at www.pledgie.com !

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software