Networking Forums

Networking Forums > Computer Networking > Linux Networking > Micro-firewall compiled into the kernel

Reply
Thread Tools Display Modes

Micro-firewall compiled into the kernel

 
 
Russell Markus
Guest
Posts: n/a

 
      10-29-2003, 05:16 PM
I found an example of some firewall code using the netfilter hooks on
the web, the URL is www.geocities.com/victorhugo83/micro_firewall.c.
This code is supposed to be compilied into a kernel module. However,
I can't get it to compile on my system.

When I issue the "cc -c micro_firewall.c" command, I get:

In file included from /usr/include/linux/highmem.h:5,
from /usr/include/linux/skbuff.h:26,
from micro_firewall.c:13
/usr/include/asm/pgalloc.h:6:24 asm/fixmap.h: No such file or
directory

I am using kernel version 2.4.20-20.7 with the kernel source
installed. Any assistance would be greatly appreciated.

Russell Markus
(E-Mail Removed)
 
Reply With Quote
 
 
 
 
Doug Mitton
Guest
Posts: n/a

 
      10-29-2003, 05:44 PM
(E-Mail Removed) (Russell Markus) wrote:

>I found an example of some firewall code using the netfilter hooks on
>the web, the URL is www.geocities.com/victorhugo83/micro_firewall.c.
>This code is supposed to be compilied into a kernel module. However,
>I can't get it to compile on my system.
>
>When I issue the "cc -c micro_firewall.c" command, I get:
>
>In file included from /usr/include/linux/highmem.h:5,
> from /usr/include/linux/skbuff.h:26,
> from micro_firewall.c:13
>/usr/include/asm/pgalloc.h:6:24 asm/fixmap.h: No such file or
>directory
>
>I am using kernel version 2.4.20-20.7 with the kernel source
>installed. Any assistance would be greatly appreciated.
>
>Russell Markus
>(E-Mail Removed)



What does this offer over the normally builtin "iptables" packet
filter? Maybe I'm not clear on the difference between a "firewall"
and "iptables".

--
------------------------------------------------
http://www3.sympatico.ca/dmitton
SPAM Reduction: Remove "x." from my domain.
------------------------------------------------
 
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
"eth0: unknown interface" with newly-compiled kernel strnbrg Linux Networking 3 07-01-2008 02:03 AM
PLIP: how to assign IRQ when plip is compiled in the kernel? Nicole Linux Networking 2 12-19-2005 11:12 PM
PLIP: how to assign IRQ when plip is compiled in the kernel? Nicole Linux Networking 0 12-19-2005 09:06 PM
rc.firewall for linux kernel 2.4.26? Praveen Sharma Linux Networking 1 05-07-2004 03:59 PM
Kernel 2.6 IPSEC and Firewall Nadav Linux Networking 0 02-07-2004 10:06 PM



1 2 3 4 5 6 7 8 9 10 11