Subject: RS/6000 : wu-ftpd error in syslog

From: "Jonathan F. Carpenter" <[email-masked]>
Date: Thu, 25 Jan 1996 11:38:23 -0500 (EST)

Hi,

I'm trying to install wu-ftpd 2.4 on an RS/6000.

I found out that I needed the file /etc/shells, so now I can log on as 
a non-anonymous user.  Now, whenever I connect using ftp, after logging
on,  whenever I issue a command such as ls or get or put, wu-ftpd will
put the message

Jan 23 19:21:05 batman ftpd[22543]: setsockopt (IP_TOS): Not owner

in the syslog file.  The command seems to work, but I don't know if this
indicates some sort of problem.

I was able to find the line of source code where the error is happening;
it is in ftpd.c at the lines:

#ifdef IPTOS_THROUGHPUT
    on = IPTOS_THROUGHPUT;
    if (setsockopt(s, IPPROTO_IP, IP_TOS, (char *) &on, sizeof(int)) < 0)
          syslog(LOG_WARNING, "setsockopt (IP_TOS): %m");
#endif

But I've used up my limited knowledge of C and TCP sockets so I'm stumped
as to where to go from here.  Can anyone offer any help/hints/suggestions?

One thing I did was change the wu ftpd executable to owner/group
root/system, so it was like IBM's ftpd, and I also used chmod to
give ftpd set-user-id mode, also just like IBM's ftpd but that
didn't make any difference.

Also, would I be better off going to a newer version of wu-ftd?  The 
version I'm trying to install I got from the wustl archive.  I understand
that there is a newer one somewhere else.  Can someone point me in the right
direction?

Thanks,

Jon Carpenter

[email-masked]