Skip to contentSkip to conversation

Netfilter as an application.

DISCUSSION kernel_learner 5 participants 6 messages Jan 16, 2004 – Jan 22, 2004

lore
Share & tools
lore
#0 lore raw

Dear All,

How's it going! I am looking for something that I am
not sure currently exists. Basically I want to make a version of netfilter that's free from all the kernel-level and networking stack hooks. I am looking for a plain simpler version of netfilter which does not interact with the kernel or the networking stack in any way. It would be a standard user program which a person with normal privelges could compile and run. What would it do? It could do the same things that netfilter does...i.e. filter packets/NAT etc. However the input could be driven from a "main" function which "fakes" packets arriving on the network (this could be driven from a trace).

Does such a thing exist?

How easy/difficult would it be to hack into the current netfilter code to remove all the networking/kernel hooks it has?

Could someone guide me as to how exactly to go about doing this? i.e. where the hooks are..in the code?

I was also looking for documentation on the code...I mean is there a documentation that explains the software architecture?

Sorry for too many questions! :|

Cheers!
KeRNEL_LeaRNER

"Metallica- The mother of all ye metal bands."

__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus

#1 lore raw

am Fri, dem 16.01.2004, um 8:39:06 -0800 mailte kernel_learner folgendes:

Quoted 8 lines

How's it going! I am looking for something that I am
not sure currently exists. Basically I want to make a version of netfilter that's free from all the kernel-level and networking stack hooks. I am looking for a plain simpler version of netfilter which does not interact with the kernel or the networking stack in any way. It would be a standard user program which a person with normal privelges could compile and run.

Very bad. Every can modify the rules. I think, you search 'Zonealarm for Linux'.

Quoted 2 lines

What would it do? It could do the same things that netfilter does...i.e. filter packets/NAT etc. However

Why?

Quoted 1 line

Does such a thing exist?

I hope: no.

Quoted 4 lines

How easy/difficult would it be to hack into the current netfilter code to remove all the networking/kernel hooks it has?

This is not the intention of netfilter.

Andreas

Signature · 4 lines
Diese Message wurde erstellt mit freundlicher Unterstützung eines freilau-
fenden Pinguins aus artgerechter Freilandhaltung.   Er ist garantiert frei
von Micro$oft'schen Viren. (#97922 http://counter.li.org)     GPG 7F4584DA
Was, Sie wissen nicht, wo Kaufbach ist? Hier: N 51.05082°, E 13.56889° ;-)
#2 lore raw
Quoted 4 lines · Andreas Kretschmer
Quoted 2 lines

It would be a standard user program which
a person with normal privelges could compile and run.

Very bad. Every can modify the rules. I think, you search 'Zonealarm for Linux'.

Iptables is already simple to use . there is also shorewall that can make the use easier ( for some )

Just think what would be the weird if any user can add the firewall rule on a box . Do you really think something will work ?

Quoted 3 lines
Quoted 2 lines

What would it do? It could do the same things that netfilter does...i.e. filter packets/NAT etc. However

Why?

I think you should contribute to netfilter's documentation and give some simple and explained rules examples , you'll see that iptables will be simple ti use ... :-)

Quoted 3 lines
Quoted 1 line

Does such a thing exist?

I hope: no.

the same to me .

Signature · 3 lines
Rakotomandimby Mihamina Andrianifaharana
Tel : +33 2 38 76 43 65
http://stko.dyndns.info/site_principal/Members/mihamina
#3 lore raw

Hi,

you can use fwbuilder and sudo...
so a normal user can use tables
or did i miss something?

-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]]Im Auftrag von Rakotomandimby Mihamina
Gesendet: Samstag, 17. Januar 2004 21:32
An: [email protected]
Betreff: Re: [despammed] Netfilter as an application.

Quoted 4 lines · Andreas Kretschmer
Quoted 2 lines

It would be a standard user program which
a person with normal privelges could compile and run.

Very bad. Every can modify the rules. I think, you search 'Zonealarm for Linux'.

Iptables is already simple to use . there is also shorewall that can make the
use easier ( for some )

Just think what would be the weird if any user can add the firewall rule on a
box . Do you really think something will work ?

Quoted 3 lines
Quoted 2 lines

What would it do? It could do the same things that netfilter does...i.e. filter packets/NAT etc. However

Why?

I think you should contribute to netfilter's documentation and give some simple and explained rules examples , you'll see that iptables will be simple
ti use ... :-)

Quoted 3 lines
Quoted 1 line

Does such a thing exist?

I hope: no.

the same to me .

--
Rakotomandimby Mihamina Andrianifaharana
Tel : +33 2 38 76 43 65
http://stko.dyndns.info/site_principal/Members/mihamina

#4 lore raw

sudo firewall capabilities, what a concept. Do yourself a favour, don't post to mailing list's from the same domain as your sudo accessible firewalls.

Ted

Quoted 53 lines · On Sun, 2004-01-18 at 15:55, [email protected] wrote:

Hi,

you can use fwbuilder and sudo...
so a normal user can use tables
or did i miss something?

-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]]Im Auftrag von Rakotomandimby Mihamina
Gesendet: Samstag, 17. Januar 2004 21:32
An: [email protected]
Betreff: Re: [despammed] Netfilter as an application.

Quoted 4 lines · Andreas Kretschmer
Quoted 2 lines

It would be a standard user program which
a person with normal privelges could compile and run.

Very bad. Every can modify the rules. I think, you search 'Zonealarm for Linux'.

Iptables is already simple to use . there is also shorewall that can make the
use easier ( for some )

Just think what would be the weird if any user can add the firewall rule on a
box . Do you really think something will work ?

Quoted 3 lines
Quoted 2 lines

What would it do? It could do the same things that netfilter does...i.e. filter packets/NAT etc. However

Why?

I think you should contribute to netfilter's documentation and give some simple and explained rules examples , you'll see that iptables will be simple
ti use ... :-)

Quoted 3 lines
Quoted 1 line

Does such a thing exist?

I hope: no.

the same to me .

--
Rakotomandimby Mihamina Andrianifaharana
Tel : +33 2 38 76 43 65
http://stko.dyndns.info/site_principal/Members/mihamina

#5 lore raw
In reply to [email protected]

Maybe I did say this in the wrong way..
No way I want a user to change the IPTABLE Rules..that would be ..ahem..CRAZY!
Anyways what I really wanted was something that I can use more like a benchmark which would read packet inputs from a text-file....which was computationally like the original netfilter..and would be free from the networking stack and linux kernel hooks. This would be a standalone benchmark that could be compiled onto different architectures (embedded) for performance metrics etc..

There..I hope I am clear now :|

Cheers
Learner!

Quoted 52 lines · --- [email protected] wrote:

Hi,

you can use fwbuilder and sudo...
so a normal user can use tables
or did i miss something?

-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]]Im
Auftrag von
Rakotomandimby Mihamina
Gesendet: Samstag, 17. Januar 2004 21:32
An: [email protected]
Betreff: Re: [despammed] Netfilter as an
application.

Quoted 2 lines · Andreas Kretschmer
Quoted 2 lines

It would be a standard user program which
a person with normal privelges could compile and

run.

Quoted 1 line

Very bad. Every can modify the rules. I think, you

search 'Zonealarm for

Quoted 1 line

Linux'.

Iptables is already simple to use . there is also
shorewall that can make
the
use easier ( for some )

Just think what would be the weird if any user can add the firewall rule on
a
box . Do you really think something will work ?

Quoted 1 line
Quoted 1 line

What would it do? It could do the same things

that

Quoted 1 line
Quoted 1 line

netfilter does...i.e. filter packets/NAT etc.

However

Quoted 1 line

Why?

I think you should contribute to netfilter's
documentation and give some
simple and explained rules examples , you'll see
that iptables will be
simple
ti use ... :-)

Quoted 2 lines
Quoted 1 line

Does such a thing exist?

Quoted 9 lines
Quoted 1 line

I hope: no.

the same to me .

--
Rakotomandimby Mihamina Andrianifaharana
Tel : +33 2 38 76 43 65

http://stko.dyndns.info/site_principal/Members/mihamina

Quoted 3 lines

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/