LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 01-09-2007, 05:32 PM   #1
mrtcn
LQ Newbie
 
Registered: Jan 2007
Location: London
Distribution: CentOS
Posts: 20

Rep: Reputation: 0
patch-o-matic problem..


Hi. I am trying to patch my kernel for iptables string function

Code:
make patch-o-matic KERNEL_DIR=/usr/src/linux-2.6.19.1
Code:
Welcome to Rusty's Patch-o-matic!

Each patch is a new feature: many have minimal impact, some do not.
Almost every one has bugs, so I don't recommend applying them all!
-------------------------------------------------------
Testing... 2.4.1.patch NOT APPLIED (4 rejects out of 6 hunks)
The 2.4.1 patch:
   Author: Rusty Russell <rusty@rustcorp.com.au>
   Status: Recommended (Already in 2.4.1 and above).

   This contains three fixes:

   1) A fix for complex routing setups, where route by firewall mark is
   combined with the MASQUERADE NAT target.

   2) A fix for a bug in NAT where the second of two overlapping
   connections is dropped (the code will correctly refuse to map two
   different connections onto one new connection, but it gives up too
   easily when this happends).  The most common symptom of this is ssh
   to or from a box doing masquerading fails, but others are possible.

   3) A fix for the mangle table for PowerPC and Sparc boxes.

Do you want to apply this patch [N/y/t/f/q/?] y
Testing patch 2.4.1.patch...
Failed to patch copy of /usr/src/linux-2.6.19.1
TEST FAILED: patch NOT applied.
-----------------------------------------------------------------
Do you want to apply this patch [N/y/t/f/q/?]
it always says that Failed to patch copy of /usr/src/path-to-kernel
i've tried to patch my old kernel, it did not work too (same errors) so i've downloaded new kernel.. but again same problem (2.6.19.1 is the new one and old one 2.6.9-42.0.3.EL-hugemem-i686)

thanks
 
Old 01-09-2007, 10:13 PM   #2
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
Are you using patch-o-matic or patch-o-matic-ng? Did you download kernel source or a binary?
 
Old 01-10-2007, 04:54 AM   #3
mrtcn
LQ Newbie
 
Registered: Jan 2007
Location: London
Distribution: CentOS
Posts: 20

Original Poster
Rep: Reputation: 0
I think it's patch-o-matic and i have downloaded kernel source..
 
Old 01-10-2007, 10:29 AM   #4
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
In that case you'll need to use patch-o-matic-ng. Regular patch-o-matic only works for the 2.4 kernels. You can get it from the netfilter.org site:
http://ftp.netfilter.org/pub/patch-o-matic-ng/
 
Old 01-21-2007, 04:14 PM   #5
mrtcn
LQ Newbie
 
Registered: Jan 2007
Location: London
Distribution: CentOS
Posts: 20

Original Poster
Rep: Reputation: 0
Can you help me to patch my kernel with patch-o-matic-ng for iptables string matching support? i need this urgently..
 
Old 01-23-2007, 10:10 PM   #6
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
I can't guarantee I can help you, but if you post what you are having problems with, it would be a start. Make sure you are using patch-o-matic-ng iptables source code and follow the tutorial. Please post as any errors or things you are confused about.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
patch-o-matic problem c0lin Linux - Security 3 06-16-2005 05:03 AM
problem with Patch-O-Matic nirav.jani Linux - Security 1 02-23-2005 09:22 AM
Patch-o-matic TTL Patch Knopper Fedora 1 02-02-2005 10:27 AM
Patch-o-Matic TTL Patch Knopper Linux - Networking 1 02-02-2005 09:27 AM
How to Install patch-o-matic(a iptables patch) on redhat 9? itebooks Linux - Security 1 07-23-2004 08:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 09:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration