LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Closed Thread
  Search this Thread
Old 08-22-2017, 06:14 PM   #1
Melete
LQ Newbie
 
Registered: Aug 2017
Posts: 4

Rep: Reputation: Disabled
Blocking domains in services


so most services have a way to block domains in their main config files. is it better to do this in the service config file such as httpd.conf, or in hosts.allow/ hosts.deny? Does it make a difference?

asking about services such as:
ssh
samba
httpd

Thanks!
 
Old 08-22-2017, 06:42 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 19,418

Rep: Reputation: 2996Reputation: 2996Reputation: 2996Reputation: 2996Reputation: 2996Reputation: 2996Reputation: 2996Reputation: 2996Reputation: 2996Reputation: 2996Reputation: 2996
Dupe.
https://www.linuxquestions.org/quest...es-4175612455/
 
Old 08-22-2017, 07:01 PM   #3
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 8,315
Blog Entries: 13

Rep: Reputation: 3703Reputation: 3703Reputation: 3703Reputation: 3703Reputation: 3703Reputation: 3703Reputation: 3703Reputation: 3703Reputation: 3703Reputation: 3703Reputation: 3703
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.
 
  


Closed Thread


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
Blocking Malicious Domains in DNS (Bind) bipinkdas Linux - Security 1 06-29-2014 04:35 PM
[SOLVED] Blocking domains at specific times sabresong Linux - Networking 2 01-05-2012 07:58 PM
Allowing only certain hosts / domains while blocking the rest using IPTables? lolmannz Linux - Networking 2 10-19-2008 01:16 PM
Blocking mails from specific email addresses/domains in postfix jomy Linux - Networking 1 07-15-2008 09:32 PM
EXIM blocking domains n3r0 Debian 3 09-22-2004 09:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:19 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration