LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-19-2007, 02:56 PM   #1
scotlarsen
Member
 
Registered: Sep 2006
Posts: 35

Rep: Reputation: 15
altering ftp response code upon making a connection


I'm trying to configure (or rather break) a proftpd server (on linux - FC6) so that it gives a response code of anything other than a 220 when making a new connection. The script I'm developing does not login/authenticate as the requirement is that no login credentials can be provided. So I'm scratching my head trying to figure out how to make the test server (which happens to be proftpd running on my localhost) give anything other than a 220 when connecting. Any ideas? Thanks.
 
Old 11-19-2007, 04:57 PM   #2
scotlarsen
Member
 
Registered: Sep 2006
Posts: 35

Original Poster
Rep: Reputation: 15
I found the answer. pure-ftpd has an MaxClientsPerIP config option which I set to the value of "1" and opened one ftp session to it. Now all subsequent sessions will fail with a 421.
 
  


Reply



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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Changes to vsftpd.conf aren't altering my ftp server s0n|k SUSE / openSUSE 1 03-16-2007 10:33 AM
LXer: Prevent users from altering your PHP code behavior LXer Syndicated Linux News 0 08-31-2006 10:21 PM
zend studio having problems making ftp connection strong.steve Linux - General 2 07-21-2005 06:26 PM
Logwatch http response code(s) 200 php4u Linux - Security 2 01-26-2005 08:41 AM
making an FTP connection... zee1702 Linux - Newbie 4 06-15-2004 10:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration