* Re: ftpd (for not superusers) needed .
1997-04-09 4:00 ftpd (for not superusers) needed Puma (Dino Fabiani)
@ 1997-04-09 4:00 ` Andru Luvisi
1997-04-10 4:00 ` Andrew Gierth
` (5 subsequent siblings)
6 siblings, 0 replies; 12+ messages in thread
From: Andru Luvisi @ 1997-04-09 4:00 UTC (permalink / raw)
Puma (Dino Fabiani) (i0100238@uts.univ.trieste.it) wrote:
: hello.
: does anybody know the name of a ftp server program
: that can be run by any user ?
you could hack up one of the ftp servers used on LP muds... I think
you can get one at ftp://ftp.imaginary.com/pub/LPC/ in a utils or misc
directory or something.
: please, send me a copy of the replies into my email.
no.
andru
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: ftpd (for not superusers) needed .
1997-04-09 4:00 ftpd (for not superusers) needed Puma (Dino Fabiani)
1997-04-09 4:00 ` Andru Luvisi
@ 1997-04-10 4:00 ` Andrew Gierth
1997-04-10 4:00 ` Icarus Sparry
1997-04-10 4:00 ` James McIninch
1997-04-10 4:00 ` Adam Kropelin
` (4 subsequent siblings)
6 siblings, 2 replies; 12+ messages in thread
From: Andrew Gierth @ 1997-04-10 4:00 UTC (permalink / raw)
>>>>> "egb" == <egb@nic.com> writes:
Volker Borchert (bt@teknon.de) wrote:
:
: "Puma (Dino Fabiani)" <i0100238@uts.univ.trieste.it> writes:
:
: |> does anybody know the name of a ftp server program
: |> that can be run by any user ?
:
: Won't work on some systems, e.g. SunOS 4, whereupon only root processes may
: bind() to port numbers <= 1023. And ftp user 20 and 21, see /etc/services.
egb> I think that might actually be the case on all systems.
Yup.
egb> However, any ftpd should be able to bind to alternative ports, so if
egb> ftping to a different port is O.K. then any ftpd should do.
Nope. No FTP client I've ever seen has any mechanism for specifying that
a non-standard port is to be used.
--
Andrew.
comp.unix.programmer FAQ: see <URL: http://www.erlenstar.demon.co.uk/unix/>
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: ftpd (for not superusers) needed .
1997-04-10 4:00 ` Andrew Gierth
@ 1997-04-10 4:00 ` Icarus Sparry
1997-04-10 4:00 ` James McIninch
1 sibling, 0 replies; 12+ messages in thread
From: Icarus Sparry @ 1997-04-10 4:00 UTC (permalink / raw)
In article <87bu7n7xbu.fsf@erlenstar.demon.co.uk>,
Andrew Gierth <andrew@erlenstar.demon.co.uk> wrote:
>Nope. No FTP client I've ever seen has any mechanism for specifying that
>a non-standard port is to be used.
Then you clearly have not seen a SunOS4 machine, as its ftp program has
an optional arguement to the 'open' which specifies the port number.
Very useful when testing out new ftp daemons.
Icarus
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: ftpd (for not superusers) needed .
1997-04-10 4:00 ` Andrew Gierth
1997-04-10 4:00 ` Icarus Sparry
@ 1997-04-10 4:00 ` James McIninch
1 sibling, 0 replies; 12+ messages in thread
From: James McIninch @ 1997-04-10 4:00 UTC (permalink / raw)
Someone calling themselves Andrew Gierth (andrew@erlenstar.demon.co.uk) wrote:
) >>>>> "egb" == <egb@nic.com> writes:
) egb> However, any ftpd should be able to bind to alternative ports, so if
) egb> ftping to a different port is O.K. then any ftpd should do.
) Nope. No FTP client I've ever seen has any mechanism for specifying that
) a non-standard port is to be used.
Both the FTP under Solaris 2.4 and 2.5.1 and under Linux permit this, though
not documented on their man pages. I cannot speculate whether this feature is
available with other FTP clients.
I used to ftp to altenative ports all the time when I used SLIRP to emulate
a PPP connection (in which case I had ports 5020 and 5021 on the Solaris
host redirected to ports 20 and 21 on the dial-in machine using SLIRP).
--
James McIninch
School of Biology, Georgia Tech, Atlanta, GA 30332-0230
james@amber.biology.gatech.edu
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: ftpd (for not superusers) needed .
1997-04-09 4:00 ftpd (for not superusers) needed Puma (Dino Fabiani)
1997-04-09 4:00 ` Andru Luvisi
1997-04-10 4:00 ` Andrew Gierth
@ 1997-04-10 4:00 ` Adam Kropelin
1997-04-10 4:00 ` Volker Borchert
` (3 subsequent siblings)
6 siblings, 0 replies; 12+ messages in thread
From: Adam Kropelin @ 1997-04-10 4:00 UTC (permalink / raw)
Andrew Gierth wrote:
>
> >>>>> "egb" == <egb@nic.com> writes:
>
> egb> However, any ftpd should be able to bind to alternative ports, so if
> egb> ftping to a different port is O.K. then any ftpd should do.
>
> Nope. No FTP client I've ever seen has any mechanism for specifying that
> a non-standard port is to be used.
From the AIX 4.1.1 man page for 'ftp':
"The HostName parameter is the name of the host machine to which files
are transferred. The optional Port parameter specifies the ID of the
port through which to transmit. (The /etc/services file specifies
the default port.)"
There are some MS Windows FTP clients that support non-standard port
specifications as well. (Not that I've ever used any, of course --I'm
not being defensive...)
--Adam
#include "std_disclaim.h"
I speak only for myself, not for my employer.
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: ftpd (for not superusers) needed .
1997-04-09 4:00 ftpd (for not superusers) needed Puma (Dino Fabiani)
` (2 preceding siblings ...)
1997-04-10 4:00 ` Adam Kropelin
@ 1997-04-10 4:00 ` Volker Borchert
1997-04-10 4:00 ` egb
1997-04-11 4:00 ` Roger Espel Llima
1997-04-10 4:00 ` Andrew Gierth
` (2 subsequent siblings)
6 siblings, 2 replies; 12+ messages in thread
From: Volker Borchert @ 1997-04-10 4:00 UTC (permalink / raw)
In article <Pine.OSF.3.91.970409192533.19899G-100000@uts.univ.trieste.it>, "Puma (Dino Fabiani)" <i0100238@uts.univ.trieste.it> writes:
|> does anybody know the name of a ftp server program
|> that can be run by any user ?
Won't work on some systems, e.g. SunOS 4, whereupon only root processes may
bind() to port numbers <= 1023. And ftp user 20 and 21, see /etc/services.
vb
--
"I'm a doctor, not a mechanic." Dr Leonard McCoy <mccoy@ncc1701.starfleet.fed>
"I'm a mechanic, not a doctor." Volker Borchert <bt@teknon.de>
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: ftpd (for not superusers) needed .
1997-04-10 4:00 ` Volker Borchert
@ 1997-04-10 4:00 ` egb
1997-04-11 4:00 ` Roger Espel Llima
1 sibling, 0 replies; 12+ messages in thread
From: egb @ 1997-04-10 4:00 UTC (permalink / raw)
Volker Borchert (bt@teknon.de) wrote:
:
: In article <Pine.OSF.3.91.970409192533.19899G-100000@uts.univ.trieste.it>, "Puma (Dino Fabiani)" <i0100238@uts.univ.trieste.it> writes:
:
: |> does anybody know the name of a ftp server program
: |> that can be run by any user ?
:
: Won't work on some systems, e.g. SunOS 4, whereupon only root processes may
: bind() to port numbers <= 1023. And ftp user 20 and 21, see /etc/services.
:
: vb
: --
I think that might actually be the case on all systems.
However, any ftpd should be able to bind to alternative ports, so if
ftping to a different port is O.K. then any ftpd should do.
:
: "I'm a doctor, not a mechanic." Dr Leonard McCoy <mccoy@ncc1701.starfleet.fed>
: "I'm a mechanic, not a doctor." Volker Borchert <bt@teknon.de>
--
Eric Goebelbecker
MXNet Inc. "One word about a quiche
10 Exchange Place and I'll kill you."
Jersey City, NJ. 07302 - a rat creature
http://www.mxn.com
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: ftpd (for not superusers) needed .
1997-04-10 4:00 ` Volker Borchert
1997-04-10 4:00 ` egb
@ 1997-04-11 4:00 ` Roger Espel Llima
1 sibling, 0 replies; 12+ messages in thread
From: Roger Espel Llima @ 1997-04-11 4:00 UTC (permalink / raw)
In article <5iih56$6ub@Jupiter.teknon.de>,
Volker Borchert <bt@teknon.de> wrote:
>
>In article <Pine.OSF.3.91.970409192533.19899G-100000@uts.univ.trieste.it>, "Puma (Dino Fabiani)" <i0100238@uts.univ.trieste.it> writes:
>
>|> does anybody know the name of a ftp server program
>|> that can be run by any user ?
>
>Won't work on some systems, e.g. SunOS 4, whereupon only root processes may
>bind() to port numbers <= 1023. And ftp user 20 and 21, see /etc/services.
If you put it on another port (say, 2121) and have it send its data from
arbitrary ports (most clients don't check anyway), it can work.
Roger
--
e-mail: espel@llaic.univ-bpclermont.fr
WWW page & PGP key: http://www.eleves.ens.fr:8080/home/espel/index.html
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: ftpd (for not superusers) needed .
1997-04-09 4:00 ftpd (for not superusers) needed Puma (Dino Fabiani)
` (3 preceding siblings ...)
1997-04-10 4:00 ` Volker Borchert
@ 1997-04-10 4:00 ` Andrew Gierth
1997-04-12 4:00 ` Charles M Richmond
1997-04-12 4:00 ` Charles M Richmond
6 siblings, 0 replies; 12+ messages in thread
From: Andrew Gierth @ 1997-04-10 4:00 UTC (permalink / raw)
>>>>> "James" == James McIninch <james@amber.biology.gatech.edu> writes:
AG> Nope. No FTP client I've ever seen has any mechanism for
AG> specifying that a non-standard port is to be used.
James> Both the FTP under Solaris 2.4 and 2.5.1 and under Linux
James> permit this, though not documented on their man pages. I
James> cannot speculate whether this feature is available with other
James> FTP clients.
My mistake. Seems that this is not overly well documented on other
systems too :-)
--
Andrew.
comp.unix.programmer FAQ: see <URL: http://www.erlenstar.demon.co.uk/unix/>
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: ftpd (for not superusers) needed .
1997-04-09 4:00 ftpd (for not superusers) needed Puma (Dino Fabiani)
` (4 preceding siblings ...)
1997-04-10 4:00 ` Andrew Gierth
@ 1997-04-12 4:00 ` Charles M Richmond
1997-04-12 4:00 ` Charles M Richmond
6 siblings, 0 replies; 12+ messages in thread
From: Charles M Richmond @ 1997-04-12 4:00 UTC (permalink / raw)
To: Andrew Gierth
Andrew Gierth wrote:
>
> >>>>> "egb" == <egb@nic.com> writes:
>
> Volker Borchert (bt@teknon.de) wrote:
> :
> : "Puma (Dino Fabiani)" <i0100238@uts.univ.trieste.it> writes:
> :
> : |> does anybody know the name of a ftp server program
> : |> that can be run by any user ?
> :
> : Won't work on some systems, e.g. SunOS 4, whereupon only root processes may
> : bind() to port numbers <= 1023. And ftp user 20 and 21, see /etc/services.
>
> egb> I think that might actually be the case on all systems.
>
> Yup.
>
> egb> However, any ftpd should be able to bind to alternative ports, so if
> egb> ftping to a different port is O.K. then any ftpd should do.
>
> Nope. No FTP client I've ever seen has any mechanism for specifying that
> a non-standard port is to be used.
>
You can add this to your FAQ (-:
From the man page of Digital Unix:
" open host [port]
Establishes a connection to the FTP server at the specified host.
If the optional port number is specified, ftp will attempt to connect
to a server at that port. "
From the man page of Solaris 2.4 : "open host [ port ]"
Ultrix 4.4 : "open host [ port ]"
SCO ODT 3.0 : "open host [ port ]"
SunOS 4.1.4 : "open host [ port ]"
Heck even the help from WNT4.0 : "open computer [port]"
Charlie (-: (not TYA)
--
***********************************************************************
* Charles Richmond Integrated International Systems Corporation *
* cmr@iisc.com cmr@koibito.iisc.com cmr@shore.net *
* UNIX Internals, I18N, L10N, X, Realtime Imaging, and Custom S/W *
* One Longfellow Place Suite 3309 , Boston , Ma. USA 02114-2431 *
* (617) 723 7695 (617) 367 3151 FAX (617) 723 6861 *
***********************************************************************
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: ftpd (for not superusers) needed .
1997-04-09 4:00 ftpd (for not superusers) needed Puma (Dino Fabiani)
` (5 preceding siblings ...)
1997-04-12 4:00 ` Charles M Richmond
@ 1997-04-12 4:00 ` Charles M Richmond
6 siblings, 0 replies; 12+ messages in thread
From: Charles M Richmond @ 1997-04-12 4:00 UTC (permalink / raw)
Andrew Gierth wrote:
>
> >>>>> "James" == James McIninch <james@amber.biology.gatech.edu> writes:
>
> AG> Nope. No FTP client I've ever seen has any mechanism for
> AG> specifying that a non-standard port is to be used.
>
> James> Both the FTP under Solaris 2.4 and 2.5.1 and under Linux
> James> permit this, though not documented on their man pages. I
> James> cannot speculate whether this feature is available with other
> James> FTP clients.
>
> My mistake. Seems that this is not overly well documented on other
> systems too :-)
>
> --
> Andrew.
>
> comp.unix.programmer FAQ: see <URL: http://www.erlenstar.demon.co.uk/unix/>
Actually, it is on the man pages for Solaris and Linux both in
and in the man pages for *every* Unix variant that I can look at.
Do a 'man ftp' and look at the section on the open cmd.
Charlie
P.S. SunOS 4.1.4/5.4/5.5 Ultrix4.4 Dunix3.2/3.2d Linux 2.0.xx alpha
SCO ODT 3.0/5.0 and WNT4.0
--
***********************************************************************
* Charles Richmond Integrated International Systems Corporation *
* cmr@iisc.com cmr@koibito.iisc.com cmr@shore.net *
* UNIX Internals, I18N, L10N, X, Realtime Imaging, and Custom S/W *
* One Longfellow Place Suite 3309 , Boston , Ma. USA 02114-2431 *
* (617) 723 7695 (617) 367 3151 FAX (617) 723 6861 *
***********************************************************************
^ permalink raw reply [flat|nested] 12+ messages in thread