LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-10-2004, 10:31 PM   #1
reesee
Member
 
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!

ALL: PARANOID

--------------------------------------

How would I allow connections to apache and qmail?

Thanks
 
Old 04-11-2004, 05:13 AM   #2
ugge
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, 10:41 PM   #3
reesee
Member
 
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.
 
  


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


All times are GMT -5. The time now is 05:34 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