Solved

tcp_wrapper, Can I specify port number for /etc/hosts.allow

Posted on 2008-10-07
6
1,138 Views
Last Modified: 2013-12-27
I use TCP Wrapper to allow service install on solaris. Syntax for /etc/hosts.allow is daemon and ip to allow but my problem is I don't know what is daemon name. An application is not well know. Can I specify port number in /etc/hosts.allow?
0
Comment
Question by:anuratra
  • 3
  • 2
6 Comments
 
LVL 40

Assisted Solution

by:omarfarid
omarfarid earned 100 total points
ID: 22657435
please see link below for syntax:

http://www.squarebox.co.uk/cgi-squarebox/manServer/usr/share/man/man5/hosts.allow.5

I could not see any example showing that you can specify the port, but you can control the connecting IP source
0
 
LVL 40

Expert Comment

by:omarfarid
ID: 22657436
please see link below for syntax:

http://www.squarebox.co.uk/cgi-squarebox/manServer/usr/share/man/man5/hosts.allow.5

I could not see any example showing that you can specify the port, but you can control the connecting IP source
0
 

Author Comment

by:anuratra
ID: 22659293
My problem is I don't know daemon name. It is apache. I enter httpd , /PATH/httpd. They don'twork. Moreover another applications is not well known.
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
LVL 40

Expert Comment

by:omarfarid
ID: 22660081
I think you can use ALL or unknown in the application field (if I remember correctly, you may check the link).
0
 

Author Comment

by:anuratra
ID: 22667201
If  I use "ALL" the other application won't block. I want to allow some applications.
0
 
LVL 22

Accepted Solution

by:
blu earned 400 total points
ID: 22668307
One key issue here is that not all daemons are compiled to use the TCP_Wrapper feature. The inetd daemon is, and thus can provide the service for all daemons that it starts (at least in nowait mode). You need to make sure that the daemons you want to control here are in fact tcp_wrapper capable.

Depending on you version of Solaris, you might want to use IPFilter instead.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Don’t let your business fall victim to the coming apocalypse – use our Survival Guide for the Fax Apocalypse to identify the risks and signs of zombie fax activities at your business.
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now