1838571 Members
3281 Online
110128 Solutions
New Discussion

question about inetd.sec

 
SOLVED
Go to solution
someone_4
Honored Contributor

question about inetd.sec

Hello everyone I have everyone had a productive weekend!! .
I was wondering if this is a valid line in inetd.sec

telnet deny 216.224.128-191.*

I am trying to block telnet from an ip range.

Thanks
Richard
8 REPLIES 8
harry d brown jr
Honored Contributor
Solution

Re: question about inetd.sec

It sure is!

live free or die
harry
Live Free or Die
someone_4
Honored Contributor

Re: question about inetd.sec

A range is a field containing a - character. To deny hosts in network 10 (arpa) with subnets 3 through 5 access to remsh:

shell deny 10.3-5.*
pap
Respected Contributor

Re: question about inetd.sec

Yes, This is true.
"Winners don't do different things , they do things differently"
Helen French
Honored Contributor

Re: question about inetd.sec

Hi Richard,

Just cat inetd.sec, and will give you the same explanation in the eg: given in the starting of file.

The network range can be specified by this.

HTH,
Shiju
Life is a promise, fulfill it!
someone_4
Honored Contributor

Re: question about inetd.sec

lol
I know you didnt mean
cat inetd.sec
you meant
man inetd.sec
But I cant say nothing I dont know where my head is .. not even trying to do a man on inetd.sec.

Richard
Helen French
Honored Contributor

Re: question about inetd.sec

Hi Richard =))

Actually I meant CAT :

# cat /var/adm/inetd.sec

The starting of the file will give you an eg: and it's explanations.

You can get more information from manges though.

HTH,
Shiju
Life is a promise, fulfill it!
someone_4
Honored Contributor

Re: question about inetd.sec

LoL
I didnt have one in /var/adm
So I had to vi and create inetd.sec ..!!
But after reading your last post I found the original inetd.sec in
/usr/newconfig/var/adm/inetd.sec

And when I cat that .. I see the info you are talking about :)
Richard
Helen French
Honored Contributor

Re: question about inetd.sec

Richard,

If you create the inetd.sec file manually, then make sure about the permissions of the file. Read the man pages for information on this. This file contains security information and may lead in to problems if you don't secure it.

HTH,
Shiju
Life is a promise, fulfill it!