LinuxQuestions.org
Visit Jeremy's Blog.
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 06-11-2012, 03:35 PM   #1
dazdaz
Member
 
Registered: Aug 2003
Location: Europe
Distribution: RHEL, CentOS, Ubuntu
Posts: 333

Rep: Reputation: 17
Are TCP Wrappers still used


Hi,

Which common applications still use TCP wrappers, these days ?

i.e. which software is compiled with the libwrap library which requires editing of the hosts.allow and hosts.deny files to allow access.

The following are compiled with libwrap that I can think of :
Code:
portmap
nfs
sshd
With xinetd, I can see that it's linked with the libwrap library, however what always confuses me is that you can specify the hosts in xinetd.conf. So should xinetd services IP allow access lists also be configured in hosts.allow and hosts.deny ?

Generally speaking, is libwrap deprecated ?

Thanks

Last edited by dazdaz; 06-11-2012 at 05:09 PM.
 
Old 06-11-2012, 06:07 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by dazdaz View Post
Which common applications still use TCP wrappers, these days ?
See for yourself:
Code:
find ${PATH//:/ } /opt -type f | while read ITEM; do ldd "${ITEM}" 2>/dev/null|grep -m1 -q libwrap && rpm -qf "${ITEM}" --qf="%{NAME}\n"; done

Quote:
Originally Posted by dazdaz View Post
should xinetd services IP allow access lists also be configured in hosts.allow and hosts.deny ?
No, Xinetd uses its own configuration files only.


Quote:
Originally Posted by dazdaz View Post
Generally speaking, is libwrap deprecated ?
As long as you understand the caveats listed in the documentation and as long as you are aware that packets are passed on to and processed by the application, instead of being blocked at the network level like you would have Netfilter do, it's still useful as part of a multi-layered approach to access restriction.
 
1 members found this post helpful.
Old 06-12-2012, 01:32 PM   #3
dazdaz
Member
 
Registered: Aug 2003
Location: Europe
Distribution: RHEL, CentOS, Ubuntu
Posts: 333

Original Poster
Rep: Reputation: 17
Returns the following packages below.

So you can add sendmail, snmp, stunnel, rpcbind, vsftpd, rpc.rquotad, ypserv, vsftpd to the list above.

These are useful to know when building boxes and fine-tuning the granularity of security.

Did I miss anything else that is popular ?

Code:
net-snmp
nfs-utils
rpcbind
openssh-server
sendmail
stunnel
vsftpd
quota
xinetd

Last edited by dazdaz; 06-12-2012 at 01:33 PM.
 
Old 06-14-2012, 12:07 AM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,369

Rep: Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753
Actually, xinetd can use TCP Wrappers settings http://www.linuxtopia.org/online_boo...-wrappers.html, but to avoid confusion, some people stick with TCP Wrappers only for those that have it built-in and xinetd ctrl for those that don't.
 
  


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] tcp wrappers devilboy09 Linux From Scratch 5 11-21-2011 09:13 AM
tcp wrappers nishith Linux - Security 4 11-11-2008 04:45 AM
Tcp wrappers sysconfig Linux - Security 4 09-08-2006 08:20 AM
TCP Wrappers ? juanb Linux - Newbie 1 01-31-2004 01:35 PM
tcp wrappers --with-tcp-wrappers ForumKid Linux - Security 2 01-04-2002 04:01 PM

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

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