* Get ip before accept
@ 2004-09-25 21:02 Stephan Dreyer
2004-09-25 22:49 ` Buddy Lucas
0 siblings, 1 reply; 2+ messages in thread
From: Stephan Dreyer @ 2004-09-25 21:02 UTC (permalink / raw)
To: linux-kernel
Hi
I'm trying to get a client ip before calling accept
Any ideas how?
It should be possible to get ip from connection queue when switching to
kernel space should it?
If ip doesnt't match a given list i want to close the not fully established
connection
Cheers,
Stephan
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Get ip before accept
2004-09-25 21:02 Get ip before accept Stephan Dreyer
@ 2004-09-25 22:49 ` Buddy Lucas
0 siblings, 0 replies; 2+ messages in thread
From: Buddy Lucas @ 2004-09-25 22:49 UTC (permalink / raw)
To: Stephan Dreyer; +Cc: linux-kernel
On Sat, 25 Sep 2004 23:02:48 +0200, Stephan Dreyer
<stephan.dreyer@t-online.de> wrote:
> Hi
> I'm trying to get a client ip before calling accept
> Any ideas how?
> It should be possible to get ip from connection queue when switching to
> kernel space should it?
> If ip doesnt't match a given list i want to close the not fully established
> connection
Try netfilter/iptables:
http://www.netfilter.org/documentation/HOWTO//netfilter-hacking-HOWTO.html
Cheers,
Buddy
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-09-25 22:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-25 21:02 Get ip before accept Stephan Dreyer
2004-09-25 22:49 ` Buddy Lucas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox