[PLUTO-help] Anonymous ftp extra LAN

Stefano Callegari stefano a omniluxlighting.it
Mer 4 Giu 2003 12:24:29 CEST


Per evitare le limitazioni imposte sulle caselle di posta, ho deciso di
aprire la mia macchina (quando lo dico io ....) al servizio anonymous
ftp.

Ho così installato proftpd, creato una dir apposta e creato uno script
per aprire il fw (porte tcp 20 e 21).

Il problema nasce nel momento che tento di accedervi dall'esterno alla
LAN (dove invece va tutto perfettamente): immancabilmente mi chiede la
password che logicamente non riconosce (essendo anonymous - alias di
ftp - _non_ dovrebbe aver password).

Mi sono riletto la doc e cercato in rete ma, rimanendo tra quanto
comprendo (cioè escludendo il tedesco e le lingue asiatiche, nordiche,
ecc. :-) ) non ho trovato niente di riconducibile al mio problema.

Ecco alcune righe di /etc/proftpd.conf (quelle che ritengo rilevanti):

<Global>
# UseFtpUsers -- Block based on /etc/ftpusers
UseFtpUsers             off

# the ident protocol (RFC1413) is used to attempt to identify the 
# remote username
IdentLookups            off

# AuthPAM -- Enable/Disable PAM authentication
AuthPAM                 off

# AuthPAMAuthoritative -- Set whether PAM is the authoritive
# authentication scheme
AuthPAMAuthoritative    off
</Global>

<Anonymous /servizio/pub/ftp_anonimo>
 User                        ftp
 Group                       daemon

 # Allow logins if they are disabled above.
 <Limit LOGIN>
   AllowAll
 </Limit>

 # no shell valida
 RequireValidShell           off
      
 # We want clients to be able to login with "anonymous" as well as "ftp"
 UserAlias                   anonymous ftp
  
 AnonRequirePassword         off
 AuthUsingAlias              off
</Anonymous>

L'errore esatto è:

Jun  3 19:18:24 tecnico proftpd[28196]: tecnico.omnilux.ufficio -
192.168.0.99:21 masquerading as 0.0.0.0 
Jun  3 19:18:25 tecnico proftpd[28196]: tecnico.omnilux.ufficio
(server.remoto.ufficio[xxx.xxx.xxx.xxx]) - FTP session opened. 
Jun  3 19:18:33 tecnico proftpd[28196]: tecnico.omnilux.ufficio
(server.remoto.ufficio[xxx.xxx.xxx.xxx]) - no such user 'anonymous' 
Jun  3 19:18:33 tecnico proftpd[28196]: tecnico.omnilux.ufficio
(server.remoto.ufficio[xxx.xxx.xxx.xxx]) - USER anonymous: no such user
found from server.remoto.ufficio [xxx.xxx.xxx.xxx] to
ip.del.server.ftp:21

Se invece di anonymous uso ftp, allora di mezzo ci si mette anche PAM
(in /etc/pam.d ho inserito il file ftpd come da doc di proftpd per
suse).

Ho provato anche ad aprire la tcp 113, ma niente.

Perchè dalla LAN funziona mentre da fuori no?

Grazie
-- 
Stefano Callegari <stefano a omniluxlighting.it>
Omnilux Srl
Via Frassanedo, 2 - I 35020 Villatora di Saonara (PD)
+39 049 8792281


More information about the pluto-help mailing list