vsftpd のディレクティブ pasv_min_port および pasv_max_port がポートの範囲を制限しない
Issue
- vsftpd の
pasv_min_portおよびpasv_max_portがポート範囲を制限しません。 - 以下のポート範囲を vsftpd サーバーに設定しましたが、ftp 接続が特定の範囲に含まれないポートを使用します。
/etc/vsftpd.conf:
pasv_min_port=10000
pasv_max_port=20000
- netstat の出力を確認すると、55776 ポートの接続を使用していますが、これはその範囲にありません。
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN
tcp 0 0 192.4.53.228:21 128.96.130.76:55776 ESTABLISHED
Environment
- Red Hat Enterprise Linux 5 および 6
- vsftpd
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
