* Hardening Tru64 V5.1A system
@ 2002-02-21 11:54 david20
2002-02-21 15:08 ` Bob Harris
` (3 more replies)
0 siblings, 4 replies; 13+ messages in thread
From: david20 @ 2002-02-21 11:54 UTC (permalink / raw)
Hi,
I am trying to harden some new Tru64 5.1A boxes.
I have turned on Enhanced Security and have disabled just about everything in
inetd.conf
I have also stopped lpd, snmp and sendmail starting up.
However when I do a
netstat -af inet | grep LISTEN
I still see some worrying ports being open
eg
316
596
49401
49400
evm
Advfs
2301
111
What startup files are these ports associated with ?
Do I need to have evm listening on a port ?
Why should the advanced file system need to listen on a port ?
These systems are standalone systems ie not in a cluster.
David Webb
VMS and Unix team leader
CCSS
Middlesex University
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Hardening Tru64 V5.1A system
2002-02-21 11:54 Hardening Tru64 V5.1A system david20
@ 2002-02-21 15:08 ` Bob Harris
2002-02-21 15:35 ` david20
2002-02-21 18:05 ` Adam Price
` (2 subsequent siblings)
3 siblings, 1 reply; 13+ messages in thread
From: Bob Harris @ 2002-02-21 15:08 UTC (permalink / raw)
In article <a52n6d$1n$1@aquila.mdx.ac.uk>, david20@alpha2.mdx.ac.uk
wrote:
For the AdvFS entry, look at man 8 advfsd (the advfs daemon that
supports the dtadvfs GUI interface).
Bob Harris
X Hi,
X
X I am trying to harden some new Tru64 5.1A boxes.
X I have turned on Enhanced Security and have disabled just about everything in
X inetd.conf
X I have also stopped lpd, snmp and sendmail starting up.
X
X However when I do a
X
X netstat -af inet | grep LISTEN
X
X I still see some worrying ports being open
X
X eg
X
X 316
X 596
X 49401
X 49400
X evm
X Advfs
X 2301
X 111
X
X What startup files are these ports associated with ?
X Do I need to have evm listening on a port ?
X Why should the advanced file system need to listen on a port ?
X
X These systems are standalone systems ie not in a cluster.
X
X
X David Webb
X VMS and Unix team leader
X CCSS
X Middlesex University
X
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Hardening Tru64 V5.1A system
2002-02-21 15:08 ` Bob Harris
@ 2002-02-21 15:35 ` david20
0 siblings, 0 replies; 13+ messages in thread
From: david20 @ 2002-02-21 15:35 UTC (permalink / raw)
In article <harris-5333AF.10085821022002@gazette.loc1.tandem.com>, Bob Harris <harris@zk3.dec.com> writes:
>In article <a52n6d$1n$1@aquila.mdx.ac.uk>, david20@alpha2.mdx.ac.uk
>wrote:
>
>For the AdvFS entry, look at man 8 advfsd (the advfs daemon that
>supports the dtadvfs GUI interface).
>
> Bob Harris
Thanks Bob.
Looks like I can control access via the
/usr/var/advfs/daemon/socket/hosts.allow file
Now just need to find out what these other ports are for.
David Webb
VMS and Unix team leader
CCSS
Middlesex University
>
>X Hi,
>X
>X I am trying to harden some new Tru64 5.1A boxes.
>X I have turned on Enhanced Security and have disabled just about everything in
>X inetd.conf
>X I have also stopped lpd, snmp and sendmail starting up.
>X
>X However when I do a
>X
>X netstat -af inet | grep LISTEN
>X
>X I still see some worrying ports being open
>X
>X eg
>X
>X 316
>X 596
>X 49401
>X 49400
>X evm
>X Advfs
>X 2301
>X 111
>X
>X What startup files are these ports associated with ?
>X Do I need to have evm listening on a port ?
>X Why should the advanced file system need to listen on a port ?
>X
>X These systems are standalone systems ie not in a cluster.
>X
>X
>X David Webb
>X VMS and Unix team leader
>X CCSS
>X Middlesex University
>X
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Hardening Tru64 V5.1A system
2002-02-21 11:54 Hardening Tru64 V5.1A system david20
2002-02-21 15:08 ` Bob Harris
@ 2002-02-21 18:05 ` Adam Price
2002-02-21 18:19 ` Ann Majeske
2002-02-21 22:12 ` Brian Haley
3 siblings, 0 replies; 13+ messages in thread
From: Adam Price @ 2002-02-21 18:05 UTC (permalink / raw)
<david20@alpha2.mdx.ac.uk> wrote in message news:a52n6d$1n$1@aquila.mdx.ac.uk...
>
> Hi,
>
> I am trying to harden some new Tru64 5.1A boxes.
> I have turned on Enhanced Security and have disabled just about everything in
> inetd.conf
> I have also stopped lpd, snmp and sendmail starting up.
>
> However when I do a
>
> netstat -af inet | grep LISTEN
>
> I still see some worrying ports being open
>
> eg
>
> 316
> 596
> 49401
> 49400
> evm
> Advfs
> 2301
> 111
>
2301 is the insight manager see man insight_manager for details or find it online here:
http://www.tru64unix.compaq.com/docs/base_doc/DOCUMENTATION/V51_HTML/MAN/MAN5/0085____.HTM
I think this may help with some of the others too.
Advfs is the advfsd and you should be able to turn that off too, see the man page.
evm is the event monitoring subsystem and man evmd should help.
The only reference to 49400 I can find is in a page about hardening windows, but the
program listening there was a compaq program too.
You may also want to look at lsof from ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/
which may help to ID some of the others.
Hope this helps some
Adam
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Hardening Tru64 V5.1A system
2002-02-21 11:54 Hardening Tru64 V5.1A system david20
2002-02-21 15:08 ` Bob Harris
2002-02-21 18:05 ` Adam Price
@ 2002-02-21 18:19 ` Ann Majeske
2002-02-21 22:12 ` Brian Haley
3 siblings, 0 replies; 13+ messages in thread
From: Ann Majeske @ 2002-02-21 18:19 UTC (permalink / raw)
It looks like Insight Manager is port 2301.
See man insight_manager.5 for info.
evm is the event manager. The man page for
evmdaemon.conf shows an example file that
"Disables connections from remote hosts".
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Hardening Tru64 V5.1A system
2002-02-21 11:54 Hardening Tru64 V5.1A system david20
` (2 preceding siblings ...)
2002-02-21 18:19 ` Ann Majeske
@ 2002-02-21 22:12 ` Brian Haley
2002-02-22 2:40 ` Chris Adams
3 siblings, 1 reply; 13+ messages in thread
From: Brian Haley @ 2002-02-21 22:12 UTC (permalink / raw)
david20@alpha2.mdx.ac.uk wrote:
> 316
> 596
> 49401
> 49400
> evm
> Advfs
> 2301
> 111
Well, the first place you can look for assigned ports is IANA:
http://www.iana.org/assignments/port-numbers
I'll try and fill-in the blanks the other replies have left:
111 - portmapper, needed if you're doing any RPC services, like NFS
596 - smsd, the SysMan Station daemon
316 - the Java authentication server
49400 - config_hmmod, don't know what this is
49401 - don't have one of those on my system
BTW, there are two ways to cross-reference a port to a pid.
1. Use the kdbx inpcb and socket extentions.
2. Use lsof, it's freely available for download.
-Brian
------------------------------------------------
Tru64 UNIX Networking Group
Compaq Computer Corporation
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Hardening Tru64 V5.1A system
2002-02-21 22:12 ` Brian Haley
@ 2002-02-22 2:40 ` Chris Adams
2002-02-22 11:01 ` david20
0 siblings, 1 reply; 13+ messages in thread
From: Chris Adams @ 2002-02-22 2:40 UTC (permalink / raw)
Once upon a time, Brian Haley <haley@zk3.dec.com> said:
>111 - portmapper, needed if you're doing any RPC services, like NFS
Also needed if you are running Enhanced Security on 5.1A. The prpasswdd
(protected password database daemon) talks via RPC.
--
Chris Adams <cmadams@hiwaay.net>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Hardening Tru64 V5.1A system
2002-02-22 2:40 ` Chris Adams
@ 2002-02-22 11:01 ` david20
2002-02-27 9:59 ` xBSD or Tru64? (was Re: Hardening Tru64 V5.1A system) Ivan Dolezal
0 siblings, 1 reply; 13+ messages in thread
From: david20 @ 2002-02-22 11:01 UTC (permalink / raw)
In article <u7bbsdd9c8uh37@corp.supernews.com>, cmadams@HiWAAY.net (Chris Adams) writes:
>Once upon a time, Brian Haley <haley@zk3.dec.com> said:
>>111 - portmapper, needed if you're doing any RPC services, like NFS
>
>Also needed if you are running Enhanced Security on 5.1A. The prpasswdd
>(protected password database daemon) talks via RPC.
>--
>Chris Adams <cmadams@hiwaay.net>
>Systems and Network Administrator - HiWAAY Internet Services
>I don't speak for anybody but myself - that's enough trouble.
Thanks everyone for all your help.
Needing the RPC portmapper when your using enhanced security seems rather
counter-intuitive I thought the RPC portmapper was a high risk target
for hackers. Increasing one type of security by lowering another type doesn't
sound very sensible.
Are there any control files (similar to the advfs daemons -
/usr/var/advfs/daemon/socket/hosts.allow file ) to restrict which systems can
connect to this port ?
David Webb
VMS and Unix team leader
CCSS
Middlesex University
David Webb
VMS and Unix team leader
CCSS
Middlesex University
^ permalink raw reply [flat|nested] 13+ messages in thread
* xBSD or Tru64? (was Re: Hardening Tru64 V5.1A system)
2002-02-22 11:01 ` david20
@ 2002-02-27 9:59 ` Ivan Dolezal
2002-02-27 10:07 ` Post scriptum Ivan Dolezal
2002-02-27 20:26 ` xBSD or Tru64? (was Re: Hardening Tru64 V5.1A system) Peter da Silva
0 siblings, 2 replies; 13+ messages in thread
From: Ivan Dolezal @ 2002-02-27 9:59 UTC (permalink / raw)
Use some flavor of BSD (OpenBSD.org, NetBSD.org or FreeBSD.org) instead
of Tru64 *if you can*.
I am about to migrate to NetBSD myself since problem escalating was
stopped for my 4.0d and since 5.1A seemed to be - ugly and too fancy for
a non-cluster environment when I got my half-day "Test Drive" experience
on it.
BSD is an operating system whose authors were really thinking of
security. No fancy stupid stuff like Insight Manager, everything blocked
when freshly installed and you have to KNOW first, how to run safely the
feature *before* you make it actually up and running. Neat access
control, makes security reports out-of-the-box... (this is my personal
experience just with NetBSD) and IP FILTER! Screend? Don't even say it.
Actually, what's your opinion guys here? Would *you* upgrade from 4.0d
to 5.1A if you didn't have to run some platform specific software, a
software that has been certified by Compaq or Tru64Cluster?
Thanks for the answers,
Ivan Dolezal
^ permalink raw reply [flat|nested] 13+ messages in thread
* Post scriptum
2002-02-27 9:59 ` xBSD or Tru64? (was Re: Hardening Tru64 V5.1A system) Ivan Dolezal
@ 2002-02-27 10:07 ` Ivan Dolezal
2002-02-27 20:26 ` xBSD or Tru64? (was Re: Hardening Tru64 V5.1A system) Peter da Silva
1 sibling, 0 replies; 13+ messages in thread
From: Ivan Dolezal @ 2002-02-27 10:07 UTC (permalink / raw)
And, what's last but not least,
NetBSD has been here since some 1994.
In the meantime the Compaq, formerly known as Digital, formerly known as
DEC released ULTRIX, later Tru64 Unix formerly known as Digital Unix
(partially incompatible with Ultrix) and is about to maybe release
Enterprise Unix that will be again partially incompatible with Digital
Unix. I can't but regret that we didn't stick with BSD or Linux or VMS
or NonStop Kernel or Microsoft Windows - no, I am kidding :-) - right
from beginning.
Ivan
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: xBSD or Tru64? (was Re: Hardening Tru64 V5.1A system)
2002-02-27 9:59 ` xBSD or Tru64? (was Re: Hardening Tru64 V5.1A system) Ivan Dolezal
2002-02-27 10:07 ` Post scriptum Ivan Dolezal
@ 2002-02-27 20:26 ` Peter da Silva
2002-02-28 12:50 ` Ivan Dolezal
1 sibling, 1 reply; 13+ messages in thread
From: Peter da Silva @ 2002-02-27 20:26 UTC (permalink / raw)
In article <3C7CADFA.1070201@usa.net>,
Ivan Dolezal <Ivan.Dolezal@usa.net> wrote:
> Use some flavor of BSD (OpenBSD.org, NetBSD.org or FreeBSD.org) instead
> of Tru64 *if you can*.
Tru64 *is* BSD.
To be precise, Tru64 is based on 4.3-Reno and Mach. The free BSDs are
based on 4.4-Lite and Mach. 4.3-Reno and 4.4-Lite are close enough that
I was able to debug problems in our first Tru64 boxes using the FreeBSD
CD set as a reference.
Migrating between Tru64 and BSD is one of the easier porting experiences.
Either way.
--
`-_-' In hoc signo hack, Peter da Silva.
'U` "A well-rounded geek should be able to geek about anything."
-- nicolai@esperi.org
Disclaimer: WWFD?
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: xBSD or Tru64? (was Re: Hardening Tru64 V5.1A system)
2002-02-27 20:26 ` xBSD or Tru64? (was Re: Hardening Tru64 V5.1A system) Peter da Silva
@ 2002-02-28 12:50 ` Ivan Dolezal
2002-03-02 17:06 ` Peter da Silva
0 siblings, 1 reply; 13+ messages in thread
From: Ivan Dolezal @ 2002-02-28 12:50 UTC (permalink / raw)
>> Use some flavor of BSD (OpenBSD.org, NetBSD.org or FreeBSD.org)
>> instead of Tru64 *if you can*.
Peter da Silva wrote:
> Tru64 *is* BSD.
Yes, you are right. I knew it, I just should have been more precise.
www.tru64.org even used to have a small "daemon" drawing on its webpage
(you can see the artwork at http://decsys.vsb.cz/phroed.gif ).
However, I wanted to suggest to move on "modernish" free versions of BSD.
Btw: what is, guys, your opinion?
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: xBSD or Tru64? (was Re: Hardening Tru64 V5.1A system)
2002-02-28 12:50 ` Ivan Dolezal
@ 2002-03-02 17:06 ` Peter da Silva
0 siblings, 0 replies; 13+ messages in thread
From: Peter da Silva @ 2002-03-02 17:06 UTC (permalink / raw)
In article <3C7E2798.70608@usa.net>,
Ivan Dolezal <Ivan.Dolezal@usa.net> wrote:
> Btw: what is, guys, your opinion?
I'm probably a bit of an oddball here. I don't much see the point in
going to any great effort to run free UNIX on non-intel hardware.
There's a couple of situations where it's a good idea, but in most
cases you can get a discarded wintel box that'll run a much more stable
and well-supported BSD/Linux port faster than just about any non-intel
hardware.
The main reasons where it's worth the effort are:
1. You're doing it so you can support the port effort.
2. Your non-wintel box is too old to be any use running the
vendor's OS.
3. Your non-wintel box is faster/bigger/more powerful/more
reliable than a wintel box.
4. Your non-wintel box has some other capability none of the
wintel boxes at hand have.
I run OpenBSD on Sparcstations, for example, for reasons 2 and 4. IBM sells
servers that satisfy reason 3, and newer Alphas certainly qualify there as
well... but if you're not talking about an ES4x or the like I suspect that's
not your motivation.
Of course reason 4 can be stretched to include "cool factor"... :->
But most of the time, you're better off getting a discarded wintel box and
a KVM switch and running your BSD fix on that, since it'll give you all the
capability of the non-x86 hardware and you can still run stuff that works on
the native OS.
I'm particularly puzzled, on this front, by the people who run BSD and Linux
on iMacs. :->
--
`-_-' In hoc signo hack, Peter da Silva.
'U` "A well-rounded geek should be able to geek about anything."
-- nicolai@esperi.org
Disclaimer: WWFD?
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2002-03-02 17:06 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-21 11:54 Hardening Tru64 V5.1A system david20
2002-02-21 15:08 ` Bob Harris
2002-02-21 15:35 ` david20
2002-02-21 18:05 ` Adam Price
2002-02-21 18:19 ` Ann Majeske
2002-02-21 22:12 ` Brian Haley
2002-02-22 2:40 ` Chris Adams
2002-02-22 11:01 ` david20
2002-02-27 9:59 ` xBSD or Tru64? (was Re: Hardening Tru64 V5.1A system) Ivan Dolezal
2002-02-27 10:07 ` Post scriptum Ivan Dolezal
2002-02-27 20:26 ` xBSD or Tru64? (was Re: Hardening Tru64 V5.1A system) Peter da Silva
2002-02-28 12:50 ` Ivan Dolezal
2002-03-02 17:06 ` Peter da Silva
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox