Guys,i was practising with vsftpd with PASV and PORT modes.
I have a query regarding working of ftp client(another rhel box) in PORT mode.
Whenever i add exception for FTP in system-config-securitylevel (which indeed allows 21,22 tcp as per iptables and system-config-securitylevel files in /etc/sysconfig), mine FTP client works with a VSFTPD Server in PORT mode ( client is able to accept data from VSFTPD Port 20 to any high random port of the client ).
Now this is strange IMO because checking FTP as exception in this system-config-securitylevel allows INBOUND TCP Port 21 and 22. Whereas whenever i allow FTP on mine FTPClientSystem, FTP client works in PORT mode as though this exception is allowing INBOUND access to the Linux FTP client (/usr/bin/ftp).
If i don't add an excepton for FTP in the FTP client sytem, PORT mode doesn't works, and Wireshark trace reveals that VSFTPD Server Port 20 tried to reach to a high random port on Ftp client --- which was prohibited administratively.
Can anyone help in trying to reveal what actually is done by adding that FTP exception and howcome this FTP exception(which is intended for FTP Server) is helping out FTP client allowing INBOUND access to it ?
Both the Rhel Srrvr and Client are Virtual instances under VMware Workstation and VSFTPD server has been configured to only allow PORT connections.
Regards
I have a query regarding working of ftp client(another rhel box) in PORT mode.
Whenever i add exception for FTP in system-config-securitylevel (which indeed allows 21,22 tcp as per iptables and system-config-securitylevel files in /etc/sysconfig), mine FTP client works with a VSFTPD Server in PORT mode ( client is able to accept data from VSFTPD Port 20 to any high random port of the client ).
Now this is strange IMO because checking FTP as exception in this system-config-securitylevel allows INBOUND TCP Port 21 and 22. Whereas whenever i allow FTP on mine FTPClientSystem, FTP client works in PORT mode as though this exception is allowing INBOUND access to the Linux FTP client (/usr/bin/ftp).
If i don't add an excepton for FTP in the FTP client sytem, PORT mode doesn't works, and Wireshark trace reveals that VSFTPD Server Port 20 tried to reach to a high random port on Ftp client --- which was prohibited administratively.
Can anyone help in trying to reveal what actually is done by adding that FTP exception and howcome this FTP exception(which is intended for FTP Server) is helping out FTP client allowing INBOUND access to it ?
Both the Rhel Srrvr and Client are Virtual instances under VMware Workstation and VSFTPD server has been configured to only allow PORT connections.
Regards