LinuxQuestions.org
Help answer threads with 0 replies.
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-24-2007, 03:53 AM   #1
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,416

Rep: Reputation: 53
host.deny and host.allow not found


Hi folks,


Ubuntu 7.04 lamp server amd64


The files host.deny and host.allow can't be found.

$ sudo find / -name hosts.deny
$ sudo find / -name hosts.allow
both w/o printout

$ sudo iptables -L
Code:
Chain INPUT (policy ACCEPT)
target     prot opt source               destination         

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
How to create them? TIA


Edit:

I found following guide;
http://ubuntuforums.org/showthread.php?t=450853

I'll create host.deny and host.allow according to its steps.

Further suggestion/advice would be appreciated.


B.R.
satimis

Last edited by satimis; 08-24-2007 at 04:38 AM.
 
Old 08-24-2007, 04:45 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,144
Blog Entries: 54

Rep: Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791
Creating them manually is cool, they are just text files.
 
Old 08-24-2007, 04:50 AM   #3
rupertwh
Member
 
Registered: Sep 2006
Location: Munich, Germany
Distribution: Debian / Ubuntu
Posts: 296

Rep: Reputation: 49
Quote:
Originally Posted by satimis View Post
The files host.deny and host.allow can't be found.
Maybe because they are called hosts.deny and hosts.allow?
 
Old 08-24-2007, 05:20 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,144
Blog Entries: 54

Rep: Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791
Quote:
Originally Posted by rupertwh View Post
Maybe because they are called hosts.deny and hosts.allow?
Good one Eagle eyes ;-p
 
Old 08-24-2007, 05:22 AM   #5
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,416

Original Poster
Rep: Reputation: 53
Hi folks,


Tks for your comments.

The Guide works w/o problem.

However ccording to the Guide the 2 files, hosts.deny and hosts.allow, are empty. Where can I find their script?

TIA


B.R.
satimis
 
Old 08-24-2007, 06:38 AM   #6
win32sux
Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Quote:
Originally Posted by satimis View Post
hosts.deny and hosts.allow, are empty. Where can I find their script?
There's no script. They are config files. The config you place in them depends on what you want to do. If you Google a bit you will find plenty of examples.
 
  


Reply


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
disable host.allow and deny doronunu Linux - Newbie 6 05-17-2006 04:09 AM
Resolving <www.some remote host>.... failed: Host not found. koodoo Linux - Newbie 2 06-27-2005 08:48 AM
How to setup a host.deny and host.allow for SSH? explorer1979 Linux - Security 2 01-31-2005 05:28 PM
How do I deny host? Inexactitude Linux - Security 3 02-22-2004 02:00 PM
host.deny is very wierd ForumKid Linux - Security 1 12-26-2001 06:09 PM


All times are GMT -5. The time now is 05:51 AM.

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