FastCGI & how to block port 8080 access
I have got Zope working with Apache via the Fast CGI method. I don't want anyone being able to access Zope on port 8080. How do I stop this happening. Regards, Simon Blandford.
Hi, Simon Blandford wrote:
I have got Zope working with Apache via the Fast CGI method. I don't want anyone being able to access Zope on port 8080. How do I stop this happening.
Don't know, whis OS you're using, with Linux I'd simply use an ipchains rule to block that specific port ... something like: [PATH_TO]/ipchains -A input -i [your network I/F] -p tcp -s 0.0.0.0/0 -d [your ip address] 8080 -j REJECT hth, ta -------------------------------------------------------------------------- smartferret it-consulting Dipl.-Ing. Linzbichler KEG Dipl.-Ing. Takashi Veikko Linzbichler Tannhofweg 28/3 A-8044 Graz, Austria Tel.: 0316 / 39 89 40 -0 Fax: 0316 / 39 89 40 -20 Mobil: 0676 / 31 26 286 eMail: takashi.linzbichler@smartferret.com WWW: http://www.smartferret.com --------------------------------------------------------------------------
Hi Takashi, Thanks for the info. I actually just solved the problem another way by adding the "-w -" switch to the z2.py command in the start file. That switches off Zserver http interface. Looking at the z2.py file itself gives an explanation of the available command line options. Regards, Simon. Takashi Veikko Linzbichler wrote:
Hi,
Simon Blandford wrote:
I have got Zope working with Apache via the Fast CGI method. I don't want anyone being able to access Zope on port 8080. How do I stop this happening.
Don't know, whis OS you're using, with Linux I'd simply use an ipchains rule to block that specific port ...
something like:
[PATH_TO]/ipchains -A input -i [your network I/F] -p tcp -s 0.0.0.0/0 -d [your ip address] 8080 -j REJECT
hth, ta
-------------------------------------------------------------------------- smartferret it-consulting Dipl.-Ing. Linzbichler KEG
Dipl.-Ing. Takashi Veikko Linzbichler Tannhofweg 28/3 A-8044 Graz, Austria
Tel.: 0316 / 39 89 40 -0 Fax: 0316 / 39 89 40 -20 Mobil: 0676 / 31 26 286 eMail: takashi.linzbichler@smartferret.com
WWW: http://www.smartferret.com --------------------------------------------------------------------------
participants (2)
-
Simon Blandford -
Takashi Veikko Linzbichler