Sounds really simple. One of the paster middlewares (prefix?) does the 
X-Remote-Addr translation already IIRC, but it is only 2 lines of code. Use 
the ipaddr library to match subnets. See 
http://pythonpaste.org/deploy/#paste-filter-factory for how you can make 
your middleware compatible with paste deploy and its ini files.

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to