LINUX.ORG.RU
ФорумAdmin

Bind в proftpd


0

0

Объясните пожалуйста такую вещь

FreeBSD 5.3
Proftpd 1.2.10

в сервере 2 сетевые карты 10.16.1.5 и 192.168.1.250

в proftpd.conf такие строки:

# Main Server Options

ServerName			"FTP Server"
ServerType			standalone
DefaultServer			on
Bind                            10.16.1.5

ОДНАКО ЖЕ если проверить sockstat, то proftpd висит на *.21
и если попробовать ftp 192.168.1.250, то фтп-сервер ответит.
Почему он слушает на сетевухе 192.168.1.250, если в конфиге стоит bind????
anonymous

There is one last configuration directive about which an administrator should know: SocketBindTight. By default, the proftpd daemon will listen on all addresses, port 21, for the connection requests of remote clients. Sometimes, the administrator may wish to have the proftpd daemon listen only on the IP addresses for which it has been configured, and not every address. To accomplish this, simply use the SocketBindTight configuration directive:

  SocketBindTight on

This configures the daemon to "bind tightly" only to those IP addresses to which it has been configured to listen, rather than every address. By default, the proftpd daemon will listen to every address on the host machine.

alex0ra
()
Ответ на: комментарий от alex0ra

Я добавил в # Main Server Options

ServerName "FTP Server" ServerType standalone DefaultServer on Bind 10.16.1.5 SocketBindTight on

и перезапустил proftpd.

теперь sockstat вместо *:21 показывает

192.168.1.250:21 10.16.1.5:21

и все равно слушает на обоих

как оставить только на 10.16.1.5 ???

anonymous
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.