Messages in this thread | | | Date | Sun, 26 Sep 2004 00:49:07 +0200 | From | Buddy Lucas <> | Subject | Re: Get ip before accept |
| |
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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |