LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-08-2009, 03:59 AM   #1
naw_deepak
Member
 
Registered: Aug 2008
Posts: 35

Rep: Reputation: 15
Monitoring a FTP server


Hi all,

I have a FTP server. I want to monitor the ftp client's session on the server. What I need is :

1- I should see the current users session connected by FTP
2- I should be able to kill the desired session
3- I should be able to restrict a particular IP from accessing

My Distro is CentOS 5

Please guide to complete the mentioned tasks. Thanks in advance!
 
Old 01-08-2009, 09:54 AM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
1- I should see the current users session connected by FTP
they are in the log files from the server
Quote:
3- I should be able to restrict a particular IP from accessing
you can use iptables for this
 
Old 01-13-2009, 11:37 PM   #3
naw_deepak
Member
 
Registered: Aug 2008
Posts: 35

Original Poster
Rep: Reputation: 15
Many ways to do above tasks which I got from this forum.

1- "ps -ef | grep vsftpd" shows the sessions connected via ftp. But, it shows the connections established with the client computer names. Still to find, how to know the sessions connected with user names.

2- By the above way, get the PID of the connection. Kill as a process. Connection will be killed. But will be more effective if find the connections with user names.

3- I will be updating very soon.

Please update the above questions with proper answer. Will be more effective for other users.

Thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to monitor web server, FTP server, Mail server and database server vodka33us Programming 1 06-16-2008 05:20 AM
Traffic Monitoring on an FTP Server shawnbishop Linux - Software 3 01-14-2008 12:27 AM
files not visible in ftp site (but present in the /var/ftp/folder of the server) dongrila Linux - Newbie 2 12-23-2007 11:09 PM
FTP Server Up and running... how do I hide ftp users from local login screen? joe1031 Mandriva 2 03-18-2005 05:24 PM
FTP Monitoring? againstms Linux - General 3 03-01-2005 11:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:55 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration