LinuxQuestions.org
Register a domain and help support LQ
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 08-09-2009, 01:06 PM   #1
cj_cheema
Member
 
Registered: Mar 2006
Location: INDIA
Distribution: RedHat, SuSE, Debian
Posts: 156

Rep: Reputation: 15
Question Want to block some daemons via tcp wrapper


Hi

I want to block below daemons in tcp wrapper for testing purpose:
1.Samba should be accessiable by xyz.com domain but deny to all
2.Imap and pop3 only accessiable by abc.com domain and deny to all


Please note I'm using RHEL5 OS

so please suggest how could i do this.

Thanks & regards
Charanjit
 
Old 08-10-2009, 02:14 AM   #2
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,311

Rep: Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040
See the example section here: http://itso.iu.edu/TCP_Wrappers
 
Old 08-11-2009, 08:09 AM   #3
cj_cheema
Member
 
Registered: Mar 2006
Location: INDIA
Distribution: RedHat, SuSE, Debian
Posts: 156

Original Poster
Rep: Reputation: 15
But how do I degine restriction in Samba as TCP wrapper is not compiled with samba..

Appreciate for your assistence

Charanjit
 
Old 08-13-2009, 12:14 AM   #4
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,311

Rep: Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040
True; in that case you use iptables for smbd : 139/tcp, 445/tcp and nmbd: 137/udp, 138/udp.
 
  


Reply

Tags
tcp, wrapper


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
Define TCP Wrapper sathish80 Linux - Newbie 5 08-14-2009 10:04 AM
Logging with tcp/wrapper Amit Agarwal Linux - Newbie 1 07-07-2009 12:55 AM
Question on TCP Wrapper usage ciphyre Linux - Security 3 09-15-2008 01:31 PM
About xinetd and TCP wrapper jack1234 Linux - Networking 0 09-15-2005 09:10 AM
xinetd or tcp wrapper ? phoenix99 Linux - Security 2 08-15-2004 06:37 PM


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