Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )

Advanced DNS Management
New ZoneEdit. New Managment.


Sign Up Now
Reply to this topicStart new topic
> Recompile Kernel w/o TCP/IP Stack, for Hogwash Inline Filter
cagey cretin
post Dec 23 2005, 09:22 AM
Post #1


Group: Members
Posts: 96
Joined: 9-September 03
Member No.: 1,413

Using a Redhat 9 install, I want to recompile the kernel without tcp/ip so I can use hogwash as an inline packet filter.

cd /usr/src/linux-2.4.20-8
make mrproper
make menuconfig
-------Uncheck TCP/IP in Networking Options
make dep
make clean

To this point, no errors. But here:

make zImage

Ends with several make errors regarding Union:

/usr/src/linux-2.4.20-8/include/net/TCP_ECN.h:54 union has no member named af_inet
/usr/src/linux-2.4.20-8/include/net/TCP_ECN.h:61 union has no member named af_inet

Followed a suggestion at this page to get a non-redhat kernel. I try 2.4.20 and get many errors.

So I try to continue anyway:

mkinitrd /boot/noip.img

I then add the new image as an option in the bootloader, and when this option is picked, it boots but it boots with TCP/IP running, so I know it didn't work...

Any suggestions?

Thanks in advance, JW
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 20th March 2018 - 06:31 PM