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 08-24-2015, 03:48 AM   #1
atux_null
Member
 
Registered: Mar 2015
Distribution: debian 12, ubuntu 22.04
Posts: 65

Rep: Reputation: Disabled
see who is downloading from my FTP server


hello. i am running a ftp server. i would like to see info such as how many are downloading, IPs, speed.
I am using vsftp

Last edited by atux_null; 08-24-2015 at 05:58 AM. Reason: ftp server software
 
Old 08-24-2015, 05:45 AM   #2
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,627

Rep: Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695
RTFM

The IP is easy enough to log. Speed MAY be something you can record, or possibly not, depending on what you are using.

You do not mention what FTP service you are running, so no specific advice can be given. In general, every server has a way to turn on logging. Often you can record certain parameters for the transfer logging, but not all allow you to record average speed. At the least, you should be able to get the login name and source address (though there are ways to spoof the IP).

Check your man pages. Also, read the notes in the config files for your software.

Perhaps if you can provide enough information to support a more directed answer. At a minimum, what ftp server software and if you are set to use client accounts or anonymous access.

Last edited by wpeckham; 08-24-2015 at 05:47 AM.
 
Old 08-24-2015, 05:59 AM   #3
atux_null
Member
 
Registered: Mar 2015
Distribution: debian 12, ubuntu 22.04
Posts: 65

Original Poster
Rep: Reputation: Disabled
Iam terribly sorry. i forgot to mention the software. i have already edited the initial post with the software name.
 
Old 08-25-2015, 04:58 AM   #4
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,627

Rep: Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695
Aha.

Check the vsftp man pages, and online pages like https://www.centos.org/docs/5/html/5...f-opt-log.html. vsftp can be set to build two or three logs files (or as few as none) and should log the information you want, though you may have to parse two files to put together the entire picture.

FYI: is use transfer logging to a single file, but do not need the transfer speeds. I have not verified that all the information you want is logged.
 
  


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
[SOLVED] Downloading file from FTP server to Unix box azheruddin AIX 11 03-27-2014 01:34 PM
Routing for a 12 interface ftp server - downloading problem mediaeast Linux - Networking 3 06-21-2007 07:19 AM
ftp downloading evaluator Linux - Software 4 10-09-2003 10:27 AM
ftp-server error when downloading rpm's Mikessu Mandriva 2 09-18-2003 06:46 AM

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

All times are GMT -5. The time now is 10:02 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