Iptables Module
May 27, 2009how can i chek that my iptables firewall have this module?
ipt_recent
and if it is not installed...
how can i chek that my iptables firewall have this module?
ipt_recent
and if it is not installed...
I've bought a basic unmanaged VPS, purely to learn things from it. The best way to learn imo is to hammer the hell out of things, break it, then try to fix it. Anyway, I think I'm part way there, pretty sure I've broken something
When I start the consoleSSH I get this at the top:
Warning: Unknown iptable module: xt_NFQUEUE, skipped
Warning: Unknown iptable module: xt_mark"IPTABLES="ipt_REJECT, skipped
Warning: Unknown iptable module: xt_NFQUEUE, skipped
Warning: Unknown iptable module: xt_mark"IPTABLES="ipt_REJECT, skipped
Warning: Unknown iptable module: xt_NFQUEUE, skipped
Warning: Unknown iptable module: xt_mark, skipped
Any ideas what's causing it and how I can fix it? ..............
root@myserver [/etc/apf]# apf -r
Opening /proc/modules: No such file or directory
Unable to load iptables module (ip_tables), aborting.
I temporarily enabled and activated Plesk firewall module (which I wish I didn't the first time) and for some reason it seems to have overwritten the default iptables configuration that was set, leaving my ftp unable to be logged into. I tried to disable the firewall module and reboot the server. It didn't work.
I also noticed that it somehow seem to have changed my hostname to my previous server hostname as well
Is there any way to completely revert back to original iptables settings before enabling the Firewall module?
What are the advantages/disadvantages of running PHP as Apache module vs. running PHP as CGI module on your server?
View 5 Replies View RelatedI execute the following commands, in the following order:
iptables --flush
iptables --zero
iptables -A INPUT -s 218.65.12.161 -j DROP
will that last command successfully ban that IP until reboot?
If not, what needs to be done? I can't access my site if I don't flush + zero iptables first but I need to be able to ban with iptables.
I didn't know if it should go in here on in Web Hosting.
One of the prospective hosts I'm looking at for shared hosting uses a phrase I'm not sure about what it means and the sales person I spoke to didn't know, either (and he tried to fudge it, which is worse than admitting you don't know.)
Anyway, one of the phrases used that I haven't seen anywhere else is that they have php5 "as a module" and I'm not sure what is meant by that. Each account is running a stand-alone instance of php? php5 is a module that's installed upon customer request?
Trying to troubleshoot an exploit where the code redirecting people to exploit sites is not in the website. I think a module is being loaded dynamically, but I am not seeing the entry point in the access logs. I restart httpd and the problem goes away temporarily.
Anyone see anything fishy?
==================
HTTPD MODULES
==================
[root@xxx ~]# httpd -L
<Directory (core.c)
Container for directives affecting resources located in the specified directories
Allowed in *.conf only outside <Directory>, <Files> or <Location>
<Location (core.c)
Container for directives affecting resources accessed through the specified URL paths
Allowed in *.conf only outside <Directory>, <Files> or <Location>
<VirtualHost (core.c)
Container to map directives to a particular virtual host, takes one or more host addresses
Allowed in *.conf only outside <Directory>, <Files> or <Location>
<Files (core.c)
Container for directives affecting files matching specified patterns
Allowed in *.conf anywhere and in .htaccess
when AllowOverride isn't None
<Limit (core.c)
Container for authentication directives when accessed using specified HTTP methods
Allowed in *.conf anywhere and in .htaccess
when AllowOverride isn't None
<LimitExcept (core.c)
Container for authentication directives to be applied when any HTTP method other than those specified is used to access the resource
Allowed in *.conf anywhere and in .htaccess
when AllowOverride isn't None
<IfModule (core.c)
Container for directives based on existance of specified modules
Allowed in *.conf anywhere and in .htaccess
when AllowOverride isn't None
<IfDefine (core.c)
Container for directives based on existance of command line defines
Allowed in *.conf anywhere and in .htaccess
when AllowOverride isn't None
<DirectoryMatch (core.c)
Container for directives affecting resources located in the specified directories
Allowed in *.conf only outside <Directory>, <Files> or <Location>
<LocationMatch (core.c)
Container for directives affecting resources accessed through the specified URL paths
Allowed in *.conf only outside <Directory>, <Files> or <Location>
<FilesMatch (core.c)
Container for directives affecting files matching specified patterns
Allowed in *.conf anywhere and in .htaccess
when AllowOverride isn't None
AuthType (core.c)
An HTTP authorization type (e.g., "Basic")
Allowed in *.conf only inside <Directory>, <Files> or <Location> and in .htaccess
when AllowOverride includes AuthConfig
AuthName (core.c)
The authentication realm (e.g. "Members Only")
Allowed in *.conf only inside <Directory>, <Files> or <Location> and in .htaccess
when AllowOverride includes AuthConfig
Require (core.c)
Selects which authenticated users or groups may access a protected space
Allowed in *.conf only inside <Directory>, <Files> or <Location> and in .htaccess
when AllowOverride includes AuthConfig
Satisfy (core.c)
access policy if both allow and require used ('all' or 'any')
Allowed in *.conf only inside <Directory>, <Files> or <Location> and in .htaccess
when AllowOverride includes AuthConfig
AddDefaultCharset (core.c)
The name of the default charset to add to any Content-Type without one or 'Off' to disable
Allowed in *.conf anywhere and in .htaccess
when AllowOverride includes FileInfo
AcceptPathInfo (core.c)
Set to on or off for PATH_INFO to be accepted by handlers, or default for the per-handler preference
Allowed in *.conf anywhere and in .htaccess
when AllowOverride includes FileInfo
AccessFileName (core.c)
Name(s) of per-directory config files (default: .htaccess)
Allowed in *.conf only outside <Directory>, <Files> or <Location>
DocumentRoot (core.c)
Root directory of the document tree
Allowed in *.conf only outside <Directory>, <Files> or <Location>
ErrorDocument (core.c)
Change responses for HTTP errors
Allowed in *.conf anywhere and in .htaccess
when AllowOverride includes FileInfo
AllowOverride (core.c)
Controls what groups of directives can be configured by per-directory config files
Allowed in *.conf only inside <Directory>, <Files> or <Location>
Options (core.c)
Set a number of attributes for a given directory
Allowed in *.conf anywhere and in .htaccess
when AllowOverride includes Options
DefaultType (core.c)
the default MIME type for untypable files
Allowed in *.conf anywhere and in .htaccess
when AllowOverride includes FileInfo...
while am installing some programs there is some problem in my php
PHP GD Module Not Found
how could i install it in SSH root?
I am trying to configure a 2.6.18 kernel and I cannot get it to read the raid5 module since my system is utilizing a software RAID5.
Whenever I build I receive the following error:
[root@localhost linux-2.6.18.8]# make install
sh /root/kernel/linux-2.6.18.8/arch/x86_64/boot/install.sh 2.6.18 arch/x86_64/boot/bzImage System.map "/boot"
WARNING: No module raid5 found for kernel 2.6.18, continuing anyway
I have tried versions 2.6.18 and 2.6.18.8 and both give me the same issue.
I have CONFIG_MD_RAID456=m in my .config so the module should be getting configured.
I tried ignoring the warning but when I boot up my system in 2.6.18 I get a kernel panic error, could not sync. (I'm guessing because it doesn't have the RAID module). Everything works fine when I boot up in the 2.6.9 CentOS kernel.
I would like to know is there any module for Apache which can collect information like who is surfing our website and how many pages they have accessed in last one hour. I know awstats or webalizer can do this but i need some thing realtime on apache level.
View 4 Replies View RelatedI found a script that updated php to 5.5, however it's only enabling me to run it as a CGI script, if I want to run PHP an Apache module, it's still only 5.3. How can I upgrade the Apache version?
View 3 Replies View Relatedhow I can get rid of this?
Code:
[28-Oct-2009 16:01:08] PHP Warning: Module 'eAccelerator' already loaded in Unknown on line 0
Check it out:
[url]
I have nothing to do with it. Just passing it along.
What is veportal?
vePortal is a VPS Commanding total system control Web-Based system that utilizes PHP Hyper-Threading resulting in major acceleration over competing products, As long as your server can meet the recommended system requirements our control panel and your users will never wait for a page to load for longer than the average website.
I have 5 servers spread out in different locations running Fedora Core, Webmin, and OpenVPN.
My most recent one I signed up with on here and for 2 weeks I have been doing various things to speed it up such as remove ipv6, change the dns servers, etc. and rebooting after making such changes.
Things were working properly and the server was rebooted last about 3 days ago after installing OpenVPN and Webmin. Yesterday afternoon the server suddenly stopped responding and dropped its VPN connections. I created a ticket with my hosts support center and they told me that the network module was uninstalled.
Is this possible? I have NEVER heard of any software uninstalling a network module and even more so suddenly stopping the service to uninstall it without a reboot?
Did my host just try to screw me to get a reimage fee on their cheap server?
Trying to Image::Magick via whm perl module installer. Got the below error.
{standard input}:99: Warning: size of "opacity" is already 2; not changing to 8
{standard input}:155: Warning: size of "backdrop" is already 4; not changing to 288
{standard input}:159: Warning: size of "magnify" is already 4; not changing to 288
make: *** [Magick.o] Error 1
JCRISTY/PerlMagick-6.40.tar.gz
/usr/bin/make -- NOT OK
CPAN: YAML loaded ok (v0.66)
Running make install
Make had returned bad status, install seems impossible
perlmod--Install done
I'm using perl 5.8.8
This is perl, v5.8.8 built for i686-linux
Will the APF firewall work without the "ip_tables" module? I contacted my server management company and told them my previous tech said enabling ip_tables module on any VPS on our system would cause a kernel panic. Their response was to install APF on the VPS in question and not enable ip_tables, saying it should still block IPs and ports that aren't supposed to be open. Is this true? Or am I getting the runaround?
View 5 Replies View RelatedWhat wil be the best way to protect an Apache server from a DDoS attack? Is there an Apache module for this type of problem?
View 14 Replies View RelatedI'm on a shared host that allows shell access. We need to install a PHP module -- they say we can, but they won't do it for us. Can anyone explain how we would accomplish that?
View 5 Replies View RelatedA customer recently asked me to install the ImageMagick wrapper for php, however I am having some difficulties getting it to show up in my phpinfo.php page.
i am running CentOS 5 and cpanel
Current versions of IM and php are
PHP 5.2.4 (cli) (built: Sep 18 2007 18:33:16)
Version: ImageMagick 6.3.2 09/18/07
The newest version of imagick wont even compile on my machine so i had to use the latest alpha release.
the extension reads fine in my php.ini file as:
extension=/usr/local/lib/php/extensions/no-debug-non-zts-20060613/imagick.so
Does anyone know how to get this installed correctly?
I'm using the vacation module that comes with Postfixadmin. I'm getting the
following message when trying to setup an autoresponse.
Unable to update your auto response settings!
The autoresponse gets added in the vacation table but the alias
myaddress@domain.tld@autoreply.domain.tld is not getting added to the alias table.
The weird thing is that its happenening to only some mailboxes and not all of them.
I can setup an autoresponse for some mailboxes but not for others.
Could it be because those mailboxes, the ones that where the autoresponder is not
working, already have an alias?
would I be able to install any additional php modules NOT listed in Cpanel (example memcache, ffmpeg, etc.) on a Cpanel server? If possible, how do I do it?
View 6 Replies View RelatedI have a server running Apache 2 with PHP as an Apache module. There are a few php scripts that use lots of cpu when they run and have lots of hits, but Apache is still running fine and pages and php scripts load pretty fast. I was just wondering if running PHP as fastcgi would use less cpu or make php scripts load faster.
View 0 Replies View Relatedwe need to install some perl modules in our server, how can I do it ? my server is Linux with PLESK.
View 2 Replies View RelatedI recently signed up with a reseller hosting account who told me that if I want to automate the domain registration with my WHMCS. -
"If you want to integrate it into WHMCS however to automate it, use the domain registration module "Net Earth One" "
now I consider myself a techie and can usually find stuff out on my own but this is killing me. I can't find one documentation on how to this "integration".
Where do I find this "module"? do I download this then install to WHMCS?
I just try to restart csf in my Centos server with Direct Admin and i got this error:
Quote:
*WARNING* Since the Virtuozzo VPS iptables ip_conntrack_ftp kernel module is currently broken you have to open a PASV port hole in iptables for incoming FTP connections to work correctly. See the csf readme.txt under 'A note about FTP Connection Issues' on how to do this if you have not already done so.
I think i don't have that module at all or not?
How can i add it?
I like to disable the CGI Module in httpd.conf. Can you please help me to disable the CGI Module.
View 5 Replies View RelatedI have had subversion installed on my cPanel server for some time, but I have some clients wanting to host their repositories as well. A lot of them aren't familiar with the command line like I am, so I was wondering if anybody knows about a cPanel plugin that could manage SVN repositories.
View 0 Replies View Relatedi have a dedicated server that i use for stream flv files. In this server i have apache.
Do you know any apache solution for prevent streaming of flv files to others domain name ? I want to stop leeching and permit stream of files only for my domain name. The htaccess solution in my case don't works...
I tried to install some software but I got this message:
Checking for perl modulesfailed
You need to install the LWP perl module (libwww-perl) to install ...
Does any one know how I can install this module or is it better to install/update the whole sets of perl module?
I cant make php 5.2.1 work as httpd 2.2.4 and 2.2.3 module. When loaded with php it makes httpd dont start at all without any errors in log even on debug level! However when I place php 5.2.0 as module it immediately starts working ok.
I've tested this with a standart ./configure without any parameters for both php and httpd, and httpd is always not working when it tries to load php 5.2.1 as module.
Did someone run php 5.2.1 with httpd >2.2.3 succesfully?