The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > Linux
Google UNIX.COM


Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Secure FTP Client that Logs well ArtF UNIX and Linux Applications 3 04-21-2008 09:39 AM
Build a Google Talk Client Using Oracle ADF Faces Rich Client and the Active Data Ser iBot Oracle Updates (RSS) 0 04-18-2008 03:10 PM
SSH logs off and Client pptp goes off as well qais UNIX for Dummies Questions & Answers 0 11-19-2006 04:19 AM
pdf viewing antalexi UNIX for Dummies Questions & Answers 3 05-10-2004 08:43 AM
Viewing Tar files mapping UNIX for Dummies Questions & Answers 1 11-12-2002 06:51 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-26-2008
Registered User
 

Join Date: Sep 2005
Posts: 13
Stumble this Post!
viewing ftp client logs

Hi All

Is there any linux log file that captures invalid ftp login attempts in client side? I'm trying to come up with a script that will send an email to owners stating the number of invalid password login attempt when logging in to the ftp server.

its like,

1. i'm in client side...then I ftp to 192.xxx.xxx.xxx IP
login: ftp_root
password: XXXXXX
-Invalid password

login: ftp_root
password: XXXXXX
-Invalid password

login: ftp_root
password: XXXXXX
-Correct password
#

***PS, what I want to capture is the number of login attempts by ftp_root

anyone got any idea where to check this? vsftpd.log doesn't show these. Anyone?
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 03-26-2008
era era is offline
Herder of Useless Cats
 

Join Date: Mar 2008
Location: /there/is/only/bin/sh
Posts: 3,650
Stumble this Post!
Depends on the client -- what are you using? -- but I have never seen a client which kept logs like that. Anyway, I would be looking at the server-side logs.
Reply With Quote
  #3 (permalink)  
Old 03-27-2008
sysgate's Avatar
Unix based
 

Join Date: Nov 2006
Location: /root
Posts: 1,160
Stumble this Post!
I think lftp has such client log files, but cannot be 100% sure, I don't have it handy to check. What I have is "ncftp" :
cd $HOME/.ncftp
Listing the files will reveal "history" file and "trace" file :
history holds all the commands executed, and trace looks like this :

Quote:
SESSION STARTED at: 2008-03-11 11:14:20 EET +0200
Program Version: NcFTP 3.2.1/349 Jul 29 2007, 09:55 AM
Library Version: LibNcFTP 3.2.1 (August 13, 2007)
Process ID: 5687
Platform: linux-x86-glibc2.6
Hostname: myhost.mycompany.net (rc=2)
Terminal: xterm
11:14:20 Fw: Type: 0 User: Pass: (none) Port: 0
11:14:20 FwExceptions: .mycompany.net,localdomain
11:14:22 > help

11:14:23 >

11:14:23 >

11:14:23 >

11:14:23 >

SESSION ENDED at: Tue Mar 11 11:14:28 2008
That's all I can think of, HTH.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 02:24 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0