Subject: slowness on SunOS

From: Alan Neiman <[email-masked]>
Date: Thu, 13 May 1999 15:36:16 -0600

I just installed VR17 on a SunOs 4.1.4 server, and when you ftp to the box, it
takes forever to connect.  After you've connected, it seems to be running fine.
 Any ideas?

 --

Alan Neiman
[email-masked]
Unix System Administrator
Information Handling Services
--------------------------------------------------------------

               ** 1997 & 1998 World Champions **

17 & 2 -- Simply The Best -- The Broncos -- The Denver Broncos

               ** 1997 & 1998 World Champions **

--------------------------------------------------------------

---

From: Gregory A Lundberg <[email-masked]>
Date: Fri, 14 May 1999 09:35:17 -0400 (EDT)

On Thu, 13 May 1999, Alan Neiman wrote:

> I just installed VR17 on a SunOs 4.1.4 server, and when you ftp to the
> box, it takes forever to connect.  After you've connected, it seems to
> be running fine.

Probably AUTH(ident) latency.  The other end isn't responding at all to
AUTH requests so the daemon has to wait for a timeout.

Best solution: have the client-side responsd to the AUTH request.  If you
don't want, or cannot, run identd then let theICMP Port/Service Not
Available mesage through (or generate it at the firewall).

so-so solution: recompile the deamon with USE_RFC931 #undef'd to disable
the feature.

-- 

Gregory A Lundberg              Senior Partner, VRnet Company
1441 Elmdale Drive              [email-masked]
Kettering, OH 45409-1615 USA    1-800-809-2195

---

From: Alan Neiman <[email-masked]>
Date: Fri, 14 May 1999 10:33:22 -0600

I'm missing something simple here.  I setup a user with a home directory of
/data2/httpd.  

password entry:
kentl:x:514:512:Kent Larryt:/data2/httpd/./:/bin/ftponly     

ftpaccess info:

class   all   real,guest,anonymous *

guestuser kentl
guest-root /data2/httpd klaird
restricted-uid 514   

I have changed his password entry several times, but can't get chroot to work. 
I want /data2/httpd to be his chroot directory, and his home directory.  Any
ideas?

thanks

 Alan Neiman
[email-masked]

---

From: Gregory A Lundberg <[email-masked]>
Date: Fri, 14 May 1999 12:44:33 -0400 (EDT)

On Fri, 14 May 1999, Alan Neiman wrote:

> I'm missing something simple here.  I setup a user with a home
> directory of /data2/httpd.
> 
> password entry:
> I have changed his password entry several times, but can't get chroot
> to work.  I want /data2/httpd to be his chroot directory, and his home
> directory.  Any ideas?

kentl:X:514:512::/data2/httpd:/bin/ftponly

guestuser kentl
restricted-uid kentl
guest-root /data2/httpd kentl

-or-

guestuser %514
restricted-uid %514
guest-root /data2/httpd %514

You need a % before numeric UIDs so the daemon knows it's a numeric ID and
not the username '514'.

--