Software :: Patching The Iptables With IMQ?
Jul 15, 2010
I'm trying to apply the IMQ patch to iptables-1.4.6 but I'm encountering an error following the instructions given here[URL] The patch appears to apply successfully but when I try to run the chmod command (chmod +x /extensions/.IMQ-test.*) is says 'no such file or directory'.When I check in extensions, there are no IMQ files, only one in the upper directory called libxt_IMQ.c How can I apply this patch successfully?
View 14 Replies
ADVERTISEMENT
Mar 30, 2010
Ubuntu 9.10 running as a guest on VMware esxi v4.0 I used the gui update manger and applied a whole lot of updates about 1 hour ago. During the update process it prompted me to use the "maintainer" version or "current", for what I have no idea, I wasn't paying much attention, and I guess thats where all the trouble began There were no other prompts, just the one above.Anyway I said use the "maintainers" version. The Update then completed and I rebooted. Only to have the screen sitting blank and black.
I hit alt-f1 and the following appears:
<start>
Gave up waiting for root device. Common problems:
- Boot args (cat /proc/cmdline)
- Check rootdelay= (did the system wait long enough?)
- Check root= (did the system wait for the right device?)
- Missing modules (cat /proc/modules; ls /dev)
[code]....
View 4 Replies
View Related
Aug 29, 2010
I've installed recently the latest version of Ubuntu (64 bits) on my notebook (Acer Aspire 5535), which has an AMD Athlon X2 QL-62, ATI Mobility Radeon HD 3200 and 4GB of RAM.The system runs pretty well, but I experience some hangups from time to time, resuming from hibernation won't show any image which forces me to shutdown the computer, and some ubuntu applications lock up, like the Administration > System Test (if I decide not to give admin priveleges).
I believe this is something to do with the kernel (using the 2.6.32-24-generic actually), I intend to patch it to the newest stable release in www.kernel.org which is 2.6.35.4. After I download it I used the command: "patch -E -p1 <patch 2.6.35.4" I do get lots of *.rej files, I believe to be some error files. I also tried the same command with "sudo".I restart the system and nothing happens, I end up with the same kernel.Is there an easy way to do this step-by-step for noobs and keeping all drivers/programs/and graphical appeareance?
View 4 Replies
View Related
Jun 10, 2011
How to get the Q2 patching logs of particular server (Linux 2.6.9-100.EL)
View 1 Replies
View Related
Apr 10, 2011
I need to perform patching on some RHEL boxes.
This the first time i am gonna do this. Kindly advise, how and what are the steps i should take to perform the OS patching.
View 6 Replies
View Related
Dec 5, 2009
I have been trying for few days on patching and compiling a Kernel, but got no success. I have been searching the web for pointers, but those I have found are very confusing. I did try them, yet same result.
I am trying to patch and compile with the following:
[Code]...
View 13 Replies
View Related
Sep 12, 2010
i cannot find how to sucessfully patch the ATH5k driver for aircrack for better support on injection. i tried this...[URL] but it was a no go for me... first... i untarred it to my desktop, then i patched the ATH5k driver but batch 2 failed and i had to take out the switches in the patch command to work. can someone please give me (and im sure many other people) a litteral step by step to patch this damn ATH5K driver, i got another one i want to patch with i found on the aircrack-ng that i want to patch as well but the same issue is there...i run Ubuntu 10.04 with the 2.6.32-25-generic kernel, no custom anythings, not even compiz.
View 4 Replies
View Related
Apr 28, 2011
I have been trying to get aircrack-ng program to get to work but apparently i needed a negative-one-channel-maxim patch in order for it to work successfully. I have looked over wiki of aircrack and followed the guide a few times but every time my compiled module was rejected my modprobe.
View 1 Replies
View Related
Apr 20, 2010
Im making plans to buy a 15" Dell Inspiron notebook as it's currently the cheapest 15" notebook which is available in my country, and from what I have read, the Dell WiFi card used in the notebook is Broadcom based, and that Broadcom had recently released hybrid drivers for their cards. Now, after browsing through OpenSUSE's HCL [URL] it seems that a patch to the drivers is needed.how do you patch the driver? Do you just go to <extracted driver directory>/src/wl/sys/wl_iw.c and just throw in this whole chunk of text anyway into the file, or is there something more to it?
Code:
@@ -580,6 +580,7 @@
range->enc_capa |= IW_ENC_CAPA_CIPHER_TKIP;
range->enc_capa |= IW_ENC_CAPA_CIPHER_CCMP;
range->enc_capa |= IW_ENC_CAPA_WPA2;
[code]....
View 6 Replies
View Related
Mar 8, 2010
When follow the below step for patching the file diff file1 file2 > patchfile.patch patch -p0 file1 < patchfile.patch but I got the following error after that Reversed (or previously applied) patch detected! Assume -R? [n] I dont know what happen here Kernel version is:
2.6.9-89.0.20.ELsmp
patch version is:
patch-2.5.4-20
View 1 Replies
View Related
Jun 17, 2010
Im trying to figure out what the latest patch set for ubuntu 10 did to my system.
When I login there USE to be a power off menu on the upper right of my screen.
Now to get my system to power down I have to login into to a terminal and issue sudo shutdown.
What happened to the power off menu?
I tried to update again but still nothing. Seems like some patch was bad?
View 5 Replies
View Related
May 28, 2011
I patched my wireless driver in order to support packet injection. Using this tutorial:
- Install the Firmware:
Code:
- Create new directory:
Code:
- Now disconnect Internet and unload all your driver (use rmmod command)
- Move/copy the Compat-Wireless patched in /usr/src/drivers directory and unpack the drivers:
Code:
Blacklist the wl driver: (STA driver)
Code:
Currently I'm running Ubuntu 10.10, Kernel 2.5.35-29-generic. I have a Broadcom 4318 for my WLAN and a Broadcom 4401-B0 for my ethernet. I followed the tutorial and I managed to get packet injection working on my WLAN; however, my ethernet connection isn't working. I tried sudo modeprobe b44, but I get the following message:
FATAL: Error inserting b44 (/lib/modules/2.6.35-29-generic/kernel/drivers/net/b44.ko): Invalid argument
View 9 Replies
View Related
May 21, 2009
I've never used a 64bit system set up this way. They've been pure 64bit with everything simply in /usr/lib with no /usr/lib64. IIRC That's how Arch used to do it.
My question is, should I continue patching all these makefiles that have libdir=/usr/lib hard coded to keep a sane system? What are the side effects of not putting all the libs in /usr/lib64? These are for the sources that don't use or follow --libdir= and LDFLAGS="-L/usr/lib64".
Can I rm -rf /usr/lib then ln -s /usr/lib64 /usr/lib and still have things work. There are a couple of files in /usr/lib now {codecs/ crda/ libsyslinux.a rpm/ sendmail siconv/ syslinux/ terminfo/ trn/} which came from a stock install.
There are not any 32bit programs I need to run. If I did, that's what KVM is for
PS. I want some Slackware64 Swag!
View 14 Replies
View Related
Nov 26, 2010
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.
View 2 Replies
View Related
Sep 17, 2010
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,
[root@myhome ~]# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
[code]....
View 6 Replies
View Related
Nov 3, 2010
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
[code]....
Safe.txt contains:
Code:
127.0.0.1
192.168.1.8
192.168.1.1
98.200.58.73
192.168.0.1
And the error message generated is:
Code:
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
[code]....
View 3 Replies
View Related
Jul 17, 2010
IPtables creates an error during startup as well as when I try to restart it: Here's the output of:
[Code]....
View 11 Replies
View Related
Apr 16, 2011
I am running Ubuntu server 10.10 and trying to setup iptables rules in /etc/if-up.d/iptables
Quote:
root@host# cat /etc/network/if-up.d/iptables
#!/bin/sh -e
iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
Problem is that iptables doesn't get updated and I don't see them when iptables -L is executed after reboot.
View 2 Replies
View Related
Apr 28, 2009
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?
View 4 Replies
View Related
Mar 1, 2011
I have a script: `cd $FILEPATH && patch -i $TMPFILEA2$FILETMPPATH` Variable $FILESPATH is = /tmp/ardiff.AvUUGfOKa2/a/hello/ and Variable $TMPFILEA2$FILETMPPATH is = /tmp/ardiff.AvUUGfOKa2/b/hello/hello.c.patch. I don't know, why is it no working from script file, it write me message to terminal: ./ardiff.sh: line 242: patching: command not found.
But I have no PATCHING command there!!!! The paradox is, when I want to patch it from terminal (I write it to terminal by keyboard, it works).
View 4 Replies
View Related
Jun 18, 2011
I am going to start studying IPTABLES for Linux Firewall. Can any one suggest me the best Book for IPTABLES contains everything of iptables.
View 2 Replies
View Related
Apr 14, 2011
I'm working on a Soekris net4801 that is running an unknown distro of Linux. The kernel is 2.4.29, and iptables is v1.3.4.
I can't work out how to save the iptables. I searched the whole system for files/folders containing the name "iptables" and got 3 results:
/user/local/lib/iptables
/sbin/iptables
/lib/iptables
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.
how I can save the iptables?
View 1 Replies
View Related
Feb 11, 2010
I was installing PECL extension. i have downloaded the setup. then whatever process is mension in this link i have done that. PHP: Installation - Manual. when i m doing patch <patchfile i m getting this patching file ssh2.c Hunk #1 FAILED at 477. 1 out of 1 hunk FAILED -- saving rejects to file ssh2.c.rej
View 1 Replies
View Related
Aug 16, 2010
I need to use hostnames in my iptables. When I go to restart iptables, it works fine but when I am rebooting the Linux server it fails during startup since the name service is started up after the iptables. Does anybody have recommendations to get around that? Should I set up a script to run the iptables after everything the server comes back up fully?
View 1 Replies
View Related
Feb 18, 2015
I`d like to block bruteforce attack from china, russia to my mysql and i want to open 3306 mysql port just for one type adress from internet like this:: 212.23.165.xxx, and for others I want to block just for 3306.In my new installaton of weezy I`ve not configured iptables..how should looks like iptables config and how to set iptables with this config?
View 3 Replies
View Related
Feb 1, 2009
I have been struggling with this for a very long time now. I have installed Fedora Core 9 on my computer. I have set it up as a caching-nameserver and this is working.
Then I wanted to secure my server with iptables, and I have so far made this script:
# Load the connection tracker kernel module
modprobe ip_conntrack
iptables -F
iptables -P INPUT DROP
iptables -P FORWARD DROP
[Code]....
I can reach the dns server with ping. When trying Nslookup it says that it got SERVFAIL from 127.0.0.1 trying next server, and then it times out.
My resolv.conf file lists:
nameserver 127.0.0.1
nameserver DNS-server
View 13 Replies
View Related
Nov 21, 2009
To remove it, 238 packages have to go. There are so may the board won't even allow me to post them all. [URL]
View 14 Replies
View Related
Dec 14, 2009
Im pulling my hair out trying to get ftp to work through iptables.Im using vsftpd
Table: filter
Chain INPUT (policy DROP)
num target prot opt source destination
1 ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
2 ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
[code].....
View 3 Replies
View Related
Mar 12, 2010
I've got a machine on my network that's just running default Ubuntu 9.10, but I was considering setting up a network dhcp service on it to manage my machines. As such I was just wondering about configuring the iptables for it.
Reading about, I believe all incoming connections are dropped by default in a standard installation of Ubuntu anyway. If so, is it simply a case of enabling UFW and using it to allow the appropriate port for the dhcpd service and not touching anything else and everything should remain secure?
View 1 Replies
View Related
Aug 13, 2010
I started to use ufw instead of iptables on the terminal, but was wondering if ufw could be installed on a redhat based system? I'm asking, because my office has a mix systems and would prefer to use ufw on these rpm based systems.
View 5 Replies
View Related