LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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-04-2005, 12:05 PM   #1
Palula
Member
 
Registered: May 2005
Location: Brazil
Distribution: Fedore Core 3
Posts: 138

Rep: Reputation: 15
Vsftpd & Xinetd Logging


Hi there.

I´m having a slight problem with Xinetd logging vsftpd connections.

Here is my xinetd.conf ftp service section:

Code:
service ftp
{
        disable = no
        socket_type = stream
        wait = no
        instances = 3
        user = root
        server = /usr/sbin/vsftpd
        nice = 10
        log_type = FILE /var/log/ftp/vsftpd.log
        log_on_success += USERID HOST DURATION TRAFFIC
        log_on_failure += USERID HOST ATTEMPT
}
When I comment the log_on_success line, it works. But when it´s not commented the service won´t. Can anybody tell me if there is a syntax problem within that line?

I searched a lot and found nothing regarding syntax errors within this line. But still... It won´t work. It only works when I comment it (log_on_success line).

Thanks.
 
Old 11-04-2005, 12:17 PM   #2
Palula
Member
 
Registered: May 2005
Location: Brazil
Distribution: Fedore Core 3
Posts: 138

Original Poster
Rep: Reputation: 15
Ok I´ve done a little more research and found out that only one site had the string TRAFFIC on the log_on_success line... So I took it out. And voila... The FTP is working... But still, here is a logging example that xinetd creates:

Code:
05/11/4@15:12:11: START: ftp pid=9700 from=(IP adress of incoming client)
05/11/4@15:13:12: EXIT: ftp pid=9700 duration=61(sec)
What does USERID mean on the xinetd.conf?
I thought that by putting: USERID HOST DURATION

Would bring a username, the host and the duration of the connection. I didn´t care for pid... But it is showing on the log?

How can I make the log to be exactly what I want it to be? And how can I improove the logging (i.e: What would be a best home computer logging example?)

Thank you!
 
  


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
vsftpd inetd -> xinetd slackster Linux - Networking 2 06-26-2005 05:37 PM
vsftpd and xinetd problem zsoltrenyi Linux - Software 5 09-01-2004 02:48 AM
Xinetd not starting vsftpd? simonmccourt Linux - Networking 0 02-22-2004 08:08 AM
Cannot get vsftpd and xinetd to play together SForsgren Linux - General 6 05-02-2003 01:08 AM
Xinetd to run vsftpd? tharris Linux - Newbie 3 01-30-2003 01:45 AM

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

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