Operating System - HP-UX
1836762 Members
3016 Online
110109 Solutions
New Discussion

Re: /etc/services and inetd.sec

 
SOLVED
Go to solution
Joseph Bague
Frequent Advisor

/etc/services and inetd.sec

Good day,

Is it possible to specify a port on /etc/services like oracle port. then use the inetd.sec to restrict the ip who want to access the oracle.

If not is there another solution.
Expect nothing but ready for everything
6 REPLIES 6
Ravi_8
Honored Contributor
Solution

Re: /etc/services and inetd.sec

Hi,

It's possible

look at some the ports we are using for MQSeries testing.

# Required for MQ Inatall/Migration/CSD QMGR and Channel testing
MQXZ1 1422/tcp # MQ XZ
MQXZ2 1423/tcp # MQ XZ
MQXZ3 1424/tcp # MQ XZ
MQXZ4 1429/tcp # MQ XZ
MQXZ5 1430/tcp # MQ XZ
MQCOM1 1455/tcp # MQ test port
MQCOM2 1456/tcp # MQ test port
never give up
Sudhakar_7
Occasional Advisor

Re: /etc/services and inetd.sec

Yes

see man inetd.sec

Regards

Sudhakar J
avsrini
Trusted Contributor

Re: /etc/services and inetd.sec

Hi Joseph,

Inetd.sec provides an additional layer of security to services started / provided by inetd daemon.

If you run a service through inetd daemon ( entry in /etc/inetd.conf ), on a given port (/etc/services ) then, Yes you can use inetd.sec to restrict access.


Srini.
Be on top.
Joseph Bague
Frequent Advisor

Re: /etc/services and inetd.sec

Ravi,

Do you specify your MQseries on inetd.conf or just in services only?

Expect nothing but ready for everything
Sunil Sharma_1
Honored Contributor

Re: /etc/services and inetd.sec

Hi,
You have to make entry in /etc/services and /etc/inetd.conf
once this thing is done then you can use inetd.sec to add another layer of security.
if you r using HP UX 11i you can use ipfilter/9000 to do this.
http://www.hp.com/products1/unix/operating/infolibrary/briefs/ipfilter_sbrief_0204.pdf

This may help you


sunil
*** Dream as if you'll live forever. Live as if you'll die today ***
Ravi_8
Honored Contributor

Re: /etc/services and inetd.sec

Hi,

sorry for the delay. as i was in busy.

Yes we specify in inetd.conf also

# grep -i regr services inetd.conf
services:#For MQSeries Regression
services:REGR 3600/tcp
inetd.conf:#For MQSeries Regression and Stress
inetd.conf:REGR stream tcp nowait mqm /opt/mqm/bin/amqcrsta amqcrsta -m RE
never give up