LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General > Linux - Certification
User Name
Password
Linux - Certification This forum is for the discussion of all topics relating to Linux certification.

Notices


Reply
  Search this Thread
Old 01-12-2011, 04:29 AM   #1
gurl4sh25
Member
 
Registered: Apr 2006
Distribution: SuSE, RedHat, Fedora, CentOS, BSD
Posts: 115

Rep: Reputation: 15
RHCE Question: TCP Wrapper or iptables?


Hi Guys,

My friend and I are studying for our coming RHCE(version 5) Exam this month.
We have lots of reviewers downloaded from the internet. Also I've been browsing some forums to get tips.

Anyway, I have a question regarding TCP wrapper and iptables. There's this sample question i've got from one website..

"User1 should be able to get mails using pop3 within domain.org, other machines from organization.com should not have access to this pop3 service"

I know this can be done via TCP wrapper or iptables. My question is, which method should I use in exam? I would like to know the guys who have already passed the RHCE exam on what method they used.
 
Old 01-12-2011, 04:46 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
You should use the one you want to. that's the whole ethos of the exam. You just need to achieve the objective, however you see fit. Personally I wrote my own nic firmware filter module in assembly, and it worked fine. ;-)
 
Old 01-12-2011, 04:51 AM   #3
gurl4sh25
Member
 
Registered: Apr 2006
Distribution: SuSE, RedHat, Fedora, CentOS, BSD
Posts: 115

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by acid_kewpie View Post
You should use the one you want to. that's the whole ethos of the exam. You just need to achieve the objective, however you see fit. Personally I wrote my own nic firmware filter module in assembly, and it worked fine. ;-)
Hi acid_kewpie, highly appreciated your reply. It seems you've done it in a different way or should I say advance.. how about the other RHCE guys here what method did you guys used in the exam?
 
Old 01-12-2011, 04:52 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
I didn't do that.... of course... it was a joke. I'm just trying to stress that it doesn't matter what other people do. do what you find easiest.
 
Old 01-12-2011, 11:34 PM   #5
raviteja_s
Member
 
Registered: Jun 2010
Location: India
Distribution: Redhat
Posts: 68

Rep: Reputation: 1
!) install dovecot package

2) mutt -f pop://user1.domain.org

3) iptables -A INPUT -s organization.com -p tcp --dport 110 -j REJECT

[
B]use iptables for blocking pop server are imap server[/B]

Last edited by raviteja_s; 01-14-2011 at 11:55 PM.
 
Old 01-13-2011, 01:01 AM   #6
gurl4sh25
Member
 
Registered: Apr 2006
Distribution: SuSE, RedHat, Fedora, CentOS, BSD
Posts: 115

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by acid_kewpie View Post
I didn't do that.... of course... it was a joke. I'm just trying to stress that it doesn't matter what other people do. do what you find easiest.
oh i see, I thought you've done that method, knowing it is possible
 
Old 01-13-2011, 01:04 AM   #7
gurl4sh25
Member
 
Registered: Apr 2006
Distribution: SuSE, RedHat, Fedora, CentOS, BSD
Posts: 115

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by raviteja_s View Post
!) install dovecot package

2) mutt -f pop://user1.domain.org

3) iptables -A INPUT -s organization.com -p pop --dport 110 -j REJECT

[
B]use iptables for blocking pop server are imap server[/B]
Thanks raviteja_s for your reply. Was wondering if you've are already taken the RHCE? and if this method you have done?
 
Old 01-14-2011, 01:40 AM   #8
raviteja_s
Member
 
Registered: Jun 2010
Location: India
Distribution: Redhat
Posts: 68

Rep: Reputation: 1
In my RHCE exam i was done these steps..
 
Old 01-14-2011, 03:11 PM   #9
latinmusic74
Member
 
Registered: Jun 2007
Posts: 118

Rep: Reputation: 16
You can try:

iptables -A INPUT -s ! domain.org -p pop --dport 110 -j REJECT

This will reject access to all except domain.org.
 
Old 01-15-2011, 02:35 AM   #10
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Quote:
Originally Posted by raviteja_s View Post
In my RHCE exam i was done these steps..
Discussion of answers to a redhat exam is in direct contradiction of the nda you signed before you took it. If you can please tell me your rhce number I'll get in touch with redhat and have your accreditation stripped, ok? Cheers.
 
Old 01-15-2011, 10:42 PM   #11
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
@gurl4sh25: when you sit down to take the exam, you'll be required to sign an NDA, and you will see why no one (who cares about his/her cert) can help you.

Good luck.
 
Old 01-25-2011, 03:58 AM   #12
gurl4sh25
Member
 
Registered: Apr 2006
Distribution: SuSE, RedHat, Fedora, CentOS, BSD
Posts: 115

Original Poster
Rep: Reputation: 15
Thanks guys, Highly appreciate all your response!

Cheers! =)
 
Old 01-25-2011, 09:22 AM   #13
zer0signal
Member
 
Registered: Oct 2010
Location: Cleveland
Distribution: Slackware, Fedora, RHEL (4,5), LFS 6.7, CentOS
Posts: 258

Rep: Reputation: 29
Just remember whatever it takes to get the job done... If you can do it wrappers than do it, if you can do it with iptable than do it. If you can do it with mind control then do it. =)
 
  


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 wrapper question cj_cheema Linux - Security 3 10-07-2010 05:15 AM
[SOLVED] RHCE EXAM , iptables question, firewall on or off? aahiqmir Red Hat 4 09-08-2010 02:37 PM
Logging with tcp/wrapper Amit Agarwal Linux - Newbie 1 07-06-2009 11:55 PM
Question on TCP Wrapper usage ciphyre Linux - Security 3 09-15-2008 12:31 PM
About xinetd and TCP wrapper jack1234 Linux - Networking 0 09-15-2005 08:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General > Linux - Certification

All times are GMT -5. The time now is 07:27 PM.

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