Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free. |
|
09-15-2003, 10:16 AM
|
#1
|
LQ Newbie
Registered: Jun 2003
Posts: 11
Rep:
|
hosts.deny question
This may seem like a silly question....
I know I can block at the domain level in hosts.deny
ALL: aol.com
ALL: evilhacker.net
but can I block a root level domain such as .cn, .za.... etc?
I don't see why not, but I can't seem to find any info to validate it.
|
|
|
09-15-2003, 10:44 AM
|
#2
|
LQ Veteran
Registered: Sep 2003
Posts: 10,532
|
This will help: man 5 hosts_access
But to give you the short answer: yes you can.
|
|
|
09-15-2003, 04:30 PM
|
#3
|
Senior Member
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552
Rep:
|
You may want to consider putting "ALL:ALL" in your hosts.deny. If you read the man page for hosts.allow and hosts.deny, it say that if there is no match in either file then access is granted. For example, if you explicitly allow domain_a and explicitly deny domain_b, then domain_c is granted access. Using "ALL:ALL" is the catchall for what you do not explicitly allow.
|
|
|
All times are GMT -5. The time now is 10:54 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|