Visit the LQ Articles and Editorials section
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 04-10-2004, 11:31 PM   #1
Registered: Jan 2004
Posts: 66

Rep: Reputation: 15
Allowing connections to apache and qmail in hosts.allow

I have looked for this answer for a while and came up empty handed. I have my hosts.deny setup as

# hosts.deny This file describes the names of the hosts which are
# *not* allowed to use the local INET services, as decided
# by the '/usr/sbin/tcpd' server.
# The portmap line is redundant, but it is left to remind you that
# the new secure portmap uses hosts.deny and hosts.allow. In particular
# you should know that NFS uses portmap!



How would I allow connections to apache and qmail?

Old 04-11-2004, 06:13 AM   #2
Senior Member
Registered: Dec 2000
Location: Gothenburg, SWEDEN
Distribution: OpenSUSE 10.3
Posts: 1,028

Rep: Reputation: 45
Programs need to be compiled with tcp wrapper support to make this possible.
As I have read tcp wrapper works per process and is designed for servers that start a new process/thread for every connection.
Services like apache and mail are often run constantly to eliminate the time it takes to start it up. This because they are frequently used and often under a heavy load.

Therefore tcpwrappers isn't a good solution for apache/qmail. Don't know if it's even gonna work.
Old 04-11-2004, 11:41 PM   #3
Registered: Jan 2004
Posts: 66

Original Poster
Rep: Reputation: 15
Hi ugge

I got that impression after reading about mod_access and such. THanks for the info.


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
cannot Allowing Incoming X Connections with xhost + libin88 Linux - Enterprise 1 11-09-2005 04:25 PM
Allowing connections to port 8080 in iptables apache363 Linux - Software 1 10-12-2004 03:14 PM
webserver - allowing connections from outside gateway? maverick106 Fedora 2 05-03-2004 11:01 AM
Allowing incoming connections only from a spesific country? herc Linux - Security 1 04-12-2004 03:56 AM
MySQL not allowing connections from Applet peteABK Linux - Newbie 1 11-04-2003 10:29 PM

All times are GMT -5. The time now is 08:10 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration