From owner-freebsd-questions Wed May 31 22: 8: 2 2000 Delivered-To: freebsd-questions@freebsd.org Received: from smtp.millennium20.com (smtp.thecyberguys.net [209.79.190.13]) by hub.freebsd.org (Postfix) with ESMTP id 5F71E37B780 for ; Wed, 31 May 2000 22:08:00 -0700 (PDT) (envelope-from glennpj@bayouhome.net) Received: from gforce.johnson.home (1Cust122.tnt2.covington.la.da.uu.net [63.31.31.122]) by smtp.millennium20.com (8.10.0/8.10.0) with SMTP id e5147MP09587; Wed, 31 May 2000 21:07:23 -0700 Received: (from glenn@localhost) by gforce.johnson.home (8.9.3/8.9.3) id AAA18466; Thu, 1 Jun 2000 00:07:48 -0500 (CDT) (envelope-from glenn) From: Glenn Johnson Date: Thu, 1 Jun 2000 00:07:23 -0500 To: Ryan Cc: freebsd-questions@FreeBSD.ORG Subject: Re: sunrpc on port:111? Message-ID: <20000601000723.A18358@gforce.johnson.home> References: <00053120565400.00851@ryan.pacbell.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <00053120565400.00851@ryan.pacbell.net>; from rd64pro@pacbell.net on Wed, May 31, 2000 at 08:26:08PM -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, May 31, 2000 at 08:26:08PM -0700, Ryan wrote: > During one of my late night sessions of endless tinkering with > my BSD box, I installed GTKPortScan (merely for fun; and out of > curiosity). Anyway, after running it on a few different IPs, I decided > to run it on my own. Well, I was pleased to find an open port with > a daemon running on it that I am unfamiliar with (I like that; it > sparks more curiosity). Aside from FTP, Telnet, http, etc, I have > something called "sunrpc" running on port 111. I have no idea what > this is. While I was in inetd.conf disabling finger and a few others, > I didn't see any mention of sunrpc. I found a sunrpc directory under > /usr/share/examples, and one of the files within said something about > a remote message printing protocol. Could someone be so kind as to > offer a brief explanation on what this is/does? RPC stands for Remote Procedure Call; 'man -a rpc' will give you two manual pages to read. > Also, while I remember, how can restart inetd (or any daemon, for that > matter) without restarting BSD? I was under the impression I could > send it an HUP signal via 'kill' and then just restart it, but kill > wants a pid that I can't find. Anyone? Thanks... Look in /var/run. Do 'cat /var/run/inetd.pid' to get the PID for inetd. -- Glenn Johnson glennpj@bayouhome.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message