LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-21-2006, 12:44 PM   #1
Mithrilhall
Member
 
Registered: Feb 2002
Location: Adamstown, Pitcairn Islands
Distribution: Neon
Posts: 291

Rep: Reputation: 30
Question Patching & Compiling a Kernel (iptables)


I've downloaded a vanilla kernel and patched it with Linux layer 7 packet classifier.

I know that I need to download iptables source and patch it and compile it as well but do I need to patch and compile the kernel before I patch and compile iptables?

I know I have to at least patch the kernel first before I patch iptables.
 
Old 12-21-2006, 07:39 PM   #2
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
I have no idea what the "Linux layer 7 packet classifier" is, but from an architecture point of view, you certainly would want to patch and compile the kernel before you patch and compile IP tables.

If the software depends on some modifications to the kernel, it won't/can't run until the correct kernel version is in place. Best case scenario doing IP tables before the kernel is it just won't work as it is expected to.

Think about it this way - the kernel is the first floor of a house, and everything else is a higher floor. If you were going to have work done on both the 1st floor (kernel) and 2nd floor (software), would you do work on the 2nd before the 1st was done? No. Get the base correct, then build on top of it, not get the top right then try to support it (and drop and break it in the process)!

Peace,
JimBass
 
Old 12-22-2006, 09:23 AM   #3
Mithrilhall
Member
 
Registered: Feb 2002
Location: Adamstown, Pitcairn Islands
Distribution: Neon
Posts: 291

Original Poster
Rep: Reputation: 30
Thanks JimBass, that's what I was thinking.
 
Old 12-22-2006, 12:25 PM   #4
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
Not a problem at all man. Enjoy yourself!

Peace,
JimBass
 
  


Reply



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
Need help on compiling/patching adding new kernel furiousn00b Linux - General 7 09-06-2006 12:37 AM
Patching IPTABLES ?? Need Help?? Sevensins Linux - Security 2 09-06-2005 04:53 AM
compiling iptables into custom kernel straxus Linux - Newbie 1 03-26-2005 10:32 PM
true way on compiling kernel and static iptables klog2_k Linux - Software 0 07-15-2003 10:21 PM
patching and re-compiling kernel denbark3725 Linux - Newbie 1 07-11-2002 12:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:06 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