On Wed, 2006-02-08 at 16:45 +0100, H. McManus wrote:
> When setting up access control and you're setting the value for the "source" 
> column, what does the keyword "default" actually mean?

This entry will match any IP address.

> Is the same as saying 0.0.0.0

Yes.


> Sorry if I'm being a bit dense, I can't seem to find anywhere
> what "default" in this context means.

See snmplib/snmpUDPDomain.c:netsnmp_udp_parse_security():

  if ((strcmp(source, "default") == 0)
        || (strcmp(source, "0.0.0.0") == 0)) {
        network = 0;
        strmask = "0.0.0.0";
  } else {
        /*
         * Try interpreting as a dotted quad.
         */
       <etc, etc>
  }


Dave


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to