LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 03-21-2004, 01:10 PM   #1
dominant
Member
 
Registered: Jan 2004
Posts: 409

Rep: Reputation: 30
FTP wrapper


Is there wrapper for ftp just like the sshd one?
 
Old 03-22-2004, 01:42 AM   #2
phek
Member
 
Registered: Jul 2001
Location: California, US
Distribution: Slackware
Posts: 196

Rep: Reputation: 30
both proftpd and wu-ftpd have an inetd wrapper, most distributions in my experience come with inetd (xinetd for red hat based distro's) already set up.
 
Old 03-22-2004, 08:49 AM   #3
dominant
Member
 
Registered: Jan 2004
Posts: 409

Original Poster
Rep: Reputation: 30
what about VsFTP and SUSE 9?
 
Old 03-23-2004, 06:08 AM   #4
dominant
Member
 
Registered: Jan 2004
Posts: 409

Original Poster
Rep: Reputation: 30
any idea?
 
Old 03-23-2004, 01:24 PM   #5
phek
Member
 
Registered: Jul 2001
Location: California, US
Distribution: Slackware
Posts: 196

Rep: Reputation: 30
i'm not familiar with vsftp or suse, but you can look through /etc/inetd.conf for any ftp wrappers.
 
Old 03-24-2004, 02:18 AM   #6
dominant
Member
 
Registered: Jan 2004
Posts: 409

Original Poster
Rep: Reputation: 30
i thought that inetd.conf is only for starting network services.
 
Old 03-24-2004, 03:39 AM   #7
phek
Member
 
Registered: Jul 2001
Location: California, US
Distribution: Slackware
Posts: 196

Rep: Reputation: 30
thats not excactly correct. inetd is the tcp-wrapper while programs such as proftpd, wu-ftpd, openssh, among others are capable of using tcp-wrappers. What a tcp-wrapper does is listen and accept connections to a port (generally 21 for ftp) and handle the connections. From there it forwards the data to the program (which isn't actually listening on any port, but listening to inetd). Hopefully I made that clear enough. The benefit of using tcp-wrappers, is you add another level of security to your program. With inetd in paticular it sends each connection through a series of tests, such as is this remote address in hosts.allow or hosts.deny? inetd is not the only tcpwrapper program, actually it has some major bugs such as it's "flaky" once it gets up to handleing 500+ concurrent connections. tcpserver by daniel j. bernstein is another more secure tcpwrapper that is commonly used.

from linuxgeek.net
TCPwrappers

The tcpwrappers replace a number of "listening" daemons with a single "master" daemon
that listens for service requests for several common services on the system. When a
request for a service is made the tcpwrapper (tcpd) "wakes" the daemon for that service.
This does two things. It saves on system resources, since only one process needs to be
running. It also gives more fine grained control over who will be allowed to access
services through access control lists.

The daemons that tcpwrappers ``listens'' for are all servers listed in /etc/inetd.conf.
 
Old 03-24-2004, 06:13 AM   #8
dominant
Member
 
Registered: Jan 2004
Posts: 409

Original Poster
Rep: Reputation: 30
I got is and it worked for vsftpd as below

vsftpd : ALL@MyIP

But what the ALL@ is for?
 
Old 03-24-2004, 01:39 PM   #9
phek
Member
 
Registered: Jul 2001
Location: California, US
Distribution: Slackware
Posts: 196

Rep: Reputation: 30
what file is that in?
 
Old 03-25-2004, 03:34 AM   #10
dominant
Member
 
Registered: Jan 2004
Posts: 409

Original Poster
Rep: Reputation: 30
Sorry?
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
application wrapper dmonty Linux - Software 4 10-23-2005 03:13 PM
NDIS Wrapper Help Please FuGeE Linux - Wireless Networking 1 12-11-2004 11:14 AM
OS Wrapper ines Linux - Software 10 11-04-2004 06:57 AM
mysql wrapper dominant Linux - Security 4 04-02-2004 12:36 PM
ndis wrapper citrus Linux - Hardware 3 01-08-2004 06:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

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