Re: Problem with FTP multi-line responses
Bob Luckin <[email protected]> Thu, 9 Aug 2007 13:00:40 -0500
| Newsgroups | gmane.network.ftp.wuftpd.user |
|---|---|
| Message-ID | <[email protected]> |
Michal, Depending on which version of WU-FTPD you are using, you may or may not have the ftpaccess 'signoff' command available... According to ftp.wu-ftpd.org, the current official version is still 2.6.2, and this does not support a signoff option. However, if you have a build made from the CVS development source, this may support the option. (It was present in the CVS source at least as far back as 27sep2001, destined for version 2.8.0 - which I don't believe has ever been officially released.) So if your ftpaccess man page indicates you have the signoff command, then use that. If not, you will need to rebuild the server, ensuring that the TRANSFER_COUNT macro is not set. If you build using autoconfig, then I think you can achieve this by specifying --disable-count. If you use the older build method, then you'll need to edit config.h.noac and comment out the line #define TRANSFER_COUNT before you run the build script. Good luck ! Cheers, Bob On Thu, Aug 09, 2007 at 04:42:48PM +0000, Jefferson Ogata wrote: > On 08/09/07 12:48, Michal Liska wrote: > > We are searching for a method how to disable these multi-line responses. > > I know that there is a way how to disable them when you change the > > first letter in password to "-", but this is not the best solution for > > us. > > The are hundreds of scripts and we would need to change them all. > > Is there another way how to disable multi-line responses? Any > > configuration change or something? > > man ftpaccess: > > signoff full|brief|terse > > signoff text <message> > > Allows you to control how much information is given out > when the remote user logs out. 'signoff full' is the default and shows > the transfer counts (if compiled into the daemon), and a thank-you > message showing the host name. 'signoff brief' whose shows only the > thank-you message. 'signoff terse' simply says "Goodbye." Although > full is the default, terse is recommended. > > The 'text' form allows you to specify any signoff message > you desire. <message> can be any string; whitespace (spaces and > tabs) is converted to a single space. > > -- > Jefferson Ogata <[email protected]> > NOAA Computer Incident Response Team (N-CIRT) <[email protected]> > "Never try to retrieve anything from a bear."--National Park Service -- Bob Luckin [email protected] "Coder, adapt; FTP Ada, redo C"