LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-03-2003, 04:17 PM   #1
Bluesuperman
Member
 
Registered: Nov 2002
Distribution: Slackware
Posts: 155

Rep: Reputation: 30
Proftpd - excluding IP's from being logged


Hello,

I have a simple question -- but can not find the answer. I want to be able to exclude a IP address from being logged by the proftpd daemon.

We have a production server that makes a ftp connection to a FTP server every 10 seconds. ( NOT MY DOING).

On the FTP server (Running Proftpd) the log file is about 150M after one week, this is because of all the connections made by the other production server. I have adjusted the logging defaults on the system so they roll over nightly instead of weekly.

But is there a proftpd option to exlcude this one IP address from being logged at all. This would greatly help.

Thanks.

Michael
 
Old 11-04-2003, 10:50 AM   #2
DirtDart
Member
 
Registered: Nov 2003
Distribution: Mandrake 10.1/Solaris 10 (sparc)
Posts: 96

Rep: Reputation: 16
As far as I can see, no there wouldn't be a way.

You could, however, write a small shell script to remove the lines in the log that come from that IP address, then run it nightly.

#!/bin/bash
#
grep -v <ip address> nameoflogfile > .tmplogfile
cat .tmplogfile > nameoflogfile
 
Old 11-04-2003, 11:31 AM   #3
Bluesuperman
Member
 
Registered: Nov 2002
Distribution: Slackware
Posts: 155

Original Poster
Rep: Reputation: 30
Thanks -- I was hoping I would not have to do that.
 
  


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
Excluding a directory when copying Woodsman Slackware 2 10-30-2005 06:25 PM
IPTables - Multiple Public IP's to private IP's matneyc Linux - Security 8 05-27-2005 12:23 PM
kde much slower to start when logged in as alan than logged in as root arubin Slackware 0 04-26-2004 04:27 PM
mozilla works fine when logged in as a user but crashes when logged in as root jimi Linux - General 6 04-02-2003 08:34 PM
tar and excluding files murshed Linux - Newbie 7 03-15-2003 02:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:52 AM.

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