Re: WG: failure notice

Marius Tomaschewski <[email protected]> Fri, 30 Aug 2002 22:18:35 +0200
Newsgroups gmane.linux.suse.proxy-suite
Organization SuSE Labs, Product Developement
Message-ID <[email protected]>
Hallo!

RTFM - "man 5 ftp-proxy.conf":

       WelcomeString
              Global context only.  Defines the  string  that  is
              sent to the client in order to start login negotia­
              tion.  The string is prefixed with '220 ' and vari­
              able substitution is applied to it.  If this option
              is not given it defaults to the following string:
              '%h FTP server (%v - %b) ready'.
              See also WelcomeMessage option.

       WelcomeMessage
              Global context only.  Defines the name  of  a  file
              that  will be displayed to all clients as the first
              action when they open the control connection.  Each
              line is prefixed with '220-' and variable substitu­
              tion is applied to it.  If no such file  exists  it
              is   silently   ignored.   See  also  WelcomeString
              option.

The proxy does something like:

  if(WelcomeString)
    print("220 %s", WelcomeString);
  if(WelcomeMessage) {
    while(line=getline(WelcomeMessage))
      print("220-%s", line);
  }


On Thu, Aug 29, 2002 at 03:42:29PM +0200, Junge, Stefan wrote:
> 
> Hello together !
> 
> Today I installed my first ftp-proxy with suse-proxy-suite.
> 
> At the moment it still works fine ...
> 
> My problem is :
> How to change the server message at login ?
> When I connect to my ftp-server I got the message 
> "220 servername FTP server (Version 1.7tp7 -2001/06/20 21:05:20) ready."
> 
> I do not want to show the software version.
> With proftpd e.g. I can change this message - but where in ftp-proxy.conf ?
> 
> 	Greetings ... 
> 	Stefan Junge 

Gruesse,
 Marius Tomaschewski <[email protected]>
--
 SuSE Linux AG, Nürnberg - SuSE Labs, Product Developement
 PGP public key available:   http://www.suse.de/~mt/mt.pgp
 Fprint:  EA 1F 92 75 1A F9 82 07  A1 28 DE 7A 32 E8 97 18

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]