How do you Restrict ZServer socket connections
Hi I've followed anser's How To on "Apache and ZServer (NOt CGI)" and now I have Zope served thru Apache via module ModProxy and the SiteAccess Zope Product. Fine, But Now I want to make Zserver only accept connections from a set of known IP address (ie that where my apache server runs) Any ideas how you do this? I can see there are options to say which ports it listens on but no mention of restricting the IP addresses it allows to connect. Thanks Jon
ZServer does not do this interally, however there is a very secure and popular program called tcpwrappers that does. Your system probably allready comes with tcpwrappers. How to configure it to work with ZServer I don't know, but it shouldn't be hard. Consult the tcpwrappers docs. -Michel jon@totient.demon.co.uk wrote:
Hi
I've followed anser's How To on "Apache and ZServer (NOt CGI)" and now I have Zope served thru Apache via module ModProxy and the SiteAccess Zope Product.
Fine, But Now I want to make Zserver only accept connections from a set of known IP address (ie that where my apache server runs)
Any ideas how you do this? I can see there are options to say which ports it listens on but no mention of restricting the IP addresses it allows to connect.
Thanks
Jon
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (2)
-
jon@totient.demon.co.uk -
Michel Pelletier