El Sat, 12 Jun 2010 17:12:59 +0200, Marc ct escribió:
Tengo en opensuse 11.2 el servicio de ftp encendido. El firewall de opensuse también lo tengo activo y con el puerto 21 abierto. Pero.., si desde una máquina remota intento conectar esta conecta pero no llega a listar los ficheros (se 'cuelga'). Para que funcione tengo que conectar en modo 'activo' en lugar de modo 'pasivo'. Si apago el firewall entonces puedo conectar en modo pasivo sin problemas..
¿A que es debido esto?
Hum... mira a ver si esto te sirve: http://en.opensuse.org/FTP_Server_HOWTO#FTP_Firewall_Settings Es para una 11.0 pero quizá siga vigente en la 11.2.
por otra parte, ¿cuál de los dos modos es mejor? y que diferencia hay...
La wikipedia lo explica bastante bien: http://es.wikipedia.org/wiki/File_Transfer_Protocol#Modos_de_conexi.C3.B3n_d... Y en la versión inglesa, lo resumen: *** (...) FTP can be run in active mode or passive mode, which control how the second connection is opened. In active mode the client sends the server the IP address port number that the client will use for the data connection, and the server opens the connection. Passive mode was devised for use where the client is behind a firewall and unable to accept incoming TCP connections. The server sends the client an IP address and port number and the client opens the connection to the server.[3] Both modes were updated in September 1998 to add support for IPv6 and made some other changes to passive mode, making it extended passive mode [5]. *** Saludos, -- Camaleón -- Para dar de baja la suscripción, mande un mensaje a: opensuse-es+unsubscribe@opensuse.org Para obtener el resto de direcciones-comando, mande un mensaje a: opensuse-es+help@opensuse.org