Re: ucd snmp vacm's public community access auth probs?

From: Rui Ribeiro (ruka@MY-DEJANEWS.COM)
Date: Thu Apr 15 1999 - 04:11:29 PDT

  • Next message: Lukasz Luzar: "KKIS.08041999.001.b - security raport - flaws in rpc part of libc"

    Since the first posting I have clarified a few points with some hints from Wes Hardaker (wjhardakerat_private).
    
    ucd-snmp v3.5.2 has indeed the described problem. v3.6 no longer suffers from it, but the RH smnpd default directory is no longer recognized under it (RH joys).
    
    I was wrong about v3.6 since when not configured, it answers to requests from any snmp community (this apparently is documented). The best way to check for configuration errors is invoking snmpd with the -L -D options.
    
    Fixes:
    
    . upgrade to 3.6, since it also has a better support for snmp traps
    . swapping to another Linux dristribution? :(
    
    Regards,
    Rui
    
    ---
    Rui Fernando Ferreira Ribeiro
    IT Consultant
    CASE
    
    On Tue, 6 Apr 1999 03:09:55    Rui Ribeiro wrote:
    >I have found a feature in the vacm ucd-snmp v3.52 and v3.6, when setting up snmp services under Linux RH 5.2.
    >
    >By default, v3.5.2 always delivers the system mib subtree and v3.6 the entire mib tree. Both requests are made with the public community name. All the machines capable of connecting to your snmp port, will have access to that information.
    >
    >Quite contrary to what the documentation says, you can't change this behaviour with the vacm configuration file (/etc/snmp/snmpd.conf).
    >
    >You can try, but it's ignored. I have tried to change v3.5.2, since I needed the entire mib tree for monitoring the Linux machines with Netview, under the public community.
    >
    >A quick and dirty fix for 3.5.2 is changing the source file snmplib/snmp_api.c.
    >
    >Where you are reading DEFAULT_COMMUNITY "public", change the public string to something hard to guess (and make it long, too). After compiling and instaling the modified snmpd, you can configure the public community as you wish.
    >
    >This quirk doesn't work anymore for v3.6. A workaround for restriting access could be ipchains rules under Linux.
    >
    >Regards,
    >Rui
    >
    
    
    -----== Sent via Deja News, The Discussion Network ==-----
    http://www.dejanews.com/  Easy access to 50,000+ discussion forums
    



    This archive was generated by hypermail 2b30 : Fri Apr 13 2001 - 14:42:28 PDT