From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Jonathan Williams Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: SNMP question Date: Wed, 30 Apr 2003 16:06:21 -0400 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <023d01c30f53$f8666c30$8315000a@shubertorg.com> References: <3EAED4C0.9070407@incyte.com> <00e501c30e92$80c89930$8315000a@shubertorg.com> <017b01c30e98$abf8e820$8315000a@shubertorg.com> <019301c30f24$42f88b50$8315000a@shubertorg.com> <01c901c30f4c$54132da0$8315000a@shubertorg.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1051733591 24245 80.91.224.249 (30 Apr 2003 20:13:11 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 30 Apr 2003 20:13:11 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Wed Apr 30 22:13:04 2003 Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.22.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 19Axwu-0006I1-00 for ; Wed, 30 Apr 2003 22:13:04 +0200 Original-Received: (qmail 21197 invoked by uid 5); 30 Apr 2003 20:14:01 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 21188 invoked by uid 49493); 30 Apr 2003 20:14:01 -0000 Original-Received: from jonathw@shubertorg.com by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(-3.6/5.0):. Processed in 0.507925 secs); 30 Apr 2003 20:14:01 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 30 Apr 2003 20:14:00 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HE600438AQKYX@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 30 Apr 2003 16:13:58 -0400 (EDT) Original-Received: from mailhost.Shubertorg.com (mailhost.shubertorg.com [207.246.208.40]) by emroute1.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HE600HJMAMUFA@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 30 Apr 2003 16:08:55 -0400 (EDT) Original-Received: from memnoch [207.238.217.205] by mailhost.Shubertorg.com (SMTPD32-7.15) id ADCBB68600FC; Wed, 30 Apr 2003 16:10:51 -0400 Original-To: tru64-unix-managers X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-Priority: 3 X-MSMail-priority: Normal X-Declude-Sender: jonathw@shubertorg.com [207.238.217.205] X-Declude-Spoolname: D2dcbb68600fc8027.SMD X-Note: This E-mail was scanned by The Shubert Organization, Inc. for spam. Xref: main.gmane.org gmane.os.tru64.managers:4104 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:4104 Thank you all for the quick and very informative responses. They were all pretty much the same thing, so I will just paste one of the responses I received. The following was sent by Joseph Senulis: "Hi Jonathan, What you sort of did was prevent any public read access of any SNMP info. This may be a good thing. However, the default /etc/snmpd.conf has this as being the only access to SNMP. Assuming that you were working in an unmodified config file, you effectively turned off all access to SNMP. If you don't want SNMP, then the best/safest thing is to not start it in the first place. (You can rename the /sbin/rc*.d/*snmpd files to do that.) If you do need to give read access to external monitoring SNMP devices, then the recommended procedure is to use a different community string than "public" for both the monitor and the daemon. The issue is that a cracker can use an SNMP monitor to query an SNMP daemon and get lots of information about what is running there. Since all SNMP daemons come with the public community string by default, this is an easy thing for a cracker to check. It is still possible for a cracker to try all possible community strings to query the SNMP daemon, but the risk is much lower. --Joe" So that pretty much explains it. Oh, and I'd also like to thank Selden Ball for pointing out that I was confusing SNMP (Simple Network Management Protocol) with SMTP (Simple Mail Transfer Protocol) . ;) Thank you to everone else for their replies as well. Jonathan Williams Unix Systems Administrator The Shubert Organization, Inc. ----- Original Message ----- From: "Jonathan Williams" To: "tru64-unix-managers" Sent: Wednesday, April 30, 2003 3:11 PM Subject: SNMP question > We recently had a security audit done on our systems (ES40 ES45 running a > mixture of Tru64 5.1a and 5.1b). One of the items that came up as a problem was > that an SNMP agent responds to the community name "public". They suggest > setting the community strings to a non-default name. > Now I really don't know anything about SNMP, but I did a little digging and > found the config file /etc/snmpd.conf and took a look at it. Sure enough, there > was a line that read "community public 0.0.0.0 read" and this > was the only "community" line in the file. So on a test system I just commented > out this line, did a "/sbin/init.d/snmpd read", and did an SNMP request from > another system (snmp_request public get 1.3.6.1.2.1.1.1.0) and got > a "no reply" which I figure is a good thing (this same request done on another > system came up with lots of system info). > I was just wondering if it was OK to leave this line commented out? Or should I > change the name "public" to something else? I figure this has something to do > with email (but I could be wrong), and being we don't have any email programs > running on these systems, I figure I could just leave this commented out. I > know this is probably a "newb" question, but the bosses want any security holes > plugged ASAP. TIA > > Jonathan Williams > Unix Systems Administrator > The Shubert Organization, Inc. > > > >