[wplug] Custom FTP access error (vsftpd)

Joe Topjian joe at portsys.net
Tue Sep 9 20:20:17 EDT 2003


> I installed an anoymous FTP service just now.  I want to limit 
> connections, but I'd like to make a custom 421 error, so that it says 
> something besides "421 Service not available, remote server has closed 
> connection".  (I'd prefer it to say something like "All connections 
> full, try back momentarily".)
>
> Anyone know how I can do this?  I don't see anything in vsftpd.conf.

Looks like its defined statically in the source code.
Only thing you can do is download the source, edit the prelogin.c file, 
and compile it yourself.

You'll still have to put up with the "421" and "remote server has 
closed connection" but you can swap "service not available" to whatever 
you want.

---
Joe Topjian
email: joe at portsys.net
web: http://zaven.us




More information about the wplug mailing list