Sample Header Ad - 728x90

Two vsftpd instances - check passive port on FTPS

2 votes
1 answer
2584 views
I have configured VSFTPD in a CentOS machine to run on two instances, with vsftpd.conf and vsftpd2.conf. Here is the content of the second conf file: anonymous_enable=NO chroot_list_enable=YES chroot_list_file=/etc/vsftpd/chroot_list chroot_local_user=YES connect_from_port_20=YES dirmessage_enable=YES force_local_data_ssl=YES force_local_logins_ssl=YES ftpd_banner=Hello. listen=YES listen_port=30 local_enable=YES local_umask=022 pam_service_name=vsftpd pasv_enable=YES pasv_address=192.168.100.162 pasv_max_port=389 pasv_min_port=389 rsa_cert_file=/etc/vsftpd/vsftpd.pem ssl_enable=YES ssl_sslv2=NO ssl_sslv3=NO ssl_tlsv1=YES ssl_ciphers=HIGH user_config_dir=/etc/vsftpd/user_conf userlist_enable=NO write_enable=YES xferlog_enable=YES xferlog_file=/var/log/xferlog2 xferlog_std_format=NO dual_log_enable=YES log_ftp_protocol=YES The first conf file is identical excepting the xferlog file, the listen_port that is missing, and the pasv_max_port/pasv_min_port that are 65000/60000 So I have one FTPS working on port 21 and the other on port 30. Both are working fine, but I want to make sure that 389 is really being used. So, I started a session with Wireshark, where I could see all my TCP packets to port 30, but no one to 389. Instead, I see packets to my remote server on port 49276. How can I make sure that this is working fine?
Asked by user73540 (21 rep)
Jun 25, 2014, 08:52 AM
Last activity: Jun 19, 2025, 11:04 AM