Unix Technical Forum

change FTP Goodbye messsage

This is a discussion on change FTP Goodbye messsage within the Sun Solaris Administration forums, part of the Solaris Operating System category; --> Hi, we have installed solaris 10 and I wonder if it is possible to modify the goodbye message. Actual ...


Go Back   Unix Technical Forum > Unix Operating Systems > Solaris Operating System > Sun Solaris Administration

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-16-2008, 10:00 AM
Reinhard
 
Posts: n/a
Default change FTP Goodbye messsage

Hi,
we have installed solaris 10 and I wonder if it is possible to modify
the goodbye message.
Actual I get

221-You have transferred 0 bytes in 0 files.
221-Total traffic for this session was 166 bytes in 0 transfers.
221-Thank you for using the FTP service on soladm.
221 Goodbye.

but I want to have

221 Goodbye

only.

Is this possible
Thank you
Reinhard

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-16-2008, 10:00 AM
James Carlson
 
Posts: n/a
Default Re: change FTP Goodbye messsage

"Reinhard" <rhille69@yahoo.de> writes:
> we have installed solaris 10 and I wonder if it is possible to modify
> the goodbye message.
> Actual I get
>
> 221-You have transferred 0 bytes in 0 files.
> 221-Total traffic for this session was 166 bytes in 0 transfers.
> 221-Thank you for using the FTP service on soladm.
> 221 Goodbye.
>
> but I want to have
>
> 221 Goodbye


This is hard-coded in the daemon. File an RFE.

(Currently, the code uses an ugly #define TRANSFER_COUNT to control
this behavior, rather than having a run-time flag. It seems fairly
reasonable to me to ask to have this converted to a configuration
option.)

--
James Carlson, KISS Network <james.d.carlson@sun.com>
Sun Microsystems / 1 Network Drive 71.232W Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-16-2008, 10:01 AM
Huge
 
Posts: n/a
Default Re: change FTP Goodbye messsage

On 2006-11-15, James Carlson <james.d.carlson@sun.com> wrote:
> "Reinhard" <rhille69@yahoo.de> writes:
>> we have installed solaris 10 and I wonder if it is possible to modify
>> the goodbye message.
>> Actual I get
>>
>> 221-You have transferred 0 bytes in 0 files.
>> 221-Total traffic for this session was 166 bytes in 0 transfers.
>> 221-Thank you for using the FTP service on soladm.
>> 221 Goodbye.
>>
>> but I want to have
>>
>> 221 Goodbye

>
> This is hard-coded in the daemon. File an RFE.
>


Use a binary editor to patch the daemon. And file an RFE.


--
"Other people are not your property."
[email me at huge [at] huge [dot] org [dot] uk]
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-16-2008, 10:01 AM
Raqueeb Hassan
 
Posts: n/a
Default Re: change FTP Goodbye messsage


Huge wrote:
> On 2006-11-15, James Carlson <james.d.carlson@sun.com> wrote:
> > "Reinhard" <rhille69@yahoo.de> writes:
> >> we have installed solaris 10 and I wonder if it is possible to modify
> >> the goodbye message.
> >> Actual I get
> >>
> >> 221-You have transferred 0 bytes in 0 files.
> >> 221-Total traffic for this session was 166 bytes in 0 transfers.
> >> 221-Thank you for using the FTP service on soladm.
> >> 221 Goodbye.
> >>
> >> but I want to have
> >>
> >> 221 Goodbye

> >
> > This is hard-coded in the daemon. File an RFE.
> >

>
> Use a binary editor to patch the daemon. And file an RFE.


What kind of binary editor do you generally use for patching daemons?
What if recompiling the original wu-ftpd from the source, after editing
the required file? I know, that might be little troublesome.


--
Raqueeb Hassan
Bangladesh

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:18 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com