Bug 21581 - spawn-fcgi слушает 0.0.0.0 вместо localhost
: spawn-fcgi слушает 0.0.0.0 вместо localhost
Status: CLOSED FIXED
: Sisyphus
(All bugs in Sisyphus/spawn-fcgi)
: unstable
: all Linux
: P3 normal
Assigned To:
:
:
:
:
:
  Show dependency tree
 
Reported: 2009-09-16 11:36 by
Modified: 2009-09-24 17:56 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2009-09-16 11:36:57
в /etc/sysconfig/spawn-fcgi написано:

## bind to tcp-port on localhost
FCGIPORT="1027"

При этом:
tcp        0      0 *:1027                      *:*                        
LISTEN      _spawn_fcgi 5818361    25174/php5-cgi


Предлагаю добавить в /etc/sysconfig/spawn-fcgi

## ip to listen
FCGILISTEN="127.0.0.1"

и в /etc/init.d/spawn-fcgi

-a $FCGILISTEN, соответственно.
------- Comment #1 From 2009-09-24 17:56:51 -------
spawn-fcgi-1.6.2-alt2 -> sisyphus:

* Thu Sep 24 2009 Vladimir V. Kamarzin <vvk@altlinux> 1.6.2-alt2

- spawn-fcgi.sysconfig: add variable for interface binding and bind to
  127.0.0.1 by default (Closes: #21581)