Software :: Iptables Modules Are Not Listed With Lsmod
Jan 20, 2011
I was putting together my iptables rules based on "LINUX FIRE WALLS Attack Detection and Response with iptables, psad, and fwsnort" by Michel Rash.Based on the above, are the naming conventions used for netfilter modules changed? If so, could someone point in the right direction to get the facts from. I am worried that I am not getting the modules loaded to match the rules in my firewall. I was also trying to set up string matching and noticed that some things have changed. Perhaps I need to read a more updated book on iptables / netfilter.
I use Debian 5.0.6 32-bit through VMware workstation installed on my Windows Server 2003. I just simply installed it from CD-1 and I use Directadmin on that.
I need a lot of iptables commands for blocking but I keep getting missing module errors on that one, I did lsmod | grep -i iptables to see there are no modules. It should have been installed by the disc image but I don't know why it didn't. So I now want to know how to get those modules required by iptables.
About 1 shutdown in 3, my PC just hangs and doesn't actually power off. If I hit "escape" early enough during this, the last output is "iptables unloading modules", and nothing else changes. Wait long enough and hitting escape will not do anything, but still computer does not shutdown
i just upgraded to ubuntu 10.04 the netbook distro. at the desktop view there is a list of about 10 buttons/menus listed on the left hand side, is there anyway to control what buttons/menus are listed and which icons are listed under each of them? having a netbook i would like to remove and unclutter the desktop view as much as possible but i dont want to remove those apps i still want to be able to open those apps if i want to even if by removing those icons and menus/buttons makes it a pain.
I recently installed Fedora 14 from KDE live CD . everything is working excellent except when I tried to do lsmod today, I got lsmod:command not found error.I checked and found that PATH did have /sbin and /sbin/lsmod does exist. But /sbin/lsmod points to /bin/lsmod (which does not exist)I did whatprovides on lsmod and found module-init-tools-3.11.1-2.fc13.i686 as the package.
I've just been trying to troubleshoot a problem by installing and activating the proprietary BCM4318 drivers instead of the ones that came with Maverick.I used System-Administration-Additional Drivers to install the new drivers. As far as I can tell from lsmod and URL... the new drivers are known as b43.It didn't occur to me to run lsmod prior to this, and now I'm curious - what would the non-proprietary drivers that came with Maverick have shown as in the lsmod output?
I want set up VPN on my VPS but when i try to turn on tun/tap i see:
:/lib/modules# modprobe tun FATAL: Could not load /lib/modules/2.6.18-194.17.1.el5.028stab070.7PAE/modules.dep: No such file or directory os : debian 5 (folder lib/modules is empty)
I've been trying to load my pcmcia network card driver "xirc2ps_cs" at startup with no success. I have added "modprobe xirc2ps_cs" to the rc.modules file but it doesn't load at startup. Curiously, though, if I execute rc.modules AFTER the machine has booted it will load the modules just fine. Just not during the boot up process. Thinking that hotstart might have been causing problems I've disabled hotstart (chmod -x) temporarilly to remove it from the picture, but there was no change.
Tonight I installed ubuntu 10.10 (32 bit) on an external usb harddrive with a dvd I burned and I used my older desktop. I disconnected all internal and external drives first so everything had to be put on the usb drive I selected (only option available). I used the option to load extra software, use the entire hard drive, and let the software do it's thing. I basically had no options where to put things and it didn't have much choice.
When I boot the usb drive on my laptop (win 7 64 bit) by telling the bios to boot to it first... I get an error: modprobe: FATAL Could not load /lib/modules 2.6.35-22 generic modules No such file or directory. This message appears twice and then it does boot into ubuntu and seems to work fine. I'm new to this OS so that is an uneducated guess but the things I have done seem to be working. So exactly what is this error referring too? Is there a way to fix the problem or do I just ignore it.
I am trying to setup Slacware 13.1 x86_64 to a encrypted partition. I used the README_CRYPT.TXT howto : [URL] At the step when I create an initrd.gz I get this error: Quote: ERROR: No /lib/modules/2.6.33.4-smp kernel modules tree found for kernel "2.6.33.4-smp"
I tried to look into the directory and there was only modules under 2.6.44.3. So I tried to change the command into: Quote: mkinitrd -c -k 2.6.33.4 -m ext3 -f ext3 -r cryptroot -C /dev/sda2
This command was successful, but I don't know if this is alright. I made the changes in lilo.conf, add initrd = initrd.gz. This is all on unencrypted /boot partition. The boot=/dev/sda1 I also set for the unencrypted boot partition. When I boot the system I get a kernel panic:
I was trying to install VirtualBox through the YaST > Software Management but it is not working, someone in the forum told me that I have to download the OSE version and do it manual way. Finally I am able to start up VB but not able to use the network connection. Thus I am trying to do this:
/etc/init.d/vboxdrv setup. I get this error:
[code]...
When I type dmesg, it shows me a bunch of info which I don't know what should look for. When I type modprobe vboxnetflt, I get the error: FATAL: Error inserting vboxnetflt (/lib/modules/2.6.37.1-1.2-default/updates/vboxnetflt.ko): Invalid module format. what should I do in order to get my VB to be able to connect to the internet?
Sometimes I have problems with modules not loaded properly /etc/rc.d/rc.modules, is it recommended to add codes to load modules in other scripts in /etc/rc.d/.
I am unable to restore my iptables from iptables-save after upgrading Fedora. I cannot get iptables-restore to work, and I have resorted to entering rules manually using the GUI.
I am facing a strange problem witht my iptables as there are some firewall entries stored somewhere which is displaying the below firewall entries even after flushing the iptables & when I restart the iptables service then the firewall entries are again shown in my iptables as shown below,
I recently installed a new Ubuntu PC that runs iptables and PSAD. I had the same script on another Ubuntu PC, but when I copied the script onto the new PC, I got this error. I don't remember where I found the tutorial for this, all I know is that this is the script (Edited for my usage):
Code:
#!/bin/bash # Script to check important ports on remote webserver # Copyright (c) 2009 blogama.org # This script is licensed under GNU GPL version 2.0 or above
root@NETWORK-SERVER:/var/ddosprotect# ./ipblock.sh ' not found.4.4: host/network `127.0.0.1 Try `iptables -h' or 'iptables --help' for more information. ' not found.4.4: host/network `192.168.1.8
To expand: I'm trying to set up a box with l7-filter, and I need to patch and compile iptables 1.4.1.1 as part of the process. I ./configured it with the prefix= argument so it would install into /sbin instead of /usr/sbin, and I did a yum remove iptables before installing it so as not to get in the way of the original iptables, but I'm wondering if this is really necessary - it's kind of annoying, because removing the original iptables removes the init.d script, deregisters the service, etc. If I don't, is it possible that iptables 1.4.1.1 might get overwritten in a system update or something, or will yum see that I've got a custom/newer version in there and leave it be?
I've tried iptables save, iptables-save and iptables save active.
"iptables save" and "iptables save active" give me an invalid argument error. "iptables-save" isn't a valid command. "iptables --help" gives me a list of valid switches, none of which have to do with saving.
I've noticed the /dev/dsp no longer exists, well not on this machine.Running FC13 x86_64Listing devices from /proc there is "audio" and "alsa"Do I use mknod to create /de/dsp and link it to either "audio" or "alsa"
I have installed 9.10 and do not have any sound at all. i did do a list of playback devices with aplay-l and it did not list anything. I looked in sound props and didn't find one either. I have had other versions of Ubuntu and had no problems. the machine I've loaded is a Toshiba laptop.
I had Windows XP and Suse 9.2 running in a 486 Optima MyPC.A toggle switch connected to the master pins of 2 40GB hard drives allowed either operating system to be selected for boot up.The Optima recently died, the 2 hard drives and selector switch have been located in a Dell Dimensions 8300 Bios Rev A04.Needless to say Windows will not start but Suse does and the data on both drives is viewable and Open Office 1.1 useable.The 2 DVD/CD drives in the Dell unit are not detected.How do make these drives operational?You will appreciate I am not too familiar with Suse Linux, having tried several methods I often get "You don't have permission" or similar.How do I change to the Top Level Permission?
We have a cross-platform file manager Acelet Filer (for linux, solaris and Windows) at URL... It looks like WindowsExplorer of Windows XP. So Window-ers do not need to change their finger habits.It is freeware: free to use, free to distribute. We publish it as a deb package and Java installer. How to make it be listed in Linux repositories?
How to find packages with aptitude. If I use the shell to type "aptitude search nethack" then I get a list of several nethack versions from which to choose. If I use the aptitude GUI and type Ctrl-T and then arrow over to the search option and type in "nethack" and hit Enter, the only option that I see is nethack-spoilers. Why do I not see all of the other nethack options?
Since installing debian 8.2 I have had a list of errors appear during the boot, I get the usual Loading, please wait message then a series of random errors.I think I am stuck in initramfs, then typing exit resumes boot. Should I be concerned and can I jump straight into the login screen without typing exit each time?
I have been using Suse Linux for years and I must ask some basic questions about repositories which may be elementary to many. Recently I was redirected to a repository with over 30 rpms and I figured it is time to ask the questions. Is it implied that when you go to a repository that one has to select and install all the listed rpm's?
If so, which order do you use? Is there some tool to load all at once instead of individually? If not, is there an intelligent way to select the ones you need or does one simply use "trial and error" approach? Can you skip development rpms?