Re: ftp passive mode
Lowell Gilbert writes: > gahn writes: > >> I am behind firewall and only pass ftp sessions are allowed. With that, most >> ftp sessions of portupgrade would not be able to connect to remote FreeBSD >> sites. >> >> Could I reconfigure the my FreeBSD 7.3 in a way so that it would only start >> ftp sessions in PASV mode? > > That should already be the default; FETCH_ARGS should be set to "-ApRr" > in /etc/ports/Mk/bsd.port.mk (the 'p' option is what means "passive" > mode). It certainly works for me, and has for many years. You can test > by setting FTP_PASSIVE_MODE (to anything *except* "no") in the environment. And I notice that should already be set as well; it's part of the "default" class setting in /etc/login.conf. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: ftp passive mode
In message <111263.90106...@web52308.mail.re2.yahoo.com>, gahn (ipfr...@yahoo.com) wrote: > > I am behind firewall and only pass ftp sessions are allowed. With > that, most ftp sessions of portupgrade would not be able to connect to > remote FreeBSD sites. > > Could I reconfigure the my FreeBSD 7.3 in a way so that it would only > start ftp sessions in PASV mode? The on-line handbook in section 4.5.2 'Installing Ports' says: The ports system uses fetch(1) to download the files, which honors various environment variables, including FTP_PASSIVE_MODE, FTP_PROXY, and FTP_PASSWORD. So try setting FTP_PASSIVE_MODE in your environment. man ports and man fetch may also be worth a read. Cheers, Nick. -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: ftp passive mode
gahn writes: > I am behind firewall and only pass ftp sessions are allowed. With that, most > ftp sessions of portupgrade would not be able to connect to remote FreeBSD > sites. > > Could I reconfigure the my FreeBSD 7.3 in a way so that it would only start > ftp sessions in PASV mode? That should already be the default; FETCH_ARGS should be set to "-ApRr" in /etc/ports/Mk/bsd.port.mk (the 'p' option is what means "passive" mode). It certainly works for me, and has for many years. You can test by setting FTP_PASSIVE_MODE (to anything *except* "no") in the environment. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"