21 Sep
2004
21 Sep
'04
9:44 a.m.
On Tue, 2004-09-21 at 12:00, Eugene Coetzee wrote:
If I "should not rely on transport" (I imagine this refers to IP spoofing) - what is the most reliable way of getting the client's IP address from inside an instance of http.Request ? I would also like to drop the illegal connection as quickly as possible - much sooner than http.Request.process() happens.
That's how you do it. The comment is basically telling you that stuff like TCP Wrappers is just a stopgap and not a real security measure :)