LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 09-23-2010, 08:57 PM   #1
dbulka
LQ Newbie
 
Registered: Dec 2006
Posts: 8

Rep: Reputation: 0
Do I need to modify ftpd source code to work with xinetd?


I read that xinetd listens on the service port and passes incoming traffic to the service (ftpd) via stdin. However, the ftpd source code reads its input from a socket not from stdin.

Am I to conclude that in order to be managed by xinetd, the source code for ftpd (or telnetd etc..) must be modified or recompiled to take its input from stdin??
 
Old 09-25-2010, 07:11 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,458
Blog Entries: 54

Rep: Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897
No, something like
Code:
# default: off
# description: ftpd
service ftp
{
 socket_type     = stream
 protocol        = tcp
 wait            = no
 user            = root
 server          = /usr/sbin/vsftpd
 disable         = no
}
should work depending on your FTP daemon: /usr/sbin/in.ftpd, /usr/sbin/wu-ftpd or /usr/sbin/vsftpd (Vsftpd being safer to use).
 
  


Reply

Tags
ftpd, xinetd


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Understand Grub source code and modify it me_too Linux - Newbie 1 04-29-2008 08:17 PM
get, modify and compiling source code peji Linux - Newbie 6 03-22-2007 07:16 AM
which file to edit to modify source code in red hat 9.0 vinaymudgil007 Linux - Software 1 11-17-2005 06:38 AM
Xinetd source code billtouch Linux - Networking 0 08-17-2005 06:43 PM
help,,I can't find wu-ftpd in xinetd.d !! iamthewind Linux - Networking 2 11-01-2003 12:53 AM


All times are GMT -5. The time now is 04:34 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration