LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Closed Thread
  Search this Thread
Old 01-30-2011, 12:50 PM   #1
sk2001
LQ Newbie
 
Registered: Jan 2011
Posts: 3

Rep: Reputation: 0
kernel-2.6.27 & u32 module


Hi,

I am building the kernel for a MIPS processor and downloaded the kernel from kerneo.org, version 2.6.27.

I need to add module U32 into the netfilter.

In the downloaded kernel source I did not see the code for tx_u32.c. Pls let me if this code needs to be patched in? If yes, where do I find the code?


Thanks,
Sridhar
 
Old 01-30-2011, 02:05 PM   #2
xeleema
Member
 
Registered: Aug 2005
Location: D.i.t.h.o, Texas
Distribution: Slackware 13.x, rhel3/5, Solaris 8-10(sparc), HP-UX 11.x (pa-risc)
Posts: 988
Blog Entries: 4

Rep: Reputation: 254Reputation: 254Reputation: 254
Greetingz!

Please do not post the same things to multiple sections of LQ. You posted in both "Linux Newbie" and "Linux from Scratch" about the same thing.
Take a moment to read our rules as we specifically mention this;
"Do not post the same discussion in more than one forum. Duplicate discussions can be frustrating for other members. Try and pick the most relevant forum for your post. If you are unsure put it in Linux - General."

With that being said; it seems like you're interested in the U32 "patch" to NetFilter (as described here), right?

Maybe you'll have some luck with the 2.6.33.7 (02aug10) kernel, which will require iptables 1.4.10.
Because what you seem to be looking for is in iptables 1.4.10;

Code:
luser@lhost$ head -12 ./iptables-1.4.10/extensions/libxt_u32.c
/* Shared library add-on to iptables to add u32 matching,
 * generalized matching on values found at packet offsets
 *
 * Detailed doc is in the kernel module source
 * net/netfilter/xt_u32.c
 *
 * (C) 2002 by Don Cohen <don-netf@isis.cs3-inc.com>
 * Released under the terms of GNU GPL v2
 *
 * Copyright © CC Computer Consultants GmbH, 2007
 * Contact: <jengelh@computergmbh.de>
 */
luser@lhost$
 
Old 01-30-2011, 04:22 PM   #3
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

Continue here: http://www.linuxquestions.org/questi...module-859585/
 
  


Closed Thread


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
[SOLVED] About iptables with u32 module skiron.liu Linux - Software 7 07-03-2009 10:38 AM
Nvidia Kernel Module & Kernel source KinnowGrower Linux - Desktop 2 09-29-2008 10:23 PM
Kernel & Kernel-module memory Usage ascetic angel Linux - Kernel 1 09-14-2008 08:30 PM
u32 typedef: kernel source jhwilliams Linux - General 1 09-06-2007 10:42 AM
IPtables: U32 kernel version compatibility maxx.usr Linux - Kernel 4 04-09-2007 01:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

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