1819504 Members
3281 Online
109603 Solutions
New Discussion юеВ

TCP Wrapper Newbie

 
Danny Crisp
Frequent Advisor

TCP Wrapper Newbie

I have installed TCP-WRAPPERS for HP-UX 11i. I would appreciate it if anyone could offer some advice on how to get going with it. Initially, I just want to grant access to a handful of hosts via telnet.
5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: TCP Wrapper Newbie

Shalom,

Docs:
http://docs.hp.com/en/5991-4837/5991-4837.pdf
http://docs.hp.com/en/5991-4837/ch01s01.html
http://docs.hp.com/en/5991-1869/ch05s02.html

The master document for the first two probably includes all the information you need.

As far as advice, goes, take a go slow approach. If you try and do too much, too fast you may end up with an unworkable configuration.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
spex
Honored Contributor

Re: TCP Wrapper Newbie

Hi Danny,

You know about /var/adm/inetd.sec, right?

PCS
Danny Crisp
Frequent Advisor

Re: TCP Wrapper Newbie

Nope.
Patrick Wallek
Honored Contributor

Re: TCP Wrapper Newbie

Do a 'man inetd.sec'

In a nutshell, you add lines to /var/adm/inetd.sec in the format:

telnet allow host1 host2 1.2.3.4 2.3.4.5

The above line means allow telnet from hosts host1 and host2 and the hosts with IP addresses 1.2.3.4 and 2.3.4.5.

Once you configure inetd.sec, you must do an 'inetd -c' to cause inetd to re-read its configuration files.
Danny Crisp
Frequent Advisor

Re: TCP Wrapper Newbie

Patrick, I followed your suggestion and created a inetd.sec and added one line as follows: -

telnet allow host1 host2 host3

However, seems that the above has only taken effect on host1. host2 and host3 are not being granted access.