[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: CLosing Ports
* John Smith <pagemaster41@hotmail.com> [001118 15:39]:
> How do you close 111(sunrpc) and 113(auth) I looked in the inetd.conf and
> rc.conf files but to no avail. I remember I had closed these before but I
> just reinstalled OpenBSD and don't remember how to do it.
vi /etc/inetd.conf
vi /etc/rc.conf
Look for identd and portmap.
$ fstat | grep 113
root inetd 10869 6* internet stream tcp 0xe0a99b00 *:113
$ fstat | grep 111
root portmap 7343 3* internet dgram udp *:111
root portmap 7343 4* internet dgram udp 127.0.0.1:111
root portmap 7343 5* internet stream tcp 0xe0a02500 *:111
root portmap 7343 6* internet stream tcp 0xe0a02200 127.0.0.1:111
The fstat(1) command will let you figure out all sorts of fun things.
--
``Oh Lord; Ooh you are so big; So absolutely huge; Gosh we're all really
impressed down here, I can tell you.''