 |
Your forum announcement here! |
|
 |

09-02-2007, 21:40
|
 |
Senior Member
|
|
Join Date: Feb 2007
Location: Darlington
Posts: 101
|
|
iptables
Hi I am trying to implement some iptables, so to add a "firewall" to our VPS Hosting. The rule I am trying to add is
Code:
iptables -A OUTPUT -m state --state NEW,RELATED,ESTABLISHED -j ACCEPT
however I just receive the error
iptables: No chain/target/match by that name
The library to use exists in /lib/iptables/libipt_state.so, however modprobe does not to add the module. I have installed module-init-tools with apt, but still no avail as I get presented the error when i try to modprobe the lib file.
FATAL: Could not load /lib/modules/2.6.9-023stab037.3-enterprise/modules.dep: No such file or directory
Any ideas?
|

09-02-2007, 21:49
|
|
Junior Member
|
|
Join Date: Oct 2006
Posts: 10
|
|
Hello,
It seems that some of the iptables modules' are not enabled for your VPS Hosting. Please contact the VPS Hosting support team regarding this with the details of your VPS Hosting so that they will enable it from the HW Node on which your VPS Hosting is hosted.
-Firew@ll
|

29-06-2007, 13:24
|
 |
Senior Member
|
|
Join Date: Feb 2007
Location: Darlington
Posts: 101
|
|
I've had to request this 3 times now; the first time was when I started this thread. 2nd time was after the recent OpenVz f**k up, and now I can't do my iptables again.
If I moved to Virtuozzo would I be able to control what modules are available in iptables?
|

29-06-2007, 19:43
|
 |
Premium Member
|
|
Join Date: Apr 2007
Location: Manchester, United Kingdom
Posts: 6,494
|
|
Quote:
Originally Posted by mephisto
I've had to request this 3 times now; the first time was when I started this thread. 2nd time was after the recent OpenVz f**k up, and now I can't do my iptables again.
If I moved to Virtuozzo would I be able to control what modules are available in iptables?
|
If you contact support again they could probably clear this up for you.
The first time you requested it did you get a satisfactory solution to your problem?
|

03-07-2007, 13:07
|
 |
Senior Member
|
|
Join Date: Feb 2007
Location: Darlington
Posts: 101
|
|
Yes they provided a satisfactory solution, what's not so great is that since requesting it to be fixed, it's broken twice. But anyway, it's fixed now.
|

03-07-2007, 15:18
|
|
Member
|
|
Join Date: Dec 2006
Location: UK
Posts: 92
|
|
iptables and openvz are notoriously difficult and can involve frequent intervention by systems admin because the modules have to be installed and configured to load on the node.
Which firewall are you running as a matter of interest? I run APF on one server and CSF on one here. Getting APF to work with OpenVZ was much like trying to change a wheel without a jack or spanner
For one instance I found that I had problems with Egress filters until I changedIFACE_IN="venet0" & IFACE_OUT="venet0" to IFACE_IN="venet0:0" & IFACE_OUT="venet0:0" yet I know that that syntax can cause problems on some systems.
I like the fact that CSF integrates well with mod_security but it fails on other things like not working with SMTP Block.
Last edited by Fidget; 03-07-2007 at 15:29.
|

03-07-2007, 15:31
|
 |
Chief Marketing Officer
|
|
Join Date: Sep 2005
Posts: 4,997
|
|
if you ignore the SMTP part then CSF is best option for Dedicated Servers as well as VPS Hosting's
We have done good amount of research on CSF and now we have CSF on all our shared as well as reseller hosting servers. it hardly takes anytime to install CSF from configserver.com
once you install and configure it then you can also remove apf from CSF.
__________________
UK Web Hosting || Business Hosting || eUKhost Knowledgebase
Toll Free : 0808 262 0255 || MSN : mark @ eukhost.com || AIM : eukmark
A bunch of Sheep led by a Lion is better than a bunch of Lions led by a Sheep.
__________________________________________________
Great Opportunity :: Join our Affiliate Program for FREE and earn 20% commission on each referral.
|

03-07-2007, 15:54
|
|
Member
|
|
Join Date: Dec 2006
Location: UK
Posts: 92
|
|
Quote:
Originally Posted by eukhost.com
once you install and configure it then you can also remove apf from CSF.
|
Yes, CSF even provides a link to do so after you've installed it!
Its interesting to see your support for CSF, I still see a lot of cpanel hosts recommending APF instead of CSF. I'm becoming tempted to replace APF with it. One thing APF doesn't have is the login failure daemon, and like I said the mod_security integration allowing for automatic blocking triggered by mod_sec and of-course WHM integration.
|

03-07-2007, 15:56
|
|
Member
|
|
Join Date: Dec 2006
Location: UK
Posts: 92
|
|
Quote:
Originally Posted by eukhost.com
... we have CSF on all our shared as well as reseller hosting servers ...
|
Can you tell me of a way to hide it from the Plugins section of client WHM accounts?
|

03-07-2007, 16:00
|
 |
Junior Member
|
|
Join Date: Oct 2006
Posts: 15
|
|
Hello,
There is no such setting to hide Plugins options in WHM.
__________________
Best Regards,
Access Denied
|

03-07-2007, 16:10
|
|
Member
|
|
Join Date: Dec 2006
Location: UK
Posts: 92
|
|
Quote:
Originally Posted by Access Denied
Hello,
There is no such setting to hide Plugins options in WHM.
|
I know this. But I know of some hosts who use CSF but it does not show in the plugins section, so there must be a way. I'd certainly prefer to hide it anyway.
|

03-07-2007, 16:47
|
 |
Junior Member
|
|
Join Date: Oct 2006
Posts: 15
|
|
Hello,
If you only want to hide CSF in Plugins then place a ticket to support department, they will help you better. But, you can easily configure CSF from WHM.
__________________
Best Regards,
Access Denied
Last edited by Access Denied; 03-07-2007 at 16:49.
|

03-07-2007, 17:25
|
|
Member
|
|
Join Date: Dec 2006
Location: UK
Posts: 92
|
|
I asked if it could be hidden in client WHMs, I'd still want it available in mine if possible otherwise it defeats the object. And I'm willing to discuss it here, please let EUK reply 
|

03-07-2007, 17:58
|
 |
System Administrator
|
|
Join Date: Mar 2007
Posts: 93
|
|
Hello,
Yes it's possible to install CSF firewall on VPS Hosting in such a way it will not show you up in Plugins.
|

03-07-2007, 18:42
|
|
Member
|
|
Join Date: Dec 2006
Location: UK
Posts: 92
|
|
Quote:
Originally Posted by Ramon
Hello,
Yes it's possible to install CSF firewall on VPS Hosting in such a way it will not show you up in Plugins.
|
Can you tell us how Ramon?
|

03-07-2007, 19:11
|
 |
System Administrator
|
|
Join Date: Mar 2007
Posts: 98
|
|
Hello,
It's not possible to install CSF by a client on a VPS Hosting as CSF blocks all the incoming and outgoing traffic. We need to manually edit CSF configuration files from the main server. So if you want to install CSF on a VPS Hosting you need to open a ticket at <a href="http://www.eukhost.com/vps-...a>@eukhost.com and we will install it for you.
|

03-07-2007, 19:25
|
|
Member
|
|
Join Date: Dec 2006
Location: UK
Posts: 92
|
|
Huh?
I've done it several times and have always done it myself. CSF only blocks anything when you start it and by default it installs in a stopped state and even then if you enabled it it is set in Dev mode until you change that.
|

03-07-2007, 19:51
|
 |
System Administrator
|
|
Join Date: Oct 2006
Posts: 214
|
|
Fidget ,
If you would like to hide CSF option in whm then you need to run install.generic.sh for installation.
Installation is quite straightforward:
=========================================
wget http://www.configserver.com/free/csf.tgz
tar -xzf csf.tgz
cd csf
sh install.generic.sh
If you would like to disable APF+BFD (which you will need to do if you have
them installed otherwise they will conflict horribly):
sh disable_apf_bfd.sh
That's it. You can then configure csf and lfd by editing the files directly in
/etc/csf/*
csf is preconfigured to work on a generic Linux server with the standard web
server ports open. It also auto-configures your SSH port if it's non-standard
on installation.
You should ensure that kernel logging daemon (klogd) is enabled. Typically, VPS Hosting
servers have this disabled and you should check /etc/init.d/syslog and make
sure that any klogd lines are not commented out. If you change the file,
remember to restart syslog.
|

03-07-2007, 22:35
|
 |
Senior Member
|
|
Join Date: Feb 2007
Location: Darlington
Posts: 101
|
|
Quote:
|
Originally Posted by Fidget
Which firewall are you running as a matter of interest?
|
Umm, I wrote my own 
|

03-07-2007, 22:40
|
 |
Premium Member
|
|
Join Date: Apr 2007
Location: Manchester, United Kingdom
Posts: 6,494
|
|
Quote:
Originally Posted by mephisto
Umm, I wrote my own 
|
That must have been some feat! 
| |