[FUG-BR] FTP conecta mas nao lista nada

Enio .'. Marconcini eniorm em gmail.com
Sexta Setembro 23 15:54:41 BRT 2011


2011/9/22 vic <vic em wa.pro.br>

> Em 22-09-2011 19:36, Christiano Liberato escreveu:
> > Caros,
> >
> > Gostaria de uma força.
> > Da minha rede interna estou conseguindo me conectar em servidores FTP mas
> > nao lista nada com o comando dir. O que fiz:
> >
> > habilitei o ftpproxy no /etc/rc.conf (ftpproxy_flags=YES) e adicionei as
> > regras
> > nat-anchor "ftp-proxy/*"
> > rdr-anchor "ftp-proxy/*"
> > rdr on $INT_EXTERNA proto tcp from any to any port 21 ->  127.0.0.1 port
> 8021
> > anchor "ftp-proxy/*"
> >
> > O serviço ftpproxy esta ok
> > ps aux |grep ftp
> > proxy    24004  0.0  0.0   348   828 ??  Is     2:02PM    0:00.00
> > /usr/sbin/ftp-proxy YES
> > root     15300  0.0  0.0   364   776 p0  S+     2:15PM    0:00.00 grep
> ftp
> >
> > Sabem se falta algo?
> > Estou tentando isso no openbsd.
> >
> > Obrigado
> > -------------------------
> > Histórico: http://www.fug.com.br/historico/html/freebsd/
> > Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
> Seu ftpproxy_flags está errado. O certo seria algo como
>
> ftpproxy_enable="YES"
> ftpproxy_flags="-R ip.do.servidor.ftp
>
>
>
> --
> vic
> http://choppnerd.com
> http://donttrack.us  |  http://dontbubble.us
>
> -------------------------
> Histórico: http://www.fug.com.br/historico/html/freebsd/
> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
>


deixa sem flags na inicialização do ftp-proxy

somente assim

ftpproxy_flags=""    # for normal use: ""

só pra testar

-- 
*ENIO RODRIGO MARCONCINI*
@eniomarconcini <http://twitter.com/eniomarconcini>
skype: eniorm
facebook.com/eniomarconcini <http://www.facebook.com/eniomarconcini>

*"UNIX was not designed to stop its users from doing stupid things,
as that would also stop them from doing clever things."
*


Mais detalhes sobre a lista de discussão freebsd