Re: FTP server for install link broken?

2012-01-27 Thread Warren Block

On Fri, 27 Jan 2012, Kaya Saman wrote:

am currently trying to install FreeBSD 9 on my Lenovo X220 and noticed that 
the link on this page in the FreeBSD Handbook is broken:


http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-pre.html


See the header at the top of that page.  There is a new chapter for 
installing 9.0 and later.  The equivalent section is


http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/bsdinstall-pre.html
___
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 server for install link broken?

2012-01-27 Thread Kaya Saman

On 01/27/2012 04:16 PM, Warren Block wrote:

On Fri, 27 Jan 2012, Kaya Saman wrote:

am currently trying to install FreeBSD 9 on my Lenovo X220 and 
noticed that the link on this page in the FreeBSD Handbook is broken:


http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-pre.html 



See the header at the top of that page.  There is a new chapter for 
installing 9.0 and later.  The equivalent section is


http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/bsdinstall-pre.html 



Oh ok.

Anyway as I'm familiar with BSD 8.x I did the install without reading!!

My issue was really to find the .img file for USB booting.


All done now but can't seem to get Fedora 16's GRUB to boot BSD 9.0 
I guess it's time to consult the documentation after all; even though 
Google'ing provided results that didn't yield answers as the Linux GRUB 
can't find the partition/slice combo???



Tried chainloading but that didn't work either probably as no 
boot-loader got loaded into the PBR by default.



Regards,


Kaya

___
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 server for install link broken?

2012-01-27 Thread Warren Block

On Fri, 27 Jan 2012, Kaya Saman wrote:


On 01/27/2012 04:16 PM, Warren Block wrote:

On Fri, 27 Jan 2012, Kaya Saman wrote:

am currently trying to install FreeBSD 9 on my Lenovo X220 and noticed 
that the link on this page in the FreeBSD Handbook is broken:


http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-pre.html 


See the header at the top of that page.  There is a new chapter for 
installing 9.0 and later.  The equivalent section is


http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/bsdinstall-pre.html 


Oh ok.

Anyway as I'm familiar with BSD 8.x I did the install without reading!!

My issue was really to find the .img file for USB booting.


All done now but can't seem to get Fedora 16's GRUB to boot BSD 9.0 I 
guess it's time to consult the documentation after all; even though 
Google'ing provided results that didn't yield answers as the Linux GRUB can't 
find the partition/slice combo???


The default install of FreeBSD 9 uses GPT, so there are no slices or 
FreeBSD (bsdlabel) partitions.  Instead of ad0s1a, it would just be 
ada0p2.  Don't know what Linux calls these partitions, though.


Tried chainloading but that didn't work either probably as no boot-loader got 
loaded into the PBR by default.


If you want multiboot on a GPT drive, grub2 seems to be the solution. 
(But I haven't tested it.)

___
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 server for install link broken?

2012-01-27 Thread Kaya Saman

On 01/27/2012 07:22 PM, Warren Block wrote:

On Fri, 27 Jan 2012, Kaya Saman wrote:


On 01/27/2012 04:16 PM, Warren Block wrote:

On Fri, 27 Jan 2012, Kaya Saman wrote:

am currently trying to install FreeBSD 9 on my Lenovo X220 and 
noticed that the link on this page in the FreeBSD Handbook is broken:


http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-pre.html 



See the header at the top of that page.  There is a new chapter for 
installing 9.0 and later.  The equivalent section is


http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/bsdinstall-pre.html 



Oh ok.

Anyway as I'm familiar with BSD 8.x I did the install without reading!!

My issue was really to find the .img file for USB booting.


All done now but can't seem to get Fedora 16's GRUB to boot BSD 
9.0 I guess it's time to consult the documentation after all; 
even though Google'ing provided results that didn't yield answers as 
the Linux GRUB can't find the partition/slice combo???


The default install of FreeBSD 9 uses GPT, so there are no slices or 
FreeBSD (bsdlabel) partitions.  Instead of ad0s1a, it would just be 
ada0p2.  Don't know what Linux calls these partitions, though.


Tried chainloading but that didn't work either probably as no 
boot-loader got loaded into the PBR by default.


If you want multiboot on a GPT drive, grub2 seems to be the solution. 
(But I haven't tested it


Thanks Warren for the assistance!

I will create a new Subject for my multiboot issue :-)

Am just currently trying to get my 'old' Fedora instance from an old HD 
up and running by booting off USB drive meaning have to re-build 
initrd.img with USB modules in it.


So updating that in order to get the kernel headers since the old kernel 
is no longer supported.



Best regards,


Kaya
___
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 server link aggregation

2010-12-16 Thread Nikos Vassiliadis

On 12/15/2010 3:11 PM, Matthew Law wrote:

I have a single FreeBSD box acting as an FTP server for multiple FreeBSD
and Linux clients on the same /24 subnet (all gigabit ethernet).  It is
currently connected by just one of it's two gig ethernet ports.  I also
have two cisco switches with an etherchannel between them (using 2 x gig
ports on each switch).  I would like to connect the remaining NIC on my
FreeBSD box to the other switch and enable 802.3ad on those switch ports
to aggregate traffic between them.

This is in the hope that it can better serve multiple FTP clients.  Is my
thinking correct?  Other than the network interface changes which are
documented here:
http://www.freebsd.org/doc/handbook/network-aggregation.html are there any
further tweaks I could make to improve things? -the server is a 'standard
install' and does not use ZFS.  It has an adaptec 5408 RAID card with 4 x
SATA II drives and, IIRC, 128K stripe size and plenty of RAM.

Is there a way of testing this other than initiating large file transfers
to this server from multiple hosts?



A simple ping from multiple sources to your server will do. LACP will
associate each SRCMAC and DSTMAC pair to one physical interface. Creating
traffic with many different SRCMAC and DSTMAC pairs will use both physical
interfaces. But, I do vaguely remember that if_lagg was not able to perform
at 2 * 1Gbps level. Use systat -ifstat to check what's happening and
please, post your performance findings to the list!

HTH, Nikos
___
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 server navigation problem

2009-08-10 Thread Polytropon
On Mon, 10 Aug 2009 16:36:36 -0400, Tsu-Fan Cheng tfch...@gmail.com wrote:
 Hi,
I use freebsd7.2 and can't access my friend's FTP server (crystal FTP
 server) from command line. I can't run any command in the ftp server, it
 only responds Entering Extended passive mode and hang. But when I ftp from
 windows command prompt, it actually works. So what's the matter with my BSD
 communication? thanks!!

Refer to man ftp. Passive FTP is mentioned as follows:

EXTENDED PASSIVE MODE AND FIREWALLS
 Some firewall configurations do not allow ftp to use extended passive
 mode.  If you find that even a simple ls appears to hang after printing a
 message such as this:

   229 Entering Extended Passive Mode (|||58551|)

 then you will need to disable extended passive mode with epsv4 off.  See
 the above section The .netrc File for an example of how to make this
 automatic.

Above it states:

 epsv4   Toggle the use of the extended EPSV and EPRT commands on IPv4
 connections; first try EPSV / EPRT, and then PASV / PORT.
 This is enabled by default.  If an extended command fails
 then this option will be temporarily disabled for the dura-
 tion of the current connection, or until epsv4 is executed
 again.

You can use this setting either via .netrc or as an interactive command.



-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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 Server for individual client spaces

2009-07-10 Thread Jonathan McKeown
On Friday 10 July 2009 16:10:24 RS Wood wrote:
 I run a small engineering company* that exchanges large files (CAD,
 etc.) with clients, and I want to keep the docs off my email server by
 setting up a stand alone FTP server where each client can upload and
 download its relevant files.  As such, my own users/employees should be
 able to reach every client’s FTP space but each client should only be
 able to reach his own.  As my users finish a doc, they place it in that
 client’s FTP directory and the client can log in and get it.  As such,
 I don’t want any form of unauthenticated FTP.
[snip]
 Is the solution ftpchroot?  If so, it’s not clear how I can chroot
 each potential client into his own directory, as my understanding is
 that all chrooted users wind up at the same place (like /var/ftp/pub).
 Or is the solution that each client gets access to his own home
 directory; if so, how do I ensure my staff has access to each client’s
 home directory?

I haven't tried this, but man ftpd.conf suggests something along the lines of:

chroot chroot /some/path/%u

where the second chroot is the ftp class, and %u will be expanded to the 
username. Make sure all your external users are in ftp class chroot (by 
putting their usernames in /etc/ftpchroot), and make /some/path group-owned 
and group-readable by a group all your staff are in (the group ownership of a 
directory automatically propagates to new directories created below it).

Let us know how it goes!

Jonathan
___
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 Server for individual client spaces

2009-07-10 Thread Steve Bertrand
RS Wood wrote:
 I run a small engineering company* that exchanges large files (CAD,
 etc.) with clients, and I want to keep the docs off my email server by
 setting up a stand alone FTP server where each client can upload and
 download its relevant files.  As such, my own users/employees should be
 able to reach every client’s FTP space but each client should only be
 able to reach his own.  As my users finish a doc, they place it in that
 client’s FTP directory and the client can log in and get it.  As such,
 I don’t want any form of unauthenticated FTP.
 
 I’ve tried different combinations of group names and directory
 permissions without success, but chrooting users doesn’t seem to solve
 my problem either, and my two favorite BSD books – Tiemann et. al.
 (Unleashed) and Lucas (Absolute) take the same approach the man pages
 do, in my opinion, which guides you either into an all anonymous system,
 or a system suitable for organizations such as software distributors in
 which clients/users authenticate but then all access the same directory
 (/pub for example).  I could use some help conceptualizing this.
 
 Is the solution ftpchroot?  

It works for us, for the users who still need FTP access:

# cp /sbin/nologin /sbin/ftp-only
# echo /sbin/ftp-only  /etc/shells

# adduser

homedir == /ftp/username
shell   == /sbin/ftp-only

I then:

# cd /ftp/username
# rm -r .*

# echo username  /etc/ftpchroot

Now, you can create staff accounts in the same way, but set their home
directory as /ftp. They'll be able to traverse the entire FTP tree from
there. Just ensure that the /ftp directory structure is owned by a group
that your staff accounts are in, and that all of the sub directories are
modded with appropriate permissions.

 If so, it’s not clear how I can chroot
 each potential client into his own directory, as my understanding is
 that all chrooted users wind up at the same place (like /var/ftp/pub). 
 Or is the solution that each client gets access to his own home
 directory; 

Yes, each to their own home dir.

 if so, how do I ensure my staff has access to each client’s
 home directory?  

I'm assuming that your staff will be using FTP as well. Simply assign
their home directory to the root FTP directory.

 Lastly, I’ve also been reading up on PureFTP, which
 seems to have some advanced configuration potential (including LDAP
 authentication, something else that interests me) but it’s not clear
 that using an alternative product is indicated here.
 This seems like something other organizations must have dealt with, so I
 must be missing something fundamental.  Can someone point me in the
 right direction?
 
 Finally, I’m aware FTP has inherent security liabilities as passwords
 cross the net in clear text, but I’m not convinced casual users on
 Windows boxes will be able to manage fun stuff like SSH connections or
 alternative software, like SCP.  

Provide them a link to a client software that uses SFTP. I use WinSCP
(portable), which defaults to SFTP, and provides the server, username
and password fields as soon as it is launched.

Hope I didn't miss anything ;)

Steve



smime.p7s
Description: S/MIME Cryptographic Signature


Re: FTP Server for individual client spaces

2009-07-10 Thread Dan Nelson
In the last episode (Jul 10), Steve Bertrand said:
 RS Wood wrote:
  Finally, I'm aware FTP has inherent security liabilities as passwords
  cross the net in clear text, but I'm not convinced casual users on
  Windows boxes will be able to manage fun stuff like SSH connections or
  alternative software, like SCP.
 
 Provide them a link to a client software that uses SFTP. I use WinSCP
 (portable), which defaults to SFTP, and provides the server, username and
 password fields as soon as it is launched.

WinSCP is good.  Other nice free SFTP clients are FileZilla (has Windows, OS
X and Unix versions) and muCommander (Java so it will run on anything).

http://www.winscp.net/
http://www.filezilla-project.org/
http://www.mucommander.com/

-- 
Dan Nelson
dnel...@allantgroup.com
___
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 Server for individual client spaces

2009-07-10 Thread Ruben de Groot
On Fri, Jul 10, 2009 at 03:10:24PM +0100, RS Wood typed:
 I run a small engineering company* that exchanges large files (CAD,
 etc.) with clients, and I want to keep the docs off my email server by
 setting up a stand alone FTP server where each client can upload and
 download its relevant files.  As such, my own users/employees should be
 able to reach every client???s FTP space but each client should only be
 able to reach his own.  As my users finish a doc, they place it in that
 client???s FTP directory and the client can log in and get it.  As such,
 I don???t want any form of unauthenticated FTP.

Do your employees need access through the same ftp server?
You could serve them any other way (e.g. internally export the entire ftp
tree as an NFS or CIFS share).

___
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 server: create/delete user by web interface

2008-09-08 Thread Martin Schweizer
Hello Sebastian

Sorry for the delay but I was very bussy.

Am Thu, Sep 04, 2008 at 09:31:03AM +0200 Sebastian Tymków schrieb:
 Have you tried cpanel or webmin ?

I checked webmin but not very depth.

 Or maybe you're looking for solution like ftp server and accounts in
 database ?

This is a possible way. Probably the combination ftp users in a database is 
ok. Which one is the best solution?

  I've three FreeBSD 7.0 server. Im looking for a combination where I can
  create/delete etc. ftp users as a non-root user (probably from a template).

Regards,

-- 

Martin Schweizer
[EMAIL PROTECTED]

PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon
Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch;
public key : http://www.pc-service.ch/pgp/public_key.asc; 
fingerprint: EC21 CA4D 5C78 BC2D 73B7  10F9 C1AE 1691 D30F D239;

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ftp server: create/delete user by web interface

2008-09-08 Thread Sebastian Tymków
Hello,

2008/9/8 Martin Schweizer [EMAIL PROTECTED]

  Or maybe you're looking for solution like ftp server and accounts in
  database ?

 This is a possible way. Probably the combination ftp users in a database is
 ok. Which one is the best solution?

   I've three FreeBSD 7.0 server. Im looking for a combination where I can
   create/delete etc. ftp users as a non-root user (probably from a
 template).


I haven't used such solution,but you can try pureftpd+sql backed or vsftpd
with mysql backed.

Best regards,

Sebastian Tymków
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ftp server: create/delete user by web interface

2008-09-04 Thread Sebastian Tymków
Hello,

Have you tried cpanel or webmin ?
Or maybe you're looking for solution like ftp server and accounts in
database ?


Best regards,

Sebastian Tymków

2008/9/4 Martin Schweizer [EMAIL PROTECTED]

 Hello

 I've three FreeBSD 7.0 server. Im looking for a combination where I can
 create/delete etc. ftp users as a non-root user (probably from a template).
 Do
 you have some hints which combinations works in such a constellation?

 Regards,

 --

 Martin Schweizer
 [EMAIL PROTECTED]

 PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon
 Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch;
 public key : http://www.pc-service.ch/pgp/public_key.asc;
 fingerprint: EC21 CA4D 5C78 BC2D 73B7  10F9 C1AE 1691 D30F D239;

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FTP server behind firewall?

2008-04-18 Thread Gilles
On Thu, 17 Apr 2008 07:59:20 +0300, Manolis Kiagias [EMAIL PROTECTED]
wrote:
Running an FTP behind a home DSL router is perfectly possible. You will 
just have to open a range of ports on the router itself eg 25000-25050 
and forward them to your ftp server internal IP address. Then set the 
FTP server to only use these ports for passive transfers.

Thanks guys, I think I'll try this, as it's the easiest to allow VB
clients to upload files.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FTP server behind firewall?

2008-04-17 Thread Julius Huang


On Apr 17, 2008, at 12:59 , Manolis Kiagias wrote:

Gilles wrote:

On Wed, 16 Apr 2008 22:06:24 -0400, Jon Radel [EMAIL PROTECTED] wrote:


What control do you have over the firewall?  One of the cleaner
solutions would be to run an ftp proxy on the firewall, such as that
supplied with pf.  See ftp-proxy(8) or
http://www.openbsd.org/faq/pf/ftp.html



Unfortunately, the router/NAT firewall can be neither replaced nor
tweaked, since it's a modem/router provided by our ISP.

Actually, we don't necessarily need an FTP. Whatever solution to send
files is fine, provided I can add this feature in a VB Classic client
application.



Hi,

May be you can consider using sshd + sftp on Server.
  (Single Port for just about everything, see below)

PSCP or PSFTP (from same as PuTTY) allow send / receive file via  
command line,

  eg. you can issue exec from VB to send files.
  pscp [options] source [source...] [EMAIL PROTECTED]:target
  (PSFTP is prefer over PSCP, but PSCP is simple)

  http://www.putty.nl/download.html

Also, bind sshd on high port will prevent too many port scan and
  the connection is consider to be more secure than ftp.

IMHO, sftp is more easily managed than ftp in the long run (Both  
Server and Client).


ps.
I also use ssh to forward 3389, the M$ Terminal Server (even XP has  
one), no need for PC ANYWHERE.
If you need to solve problem remotely, you don't need to open another  
port (PC ANYWHERE needs 2).


J.





Running an FTP behind a home DSL router is perfectly possible. You  
will just have to open a range of ports on the router itself eg  
25000-25050 and forward them to your ftp server internal IP  
address. Then set the FTP server to only use these ports for  
passive transfers.


For example, I am using ftp/proftpd and have this directive in the  
configuration file:


PassivePorts 25000-25050

You will, of course, need to forward port 21 as well.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions- 
[EMAIL PROTECTED]


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FTP server behind firewall?

2008-04-17 Thread Mel
On Thursday 17 April 2008 04:32:41 Gilles wrote:

 Actually, we don't necessarily need an FTP. Whatever solution to send
 files is fine, provided I can add this feature in a VB Classic client
 application.

Depends a bit on the max filesize and number of files. You can do a HTTP POST 
request, using a simple upload script (numerous examples of those to be found 
on the web). Of course, the traffic for that is larger since it will be 
base64 encoded. On the plus side, you don't need local user accounts on the 
ftp server, while still having full control over where the files end up.

This can get tedious if you have multiple small files, or filesizes in the 
order 100M.
-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FTP server behind firewall?

2008-04-16 Thread Jon Radel
Gilles wrote:
 Hello
 
 We have FreeBSD server on our private LAN behind a NAT firewall on
 which I'd like to add an FTP server so that customers can send us
 stuff.
 
 Problem is, since customers might have a NAT firewall on their end,
 the client application must connect in passive mode... but this just
 moves the problem to our end, where the FTP server will open a random
 port for data... to which the client will fail connecting since our
 NAT firewall is keeping them out of our LAN :-/
 
 Is there a way to keep our server in the private LAN and still provide
 a way for customers to upload data? Hard-code the socket number used
 by the FTP server for data? Use a different type of server?

What control do you have over the firewall?  One of the cleaner
solutions would be to run an ftp proxy on the firewall, such as that
supplied with pf.  See ftp-proxy(8) or
http://www.openbsd.org/faq/pf/ftp.html

--Jon Radel


smime.p7s
Description: S/MIME Cryptographic Signature


Re: FTP server behind firewall?

2008-04-16 Thread Gilles
On Wed, 16 Apr 2008 22:06:24 -0400, Jon Radel [EMAIL PROTECTED] wrote:
What control do you have over the firewall?  One of the cleaner
solutions would be to run an ftp proxy on the firewall, such as that
supplied with pf.  See ftp-proxy(8) or
http://www.openbsd.org/faq/pf/ftp.html

Unfortunately, the router/NAT firewall can be neither replaced nor
tweaked, since it's a modem/router provided by our ISP.

Actually, we don't necessarily need an FTP. Whatever solution to send
files is fine, provided I can add this feature in a VB Classic client
application.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FTP server behind firewall?

2008-04-16 Thread Manolis Kiagias

Gilles wrote:

On Wed, 16 Apr 2008 22:06:24 -0400, Jon Radel [EMAIL PROTECTED] wrote:
  

What control do you have over the firewall?  One of the cleaner
solutions would be to run an ftp proxy on the firewall, such as that
supplied with pf.  See ftp-proxy(8) or
http://www.openbsd.org/faq/pf/ftp.html



Unfortunately, the router/NAT firewall can be neither replaced nor
tweaked, since it's a modem/router provided by our ISP.

Actually, we don't necessarily need an FTP. Whatever solution to send
files is fine, provided I can add this feature in a VB Classic client
application.


  
Running an FTP behind a home DSL router is perfectly possible. You will 
just have to open a range of ports on the router itself eg 25000-25050 
and forward them to your ftp server internal IP address. Then set the 
FTP server to only use these ports for passive transfers.


For example, I am using ftp/proftpd and have this directive in the 
configuration file:


PassivePorts 25000-25050

You will, of course, need to forward port 21 as well.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FTP server behind router/gateway

2006-09-15 Thread Nikos Vassiliadis
On Thursday 14 September 2006 17:40, [EMAIL PROTECTED] wrote:
 I have a FreeBSD 6.1 box running behind a router/gateway.  When it tries
 to go into passive mode, it returns it's internal 192.168. ip address to
 the client which the client stupidly uses to try to connect to.  I've
 confirmed this by tyring to FTP from several external systems (windows 
 linux).  Is there anyway to get the FreeBSD box to return the external
 address without making it act as the router/gateway?

In addition to what Andreas said:

The problem is not the router/gateway in front of the ftp. The problem
is the internal address the ftp server has and the nat that the router has
to do. FreeBSD knows nothing about the external address... I think you'll
have better results getting a second IP address for your ftp server and
just route packets. Or you could search for an ftp server with this feature
and/or a router with a big bag of tricks(similar to ftp-proxy FreeBSD has)

I would go for a second IP address if that was a choice

Nikos
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FTP server behind router/gateway

2006-09-14 Thread Derek Ragona
That is more a matter for your router.  Your router should be wrapping the 
internal address with a public one.  Be sure you are forwarding all the 
ports needed for ftp.


-Derek


At 09:40 AM 9/14/2006, [EMAIL PROTECTED] wrote:

I have a FreeBSD 6.1 box running behind a router/gateway.  When it tries
to go into passive mode, it returns it's internal 192.168. ip address to
the client which the client stupidly uses to try to connect to.  I've
confirmed this by tyring to FTP from several external systems (windows 
linux).  Is there anyway to get the FreeBSD box to return the external
address without making it act as the router/gateway?

Thanks,
Marty

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FTP server behind router/gateway

2006-09-14 Thread Andreas Rudisch

On Thu, 14 Sep 2006 16:40:18 +0200, [EMAIL PROTECTED] wrote:


I have a FreeBSD 6.1 box running behind a router/gateway.  When it tries
to go into passive mode, it returns it's internal 192.168. ip address to
the client which the client stupidly uses to try to connect to.  I've
confirmed this by tyring to FTP from several external systems (windows 
linux).  Is there anyway to get the FreeBSD box to return the external
address without making it act as the router/gateway?

Thanks,
Marty


Maybe this site will help a bit:

http://slacksite.com/other/ftp.html

Andreas
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: ftp server with no shell accounts

2006-05-11 Thread Scott Hiemstra
 I tried the default ftp server with FreeBSD 5.4 and users 
 with no shell 
 accounts but it does not work.
 
 Does anyone know of a ftp server that users would still have home 
 directories but no shell access /sbin/nologin and that could still 
 upload files to there home directories.

The default ftpd will work with a little tweaking.

1.  touch /bin/ftpshell
2.  echo /bin/ftpshell  /etc/shells
3.  When you add your users, set their shell to /bin/ftpshell
4.  echo USERNAME  /etc/ftpchroot

The users will be able to login via ftp and nothing else because there shell
is a crap fake shell.  The ftpchroot will lock them into their home
directory very effectively.

Scott


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ftp server with no shell accounts

2006-05-10 Thread Atom Powers

On 5/10/06, Sean Murphy [EMAIL PROTECTED] wrote:

I tried the default ftp server with FreeBSD 5.4 and users with no shell
accounts but it does not work.

Does anyone know of a ftp server that users would still have home
directories but no shell access /sbin/nologin and that could still
upload files to there home directories.



I use the scponly shell.

--
--
Perfection is just a word I use occasionally with mustard.
--Atom Powers--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ftp server with no shell accounts

2006-05-10 Thread Beech Rintoul
On Wednesday 10 May 2006 16:20, Sean Murphy wrote:
 I tried the default ftp server with FreeBSD 5.4 and users with no shell
 accounts but it does not work.

 Does anyone know of a ftp server that users would still have home
 directories but no shell access /sbin/nologin and that could still
 upload files to there home directories.

Try proftpd in the ports.

Beech

-- 

---
Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED]
/\   ASCII Ribbon Campaign  | Alaska Paradise
\ / - NO HTML/RTF in e-mail   | 201 East 9Th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - Please visit Alaska Paradise - http://www.alaskaparadise.com
---













pgpp77UtmpaZ0.pgp
Description: PGP signature


Re: ftp server with no shell accounts

2006-05-10 Thread Andy Greenwood

I much prefer the pure-ftpd implementation of virtual users. However,
both will get the job done effectively. The only reason I really
prefer pure over pro is that pure has never had one root exploit found
since release number 1. That's reason enough for me :)

On 5/10/06, Beech Rintoul [EMAIL PROTECTED] wrote:

On Wednesday 10 May 2006 16:20, Sean Murphy wrote:
 I tried the default ftp server with FreeBSD 5.4 and users with no shell
 accounts but it does not work.

 Does anyone know of a ftp server that users would still have home
 directories but no shell access /sbin/nologin and that could still
 upload files to there home directories.

Try proftpd in the ports.

Beech

--

---
Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED]
/\   ASCII Ribbon Campaign  | Alaska Paradise
\ / - NO HTML/RTF in e-mail   | 201 East 9Th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - Please visit Alaska Paradise - http://www.alaskaparadise.com
---















___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: ftp server

2006-04-23 Thread Bret Esquivel
Try ftp://ftp.csua.berleley.edu/pub/.1/ports/distfiles/staroffice52/


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Sunday, April 23, 2006 9:55 PM
To: freebsd-questions@FreeBSD.org
Subject: ftp server

Dear FreeBSD:

I can get to your web page 
www.freebsd.org/cgi//pds.cgi?ports/editors/staroffice52. I can find the 
staroffice52 info, one of which is sources. when I click on sources I 
arrive at a page which gives me a lot of ftp sites for downloading so-5 
2-ga-bin-linux-en.bin, or 109939-03.tar.Z.

However, when I enter 
ftp.csua.berleley.edu/pub/.1/ports/distfiles/staroffice52/ (no 
quotes) into my trustry little ftp software package, I cannot connect.

I have been able to download openoffice from ftp.freebsd.org, but I 
don't want openoffice.

Is there something wrong with ftp.csua, or is there something with 
newbe me?

Hope you can help, thanks.
___
Try the New Netscape Mail Today!
Virtually Spam-Free | More Storage | Import Your Contact List
http://mail.netscape.com

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ftp server

2006-04-23 Thread Lawrence Horvath
I cant even get to ftp://ftp.csua.berleley.edu/pub
digging ftp.csua.berleley.edu results in null, so does digging
csua.berleley.edu

you may want to try a different mirror

On 4/23/06, Bret Esquivel [EMAIL PROTECTED] wrote:
 Try ftp://ftp.csua.berleley.edu/pub/.1/ports/distfiles/staroffice52/


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of
 [EMAIL PROTECTED]
 Sent: Sunday, April 23, 2006 9:55 PM
 To: freebsd-questions@FreeBSD.org
 Subject: ftp server

 Dear FreeBSD:

 I can get to your web page
 www.freebsd.org/cgi//pds.cgi?ports/editors/staroffice52. I can find the
 staroffice52 info, one of which is sources. when I click on sources I
 arrive at a page which gives me a lot of ftp sites for downloading so-5
 2-ga-bin-linux-en.bin, or 109939-03.tar.Z.

 However, when I enter
 ftp.csua.berleley.edu/pub/.1/ports/distfiles/staroffice52/ (no
 quotes) into my trustry little ftp software package, I cannot connect.

 I have been able to download openoffice from ftp.freebsd.org, but I
 don't want openoffice.

 Is there something wrong with ftp.csua, or is there something with
 newbe me?

 Hope you can help, thanks.
 ___
 Try the New Netscape Mail Today!
 Virtually Spam-Free | More Storage | Import Your Contact List
 http://mail.netscape.com

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]



--
-Lawrence
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ftp server

2006-04-23 Thread Joseph Vella
On Sunday 23 April 2006 21:19, Lawrence Horvath wrote:
 I cant even get to ftp://ftp.csua.berleley.edu/pub
 digging ftp.csua.berleley.edu results in null, so does digging
 csua.berleley.edu
 
 you may want to try a different mirror
 
 On 4/23/06, Bret Esquivel [EMAIL PROTECTED] wrote:
  Try ftp://ftp.csua.berleley.edu/pub/.1/ports/distfiles/staroffice52/
 
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf Of
  [EMAIL PROTECTED]
  Sent: Sunday, April 23, 2006 9:55 PM
  To: freebsd-questions@FreeBSD.org
  Subject: ftp server
 
  Dear FreeBSD:
 
  I can get to your web page
  www.freebsd.org/cgi//pds.cgi?ports/editors/staroffice52. I can find the
  staroffice52 info, one of which is sources. when I click on sources I
  arrive at a page which gives me a lot of ftp sites for downloading so-5
  2-ga-bin-linux-en.bin, or 109939-03.tar.Z.
 
  However, when I enter
  ftp.csua.berleley.edu/pub/.1/ports/distfiles/staroffice52/ (no
  quotes) into my trustry little ftp software package, I cannot connect.
 


I don't know anything about this port or the ftp address you are trying to 
access, but is there a chance that in the ftp address berleley should be 
replaced with berkeley?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ftp server frustrating

2005-05-31 Thread Tobias Fendin

Vizion wrote:


Hi

When I need to log on to  ftp.freebsd.org manually 15 seconds (the allowed 
login time) is insufficient  (especially when I am using my tablet) -- and I 
sometimes get logged out if I have a long file name to get. This seems to 
happen when there is a long file name to enter.


Please can you raise the limits so they are reasonable for manual ftp access. 
It is sometimes needed when for one reason or another one cannot obtain the
file automatically. There are also occasions when the server drops connections 
on automatic access due to network delays.


My experience is that the time settings are overly tight.
 



Why don't you try a mirror site?
You can find them in the handbook.

   -Tobias
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ftp server frustrating

2005-05-31 Thread Vizion
On Tuesday 31 May 2005 08:38,  the author Tobias Fendin contributed to the 
dialogue on-
 Re: ftp server frustrating: 

Vizion wrote:
Hi

When I need to log on to  ftp.freebsd.org manually 15 seconds (the allowed
login time) is insufficient  (especially when I am using my tablet) -- and
 I sometimes get logged out if I have a long file name to get. This seems
 to happen when there is a long file name to enter.

Please can you raise the limits so they are reasonable for manual ftp
 access. It is sometimes needed when for one reason or another one cannot
 obtain the file automatically. There are also occasions when the server
 drops connections on automatic access due to network delays.

My experience is that the time settings are overly tight.

Why don't you try a mirror site?


Because the mirrors have failed due to an automatic update failing to find a 
file -- so I go to the horses mouth manually. 
You can find them in the handbook.

If I leave my boat, carrying my tablet, to get a file, (which had previously 
failed to download automatically, trying to sort out which mirrir to use when 
I am in starbucks is not much fun when I know the mirrors have already 
failed!!

The real question is why do the timings have to be so tight? What is the point 
of trying to prevent manual use by such low setting?



-Tobias
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

-- 
40 yrs navigating and computing in blue waters.
English Owner  Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing May/June bound for Europe via Panama 
Canal.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ftp server frustrating

2005-05-31 Thread Lowell Gilbert
Vizion [EMAIL PROTECTED] writes:

 The real question is why do the timings have to be so tight? What is the 
 point 
 of trying to prevent manual use by such low setting?

It's not a big deal for legitimate users, because you can use a .netrc
file (see the ftp(1) manual).  But it does cut down on denial-of-service
caused by automated tools (usually accidental, in my experience).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ftp server frustrating

2005-05-31 Thread Vizion
On Tuesday 31 May 2005 08:53, you wrote:
do you know the name of the file you need? If you don't exactly know
where it is, tell me what you are looking for and I will send you the
URL top the file and you can just use fetch to grab it

Thanks -- I really appreciate your offer -- but I am hoping whoever is 
responsible for the server can solve what is, for me, an ongoing problem. The 
time settings on ftp.freebsd.org are just to low for manual access in any but 
the most perfect conditions. (I dread to think how someone who is blind or 
deaf could ever access the site manually!)
 
It is the general problem that cncerns me - if I am in some goddamned foreign 
port trying to get an individual file by ftp through using my waterproof 
windows rugged tablet for subsequent transfer to my on below decks freebsd 
server I do not want to have to be frustratingly disconnected because the 
typing speed on my tablet is limited!

The problem is people who work all day in a static environment forget about 
those who may be working in a far more rugged environment. I just can see no 
imperative reason for setting those timings so low!
David
-- 
40 yrs navigating and computing in blue waters.
English Owner  Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing May/June bound for Europe via Panama 
Canal.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ftp server frustrating

2005-05-31 Thread Vizion
On Tuesday 31 May 2005 08:59,  the author Lowell Gilbert contributed to the 
dialogue on-
 Re: ftp server frustrating: 

Vizion [EMAIL PROTECTED] writes:
 The real question is why do the timings have to be so tight? What is the
 point of trying to prevent manual use by such low setting?

It's not a big deal for legitimate users, because you can use a .netrc
file (see the ftp(1) manual).  But it does cut down on denial-of-service
caused by automated tools (usually accidental, in my experience).

Look not everyone is permanently connected.

Not everyone can always use their freebsd system to get the file they need.

No everyone is in a position to use those tools every time.

Please consider conditions for connections by users who are not land based, 
orr office based, or permanent connection based, or even freebsd based!!!

It is the general problem that concerns me - if I am in some goddamned foreign 
port trying to get an individual file by a slow ftp connection from my 
waterproof windows rugged tablet for subsequent transfer to my on below decks 
freebsd server I do not want to have to be frustratingly disconnected because 
the typing speed on my tablet is limited!

Even automated connections get dropped because the setting are so low - 
many times when connected I have had a fetch stop due to ftp.freebsd.org 
unnecessarily dropping a connection due to tight time outs.

David
-- 
40 yrs navigating and computing in blue waters.
English Owner  Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing May/June bound for Europe via Panama 
Canal.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ftp server frustrating

2005-05-31 Thread Glenn Dawson

At 09:15 AM 5/31/2005, Vizion wrote:
It is the general problem that concerns me - if I am in some goddamned 
foreign

port trying to get an individual file by a slow ftp connection from my
waterproof windows rugged tablet for subsequent transfer to my on below decks
freebsd server I do not want to have to be frustratingly disconnected because
the typing speed on my tablet is limited!


why not use:

ftp -A ftp.freebsd.org

under windows, and

ftp -a ftp.freebsd.org

under freebsd?

-Glenn

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ftp server frustrating

2005-05-31 Thread Vizion
On Tuesday 31 May 2005 10:17,  the author Glenn Dawson contributed to the 
dialogue on-
 Re: ftp server frustrating: 

At 09:15 AM 5/31/2005, Vizion wrote:
It is the general problem that concerns me - if I am in some goddamned
foreign
port trying to get an individual file by a slow ftp connection from my
waterproof windows rugged tablet for subsequent transfer to my on below
 decks freebsd server I do not want to have to be frustratingly
 disconnected because the typing speed on my tablet is limited!

why not use:

ftp -A ftp.freebsd.org

under windows, and

ftp -a ftp.freebsd.org

under freebsd?

-Glenn
because I never looked at the manual - and old habits die hard chuckles I 
guess there was no such thing when I first used ftp!!

I still cant understand why the cut off is set so short!!

I guess you are in the business of getting old dogs to learn new tricks!!! :-)


David

-- 
40 yrs navigating and computing in blue waters.
English Owner  Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing May/June bound for Europe via Panama 
Canal.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ftp server frustrating

2005-05-31 Thread Lowell Gilbert
Vizion [EMAIL PROTECTED] writes:

 I still cant understand why the cut off is set so short!!

Well, for one thing, it *isn't* as short as you were claiming; my
testing right now indicates that it's (at least) over a minute.
Perhaps you are running into problems with a local firewall that is
cutting off your connection?

For another thing, the connection controls are *much* less stringent
on most of the mirror servers.  The fact that some mirror wasn't
working for you was a separate problem which can be solved
separately.  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ftp server frustrating

2005-05-31 Thread Vizion
On Tuesday 31 May 2005 12:26,  the author Lowell Gilbert contributed to the 
dialogue on-
 Re: ftp server frustrating: 

Vizion [EMAIL PROTECTED] writes:
 I still cant understand why the cut off is set so short!!

Well, for one thing, it *isn't* as short as you were claiming; my
testing right now indicates that it's (at least) over a minute.
My testing here does conflicts with yours. there seems to be some network 
delays for freebsd.. I do not know when the timing starts --

I get a message from the server that cuts me off when I am tryiong to log in 
saying I did not login within 15 seconds. Here is an example output from 
ftp.freebsd.org when logging in:
--
Name (ftp.freebsd.org:root): anonymous
331 Guest login ok, send your complete e-mail address as password.
Password:
421 Disconnecting you since you didn't login successfully within 15 seconds.
ftp: Login failed.

I have found that logging by typing my email address is virtually impossible. 
The only way to do it in time is to copy the email address to clipboard
Perhaps you are running into problems with a local firewall that is
cutting off your connection?

There is no firewall

For another thing, the connection controls are *much* less stringent
on most of the mirror servers.  

I am really asking why does it have to be so short  - what is the reason?

The fact that some mirror wasn't 
working for you was a separate problem which can be solved
separately.

This seems to happen with some regularity at the moment -- some files seem not 
to be found when fetching that I can get manually but ONLY from freebsd.org. 
Whether files take some time to propogate -- maybe because I keep my 
distfiles up to date I experience that problem more often than the average.. 
It just seems to me that the access is unreasonably tight.

david

-- 
40 yrs navigating and computing in blue waters.
English Owner  Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing May/June bound for Europe via Panama 
Canal.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ftp server frustrating

2005-05-31 Thread Dan Nelson
In the last episode (May 31), Vizion said:
 On Tuesday 31 May 2005 12:26,  the author Lowell Gilbert contributed to the 
 dialogue on-  Re: ftp server frustrating: 
 Vizion [EMAIL PROTECTED] writes:
  I still cant understand why the cut off is set so short!!
 
 Well, for one thing, it *isn't* as short as you were claiming; my
 testing right now indicates that it's (at least) over a minute.

 My testing here does conflicts with yours. there seems to be some
 network delays for freebsd.. I do not know when the timing starts --
 
 I get a message from the server that cuts me off when I am tryiong to
 log in saying I did not login within 15 seconds. Here is an example
 output from ftp.freebsd.org when logging in:

ftp.freebsd.org is actually 2 machines; the one at 62.243.72.50
(ftp.beastie.tdk.net) seems to have the 15 second timeout.  The one at
204.152.184.73 (freebsd.isc.org) doesn't.

 I am really asking why does it have to be so short  - what is the
 reason?

Try sending an email to the address listed in the welcome message sent
before you log into ftp.beastie.tdk.net:

220-Contact: beastie at tdk.net

-- 
Dan Nelson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ftp server frustrating

2005-05-31 Thread Vizion
On Tuesday 31 May 2005 13:00,  the author Dan Nelson contributed to the 
dialogue on-
 Re: ftp server frustrating: 

In the last episode (May 31), Vizion said:
 On Tuesday 31 May 2005 12:26,  the author Lowell Gilbert contributed to the 
dialogue on-  Re: ftp server frustrating:
 Vizion [EMAIL PROTECTED] writes:
  I still cant understand why the cut off is set so short!!
 
 Well, for one thing, it *isn't* as short as you were claiming; my
 testing right now indicates that it's (at least) over a minute.

 My testing here does conflicts with yours. there seems to be some
 network delays for freebsd.. I do not know when the timing starts --

 I get a message from the server that cuts me off when I am tryiong to
 log in saying I did not login within 15 seconds. Here is an example
 output from ftp.freebsd.org when logging in:

ftp.freebsd.org is actually 2 machines; the one at 62.243.72.50
(ftp.beastie.tdk.net) seems to have the 15 second timeout.  The one at
204.152.184.73 (freebsd.isc.org) doesn't.
Ok so we are now agreed that the timing for the machine to which I connected 
is set at 15 seconds?

dns returns 62.243.72.50 so that machine is the first contact. Surely it is 
not intended to be aset so that manually logins are virtually impossible.. I 
do not see anything in your reference to indicate such a goal.

Is there any reason why the timimg on that machine cannot be adjusted so that 
it is the same as the machine you tested? If it is a minute or more that 
would be reasonable but 15 seconds is far too short for anyone at the 
keyboard who is not a keyboard racing greyhound!! :-)

david
-- 
40 yrs navigating and computing in blue waters.
English Owner  Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing May/June bound for Europe via Panama 
Canal.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ftp server frustrating

2005-05-31 Thread Glenn Dawson

At 12:26 PM 5/31/2005, Lowell Gilbert wrote:

Vizion [EMAIL PROTECTED] writes:

 I still cant understand why the cut off is set so short!!


ftp.freebsd.org has two IP's associated with it:

# dig ftp.freebsd.org

;  DiG 9.3.1  ftp.freebsd.org
;; global options:  printcmd
;; Got answer:
;; -HEADER- opcode: QUERY, status: NOERROR, id: 19245
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 5, ADDITIONAL: 3

;; QUESTION SECTION:
;ftp.freebsd.org.   IN  A

;; ANSWER SECTION:
ftp.freebsd.org.18  IN  A   204.152.184.73
ftp.freebsd.org.18  IN  A   62.243.72.50

The server at 62.243.72.50 has a 15 second timeout (I waited 20 secs to get 
the output below)


# ftp 62.243.72.50
Connected to 62.243.72.50.
220-ftp.FreeBSD.org NcFTPd Server (licensed copy) ready.
220-The FreeBSD mirror at TDC, in Aarhus, Denmark, Europe
220-
220-Contact: [EMAIL PROTECTED]
220-
220-Use wisely.

--snip--

Name (62.243.72.50:glenn): ftp
421 Disconnecting you since you didn't login successfully within 15 seconds.
ftp: Login failed.
ftp


However, the server at 204.152.184.73 has a much longer timeout of at least 
a minute.


So depending on which address your ftp client is given, you might have 15 
seconds, or you might have much longer.


-Glenn



Well, for one thing, it *isn't* as short as you were claiming; my
testing right now indicates that it's (at least) over a minute.
Perhaps you are running into problems with a local firewall that is
cutting off your connection?

For another thing, the connection controls are *much* less stringent
on most of the mirror servers.  The fact that some mirror wasn't
working for you was a separate problem which can be solved
separately.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ftp server frustrating

2005-05-31 Thread Dan Nelson
In the last episode (May 31), Vizion said:
 On Tuesday 31 May 2005 13:00,  the author Dan Nelson contributed to the 
 dialogue on-  Re: ftp server frustrating: 
 ftp.freebsd.org is actually 2 machines; the one at 62.243.72.50
 (ftp.beastie.tdk.net) seems to have the 15 second timeout.  The one at
 204.152.184.73 (freebsd.isc.org) doesn't.

 Ok so we are now agreed that the timing for the machine to which I
 connected is set at 15 seconds?

I never doubted you :)
 
 dns returns 62.243.72.50 so that machine is the first contact. Surely
 it is not intended to be aset so that manually logins are virtually
 impossible.. I do not see anything in your reference to indicate such
 a goal.

That's because I did not want to make guesses as to why the
administrator set a 15 second timeout.

 Is there any reason why the timimg on that machine cannot be adjusted
 so that it is the same as the machine you tested? If it is a minute
 or more that would be reasonable but 15 seconds is far too short for
 anyone at the keyboard who is not a keyboard racing greyhound!! :-)

Dunno.  As I said in my first email, you'll probably have to ask the
administrator of that site.  Note that although the prompt asks for an
email address, it does not enforce it.  Just enter a blank password.

-- 
Dan Nelson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ftp server frustrating

2005-05-31 Thread Vizion
On Tuesday 31 May 2005 13:37,  the author Glenn Dawson contributed to the 
dialogue on-
 Re: ftp server frustrating: 

At 12:26 PM 5/31/2005, Lowell Gilbert wrote:
Vizion [EMAIL PROTECTED] writes:
  I still cant understand why the cut off is set so short!!

ftp.freebsd.org has two IP's associated with it:



Name (62.243.72.50:glenn): ftp
421 Disconnecting you since you didn't login successfully within 15 seconds.
ftp: Login failed.
ftp


I just keep asking why does any of them need to be set at 15 seconds. Why not 
set both to a time greater tha say 45 seconds. At least that makes manual 
login possible.

It is that simple

david
--
40 yrs navigating and computing in blue waters.
English Owner  Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing May/June bound for Europe via Panama 
Canal.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ftp server frustrating

2005-05-31 Thread Vizion
On Tuesday 31 May 2005 13:47,  the author Dan Nelson contributed to the 
dialogue on-
 Re: ftp server frustrating: 

In the last episode (May 31), Vizion said:
 On Tuesday 31 May 2005 13:00,  the author Dan Nelson contributed to the 
dialogue on-  Re: ftp server frustrating:
 ftp.freebsd.org is actually 2 machines; the one at 62.243.72.50
 (ftp.beastie.tdk.net) seems to have the 15 second timeout.  The one at
 204.152.184.73 (freebsd.isc.org) doesn't.

 Ok so we are now agreed that the timing for the machine to which I
 connected is set at 15 seconds?

I never doubted you :)

You did not - it was someone else who challenged my 15 second figure!

 dns returns 62.243.72.50 so that machine is the first contact. Surely
 it is not intended to be aset so that manually logins are virtually
 impossible.. I do not see anything in your reference to indicate such
 a goal.

That's because I did not want to make guesses as to why the
administrator set a 15 second timeout.

 Is there any reason why the timimg on that machine cannot be adjusted
 so that it is the same as the machine you tested? If it is a minute
 or more that would be reasonable but 15 seconds is far too short for
 anyone at the keyboard who is not a keyboard racing greyhound!! :-)

Dunno.  As I said in my first email, you'll probably have to ask the
administrator of that site.  
I did email him and the response seemed a trifle defensive
I am hoping that he can be pursuaded to change the setting -

david



-- 
40 yrs navigating and computing in blue waters.
English Owner  Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing May/June bound for Europe via Panama 
Canal.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ftp server frustrating

2005-05-31 Thread Giorgos Keramidas
On 2005-05-31 13:48, Vizion [EMAIL PROTECTED] wrote:
 On Tuesday 31 May 2005 13:37,  the author Glenn Dawson contributed to the
 dialogue on-
  Re: ftp server frustrating:

 Name (62.243.72.50:glenn): ftp
 421 Disconnecting you since you didn't login successfully within 15 seconds.
 ftp: Login failed.
 ftp

 I just keep asking why does any of them need to be set at 15 seconds. Why not
 set both to a time greater tha say 45 seconds. At least that makes manual
 login possible.

 It is that simple

No that's not simple, sorry.  That's whining that I find totally useless.

Just hit RETURN when prompted for a password.  *THAT* is simple :-)

I honestly fail to see how all this whining helps improve the state of
the FTP server or in any way advances the state of FreeBSD as a
community.  Why can't you just hit RETURN and be done with it?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ftp server frustrating

2005-05-31 Thread Vizion
On Tuesday 31 May 2005 14:40,  the author Giorgos Keramidas contributed to the 
dialogue on-
 Re: ftp server frustrating: 


 It is that simple


I honestly fail to see how all this whining helps improve the state of
the FTP server or in any way advances the state of FreeBSD as a
community.  
Since when does asking a simple question become whining? 

Being rude to someone who asks a simple question does not answer the question. 

Rudeness can sometimes be accounted for if the responder is uncomfotable 
either because s/he does not know the answer or someone finds the question 
uncomfortable.

I am not the only one who uses ftp manually -- if there is a reasonable 
immutable reason for keeping it at 15 seconds or less, then is the time to 
stop asking. In the meantime I not feel there is any justification for 
rudeness or aggression.

The question is why 15 seconds for one machine and a minute for another?
The second question is there a sound reason for not changing the machine set 
at 15 seconds = 45 seconds?



-- 
40 yrs navigating and computing in blue waters.
English Owner  Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing May/June bound for Europe via Panama 
Canal.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ftp server

2005-05-20 Thread Sergey S. Ropchan
No, it's working ...

try traceroute to server, maybe it's something with route ...

 I am unable to get access to the ftp.freebsd.org server. Is it down?
 
 Jason King
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: ftp server

2005-05-17 Thread fbsd_user

there are many ftp servers.
use ftpX.freebsd.org where X= number 1 through 13
See handbook for listed locations of all ftp mirror sites

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Jason King
Sent: Monday, May 16, 2005 4:28 PM
To: [EMAIL PROTECTED]
Subject: ftp server


I am unable to get access to the ftp.freebsd.org server. Is it down?

Jason King

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FTP server on 5.3

2005-03-16 Thread Jeff Wirth
 On Wed, 16 Mar 2005 12:56:12 -0800 (PST), Joshua Lewis [EMAIL PROTECTED] 
 wrote:
 I was trying to setup an FTP server last night on my 5.3 box. I was using
 the handbook and was instructed to make a new user ftp. So that worked
 fine and I was able to upload to ftp's home dirrectory but wanted to know
 if I can safley delete the .* files in his home dirrectory.
 
 I was also curious, if I change the permissions on /home/ftp to 755 then
 people will be able to read but not write to the dirrectory (do they need
 x permission to download a file?). But how do I make it so everyone can
 read but only certain users can write. My goal would to not use local
 accounts but pull usernames and passwords from a MySQL database. I would
 rather not transfer the username and password in clear text.
 
 Any thoughts or how toos I can follow?
 

My first thought was that if you are concerned about the integrity of
your passwords during transport, you may want to look into something
other then FTP.  SFTP or SCP for example ( and I'm sure there are a
list of other options...)

http://www.openssh.org/
http://www.openbsd.org/cgi-bin/man.cgi?query=sftp
http://www.openbsd.org/cgi-bin/man.cgi?query=scp

-jw
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FTP server on 5.3

2005-03-16 Thread Charles Swiger
On Mar 16, 2005, at 3:56 PM, Joshua Lewis wrote:
I was trying to setup an FTP server last night on my 5.3 box. I was 
using
the handbook and was instructed to make a new user ftp. So that worked
fine and I was able to upload to ftp's home dirrectory but wanted to 
know
if I can safley delete the .* files in his home dirrectory.
Yes.
I was also curious, if I change the permissions on /home/ftp to 755 
then
people will be able to read but not write to the dirrectory (do they 
need
x permission to download a file?). But how do I make it so everyone can
read but only certain users can write. My goal would to not use local
accounts but pull usernames and passwords from a MySQL database. I 
would
rather not transfer the username and password in clear text.
If you want to permit certain users to write, the normal way of doing 
so is to create standard Unix user accounts for them, and use a shell 
of /usr/sbin/nologin.

However, if you care about account security, do not use FTP.
SSH and scp are the way to go
--
-Chuck
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FTP server on 5.3

2005-03-16 Thread Aperez
try to look into pure-ftpd. You might find your solutions with it


On Wed, 16 Mar 2005 16:30:19 -0500
Charles Swiger [EMAIL PROTECTED] wrote:

 On Mar 16, 2005, at 3:56 PM, Joshua Lewis wrote:
  I was trying to setup an FTP server last night on my 5.3 box. I was 
  using
  the handbook and was instructed to make a new user ftp. So that worked
  fine and I was able to upload to ftp's home dirrectory but wanted to 
  know
  if I can safley delete the .* files in his home dirrectory.
 
 Yes.
 
  I was also curious, if I change the permissions on /home/ftp to 755 
  then
  people will be able to read but not write to the dirrectory (do they 
  need
  x permission to download a file?). But how do I make it so everyone can
  read but only certain users can write. My goal would to not use local
  accounts but pull usernames and passwords from a MySQL database. I 
  would
  rather not transfer the username and password in clear text.
 
 If you want to permit certain users to write, the normal way of doing 
 so is to create standard Unix user accounts for them, and use a shell 
 of /usr/sbin/nologin.
 
 However, if you care about account security, do not use FTP.
 SSH and scp are the way to go
 
 -- 
 -Chuck
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FTP server on 5.3

2005-03-16 Thread Christopher Nehren
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-03-17, Aperez scribbled these
curious markings:
 try to look into pure-ftpd. You might find your solutions with it

As much as I've been tempted to recommend pure-ftpd in the course of
reading this thread, I've restrained from doing so for one reason:
despite the fact that it does support TLS-encrypted connections, very
few *clients* support that. You can have the most encrypted FTP server
on the planet, but it won't do you one mite of good if your clients
can't talk to the server.

Best Regards,
Christopher Nehren
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCONnQk/lo7zvzJioRAqtxAJ41nd73jgVw5ZSFgwn2aYheLrxqAwCdHzji
UWtX3Py5xDH0mBdrI6Y3lZw=
=iuys
-END PGP SIGNATURE-

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated. -- Ken Thompson
If you ask the wrong questions, you get answers like 42 and God.
Unix is user friendly. However, it isn't idiot friendly.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FTP server problems

2005-02-23 Thread [EMAIL PROTECTED]
On Wed, 23 Feb 2005 22:35:25 +0100
Ulf Magnusson [EMAIL PROTECTED] wrote:

 I'm trying to set up a FTP server using vsftpd. Everything works fine
 as long as I connect via localhost, but external hosts can't seem to
 connect to my server. Connecting using the internal IP (192.168.0.3)
 from another system connected to the same router works.
 
 My router (NETGEAR DG834) is set up to forward ports 20 and 21, plus
 3000-3050 for PASV. My vsftpd.conf looks as follows:
 

my vsftpd-setup works fine, see below the differences in the
config-file, (and are you running ipfw or pf or ipfilter on the
ftp-server itself ?), HTH

 
 listen=YES
 

listen=YES
listen_address=192.168.2.16

 pasv_min_port=3000
 pasv_max_port=3050

pasv_enable=YES
pasv_min_port=49152
pasv_max_port=65534
pasv_address=192.168.2.16
pasv_promiscuous=YES

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FTP server problem

2005-02-15 Thread Peter Risdon
On Tue, 2005-02-15 at 01:16 -0500, Jon Bruce wrote:
 Hi there, just trying to install FreeBSD, I am in the install section 
 and can seemingly login to an ftp server.  However everyone I try just 
 brings me back to the ftp server listing.  Any help would be great.  Thanks

Are you behind a firewall or gateway? If so, try passive mode - it's one
of the options.

Peter.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FTP server problem

2004-10-20 Thread Mark Frasa
On 2004.10.19 22:36:10 +, alvaro rosales wrote:
 Hi guys,
  I have installed a FReebSD 5.1 Box, and I had enabled
 the FTP 
 daemon  in inetd,after I restarted inetd I can connect
 locally doing ftp 
 localhost from the server, but I can not connect to
 the server from a 
 workstation in the same network, I just get the a
 message conected to 
 ftpserver, but the login and password dialog never
 appear. Is there any 
 aditional configuration file that I have to change to
 enable remote 
 computers to connect to my server?. 
 Thanks for your answers 
  
  1   
 

As far as I know you don't have to enable remote computers in any file.

What does your log files say? And is there a firewall active on the server?

Mark.

 
 
   
 __
 Do you Yahoo!?
 Take Yahoo! Mail with you! Get it on your mobile phone.
 http://mobile.yahoo.com/maildemo 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FTP server problem

2004-10-20 Thread Lowell Gilbert
alvaro rosales [EMAIL PROTECTED] writes:

  I have installed a FReebSD 5.1 Box, and I had enabled the FTP
 daemon in inetd,after I restarted inetd I can connect locally doing
 ftp localhost from the server, but I can not connect to the server
 from a workstation in the same network, I just get the a message
 conected to ftpserver, but the login and password dialog never
 appear. Is there any aditional configuration file that I have to
 change to enable remote computers to connect to my server?.  Thanks
 for your answers


Have you got a firewall getting in the way?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FTP server will not initiate DATA connection back to client

2004-09-15 Thread RYAN vAN GINNEKEN
I am tring to setup anon ftp on my bsd box and followed the directions 
layed out on this web page
http://www.freebsddiary.org/ftp-anonymous.php but to no avial.  The anon 
user should be able to browse the dirctories and upload files to 
incoming but not be able to downlaod or erase files from the incoming 
directory.  My problem is that the anon user can download files from the 
incoming directory and i have already had script kiddies up and down 
loading files can someone please help.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FTP server will not initiate DATA connection back to client

2004-09-15 Thread Scott Stahl
I would look into the proftpd port.  More information regarding proftp
can be found at http://www.proftpd.org.  I've found this to be a
stable and security feature rich ftp server.

Scott.


On Wed, 15 Sep 2004 19:12:05 -0600, RYAN vAN GINNEKEN
[EMAIL PROTECTED] wrote:
 I am tring to setup anon ftp on my bsd box and followed the directions
 layed out on this web page
 http://www.freebsddiary.org/ftp-anonymous.php but to no avial.  The anon
 user should be able to browse the dirctories and upload files to
 incoming but not be able to downlaod or erase files from the incoming
 directory.  My problem is that the anon user can download files from the
 incoming directory and i have already had script kiddies up and down
 loading files can someone please help.
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FTP server

2004-08-31 Thread Matthew Seaman
On Tue, Aug 31, 2004 at 06:03:02PM +0200, lycanthrope wrote:

 I'm trying to set up FTP server. I enable the line in inetd, created a user ftp in 
 group ftp. now, the ftp user and anonymous can log into FTP, and download. BUT, 
 anonymous user can ALSO UPLOAD. how to restrict anonymous account to downloading 
 only?

The simplest thing to do is to make the anonymous FTP area readable by
the ftp UID, but not writable.  Assuming your ftp user also has ftp as
it's primary group:

# chown -R root:ftp ~ftp/pub
# chmod -R o+rwX,g-w+rX,o-rwx ~ftp/pub

should do the trick, assuming you're going by the comments towards the
end of ftpd(8) man page on how to lay out the anonymous FTP area.

If you need to create a group 'ftp' use:

# pw group add -n ftp -g 21 -M root

and to make that the primary group of the ftp user:

# pw user mod -n ftp -g ftp

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgpK5E7IR888z.pgp
Description: PGP signature


Re: Ftp server near me

2004-07-10 Thread uidzero
Joshua Lewis wrote:
All documentation tells you when running CVSUP or installing FBSD from FTP
to use the FTP server closest to you.
So how do you determine the best server. I recall reading a post that said
run a command that will determine the closest server or fastest server near
you. I however lost the page I printed out and can't remember the web
address.
Any ideas how to find the fastest server near me?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
 

/usr/ports/sysutils/fastest_cvsup
It will find the fastest ftp for you to download from.
Michael
--
Michael D. Whities
[EMAIL PROTECTED]
http://www.one-arm.com
--
There are four colors of hats to watch for: 
Black, White, Grey, and Red.

The meanings are: 
Cracker, Hacker, Guru, and Victim.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Ftp server near me

2004-07-10 Thread DerDrache
fastest_cvsup is a simple program to use that can be found in the ports 
tree.  I'd recommend it.

/usr/ports/sysutils/fastest_cvsup
DerDrache
Joshua Lewis wrote:
All documentation tells you when running CVSUP or installing FBSD from FTP
to use the FTP server closest to you.
So how do you determine the best server. I recall reading a post that said
run a command that will determine the closest server or fastest server near
you. I however lost the page I printed out and can't remember the web
address.
Any ideas how to find the fastest server near me?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
.
 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Ftp server near me

2004-07-10 Thread DerDrache
My apologies.  I did not read your original email as closely as I should 
have.  fastest_cvsup will only test cvsup servers.

DerDrache wrote:
fastest_cvsup is a simple program to use that can be found in the 
ports tree.  I'd recommend it.

/usr/ports/sysutils/fastest_cvsup
DerDrache
Joshua Lewis wrote:
All documentation tells you when running CVSUP or installing FBSD 
from FTP
to use the FTP server closest to you.

So how do you determine the best server. I recall reading a post that 
said
run a command that will determine the closest server or fastest 
server near
you. I however lost the page I printed out and can't remember the web
address.

Any ideas how to find the fastest server near me?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]

.
 


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Ftp server near me

2004-07-10 Thread Randy Pratt
On Sat, 10 Jul 2004 13:18:36 -0700
Joshua Lewis [EMAIL PROTECTED] wrote:

 All documentation tells you when running CVSUP or installing FBSD from FTP
 to use the FTP server closest to you.
 
 So how do you determine the best server. I recall reading a post that said
 run a command that will determine the closest server or fastest server near
 you. I however lost the page I printed out and can't remember the web
 address.
 
 Any ideas how to find the fastest server near me?

I think your looking for /usr/ports/sysutils/fastest_cvsup .

The fastest may change depending on mirror loads or net
conditions so I use this in my script that cvsups things:

# Find fastest cvsup server at the moment
host=`fastest_cvsup -Q -c us`

/usr/local/bin/cvsup -g -L 2 -h $host /your/path/to/supfile

See the manpage for fastest_cvsup for options available of course.
The above is for US cvsup mirrors.  Adjust accordingly.

Best regards,

Randy
-- 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Ftp server near me

2004-07-10 Thread uidzero
DerDrache wrote:
My apologies.  I did not read your original email as closely as I 
should have.  fastest_cvsup will only test cvsup servers.

DerDrache wrote:
fastest_cvsup is a simple program to use that can be found in the 
ports tree.  I'd recommend it.

/usr/ports/sysutils/fastest_cvsup
DerDrache
Joshua Lewis wrote:
All documentation tells you when running CVSUP or installing FBSD 
from FTP
to use the FTP server closest to you.

So how do you determine the best server. I recall reading a post 
that said
run a command that will determine the closest server or fastest 
server near
you. I however lost the page I printed out and can't remember the web
address.

Any ideas how to find the fastest server near me?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]

.
 


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]

Ahh, the same here. I aoologize.
Michael
--
Michael D. Whities
[EMAIL PROTECTED]
http://www.one-arm.com
--
There are four colors of hats to watch for: 
Black, White, Grey, and Red.

The meanings are: 
Cracker, Hacker, Guru, and Victim.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Ftp server near me

2004-07-10 Thread Kent Stewart
On Saturday 10 July 2004 01:33 pm, uidzero wrote:
 DerDrache wrote:
  My apologies.  I did not read your original email as closely as I
  should have.  fastest_cvsup will only test cvsup servers.
 
  DerDrache wrote:
  fastest_cvsup is a simple program to use that can be found in the
  ports tree.  I'd recommend it.
 
  /usr/ports/sysutils/fastest_cvsup
 
  DerDrache
 
  Joshua Lewis wrote:
  All documentation tells you when running CVSUP or installing FBSD
  from FTP
  to use the FTP server closest to you.
 
  So how do you determine the best server. I recall reading a post
  that said
  run a command that will determine the closest server or fastest
  server near
  you. I however lost the page I printed out and can't remember the
  web address.
 
  Any ideas how to find the fastest server near me?

 Ahh, the same here. I aoologize.


I think I would have given the same answer. It was the only choice since 
the Handbook no longer tells you where each mirror is located. All you 
can do now, is choose an FTP mirror that is in a country close to you.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Ftp server near me

2004-07-10 Thread aerial_gus
I had this question a couple years back. I did command line ftp logins until
I found something I recognized, usually a school or university. I'm on the
East Coast (US) so I got lucky with MIT, Perdue and UNC. Commercial-sited
servers, your guess is as good as mine.

I guess you could try to brute-force a solution w/ some combination of
nslookup, traceroute etc and a six-pack...


- Original Message - 
From: Kent Stewart [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: DerDrache [EMAIL PROTECTED]; uidzero
[EMAIL PROTECTED]
Sent: Saturday, July 10, 2004 5:02 PM
Subject: Re: Ftp server near me


 On Saturday 10 July 2004 01:33 pm, uidzero wrote:
  DerDrache wrote:
   My apologies.  I did not read your original email as closely as I
   should have.  fastest_cvsup will only test cvsup servers.
  
   DerDrache wrote:
   fastest_cvsup is a simple program to use that can be found in the
   ports tree.  I'd recommend it.
  
   /usr/ports/sysutils/fastest_cvsup
  
   DerDrache
  
   Joshua Lewis wrote:
   All documentation tells you when running CVSUP or installing FBSD
   from FTP
   to use the FTP server closest to you.
  
   So how do you determine the best server. I recall reading a post
   that said
   run a command that will determine the closest server or fastest
   server near
   you. I however lost the page I printed out and can't remember the
   web address.
  
   Any ideas how to find the fastest server near me?
 
  Ahh, the same here. I aoologize.
 

 I think I would have given the same answer. It was the only choice since
 the Handbook no longer tells you where each mirror is located. All you
 can do now, is choose an FTP mirror that is in a country close to you.

 Kent

 -- 
 Kent Stewart
 Richland, WA

 http://users.owt.com/kstewart/index.html
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
[EMAIL PROTECTED]



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FTP server will not initiate DATA connection back to client

2004-07-01 Thread User LAFFER1
Does it work with ipfw disabled?  If so, then it seems resonable that ipfw 
is causing the problem.  One of the ftp modes (pasv or port) requires high 
level ports to be accessible on the server.  I just started drinking 
coffee this moring, so i can't remember which one yet. :)

If i remember right, the default ftpd is influenced by hosts.allow and 
hosts.deny too.

On Thu, 1 Jul 2004 [EMAIL PROTECTED] wrote:
I am running FreeBSD 4.9 RELEASE running the standard ftpd.  I can act as an
ftp client from the console OK, however when I try to ftp from a client PC
to the server running ftpd (which is running ipfw) the ftp server receives
the packet sent to port 21 and replies however it will not initiate a DATA
connection back to the client from port 20.  I had my client configured to
use ACTIVE FTP.  I have also tried PASSIVE without any difference.  I do not
have a firewall on the client and can successfully FTP to another FreeBSD
box.
None of the rules on my firewall that deny packets coming back from the ftp
servers ipfw firewall are being hit. Does anyone have any ideas?
Regards, J.S
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FTP server will not initiate DATA connection back to client

2004-07-01 Thread Andrew L. Gould
On Thursday 01 July 2004 07:45 am, [EMAIL PROTECTED] wrote:
 I am running FreeBSD 4.9 RELEASE running the standard ftpd.  I can
 act as an ftp client from the console OK, however when I try to ftp
 from a client PC to the server running ftpd (which is running ipfw)
 the ftp server receives the packet sent to port 21 and replies
 however it will not initiate a DATA connection back to the client
 from port 20.  I had my client configured to use ACTIVE FTP.  I have
 also tried PASSIVE without any difference.  I do not have a firewall
 on the client and can successfully FTP to another FreeBSD box.
 None of the rules on my firewall that deny packets coming back from
 the ftp servers ipfw firewall are being hit. Does anyone have any
 ideas? Regards, J.S

In /etc/services, I see the following lines related to ftp:

ftp-data   20/tcp#File Transfer [Default Data]
ftp-data   20/udp#File Transfer [Default Data]
ftp  21/tcp#File Transfer [Control]
ftp  21/udp#File Transfer [Control]

Are all of these ports open in the firewall?  Sending and receiving?  (I 
don't know if all of the ports are needed or not.)

Best of luck,

Andrew Gould
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FTP server will not initiate DATA connection back to client

2004-07-01 Thread Bill Moran
User LAFFER1 [EMAIL PROTECTED] wrote:

 Does it work with ipfw disabled?  If so, then it seems resonable that ipfw 
 is causing the problem.  One of the ftp modes (pasv or port) requires high 
 level ports to be accessible on the server.  I just started drinking 
 coffee this moring, so i can't remember which one yet. :)

Drink faster man! ;)

Do these tests:
1) FTP active mode with firewall enabled
2) FTP active mode with firewall at allow all
3) FTP passive mode with firewall enabled

If 2  3 succeed and 1 doesn't ... then it's your firewall.  Other
combinations indicate other problems which may be more complex.

FTP active mode requires that the server can make a connection _back_ to
the client.  This fails over NAT boundries and many different firewall
configs.  Passive mode causes the client to make a _second_ connection to
the server on a high, random port.  This traverses NAT pretty well, but
requires proper rules in the server's packet filter to allow the connections
to succeed.  I believe the man page on ftpd has more detail.  The random,
high ports that can be used is configurable.  I believe these two sysctls
control it:
net.inet.ip.portrange.hifirst: 49152
net.inet.ip.portrange.hilast: 65535

 If i remember right, the default ftpd is influenced by hosts.allow and 
 hosts.deny too.
 
 On Thu, 1 Jul 2004 [EMAIL PROTECTED] wrote:
 
 
  I am running FreeBSD 4.9 RELEASE running the standard ftpd.  I can act as an
  ftp client from the console OK, however when I try to ftp from a client PC
  to the server running ftpd (which is running ipfw) the ftp server receives
  the packet sent to port 21 and replies however it will not initiate a DATA
  connection back to the client from port 20.  I had my client configured to
  use ACTIVE FTP.  I have also tried PASSIVE without any difference.  I do not
  have a firewall on the client and can successfully FTP to another FreeBSD
  box.
  None of the rules on my firewall that deny packets coming back from the ftp
  servers ipfw firewall are being hit. Does anyone have any ideas?
  Regards, J.S
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ftp server

2004-05-12 Thread Jonathan Arnold
dave wrote:

Hello,
I've got a 4.9 system and i'm out looking for an ftp server for it as i do
not want to use the base server. I've heard good reviews of pure-ftpd, but
I've had good luck with the very easy to use bftpd. You can check it out
at http://www.bftpd.org and it is found in the ports:
/usr/ports/ftp/bftpd-

--
Jonathan Arnold (mailto:[EMAIL PROTECTED])
Daemon Dancing in the Dark, a FreeBSD weblog:
http://freebsd.amazingdev.com/blog/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ftp server

2004-04-19 Thread Jesper Wallin
 Hello,
 I've got a 4.9 system and i'm out looking for an ftp server for it as i do
 not want to use the base server. I've heard good reviews of pure-ftpd, but
 i'm getting errors: can not find the ftp account and it won't authenticate.
 I've also tried proftpd, but although i find it capable i don't like
 it's slow response, even with identd lookups off.
 Features that i'm looking for, chroot anonymous users to a specific
 area, enable both anonymous and real users, virtual user and quota support,
 band width management, and optional secure communications. Most importantly
 i need it to work with ipfilter/ipnat. Using the base ftp server on a test
 box i can connect but i keep getting an error, can not build data
 connection, this is from a box external to the firewall.
 Thanks.
 Dave.

 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


Hello..

I would (and do) choose Pure-FTPd since it has a very nice history without alot of
security problems. Both proftpd and wu-ftpd has a quite bad security history and I
prefer to not use them at all because of that.

Pure-FTPd has support for SSL/TLS, FXP, has native-language support, chroot, allow
virtual users, MySQL, Bandwidth limitations, Works perfectly both with or without a
firewall, and so on, the list is long.. I've personally used it since the spring of 
1999
and I havn't heard of _any_ remote root exploit yet so I consider it the best ftp 
daemon
ever.


Regards,
Jesper Wallin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ftp server

2004-04-19 Thread dick hoogendijk
On 18 Apr dave wrote:

 I've heard good reviews of pure-ftpd, but i'm getting errors: can not
 find the ftp account and it won't authenticate.

I would check my system settings.. Pure-ftpd ran after a portinstall on
my fbsd box as well as on a debian woody server. I do use the cli
startup line for the ftp server though. Not the pureftp.conf file.
I suggest you give it another try; read the dox carefully; it's worth
it.

 Features that i'm looking for, chroot anonymous users to a specific
 area, enable both anonymous and real users, virtual user and quota
 support, band width management, and optional secure communications.
 Most importantly i need it to work with ipfilter/ipnat.

Pure-ftpd has it all. And it works very secure and fast. It definately
is the best ftp server around imo.

-- 
dick -- http://www.nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.9 ++ Debian GNU/Linux (Woody)
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilya
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ftp server

2004-04-19 Thread Micah Bushouse
If you're having a problem building the data connection, you might have 
problems with your ipfilter.  This link has information on how to help 
ipfilter and ftp coexist.

http://www.obfuscation.org/ipf/

It's about 3/4 into the article, do a find for coping with ftp

~Micah

Jesper Wallin wrote:
Hello,
I've got a 4.9 system and i'm out looking for an ftp server for it as i do
not want to use the base server. I've heard good reviews of pure-ftpd, but
i'm getting errors: can not find the ftp account and it won't authenticate.
   I've also tried proftpd, but although i find it capable i don't like
it's slow response, even with identd lookups off.
   Features that i'm looking for, chroot anonymous users to a specific
area, enable both anonymous and real users, virtual user and quota support,
band width management, and optional secure communications. Most importantly
i need it to work with ipfilter/ipnat. Using the base ftp server on a test
box i can connect but i keep getting an error, can not build data
connection, this is from a box external to the firewall.
Thanks.
Dave.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Hello..

I would (and do) choose Pure-FTPd since it has a very nice history without alot of
security problems. Both proftpd and wu-ftpd has a quite bad security history and I
prefer to not use them at all because of that.
Pure-FTPd has support for SSL/TLS, FXP, has native-language support, chroot, allow
virtual users, MySQL, Bandwidth limitations, Works perfectly both with or without a
firewall, and so on, the list is long.. I've personally used it since the spring of 
1999
and I havn't heard of _any_ remote root exploit yet so I consider it the best ftp 
daemon
ever.
Regards,
Jesper Wallin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ftp server

2004-04-18 Thread Robert Storey
Dear Dave,

Both the BSD ftp and proftp have worked for me in the past, though I've
never benchmarked them. The other major contender is wu-ftp.

regards,
Robert

On Sun, 18 Apr 2004 18:45:09 -0400
dave [EMAIL PROTECTED] wrote:

 Hello,
 I've got a 4.9 system and i'm out looking for an ftp server for it as i
 do not want to use the base server. I've heard good reviews of
 pure-ftpd, but i'm getting errors: can not find the ftp account and it
 won't authenticate.
 I've also tried proftpd, but although i find it capable i don't like
 it's slow response, even with identd lookups off.
 Features that i'm looking for, chroot anonymous users to a specific
 area, enable both anonymous and real users, virtual user and quota
 support, band width management, and optional secure communications. Most
 importantly i need it to work with ipfilter/ipnat. Using the base ftp
 server on a test box i can connect but i keep getting an error, can not
 build data connection, this is from a box external to the firewall.
 Thanks.
 Dave.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Ftp server

2003-11-14 Thread Daniela
On Friday 14 November 2003 22:19, Kenzo wrote:
 I'm looking at installing an FTP server at work.
 I was thinking of using FreeBSD4.9 and PureFTP.
 I guest I want to know what others have in mind and the experience with
 PureFTP (good or bad).

 I nice feathure would be able to create users and give them a time
 experation.
 so I would create a user, set it to expire tomorow, and send the userID and
 password to the person.
 The account would expire at midnight and be invalid.

 Is this possible with PureFTP or any open source ftp server?

AFAIK the FTP server software is not responsible for account expiration.
I'd do it with this command:

# at midnight
rmuser -y username
^D


Regards,
Daniela


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FTP server problem

2002-12-07 Thread dslb
On 2002.12.07 13:47 Damien Hull wrote:

 I run a FreeBSD FTP server. For some reason it works only some of
 the
 time. Here is what happens:

   1. I can log into the FTP server from any where
   2. I can transfer files from any where
   3. I can CD into any directory I want
   4. I can not use the ls command from some locations.

 Does anybody know how to fix this problem? I would like to be able
 to
 see what I have when I'm on my ftp server.

Who do you login as? If you can CD into any dir and transfer form any where,
it sounds like root, but for security reasons you should disable root logins
(it is disabled by default). If you are not root, then the raeson you can't
ls in some dir's, is maybe because you don't have read permissions to that
dir?

br
socketd


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: ftp server problem

2002-12-07 Thread Andrew Brampton
Does the ls command get sent, but no reply?

If nothing comes back then it sounds like a passive FTP problem... There is
alot written about this, google a bit, and you will find many solutions.

Andrew
- Original Message -
From: Damien Hull [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, December 07, 2002 12:47 PM
Subject: ftp server problem


 I think this is more of a networking question then a FreeBSD question
 but I thought I would ask it here in the hopes that someone will have an
 answer.

 I run a FreeBSD FTP server. For some reason it works only some of the
 time. Here is what happens:

 1. I can log into the FTP server from any where
 2. I can transfer files from any where
 3. I can CD into any directory I want
 4. I can not use the ls command from some locations.

 Does anybody know how to fix this problem? I would like to be able to
 see what I have when I'm on my ftp server.




 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: ftp server problem

2002-12-07 Thread Matthew Seaman
On Sat, Dec 07, 2002 at 03:47:23AM -0900, Damien Hull wrote:

 I run a FreeBSD FTP server. For some reason it works only some of the
 time. Here is what happens:
 
   1. I can log into the FTP server from any where
   2. I can transfer files from any where
   3. I can CD into any directory I want
   4. I can not use the ls command from some locations. 
 
 Does anybody know how to fix this problem? I would like to be able to
 see what I have when I'm on my ftp server.

Hmmm... There are two possibilities I can think of that might cause
these symptoms.  You don't say exactly how the failure of the 'ls'
command manifests itself.

i) It's a feature of the particular ftp clients that you happen to
use at those troublesome locations that they don't provide the 'ls'
command to get a directory listing of the server.  In that case there
should be an alternative command, like 'dir' which does much the same
thing.

In this case your ftp client will presumably emit some sort of error
message.  It's almost inconceivable that any ftp client with a unix
heritage would fail to provide a 'ls' command in the ftp client, but
stranger things have happened on the 'net.

ii) You're running into active/passive ftp mode breakage.  In this
case, what you'll see when you issue a 'ls' command in the client is
you session just hangs and you have to quit to get back to sanity.
Contrary to what you imply above, you wouldn't be able to up- or down-
load files in this case, either.

The ultimate cause of this problem is a bad interaction between the
way the FTP protocol works and being able to write a reasonable
firewall filter set (usually to protect the *client* machine you're
ftp'ing from).  I wrote quite a detailed explanation of what exactly
happens in:


http://groups.google.co.uk/groups?hl=enlr=lang_enie=UTF-8oe=UTF-8safe=offselm=fa.p0jgo8v.2hc7b2%40ifi.uio.no

Probably what you need to do is use passive mode ftp from the
troublsome locations.  You can test this by using a web browser from
the problematic location to look at your ftp server --- web browsers
happen to always use passive mode ftp, and if you can see your site
OK, that confirms what the problem is.  Setting a command line ftp
client to use passive mode varies from the sublime --- eg. just use
the 'passive' command to toggle between active and passive mode in the
FreeBSD client, or set FTP_PASSIVE_MODE=yes in the environment, or use
the 'pftp' passive ftp client --- to the gor-blimey --- as far as I
can tell, there's no way to make the Solaris standard ftp client use
passive mode, and you'ld have to install something like ncftp instead
(ports/ftp/ncftp3).

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
  Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: ftp Server

2002-11-17 Thread Lowell Gilbert
   How many simultaenous connections from one user are allowed to the ftp
   server ?
 
 In the standard FreeBSD ftp, either none, or as many as it can handle.
 That is on ftp.freebsd.org ?   Because I am only getting four(4)
 connections only.

Different mirrors run different ftpds.  

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: FTP Server Configuration

2002-10-20 Thread paul beard
Tony M. wrote:
 Hi again everyone - Thanks for all the previous help, it's
 worked great :)

 At this point, could someone point me to the right place to
 figure out how to configure the FTP server/users and etc?  I've
 already enabled it in the /etc/inetd.conf file.


for user ftp, you might be already in business. try accessing your
machine as a user (like yourself) and see what happens.

for anonymous ftp, the fine handbook, er, manual, has this to say
about it.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-post.html#ANON-FTP2


--
Paul Beard / 8040 27th Ave NE / Seattle WA 98115 /
paulbeard [at] mac [ dot] com / 206 529 8400

weblog @ http://paulbeard.no-ip.org/movabletype/

 ... I told my doctor I got all the exercise I needed being a
pallbearer for all my friends who run and do exercises!
		-- Winston Churchill


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message