From: Buddy Lucas <buddy.lucas@gmail.com>
To: Stephan Dreyer <stephan.dreyer@t-online.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Get ip before accept
Date: Sun, 26 Sep 2004 00:49:07 +0200 [thread overview]
Message-ID: <5d6b657504092515493c5f73da@mail.gmail.com> (raw)
In-Reply-To: <1CBJgr-2AiaYq0@fwd01.sul.t-online.com>
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
prev parent reply other threads:[~2004-09-25 22:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-25 21:02 Get ip before accept Stephan Dreyer
2004-09-25 22:49 ` Buddy Lucas [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5d6b657504092515493c5f73da@mail.gmail.com \
--to=buddy.lucas@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=stephan.dreyer@t-online.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox