2001-10-22 15:29:58

by Elmer

[permalink] [raw]
Subject: FUN: 2.4 Kg of linux kernel


A fairytale here tells that a local small bussiness has sold to military a
lot of computers and software and installation support.
As in military there is everything listed in inventory, so the deal was:

2.4 Kg of linux "kernel" (in english).
With warranty.
If not handled or stored properly, warranty will be void.

More fun came when revidents demanded to see "this material, whatever it
is"
Lucky people they did not sell it as 2.4 Tonns of something.

Elmer.




2001-10-22 15:54:11

by Radivoje Todorovic

[permalink] [raw]
Subject: NETFILTER Hook Hack: Interesting Issue

Hello,


Assume "int bla(struct sk_buff *skb)" is called from one of the five
netfilter hooks. And say,once you have the packet in your callback, you want
to create some dummy packet and send it along with original skb. How would
you do this?

Actually one solution would be to export symbol "ip_finish_output2" and then
use it for extra packet in the module. Then the return NF_ACCEPT would send
original skb out.

But how to do this without patching the kernel???


Rade