--- net-snmp-5.3.1.orig/debian/patches/31_silence_subcontainer.patch +++ net-snmp-5.3.1/debian/patches/31_silence_subcontainer.patch @@ -0,0 +1,13 @@ +--- net-snmp-5.3.1.orig/include/net-snmp/library/container.h 2004-09-14 04:29:16.000000000 +0200 ++++ net-snmp-5.3.1/include/net-snmp/library/container.h 2006-12-20 17:25:58.000000000 +0100 +@@ -364,8 +364,8 @@ + continue; + rc2 = x->insert(x,k); + if (rc2) { +- snmp_log(LOG_ERR,"error on subcontainer '%s' insert (%d)\n", +- x->container_name ? x->container_name : "", rc2); ++/* snmp_log(LOG_ERR,"error on subcontainer '%s' insert (%d)\n", ++ x->container_name ? x->container_name : "", rc2); */ + rc = rc2; + } + } --- net-snmp-5.3.1.orig/debian/patches/25_duplicate_iftable.patch +++ net-snmp-5.3.1/debian/patches/25_duplicate_iftable.patch @@ -0,0 +1,97 @@ +diff -ur net-snmp-5.3.0.1/agent/mibgroup/if-mib/data_access/interface.c net-snmp-5.3.0.1-dynamic-if-fix/agent/mibgroup/if-mib/data_access/interface.c +--- net-snmp-5.3.0.1/agent/mibgroup/if-mib/data_access/interface.c 2005-10-29 05:21:16.000000000 +0200 ++++ net-snmp-5.3.0.1-dynamic-if-fix/agent/mibgroup/if-mib/data_access/interface.c 2006-06-29 11:55:29.213757052 +0200 +@@ -464,8 +464,13 @@ + DEBUGMSGTL(("access:interface:ifIndex", "saved ifIndex %d for %s\n", + index, name)); + } +- else +- netsnmp_assert(index == tmp); ++ else { ++ if(index != tmp) { ++ se_remove_value_from_slist("interfaces", name); ++ se_add_pair_to_slist("interfaces", strdup(name), index); ++ DEBUGMSGTL(("access:interface:ifIndex", "ifname %s, old index %d, already existing, replaced with %d\n", name, tmp, index)); ++ } ++ } + } + + /** +diff -ur net-snmp-5.3.0.1/agent/mibgroup/if-mib/ifTable/ifTable_data_access.c net-snmp-5.3.0.1-dynamic-if-fix/agent/mibgroup/if-mib/ifTable/ifTable_data_access.c +--- net-snmp-5.3.0.1/agent/mibgroup/if-mib/ifTable/ifTable_data_access.c 2005-12-06 18:44:11.000000000 +0100 ++++ net-snmp-5.3.0.1-dynamic-if-fix/agent/mibgroup/if-mib/ifTable/ifTable_data_access.c 2006-06-29 11:30:42.847486426 +0200 +@@ -235,8 +235,21 @@ + _add_new_interface(netsnmp_interface_entry *ifentry, + netsnmp_container *container) + { +- ifTable_rowreq_ctx *rowreq_ctx; +- ++ ifTable_rowreq_ctx *rowreq_ctx, *container_entry; ++ netsnmp_iterator *ctxit; ++ ctxit = CONTAINER_ITERATOR(container); ++ container_entry = ITERATOR_FIRST(ctxit); ++ ++ for(; container_entry; container_entry = ITERATOR_NEXT(ctxit)) { ++ if(!strcmp(ifentry->name, container_entry->data.ifName) && \ ++ ifentry->index != container_entry->data.ifentry->index) { ++ DEBUGMSGTL(("ifTable:access", "removing old entry %s (index %d != %d)\n", ++ container_entry->data.ifName, container_entry->data.ifentry->index, ifentry->index)); ++ se_remove_value_from_slist("interfaces", container_entry->data.ifName); ++ CONTAINER_REMOVE(container, container_entry); ++ ifTable_release_rowreq_ctx(container_entry); ++ } ++ } + DEBUGMSGTL(("ifTable:access", "creating new entry\n")); + + /* +diff -ur net-snmp-5.3.0.1/snmplib/snmp_enum.c net-snmp-5.3.0.1-dynamic-if-fix/snmplib/snmp_enum.c +--- net-snmp-5.3.0.1/snmplib/snmp_enum.c 2005-02-09 20:46:09.000000000 +0100 ++++ net-snmp-5.3.0.1-dynamic-if-fix/snmplib/snmp_enum.c 2006-06-26 06:14:10.884859703 +0200 +@@ -213,6 +213,27 @@ + return SE_DNE; /* XXX: um, no good solution here */ + } + ++int se_remove_value_from_list(struct snmp_enum_list **list, const char *label) ++{ ++ struct snmp_enum_list *lastlist; ++ if(!list) ++ return SE_DNE; ++ ++ lastlist = NULL; ++ while(*list) { ++ if(strcmp((*list)->label, label) == 0) { ++ free((*list)->label); ++ if(lastlist) ++ lastlist->next = (*list)->next; ++ free(*list); ++ *list = NULL; ++ return 0; ++ } ++ lastlist = *list; ++ (*list) = (*list)->next; ++ } ++ ++} + int + se_find_free_value_in_list(struct snmp_enum_list *list) + { +@@ -331,6 +352,19 @@ + return (se_find_value_in_list(se_find_slist(listname), label)); + } + ++void se_remove_value_from_slist(const char *listname, const char *label) ++{ ++ struct snmp_enum_list_str *sptr, *lastp = NULL; ++ struct snmp_enum_list *list; ++ if (!listname) ++ return; ++ ++ for (sptr = sliststorage; ++ sptr != NULL; lastp = sptr, sptr = sptr->next) ++ if (sptr->name && strcmp(sptr->name, listname) == 0) ++ se_remove_value_from_list(&sptr->list, label); ++} ++ + int + se_find_free_value_in_slist(const char *listname) + { --- net-snmp-5.3.1.orig/debian/patches/08_defaultconfig.patch +++ net-snmp-5.3.1/debian/patches/08_defaultconfig.patch @@ -0,0 +1,142 @@ +--- net-snmp-5.1.2.orig/EXAMPLE.conf.def ++++ net-snmp-5.1.2/EXAMPLE.conf.def +@@ -6,7 +6,7 @@ + ############################################################################### + # + # This file is intended to only be an example. If, however, you want +-# to use it, it should be placed in SYSCONFDIR/snmp/snmpd.conf. ++# to use it, it should be placed in /etc/snmp/snmpd.conf. + # When the snmpd agent starts up, this is where it will look for it. + # + # You might be interested in generating your own snmpd.conf file using +@@ -58,31 +58,37 @@ + # from): + + # sec.name source community +-com2sec local localhost COMMUNITY +-com2sec mynetwork NETWORK/24 COMMUNITY ++com2sec paranoid default public ++#com2sec readonly default public ++#com2sec readwrite default private + + #### + # Second, map the security names into group names: + + # sec.model sec.name +-group MyRWGroup v1 local +-group MyRWGroup v2c local +-group MyRWGroup usm local +-group MyROGroup v1 mynetwork +-group MyROGroup v2c mynetwork +-group MyROGroup usm mynetwork ++group MyROSystem v1 paranoid ++group MyROSystem v2c paranoid ++group MyROSystem usm paranoid ++group MyROGroup v1 readonly ++group MyROGroup v2c readonly ++group MyROGroup usm readonly ++group MyRWGroup v1 readwrite ++group MyRWGroup v2c readwrite ++group MyRWGroup usm readwrite + + #### + # Third, create a view for us to let the groups have rights to: + + # incl/excl subtree mask + view all included .1 80 ++view system included .iso.org.dod.internet.mgmt.mib-2.system + + #### + # Finally, grant the 2 groups access to the 1 view with different + # write permissions: + + # context sec.model sec.level match read write notif ++access MyROSystem "" any noauth exact system none none + access MyROGroup "" any noauth exact all none none + access MyRWGroup "" any noauth exact all all none + +@@ -100,8 +106,8 @@ + # value of an object whose value is given here will fail with an error + # status of notWritable. + +-syslocation Right here, right now. +-syscontact Me ++syslocation Unknown (configure /etc/snmp/snmpd.local.conf) ++syscontact Root (configure /etc/snmp/snmpd.local.conf) + + # Example output of snmpwalk: + # % snmpwalk -v 1 -c public localhost system +@@ -135,13 +141,13 @@ + # + + # Make sure mountd is running +-proc mountd ++#proc mountd + + # Make sure there are no more than 4 ntalkds running, but 0 is ok too. +-proc ntalkd 4 ++#proc ntalkd 4 + + # Make sure at least one sendmail, but less than or equal to 10 are running. +-proc sendmail 10 1 ++#proc sendmail 10 1 + + # A snmpwalk of the prTable would look something like this: + # +@@ -199,7 +205,7 @@ + # ARGS: optional arguments to be passed to the program + + # a simple hello world +-exec echotest /bin/echo hello world ++#exec echotest /bin/echo hello world + + # Run a shell script containing: + # +@@ -250,7 +256,7 @@ + + # Check the / partition and make sure it contains at least 10 megs. + +-disk / 10000 ++#disk / 10000 + + # % snmpwalk -v 1 -c public localhost .EXTENSIBLEDOTMIB.DISKMIBNUM + # enterprises.ucdavis.diskTable.dskEntry.diskIndex.1 = 0 +@@ -279,7 +285,7 @@ + # 15MAX: Similar, but for 15 min average. + + # Check for loads: +-load 12 14 14 ++#load 12 14 14 + + # % snmpwalk -v 1 -c public localhost .EXTENSIBLEDOTMIB.LOADAVEMIBNUM + # enterprises.ucdavis.loadTable.laEntry.loadaveIndex.1 = 1 +@@ -365,7 +371,7 @@ + # (commented out here since it requires that you place the + # script in the right location. (its not installed by default)) + +-# pass .EXTENSIBLEDOTMIB.255 /bin/sh PREFIX/local/passtest ++# pass .EXTENSIBLEDOTMIB.255 /bin/sh /usr/local/passtest + + # % snmpwalk -v 1 -c public localhost .EXTENSIBLEDOTMIB.255 + # enterprises.ucdavis.255.1 = "life the universe and everything" +--- net-snmp-5.1.2.orig/EXAMPLE-trap.conf ++++ net-snmp-5.1.2/EXAMPLE-trap.conf +@@ -0,0 +1,18 @@ ++############################################################################### ++# ++# EXAMPLE-trap.conf: ++# An example configuration file for configuring the Net-SNMP snmptrapd agent. ++# ++############################################################################### ++# ++# This file is intended to only be an example. If, however, you want ++# to use it, it should be placed in /etc/snmp/snmptrapd.conf. ++# When the snmptrapd agent starts up, this is where it will look for it. ++# ++# All lines beginning with a '#' are comments and are intended for you ++# to read. All other lines are configuration commands for the agent. ++ ++# ++# PLEASE: read the snmptrapd.conf(5) manual page as well! ++# ++ --- net-snmp-5.3.1.orig/debian/patches/26_kfreebsd.patch +++ net-snmp-5.3.1/debian/patches/26_kfreebsd.patch @@ -0,0 +1,102 @@ +only in patch2: +unchanged: +--- net-snmp-5.3.1.orig/agent/mibgroup/ucd_snmp.h ++++ net-snmp-5.3.1/agent/mibgroup/ucd_snmp.h +@@ -41,6 +41,12 @@ + config_arch_require(freebsd5, ucd-snmp/memory_freebsd2) + config_arch_require(freebsd6, ucd-snmp/vmstat_freebsd2) + config_arch_require(freebsd6, ucd-snmp/memory_freebsd2) ++config_arch_require(kfreebsd5, ucd-snmp/vmstat_freebsd2) ++config_arch_require(kfreebsd5, ucd-snmp/memory_freebsd2) ++config_arch_require(kfreebsd6, ucd-snmp/vmstat_freebsd2) ++config_arch_require(kfreebsd6, ucd-snmp/memory_freebsd2) ++config_arch_require(kfreebsd7, ucd-snmp/vmstat_freebsd2) ++config_arch_require(kfreebsd7, ucd-snmp/memory_freebsd2) + config_arch_require(netbsd1, ucd-snmp/vmstat_netbsd1) + config_arch_require(netbsd1, ucd-snmp/memory_netbsd1) + config_arch_require(netbsd, ucd-snmp/vmstat_netbsd1) +only in patch2: +unchanged: +--- net-snmp-5.3.1.orig/Makefile.in ++++ net-snmp-5.3.1/Makefile.in +@@ -17,8 +17,8 @@ + INCLUDESUBDIR=system + INCLUDESUBDIRHEADERS= aix.h bsd.h bsdi3.h bsdi4.h bsdi.h cygwin.h \ + darwin.h darwin7.h darwin8.h freebsd5.h freebsd6.h \ +- dynix.h freebsd2.h freebsd3.h freebsd4.h freebsd.h generic.h hpux.h \ +- irix.h linux.h mingw32.h mips.h netbsd.h openbsd.h osf5.h \ ++ dynix.h freebsd2.h freebsd3.h freebsd4.h freebsd.h generic.h kfreebsd.h \ ++ hpux.h irix.h linux.h mingw32.h mips.h netbsd.h openbsd.h osf5.h \ + solaris2.6.h solaris2.7.h solaris2.8.h solaris2.9.h solaris2.10.h \ + solaris.h sunos.h svr5.h sysv.h ultrix4.h + INCLUDESUBDIR2=machine +only in patch2: +unchanged: +--- net-snmp-5.3.1.orig/include/net-snmp/system/kfreebsd.h ++++ net-snmp-5.3.1/include/net-snmp/system/kfreebsd.h +@@ -0,0 +1,65 @@ ++#include "freebsd6.h" ++#define freebsd6 ++ ++#include ++#define __FreeBSD_version __FreeBSD_kernel_version ++ ++#include ++#include ++ ++typedef unsigned int tcp_seq; ++typedef unsigned int tcp_cc; ++#define TCPOPT_SACK_HDR (TCPOPT_NOP<<24|TCPOPT_NOP<<16|TCPOPT_SACK<<8) ++#define MAX_SACK_BLKS 6 /* Max # SACK blocks stored at sender side */ ++#define TCP_MAX_SACK 3 /* MAX # SACKs sent in any segment */ ++ ++#include ++ ++#include ++#include ++#include ++ ++/* ++ * Externalized form of struct socket used by the sysctl(3) interface. ++ */ ++struct xsocket { ++ size_t xso_len; /* length of this structure */ ++ struct socket *xso_so; /* makes a convenient handle sometimes */ ++ short so_type; ++ short so_options; ++ short so_linger; ++ short so_state; ++ caddr_t so_pcb; /* another convenient handle */ ++ int xso_protocol; ++ int xso_family; ++ short so_qlen; ++ short so_incqlen; ++ short so_qlimit; ++ short so_timeo; ++ u_short so_error; ++ pid_t so_pgid; ++ u_long so_oobmark; ++ struct xsockbuf { ++ u_int sb_cc; ++ u_int sb_hiwat; ++ u_int sb_mbcnt; ++ u_int sb_mbmax; ++ int sb_lowat; ++ int sb_timeo; ++ short sb_flags; ++ } so_rcv, so_snd; ++ uid_t so_uid; /* XXX */ ++}; ++typedef u_quad_t so_gen_t; ++ ++#define _SYS_SOCKETVAR_H_ ++#include ++ ++struct xtcpcb { ++ size_t xt_len; ++ struct inpcb xt_inp; ++ struct tcpcb xt_tp; ++ struct xsocket xt_socket; ++ u_quad_t xt_alignment_hack; ++}; ++ --- net-snmp-5.3.1.orig/debian/patches/03_makefiles.patch +++ net-snmp-5.3.1/debian/patches/03_makefiles.patch @@ -0,0 +1,180 @@ +--- net-snmp-5.1.2.orig/snmplib/Makefile.in ++++ net-snmp-5.1.2/snmplib/Makefile.in +@@ -178,11 +178,11 @@ + + # how to build the libraries. + libnetsnmp.$(LIB_EXTENSION)$(LIB_VERSION): ${TOBJS} +- $(LIB_LD_CMD) libnetsnmp.$(LIB_EXTENSION)$(LIB_VERSION) ${TOBJS} ++ $(LIB_LD_CMD) libnetsnmp.$(LIB_EXTENSION)$(LIB_VERSION) ${TOBJS} @CRYPTOLIBS@ + $(RANLIB) libnetsnmp.$(LIB_EXTENSION)$(LIB_VERSION) + + libsnmp.$(LIB_EXTENSION)$(LIB_VERSION): ${TOBJS} +- $(LIB_LD_CMD) libsnmp.$(LIB_EXTENSION)$(LIB_VERSION) ${TOBJS} ++ $(LIB_LD_CMD) libsnmp.$(LIB_EXTENSION)$(LIB_VERSION) ${TOBJS} @CRYPTOLIBS@ + $(RANLIB) libsnmp.$(LIB_EXTENSION)$(LIB_VERSION) + + # +--- net-snmp-5.1.2.orig/agent/Makefile.in ++++ net-snmp-5.1.2/agent/Makefile.in +@@ -98,7 +98,7 @@ + agent_handler.o @agentgroup_list_o@ @OTHERAGENTLIBOBJS@ + LLIBAGENTOBJS=snmp_agent.lo snmp_vars.lo agent_read_config.lo \ + agent_registry.lo agent_index.lo agent_trap.lo kernel.lo \ +- agent_handler.lo @agentgroup_list_lo@ @OTHERAGENTLIBLOBJS@ ++ agent_handler.lo @agentgroup_list_lo@ @OTHERAGENTLIBLOBJS@ @WRAPLIBS@ + + # The agent objects. + AGENTOBJS=snmpd.o @other_agentobjs@ +@@ -137,7 +137,7 @@ + $(RANLIB) libnetsnmpagent.$(LIB_EXTENSION)$(LIB_VERSION) + + libnetsnmpmibs.$(LIB_EXTENSION)$(LIB_VERSION): ${LMIBOBJS} +- $(LIB_LD_CMD) libnetsnmpmibs.$(LIB_EXTENSION)$(LIB_VERSION) ${LMIBOBJS} $(LIB_LD_LIBS) ++ $(LIB_LD_CMD) libnetsnmpmibs.$(LIB_EXTENSION)$(LIB_VERSION) ${LMIBOBJS} $(LIB_LD_LIBS) @AGENTLIBS@ + $(RANLIB) libnetsnmpmibs.$(LIB_EXTENSION)$(LIB_VERSION) + + agentlib: libnetsnmpagent.$(LIB_EXTENSION)$(LIB_VERSION) +--- net-snmp-5.1.2.orig/local/Makefile.in ++++ net-snmp-5.1.2/local/Makefile.in +@@ -58,7 +58,7 @@ + + mib2c.made: $(srcdir)/mib2c + if test "x$(PERL)" != "x" ; then \ +- $(PERL) -p -e 's%^#!.*/perl.*%#!$(PERL)%;s#/usr/local/share/snmp#$(snmplibdir)#;' ${srcdir}/mib2c > mib2c.made; \ ++ $(PERL) -p -e 's%^#!.*/perl.*%#!$(PERL)%;s#/usr/local/share/snmp#$(snmplibdir)#;s#/usr/local/etc/snmp#$(SNMPCONFPATH)#;' ${srcdir}/mib2c > mib2c.made; \ + else \ + touch mib2c.made; \ + fi +--- net-snmp-5.1.2.orig/mibs/Makefile.in ++++ net-snmp-5.1.2/mibs/Makefile.in +@@ -43,11 +43,15 @@ + UCDMIBS = UCD-SNMP-MIB.txt UCD-DEMO-MIB.txt UCD-IPFWACC-MIB.txt \ + UCD-DLMOD-MIB.txt UCD-DISKIO-MIB.txt + ++EXTRAMIBS = BGP4-MIB.txt BRIDGE-MIB.txt GNOME-SMI.txt OSPF-MIB.txt \ ++ OSPF-TRAP-MIB.txt RIPv2-MIB.txt SOURCE-ROUTING-MIB.txt \ ++ LM-SENSORS-MIB.txt ++ + DEFAULTMIBS = @default_mibs_install@ + + MIBS = $(V1MIBS) $(V2MIBS) $(V3MIBS) $(RFCMIBS) \ + $(AGENTMIBS) $(IANAMIBS) \ +- $(NETSNMPMIBS) $(UCDMIBS) $(DEFAULTMIBS) ++ $(NETSNMPMIBS) $(UCDMIBS) $(DEFAULTMIBS) $(EXTRAMIBS) + + all: standardall + +--- net-snmp-5.1.2.orig/net-snmp-config.in ++++ net-snmp-5.1.2/net-snmp-config.in +@@ -136,13 +136,13 @@ + #################################################### client lib + --libs) + # use this one == --netsnmp-libs + --external-libs +- echo $NSC_LDFLAGS $NSC_LIBDIR -lnetsnmp $NSC_LIBS ++ echo $NSC_LDFLAGS $NSC_LIBDIR -lnetsnmp $NSC_LIBS @WRAPLIBS@ + ;; + --netsnmp-libs) + echo $NSC_LIBDIR -lnetsnmp + ;; + --external-libs) +- echo $NSC_LDFLAGS $NSC_LIBS ++ echo $NSC_LDFLAGS $NSC_LIBS @WRAPLIBS@ + ;; + #################################################### agent lib + --base-agent-libs) +@@ -153,13 +153,13 @@ + ;; + --agent-libs) + # use this one == --netsnmp-agent-libs + --external-libs +- echo $NSC_LDFLAGS $NSC_LIBDIR $NSC_BASE_AGENT_LIBS $NSC_AGENTLIBS ++ echo $NSC_LDFLAGS $NSC_LIBDIR $NSC_BASE_AGENT_LIBS $NSC_AGENTLIBS @WRAPLIBS@ + ;; + --netsnmp-agent-libs) + echo $NSC_LIBDIR $NSC_BASE_AGENT_LIBS + ;; + --external-agent-libs) +- echo $NSC_LDFLAGS $NSC_AGENTLIBS ++ echo $NSC_LDFLAGS $NSC_AGENTLIBS @WRAPLIBS@ + ;; + #################################################### + --version|--ver*) +@@ -445,7 +445,7 @@ + echo "Ack. Can't create $tmpfile." + exit 1 + fi +- cmd="@CC@ $cflags @CFLAGS@ @DEVFLAGS@ -I. -I${NSC_INCLUDEDIR} -o $outname $tmpfile $cfiles $NSC_LDFLAGS $NSC_LIBDIR $NSC_BASE_AGENT_LIBS $NSC_AGENTLIBS $ldflags" ++ cmd="@CC@ $cflags @CFLAGS@ @DEVFLAGS@ -I. -I${NSC_INCLUDEDIR} -o $outname $tmpfile $cfiles $NSC_LDFLAGS $NSC_LIBDIR $NSC_BASE_AGENT_LIBS $NSC_AGENTLIBS @WRAPLIBS@ $ldflags" + echo "running: $cmd" + `$cmd` + if test "x$norm" != "x1" ; then +--- net-snmp-5.1.2.orig/Makefile.top ++++ net-snmp-5.1.2/Makefile.top +@@ -27,6 +27,7 @@ + snmplibdir = $(datadir)/snmp + mibdir = $(snmplibdir)/mibs + persistentdir = @PERSISTENT_DIRECTORY@ ++sysconfdir = @sysconfdir@ + DESTDIR = @INSTALL_PREFIX@ + INSTALL_PREFIX = @INSTALL_PREFIX@ + +--- net-snmp-5.1.2.orig/acconfig.h ++++ net-snmp-5.1.2/acconfig.h +@@ -560,6 +560,9 @@ + /* define if you have getservbyname */ + #undef HAVE_GETSERVBYNAME + ++/* define if you have dlopen */ ++#undef HAVE_DLOPEN ++ + /* printing system */ + #undef HAVE_LPSTAT + #undef LPSTAT_PATH +--- net-snmp-5.1.2.orig/configure.in ++++ net-snmp-5.1.2/configure.in +@@ -1539,12 +1542,13 @@ + AC_CHECK_LIB(RSAglue, RSA_PKCS1_RSAref) + fi + +- AC_CHECK_LIB(crypto, EVP_md5) ++ AC_CHECK_LIB(crypto, EVP_md5, [CRYPTOLIBS=-lcrypto], , ) + AC_CHECK_FUNCS(AES_cfb128_encrypt) + fi + elif test "x$askedpkcs" = "xyes"; then + AC_CHECK_LIB(pkcs11, C_Initialize) + fi ++AC_SUBST(CRYPTOLIBS) + + # Check for libraries that the agent needs + # saving old libraries +@@ -1664,8 +1668,9 @@ + # Replace `main' with a function in -lkvm: + AC_CHECK_LIB(kvm, kvm_read) + # DYNAMIC MODULE SUPPORT +-AC_CHECK_LIB(dl, dlopen) +-AC_CHECK_FUNCS(dlopen) ++AC_CHECK_FUNC(dlopen, AC_DEFINE(HAVE_DLOPEN), ++ AC_CHECK_LIB(dl, dlopen, AC_DEFINE(HAVE_DLOPEN) ++ LIBS="${LIBS} -ldl")) + + AC_CHECK_FUNCS(kvm_openfiles nlist knlist kvm_getprocs) + echo "$with_mib_modules" | grep "ucd-snmp/diskio" >/dev/null +@@ -1979,7 +1984,7 @@ + + AC_MSG_RESULT([$ac_cv_type_ssize_t]) + if test $ac_cv_type_ssize_t = yes; then +- AC_DEFINE(HAVE_SSIZE_T) ++ AC_DEFINE(HAVE_SSIZE_T, 1, [Define if type ssize_t is available]) + fi + + # Check ps args +--- net-snmp-5.1.2.orig/Makefile.rules ++++ net-snmp-5.1.2/Makefile.rules +@@ -301,7 +301,7 @@ + # cleaning targets + # + clean: cleansubdirs $(OTHERCLEANTODOS) +- rm -f core ${OBJS} ${LOBJS} $(STANDARDCLEANTARGETS) $(OTHERCLEANTARGETS) ++ rm -f -- core ${OBJS} ${LOBJS} $(STANDARDCLEANTARGETS) $(OTHERCLEANTARGETS) + rm -rf .libs + + cleansubdirs: --- net-snmp-5.3.1.orig/debian/patches/05_searchdirs.README +++ net-snmp-5.3.1/debian/patches/05_searchdirs.README @@ -0,0 +1 @@ +Debian patch to add search path for mib2c --- net-snmp-5.3.1.orig/debian/patches/02_statistics.README +++ net-snmp-5.3.1/debian/patches/02_statistics.README @@ -0,0 +1 @@ +This patch ignores interfaces without statistics. --- net-snmp-5.3.1.orig/debian/patches/05_searchdirs.patch +++ net-snmp-5.3.1/debian/patches/05_searchdirs.patch @@ -0,0 +1,14 @@ +--- net-snmp-5.1.2.orig/local/mib2c ++++ net-snmp-5.1.2/local/mib2c +@@ -60,8 +60,9 @@ + if($ENV{MIB2C_DIR}) { + push @def_search_dirs, split(/:/, $ENV{MIB2C_DIR}); + } +-push @def_search_dirs, "/usr/local/share/snmp/"; +-push @def_search_dirs, "/usr/local/share/snmp/mib2c-data"; ++push @def_search_dirs, "/etc/snmp/"; ++push @def_search_dirs, "/usr/share/snmp/"; ++push @def_search_dirs, "/usr/share/snmp/mib2c-data"; + push @def_search_dirs, "./mib2c-conf.d"; + + sub usage { --- net-snmp-5.3.1.orig/debian/patches/02_statistics.patch +++ net-snmp-5.3.1/debian/patches/02_statistics.patch @@ -0,0 +1,22 @@ +--- net-snmp-5.1.2.orig/agent/mibgroup/mibII/interfaces.c ++++ net-snmp-5.1.2/agent/mibgroup/mibII/interfaces.c +@@ -1598,6 +1612,10 @@ + struct ifnet *nnew; + char *stats, *ifstart = line; + ++ /* Ignore interfaces with no statistics. */ ++ if (strstr(line, "No statistics available.")) ++ continue; ++ + if (line[strlen(line) - 1] == '\n') + line[strlen(line) - 1] = '\0'; + +@@ -1631,7 +1649,7 @@ + &coll) != 5)) { + if ((scan_line_to_use == scan_line_2_2) + && !strstr(line, "No statistics available")) +- snmp_log(LOG_ERR, ++ snmp_log(LOG_DEBUG, + "/proc/net/dev data format error, line ==|%s|", + line); + continue; --- net-snmp-5.3.1.orig/debian/patches/07_docfiles.README +++ net-snmp-5.3.1/debian/patches/07_docfiles.README @@ -0,0 +1 @@ +Patch documentation files to change paths to Debian specific locations. --- net-snmp-5.3.1.orig/debian/patches/07_docfiles.patch +++ net-snmp-5.3.1/debian/patches/07_docfiles.patch @@ -0,0 +1,127 @@ +--- net-snmp-5.1.2.orig/man/mib2c.1.def ++++ net-snmp-5.1.2/man/mib2c.1.def +@@ -72,8 +72,9 @@ + .TP + .BI -c " CONFIGFILE" + Use CONFIGFILE when generating code. These files will be searched for +-first in the current directory and then in the DATADIR directory +-(which is where the default mib2c configuration files can be found). ++first in the current directory and then in /etc/snmp ++(which is where the default mib2c configuration files can be found) ++and finally in the DATADIR directory. + Running mib2c without the -c CONFIGFILE option will display + a description of the valid values for CONFIGFILE, that is, + the available config files, including new ones that you might +--- net-snmp-5.1.2.orig/man/snmpset.1.def ++++ net-snmp-5.1.2/man/snmpset.1.def +@@ -73,7 +73,7 @@ + .PD + .RE + Most of these will use the obvious corresponding ASN.1 type. +-'s', 'x', 'd' and 'b' are all different ways of specifying an OCTET STRING ++\&'s', 'x', 'd' and 'b' are all different ways of specifying an OCTET STRING + value, and the 'u' unsigned type is also used for handling Gauge32 values. + .PP + If you have the proper MIB file loaded, you can, in most cases, replace the +--- net-snmp-5.1.2.orig/man/snmp_trap_api.3.def ++++ net-snmp-5.1.2/man/snmp_trap_api.3.def +@@ -1,8 +1,7 @@ + .TH SNMP_TRAP_API 3 "7 Mar 2002" VVERSIONINFO "Net-SNMP" + .UC 5 + .SH NAME +-send_easy_trap, send_trap_vars, send_v2trap - send TRAPs or INFORMs +-from a Net-SNMP MIB module ++send_easy_trap, send_trap_vars, send_v2trap - send TRAPs or INFORMs from a Net-SNMP MIB module + .SH SYNOPSIS + .B #include + .PP +--- net-snmp-5.1.2.orig/man/snmp_config.5.def ++++ net-snmp-5.1.2/man/snmp_config.5.def +@@ -11,7 +11,7 @@ + found and read from. By default, the applications look for + configuration files in the following 4 directories, in order: + SYSCONFDIR/snmp, +-DATADIR/snmp, LIBDIR/snmp, and $HOME/.snmp. In each of these ++/etc/snmp, LIBDIR/snmp, and $HOME/.snmp. In each of these + directories, it looks for files with the extension of both + .IR conf " and " local.conf + (reading the second ones last). In this manner, there are +--- net-snmp-5.1.2.orig/FAQ ++++ net-snmp-5.1.2/FAQ +@@ -104,7 +104,7 @@ + I don't understand the new access control stuff - what does it mean? + How do I configure SNMPv3 users? + The 'createUser' line disappears when I start the agent. Why? +- What's the difference between /var/ucd-snmp and /usr/local/share/snmp? ++ What's the difference between /var/ucd-snmp and /usr/share/snmp? + My new agent is ignoring the old snmpd.conf file. Why? + Why am I getting "Connection refused"? + I'm getting errors about "bad security model" - why? +@@ -620,7 +620,7 @@ + + Firstly, + +- cp MY-MIB.txt /usr/local/share/snmp/mibs ++ cp MY-MIB.txt /usr/share/snmp/mibs + + or + +@@ -639,7 +639,7 @@ + Note that you need *both* steps. + The first command copies the file defining the new MIB to a + expected location for MIB files. This defaults to +- /usr/local/share/snmp/mibs (or PREFIX/share/snmp/mibs if the the ++ /usr/share/snmp/mibs (or PREFIX/share/snmp/mibs if the the + suite was installed into a different base location). Some + ready-packaged distributions (such as Linux RPM packages) may look + for MIB files in a different location, such as /etc/snmp/mibs - put +@@ -1111,7 +1111,7 @@ + If this is the case, then you can specify this interpreter + explicitly as part of the trap handle directive: + +- traphandle default /usr/bin/perl /usr/local/bin/log_it ++ traphandle default /usr/bin/perl /usr/bin/log_it + + Note that in this case, it's almost certain that you'll also + need to give the full path to the traphandle script (as shown) +@@ -1263,7 +1263,7 @@ + (if appropriate) the community string to use. + + Some of these (such as the MIB file location), might belong in a +- shared snmp.conf file (typically /usr/local/share/snmp/snmp.conf or ++ shared snmp.conf file (typically /usr/share/snmp/snmp.conf or + /etc/snmp/snmp.conf) to apply to all users of the system. Others + (particularly the SNMPv3 security settings), are more likely to refer + to a particular user, and should go in a personal snmp.conf file +@@ -1522,7 +1522,7 @@ + + + Alternatively, the tools may be looking in the wrong place. +- The default location for the mib files is /usr/local/share/snmp/mibs. ++ The default location for the mib files is /usr/share/snmp/mibs. + Again, this is set when the suite is first configured and compiled. + This can be changed using the environmental variable 'MIBDIRS' + or the snmp.conf directive 'mibdirs'. +@@ -2507,11 +2507,11 @@ + + + +-What's the difference between /var/ucd-snmp and /usr/local/share/snmp? ++What's the difference between /var/ucd-snmp and /usr/share/snmp? + --------------------------------------------------------------------- + + Most "static" agent configuration should go in the traditional location +- (typically /usr/local/share/snmp/snmpd.conf or /etc/snmp). The ++ (typically /usr/share/snmp/snmpd.conf or /etc/snmp). The + /var/ucd-snmp (or /var/net-snmp) location is used for information set during + the running of the agent, which needs to be persistent between one run of + the agent and the next. +@@ -2531,7 +2531,7 @@ + distribution), with the current release installed from the source. + + The default location for this file with the basic distribution is +- /usr/local/share/snmp/snmpd.conf (or PREFIX/share/snmp/snmpd.conf). ++ /usr/share/snmp/snmpd.conf (or PREFIX/share/snmp/snmpd.conf). + Ready-installed versions often look for the file as /etc/snmpd.conf, + or /etc/snmp/snmpd.conf. Try moving the old config file to the new + location, and restart the agent. --- net-snmp-5.3.1.orig/debian/patches/03_makefiles.README +++ net-snmp-5.3.1/debian/patches/03_makefiles.README @@ -0,0 +1,2 @@ +Makefile patch to include libwrap and libsensors libraries and install extra +MIB files. --- net-snmp-5.3.1.orig/debian/patches/06_extramibs.README +++ net-snmp-5.3.1/debian/patches/06_extramibs.README @@ -0,0 +1 @@ +Extra MIB files shipped with Debian. --- net-snmp-5.3.1.orig/debian/patches/26_kfreebsd.README +++ net-snmp-5.3.1/debian/patches/26_kfreebsd.README @@ -0,0 +1 @@ +Preliminary support for kfreebsd. --- net-snmp-5.3.1.orig/debian/patches/06_extramibs.patch +++ net-snmp-5.3.1/debian/patches/06_extramibs.patch @@ -0,0 +1,6262 @@ +--- net-snmp-5.3.0.1.orig/mibs/BGP4-MIB.txt 1970-01-01 01:00:00.000000000 +0100 ++++ net-snmp-5.3.0.1/mibs/BGP4-MIB.txt 2005-07-20 21:45:50.000000000 +0200 +@@ -0,0 +1,929 @@ ++ BGP4-MIB DEFINITIONS ::= BEGIN ++ ++ IMPORTS ++ MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE, ++ IpAddress, Integer32, Counter32, Gauge32, mib-2 ++ FROM SNMPv2-SMI ++ MODULE-COMPLIANCE, OBJECT-GROUP, NOTIFICATION-GROUP ++ FROM SNMPv2-CONF; ++ ++ bgp MODULE-IDENTITY ++ LAST-UPDATED "9902100000Z" ++ ORGANIZATION "IETF IDR Working Group" ++ CONTACT-INFO "E-mail: idr@merit.net ++ ++ Susan Hares (Editor) ++ Merit Network ++ 4251 Plymouth Road ++ Suite C ++ Ann Arbor, MI 48105-2785 ++ Tel: +1 734 936 2095 ++ Fax: +1 734 647 3185 ++ E-mail: skh@merit.edu ++ ++ Jeff Johnson (Editor) ++ RedBack Networks, Inc. ++ 1389 Moffett Park Drive ++ Sunnyvale, CA 94089-1134 ++ Tel: +1 408 548 3516 ++ Fax: +1 408 548 3599 ++ E-mail: jeff@redback.com" ++ DESCRIPTION ++ "The MIB module for BGP-4." ++ REVISION "9902100000Z" ++ DESCRIPTION ++ "Corrected duplicate OBJECT IDENTIFIER ++ assignment in the conformance information." ++ REVISION "9601080000Z" ++ DESCRIPTION ++ "1) Fixed the definitions of the traps to ++ make them equivalent to their initial ++ definition in RFC 1269. ++ 2) Added compliance and conformance info." ++ ::= { mib-2 15 } ++ ++ bgpVersion OBJECT-TYPE ++ SYNTAX OCTET STRING (SIZE (1..255)) ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "Vector of supported BGP protocol version ++ numbers. Each peer negotiates the version ++ from this vector. Versions are identified ++ via the string of bits contained within this ++ object. The first octet contains bits 0 to ++ 7, the second octet contains bits 8 to 15, ++ and so on, with the most significant bit ++ referring to the lowest bit number in the ++ octet (e.g., the MSB of the first octet ++ refers to bit 0). If a bit, i, is present ++ and set, then the version (i+1) of the BGP ++ is supported." ++ ::= { bgp 1 } ++ ++ bgpLocalAs OBJECT-TYPE ++ SYNTAX INTEGER (0..65535) ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The local autonomous system number." ++ ::= { bgp 2 } ++ ++ ++ ++ -- BGP Peer table. This table contains, one entry per BGP ++ -- peer, information about the BGP peer. ++ ++ bgpPeerTable OBJECT-TYPE ++ SYNTAX SEQUENCE OF BgpPeerEntry ++ MAX-ACCESS not-accessible ++ STATUS current ++ DESCRIPTION ++ "BGP peer table. This table contains, ++ one entry per BGP peer, information about the ++ connections with BGP peers." ++ ::= { bgp 3 } ++ ++ bgpPeerEntry OBJECT-TYPE ++ SYNTAX BgpPeerEntry ++ MAX-ACCESS not-accessible ++ STATUS current ++ DESCRIPTION ++ "Entry containing information about the ++ connection with a BGP peer." ++ INDEX { bgpPeerRemoteAddr } ++ ::= { bgpPeerTable 1 } ++ ++ BgpPeerEntry ::= SEQUENCE { ++ bgpPeerIdentifier ++ IpAddress, ++ bgpPeerState ++ INTEGER, ++ bgpPeerAdminStatus ++ INTEGER, ++ bgpPeerNegotiatedVersion ++ Integer32, ++ bgpPeerLocalAddr ++ IpAddress, ++ bgpPeerLocalPort ++ INTEGER, ++ bgpPeerRemoteAddr ++ IpAddress, ++ bgpPeerRemotePort ++ INTEGER, ++ bgpPeerRemoteAs ++ INTEGER, ++ bgpPeerInUpdates ++ Counter32, ++ bgpPeerOutUpdates ++ Counter32, ++ bgpPeerInTotalMessages ++ Counter32, ++ bgpPeerOutTotalMessages ++ Counter32, ++ bgpPeerLastError ++ OCTET STRING, ++ bgpPeerFsmEstablishedTransitions ++ Counter32, ++ bgpPeerFsmEstablishedTime ++ Gauge32, ++ bgpPeerConnectRetryInterval ++ INTEGER, ++ bgpPeerHoldTime ++ INTEGER, ++ bgpPeerKeepAlive ++ INTEGER, ++ bgpPeerHoldTimeConfigured ++ INTEGER, ++ bgpPeerKeepAliveConfigured ++ INTEGER, ++ bgpPeerMinASOriginationInterval ++ INTEGER, ++ bgpPeerMinRouteAdvertisementInterval ++ INTEGER, ++ bgpPeerInUpdateElapsedTime ++ Gauge32 ++ } ++ ++ bgpPeerIdentifier OBJECT-TYPE ++ SYNTAX IpAddress ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The BGP Identifier of this entry's BGP peer." ++ ::= { bgpPeerEntry 1 } ++ ++ bgpPeerState OBJECT-TYPE ++ SYNTAX INTEGER { ++ idle(1), ++ connect(2), ++ active(3), ++ opensent(4), ++ openconfirm(5), ++ established(6) ++ } ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The BGP peer connection state." ++ ::= { bgpPeerEntry 2 } ++ ++ bgpPeerAdminStatus OBJECT-TYPE ++ SYNTAX INTEGER { ++ stop(1), ++ start(2) ++ } ++ MAX-ACCESS read-write ++ STATUS current ++ DESCRIPTION ++ "The desired state of the BGP connection. A ++ transition from 'stop' to 'start' will cause ++ the BGP Start Event to be generated. A ++ transition from 'start' to 'stop' will cause ++ the BGP Stop Event to be generated. This ++ parameter can be used to restart BGP peer ++ connections. Care should be used in providing ++ write access to this object without adequate ++ authentication." ++ ::= { bgpPeerEntry 3 } ++ ++ bgpPeerNegotiatedVersion OBJECT-TYPE ++ SYNTAX Integer32 ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The negotiated version of BGP running between ++ the two peers." ++ ::= { bgpPeerEntry 4 } ++ ++ bgpPeerLocalAddr OBJECT-TYPE ++ SYNTAX IpAddress ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The local IP address of this entry's BGP ++ connection." ++ ::= { bgpPeerEntry 5 } ++ ++ bgpPeerLocalPort OBJECT-TYPE ++ SYNTAX INTEGER (0..65535) ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The local port for the TCP connection between ++ the BGP peers." ++ ::= { bgpPeerEntry 6 } ++ ++ bgpPeerRemoteAddr OBJECT-TYPE ++ SYNTAX IpAddress ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The remote IP address of this entry's BGP ++ peer." ++ ::= { bgpPeerEntry 7 } ++ ++ bgpPeerRemotePort OBJECT-TYPE ++ SYNTAX INTEGER (0..65535) ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The remote port for the TCP connection between ++ the BGP peers. Note that the objects ++ bgpPeerLocalAddr, bgpPeerLocalPort, ++ bgpPeerRemoteAddr and bgpPeerRemotePort ++ provide the appropriate reference to the ++ standard MIB TCP connection table." ++ ::= { bgpPeerEntry 8 } ++ ++ bgpPeerRemoteAs OBJECT-TYPE ++ SYNTAX INTEGER (0..65535) ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The remote autonomous system number." ++ ::= { bgpPeerEntry 9 } ++ ++ bgpPeerInUpdates OBJECT-TYPE ++ SYNTAX Counter32 ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The number of BGP UPDATE messages received on ++ this connection. This object should be ++ initialized to zero (0) when the connection is ++ established." ++ ::= { bgpPeerEntry 10 } ++ ++ bgpPeerOutUpdates OBJECT-TYPE ++ SYNTAX Counter32 ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The number of BGP UPDATE messages transmitted ++ on this connection. This object should be ++ initialized to zero (0) when the connection is ++ established." ++ ::= { bgpPeerEntry 11 } ++ ++ bgpPeerInTotalMessages OBJECT-TYPE ++ SYNTAX Counter32 ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The total number of messages received from the ++ remote peer on this connection. This object ++ should be initialized to zero when the ++ connection is established." ++ ::= { bgpPeerEntry 12 } ++ ++ bgpPeerOutTotalMessages OBJECT-TYPE ++ SYNTAX Counter32 ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The total number of messages transmitted to ++ the remote peer on this connection. This object ++ should be initialized to zero when the ++ connection is established." ++ ::= { bgpPeerEntry 13 } ++ ++ bgpPeerLastError OBJECT-TYPE ++ SYNTAX OCTET STRING (SIZE (2)) ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The last error code and subcode seen by this ++ peer on this connection. If no error has ++ occurred, this field is zero. Otherwise, the ++ first byte of this two byte OCTET STRING ++ contains the error code, and the second byte ++ contains the subcode." ++ ::= { bgpPeerEntry 14 } ++ ++ bgpPeerFsmEstablishedTransitions OBJECT-TYPE ++ SYNTAX Counter32 ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The total number of times the BGP FSM ++ transitioned into the established state." ++ ::= { bgpPeerEntry 15 } ++ ++ bgpPeerFsmEstablishedTime OBJECT-TYPE ++ SYNTAX Gauge32 ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "This timer indicates how long (in seconds) this ++ peer has been in the Established state or how long ++ since this peer was last in the Established state. ++ It is set to zero when a new peer is configured or ++ the router is booted." ++ ::= { bgpPeerEntry 16 } ++ ++ bgpPeerConnectRetryInterval OBJECT-TYPE ++ SYNTAX INTEGER (1..65535) ++ MAX-ACCESS read-write ++ STATUS current ++ DESCRIPTION ++ "Time interval in seconds for the ConnectRetry ++ timer. The suggested value for this timer is ++ 120 seconds." ++ ::= { bgpPeerEntry 17 } ++ ++ bgpPeerHoldTime OBJECT-TYPE ++ SYNTAX INTEGER ( 0 | 3..65535 ) ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "Time interval in seconds for the Hold Timer ++ established with the peer. The value of this ++ object is calculated by this BGP speaker by ++ using the smaller of the value in ++ bgpPeerHoldTimeConfigured and the Hold Time ++ received in the OPEN message. This value ++ must be at lease three seconds if it is not ++ zero (0) in which case the Hold Timer has ++ not been established with the peer, or, the ++ value of bgpPeerHoldTimeConfigured is zero (0)." ++ ::= { bgpPeerEntry 18 } ++ ++ bgpPeerKeepAlive OBJECT-TYPE ++ SYNTAX INTEGER ( 0 | 1..21845 ) ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "Time interval in seconds for the KeepAlive ++ timer established with the peer. The value of ++ this object is calculated by this BGP speaker ++ such that, when compared with bgpPeerHoldTime, ++ it has the same proportion as what ++ bgpPeerKeepAliveConfigured has when compared ++ with bgpPeerHoldTimeConfigured. If the value ++ of this object is zero (0), it indicates that ++ the KeepAlive timer has not been established ++ with the peer, or, the value of ++ bgpPeerKeepAliveConfigured is zero (0)." ++ ::= { bgpPeerEntry 19 } ++ ++ bgpPeerHoldTimeConfigured OBJECT-TYPE ++ SYNTAX INTEGER ( 0 | 3..65535 ) ++ MAX-ACCESS read-write ++ STATUS current ++ DESCRIPTION ++ "Time interval in seconds for the Hold Time ++ configured for this BGP speaker with this peer. ++ This value is placed in an OPEN message sent to ++ this peer by this BGP speaker, and is compared ++ with the Hold Time field in an OPEN message ++ received from the peer when determining the Hold ++ Time (bgpPeerHoldTime) with the peer. This value ++ must not be less than three seconds if it is not ++ zero (0) in which case the Hold Time is NOT to be ++ established with the peer. The suggested value for ++ this timer is 90 seconds." ++ ::= { bgpPeerEntry 20 } ++ ++ bgpPeerKeepAliveConfigured OBJECT-TYPE ++ SYNTAX INTEGER ( 0 | 1..21845 ) ++ MAX-ACCESS read-write ++ STATUS current ++ DESCRIPTION ++ "Time interval in seconds for the KeepAlive timer ++ configured for this BGP speaker with this peer. ++ The value of this object will only determine the ++ KEEPALIVE messages' frequency relative to the value ++ specified in bgpPeerHoldTimeConfigured; the actual ++ time interval for the KEEPALIVE messages is ++ indicated by bgpPeerKeepAlive. A reasonable ++ maximum value for this timer would be configured to ++ be one third of that of bgpPeerHoldTimeConfigured. ++ If the value of this object is zero (0), no ++ periodical KEEPALIVE messages are sent to the peer ++ after the BGP connection has been established. The ++ suggested value for this timer is 30 seconds." ++ ::= { bgpPeerEntry 21 } ++ ++ bgpPeerMinASOriginationInterval OBJECT-TYPE ++ SYNTAX INTEGER (1..65535) ++ MAX-ACCESS read-write ++ STATUS current ++ DESCRIPTION ++ "Time interval in seconds for the ++ MinASOriginationInterval timer. ++ The suggested value for this timer is 15 seconds." ++ ::= { bgpPeerEntry 22 } ++ ++ bgpPeerMinRouteAdvertisementInterval OBJECT-TYPE ++ SYNTAX INTEGER (1..65535) ++ MAX-ACCESS read-write ++ STATUS current ++ DESCRIPTION ++ "Time interval in seconds for the ++ MinRouteAdvertisementInterval timer. ++ The suggested value for this timer is 30 seconds." ++ ::= { bgpPeerEntry 23 } ++ ++ bgpPeerInUpdateElapsedTime OBJECT-TYPE ++ SYNTAX Gauge32 ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "Elapsed time in seconds since the last BGP ++ UPDATE message was received from the peer. ++ Each time bgpPeerInUpdates is incremented, ++ the value of this object is set to zero (0)." ++ ::= { bgpPeerEntry 24 } ++ ++ ++ ++ bgpIdentifier OBJECT-TYPE ++ SYNTAX IpAddress ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The BGP Identifier of local system." ++ ::= { bgp 4 } ++ ++ ++ ++ -- Received Path Attribute Table. This table contains, ++ -- one entry per path to a network, path attributes ++ -- received from all peers running BGP version 3 or less. ++ -- This table is obsolete, having been replaced in ++ -- functionality with the bgp4PathAttrTable. ++ ++ bgpRcvdPathAttrTable OBJECT-TYPE ++ SYNTAX SEQUENCE OF BgpPathAttrEntry ++ MAX-ACCESS not-accessible ++ STATUS obsolete ++ DESCRIPTION ++ "The BGP Received Path Attribute Table contains ++ information about paths to destination networks ++ received from all peers running BGP version 3 or ++ less." ++ ::= { bgp 5 } ++ ++ bgpPathAttrEntry OBJECT-TYPE ++ SYNTAX BgpPathAttrEntry ++ MAX-ACCESS not-accessible ++ STATUS obsolete ++ DESCRIPTION ++ "Information about a path to a network." ++ INDEX { bgpPathAttrDestNetwork, ++ bgpPathAttrPeer } ++ ::= { bgpRcvdPathAttrTable 1 } ++ ++ BgpPathAttrEntry ::= SEQUENCE { ++ bgpPathAttrPeer ++ IpAddress, ++ bgpPathAttrDestNetwork ++ IpAddress, ++ bgpPathAttrOrigin ++ INTEGER, ++ bgpPathAttrASPath ++ OCTET STRING, ++ bgpPathAttrNextHop ++ IpAddress, ++ bgpPathAttrInterASMetric ++ Integer32 ++ } ++ ++ bgpPathAttrPeer OBJECT-TYPE ++ SYNTAX IpAddress ++ MAX-ACCESS read-only ++ STATUS obsolete ++ DESCRIPTION ++ "The IP address of the peer where the path ++ information was learned." ++ ::= { bgpPathAttrEntry 1 } ++ ++ bgpPathAttrDestNetwork OBJECT-TYPE ++ SYNTAX IpAddress ++ MAX-ACCESS read-only ++ STATUS obsolete ++ DESCRIPTION ++ "The address of the destination network." ++ ::= { bgpPathAttrEntry 2 } ++ ++ bgpPathAttrOrigin OBJECT-TYPE ++ SYNTAX INTEGER { ++ igp(1),-- networks are interior ++ egp(2),-- networks learned via EGP ++ incomplete(3) -- undetermined ++ } ++ MAX-ACCESS read-only ++ STATUS obsolete ++ DESCRIPTION ++ "The ultimate origin of the path information." ++ ::= { bgpPathAttrEntry 3 } ++ ++ bgpPathAttrASPath OBJECT-TYPE ++ SYNTAX OCTET STRING (SIZE (2..255)) ++ MAX-ACCESS read-only ++ STATUS obsolete ++ DESCRIPTION ++ "The set of ASs that must be traversed to reach ++ the network. This object is probably best ++ represented as SEQUENCE OF INTEGER. For SMI ++ compatibility, though, it is represented as ++ OCTET STRING. Each AS is represented as a pair ++ of octets according to the following algorithm: ++ ++ first-byte-of-pair = ASNumber / 256; ++ second-byte-of-pair = ASNumber & 255;" ++ ::= { bgpPathAttrEntry 4 } ++ ++ bgpPathAttrNextHop OBJECT-TYPE ++ SYNTAX IpAddress ++ MAX-ACCESS read-only ++ STATUS obsolete ++ DESCRIPTION ++ "The address of the border router that should ++ be used for the destination network." ++ ::= { bgpPathAttrEntry 5 } ++ ++ bgpPathAttrInterASMetric OBJECT-TYPE ++ SYNTAX Integer32 ++ MAX-ACCESS read-only ++ STATUS obsolete ++ DESCRIPTION ++ "The optional inter-AS metric. If this ++ attribute has not been provided for this route, ++ the value for this object is 0." ++ ::= { bgpPathAttrEntry 6 } ++ ++ ++ ++ -- BGP-4 Received Path Attribute Table. This table contains, ++ -- one entry per path to a network, path attributes ++ -- received from all peers running BGP-4. ++ ++ bgp4PathAttrTable OBJECT-TYPE ++ SYNTAX SEQUENCE OF Bgp4PathAttrEntry ++ MAX-ACCESS not-accessible ++ STATUS current ++ DESCRIPTION ++ "The BGP-4 Received Path Attribute Table contains ++ information about paths to destination networks ++ received from all BGP4 peers." ++ ::= { bgp 6 } ++ ++ bgp4PathAttrEntry OBJECT-TYPE ++ SYNTAX Bgp4PathAttrEntry ++ MAX-ACCESS not-accessible ++ STATUS current ++ DESCRIPTION ++ "Information about a path to a network." ++ INDEX { bgp4PathAttrIpAddrPrefix, ++ bgp4PathAttrIpAddrPrefixLen, ++ bgp4PathAttrPeer } ++ ::= { bgp4PathAttrTable 1 } ++ ++ Bgp4PathAttrEntry ::= SEQUENCE { ++ bgp4PathAttrPeer ++ IpAddress, ++ bgp4PathAttrIpAddrPrefixLen ++ INTEGER, ++ bgp4PathAttrIpAddrPrefix ++ IpAddress, ++ bgp4PathAttrOrigin ++ INTEGER, ++ bgp4PathAttrASPathSegment ++ OCTET STRING, ++ bgp4PathAttrNextHop ++ IpAddress, ++ bgp4PathAttrMultiExitDisc ++ INTEGER, ++ bgp4PathAttrLocalPref ++ INTEGER, ++ bgp4PathAttrAtomicAggregate ++ INTEGER, ++ bgp4PathAttrAggregatorAS ++ INTEGER, ++ bgp4PathAttrAggregatorAddr ++ IpAddress, ++ bgp4PathAttrCalcLocalPref ++ INTEGER, ++ bgp4PathAttrBest ++ INTEGER, ++ bgp4PathAttrUnknown ++ OCTET STRING ++ } ++ ++ bgp4PathAttrPeer OBJECT-TYPE ++ SYNTAX IpAddress ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The IP address of the peer where the path ++ information was learned." ++ ::= { bgp4PathAttrEntry 1 } ++ bgp4PathAttrIpAddrPrefixLen OBJECT-TYPE ++ SYNTAX INTEGER (0..32) ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "Length in bits of the IP address prefix in the ++ Network Layer Reachability Information field." ++ ::= { bgp4PathAttrEntry 2 } ++ ++ bgp4PathAttrIpAddrPrefix OBJECT-TYPE ++ SYNTAX IpAddress ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "An IP address prefix in the Network Layer ++ Reachability Information field. This object ++ is an IP address containing the prefix with ++ length specified by bgp4PathAttrIpAddrPrefixLen. ++ Any bits beyond the length specified by ++ bgp4PathAttrIpAddrPrefixLen are zeroed." ++ ::= { bgp4PathAttrEntry 3 } ++ ++ bgp4PathAttrOrigin OBJECT-TYPE ++ SYNTAX INTEGER { ++ igp(1),-- networks are interior ++ egp(2),-- networks learned via EGP ++ incomplete(3) -- undetermined ++ } ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The ultimate origin of the path information." ++ ::= { bgp4PathAttrEntry 4 } ++ ++ bgp4PathAttrASPathSegment OBJECT-TYPE ++ SYNTAX OCTET STRING (SIZE (2..255)) ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The sequence of AS path segments. Each AS ++ path segment is represented by a triple ++ . ++ ++ The type is a 1-octet field which has two ++ possible values: ++ 1 AS_SET: unordered set of ASs a ++ route in the UPDATE message ++ has traversed ++ 2 AS_SEQUENCE: ordered set of ASs ++ a route in the UPDATE message ++ has traversed. ++ ++ The length is a 1-octet field containing the ++ number of ASs in the value field. ++ ++ The value field contains one or more AS ++ numbers, each AS is represented in the octet ++ string as a pair of octets according to the ++ following algorithm: ++ ++ first-byte-of-pair = ASNumber / 256; ++ second-byte-of-pair = ASNumber & 255;" ++ ::= { bgp4PathAttrEntry 5 } ++ ++ bgp4PathAttrNextHop OBJECT-TYPE ++ SYNTAX IpAddress ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The address of the border router that should ++ be used for the destination network." ++ ::= { bgp4PathAttrEntry 6 } ++ ++ bgp4PathAttrMultiExitDisc OBJECT-TYPE ++ SYNTAX INTEGER (-1..2147483647) ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "This metric is used to discriminate between ++ multiple exit points to an adjacent autonomous ++ system. A value of -1 indicates the absence of ++ this attribute." ++ ::= { bgp4PathAttrEntry 7 } ++ ++ bgp4PathAttrLocalPref OBJECT-TYPE ++ SYNTAX INTEGER (-1..2147483647) ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The originating BGP4 speaker's degree of ++ preference for an advertised route. A value of ++ -1 indicates the absence of this attribute." ++ ::= { bgp4PathAttrEntry 8 } ++ ++ bgp4PathAttrAtomicAggregate OBJECT-TYPE ++ SYNTAX INTEGER { ++ lessSpecificRrouteNotSelected(1), ++ lessSpecificRouteSelected(2) ++ } ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "Whether or not a system has selected ++ a less specific route without selecting a ++ more specific route." ++ ::= { bgp4PathAttrEntry 9 } ++ ++ bgp4PathAttrAggregatorAS OBJECT-TYPE ++ SYNTAX INTEGER (0..65535) ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The AS number of the last BGP4 speaker that ++ performed route aggregation. A value of zero (0) ++ indicates the absence of this attribute." ++ ::= { bgp4PathAttrEntry 10 } ++ ++ bgp4PathAttrAggregatorAddr OBJECT-TYPE ++ SYNTAX IpAddress ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The IP address of the last BGP4 speaker that ++ performed route aggregation. A value of ++ 0.0.0.0 indicates the absence of this attribute." ++ ::= { bgp4PathAttrEntry 11 } ++ ++ bgp4PathAttrCalcLocalPref OBJECT-TYPE ++ SYNTAX INTEGER (-1..2147483647) ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The degree of preference calculated by the ++ receiving BGP4 speaker for an advertised route. ++ A value of -1 indicates the absence of this ++ attribute." ++ ::= { bgp4PathAttrEntry 12 } ++ ++ bgp4PathAttrBest OBJECT-TYPE ++ SYNTAX INTEGER { ++ false(1),-- not chosen as best route ++ true(2) -- chosen as best route ++ } ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "An indication of whether or not this route ++ was chosen as the best BGP4 route." ++ ::= { bgp4PathAttrEntry 13 } ++ ++ bgp4PathAttrUnknown OBJECT-TYPE ++ SYNTAX OCTET STRING (SIZE(0..255)) ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "One or more path attributes not understood ++ by this BGP4 speaker. Size zero (0) indicates ++ the absence of such attribute(s). Octets ++ beyond the maximum size, if any, are not ++ recorded by this object." ++ ::= { bgp4PathAttrEntry 14 } ++ ++ ++ -- Traps. ++ ++ -- note that in RFC 1657, bgpTraps was incorrectly ++ -- assigned a value of { bgp 7 }, and each of the ++ -- traps had the bgpPeerRemoteAddr object inappropriately ++ -- removed from their OBJECTS clause. The following ++ -- definitions restore the semantics of the traps as ++ -- they were initially defined in RFC 1269. ++ ++ -- { bgp 7 } is unused ++ ++ bgpTraps OBJECT IDENTIFIER ::= { bgp 0 } ++ ++ bgpEstablished NOTIFICATION-TYPE ++ OBJECTS { bgpPeerRemoteAddr, ++ bgpPeerLastError, ++ bgpPeerState } ++ STATUS current ++ DESCRIPTION ++ "The BGP Established event is generated when ++ the BGP FSM enters the ESTABLISHED state." ++ ::= { bgpTraps 1 } ++ ++ bgpBackwardTransition NOTIFICATION-TYPE ++ OBJECTS { bgpPeerRemoteAddr, ++ bgpPeerLastError, ++ bgpPeerState } ++ STATUS current ++ DESCRIPTION ++ "The BGPBackwardTransition Event is generated ++ when the BGP FSM moves from a higher numbered ++ state to a lower numbered state." ++ ::= { bgpTraps 2 } ++ ++ -- conformance information ++ ++ bgpMIBConformance OBJECT IDENTIFIER ::= { bgp 8 } ++ bgpMIBCompliances OBJECT IDENTIFIER ::= { bgpMIBConformance 1 } ++ bgpMIBGroups OBJECT IDENTIFIER ::= { bgpMIBConformance 2 } ++ ++ -- compliance statements ++ ++ bgpMIBCompliance MODULE-COMPLIANCE ++ STATUS current ++ DESCRIPTION ++ "The compliance statement for entities which ++ implement the BGP4 mib." ++ MODULE -- this module ++ MANDATORY-GROUPS { bgp4MIBGlobalsGroup, ++ bgp4MIBPeerGroup, ++ bgp4MIBPathAttrGroup, ++ bgp4MIBNotificationGroup } ++ ::= { bgpMIBCompliances 1 } ++ ++ -- units of conformance ++ ++ bgp4MIBGlobalsGroup OBJECT-GROUP ++ OBJECTS { bgpVersion, ++ bgpLocalAs, ++ bgpIdentifier } ++ STATUS current ++ DESCRIPTION ++ "A collection of objects providing information ++ on global BGP state." ++ ::= { bgpMIBGroups 1 } ++ ++ bgp4MIBPeerGroup OBJECT-GROUP ++ OBJECTS { bgpPeerIdentifier, ++ bgpPeerState, ++ bgpPeerAdminStatus, ++ bgpPeerNegotiatedVersion, ++ bgpPeerLocalAddr, ++ bgpPeerLocalPort, ++ bgpPeerRemoteAddr, ++ bgpPeerRemotePort, ++ bgpPeerRemoteAs, ++ bgpPeerInUpdates, ++ bgpPeerOutUpdates, ++ bgpPeerInTotalMessages, ++ bgpPeerOutTotalMessages, ++ bgpPeerLastError, ++ bgpPeerFsmEstablishedTransitions, ++ bgpPeerFsmEstablishedTime, ++ bgpPeerConnectRetryInterval, ++ bgpPeerHoldTime, ++ bgpPeerKeepAlive, ++ bgpPeerHoldTimeConfigured, ++ bgpPeerKeepAliveConfigured, ++ bgpPeerMinASOriginationInterval, ++ bgpPeerMinRouteAdvertisementInterval, ++ bgpPeerInUpdateElapsedTime } ++ STATUS current ++ DESCRIPTION ++ "A collection of objects for managing ++ BGP peers." ++ ::= { bgpMIBGroups 2 } ++ ++ bgp4MIBRcvdPathAttrGroup OBJECT-GROUP ++ OBJECTS { bgpPathAttrPeer, ++ bgpPathAttrDestNetwork, ++ bgpPathAttrOrigin, ++ bgpPathAttrASPath, ++ bgpPathAttrNextHop, ++ bgpPathAttrInterASMetric } ++ STATUS obsolete ++ DESCRIPTION ++ "A collection of objects for managing BGP ++ path entries. ++ ++ This conformance group is obsolete, ++ replaced by bgp4MIBPathAttrGroup." ++ ::= { bgpMIBGroups 3 } ++ ++ bgp4MIBPathAttrGroup OBJECT-GROUP ++ OBJECTS { bgp4PathAttrPeer, ++ bgp4PathAttrIpAddrPrefixLen, ++ bgp4PathAttrIpAddrPrefix, ++ bgp4PathAttrOrigin, ++ bgp4PathAttrASPathSegment, ++ bgp4PathAttrNextHop, ++ bgp4PathAttrMultiExitDisc, ++ bgp4PathAttrLocalPref, ++ bgp4PathAttrAtomicAggregate, ++ bgp4PathAttrAggregatorAS, ++ bgp4PathAttrAggregatorAddr, ++ bgp4PathAttrCalcLocalPref, ++ bgp4PathAttrBest, ++ bgp4PathAttrUnknown } ++ STATUS current ++ DESCRIPTION ++ "A collection of objects for managing ++ BGP path entries." ++ ::= { bgpMIBGroups 4 } ++ ++ bgp4MIBNotificationGroup NOTIFICATION-GROUP ++ NOTIFICATIONS { bgpEstablished, ++ bgpBackwardTransition } ++ STATUS current ++ DESCRIPTION ++ "A collection of notifications for signaling ++ changes in BGP peer relationships." ++ ::= { bgpMIBGroups 5 } ++ ++ END +diff -ruN mibs/BRIDGE-MIB.txt.orig mibs/BRIDGE-MIB.txt +--- mibs/BRIDGE-MIB.txt.orig 1970-01-01 01:00:00.000000000 +0100 ++++ mibs/BRIDGE-MIB.txt 2005-07-20 21:45:50.000000000 +0200 +@@ -0,0 +1,1075 @@ ++BRIDGE-MIB DEFINITIONS ::= BEGIN ++ ++IMPORTS ++ Counter, TimeTicks ++ FROM RFC1155-SMI ++ mib-2 ++ FROM RFC1213-MIB ++ OBJECT-TYPE ++ FROM RFC-1212 ++ TRAP-TYPE ++ FROM RFC-1215; ++ ++-- All representations of MAC addresses in this MIB Module ++-- use, as a textual convention (i.e. this convention does ++-- not affect their encoding), the data type: ++MacAddress ::= OCTET STRING (SIZE (6)) -- a 6 octet address ++ -- in the ++ -- "canonical" ++ -- order ++-- defined by IEEE 802.1a, i.e., as if it were transmitted ++-- least significant bit first, even though 802.5 (in ++-- contrast to other n802.x protocols) requires MAC ++-- addresses to be transmitted most significant bit first. ++-- ++-- 16-bit addresses, if needed, are represented by setting ++-- their upper 4 octets to all 0's, i.e., AAFF would be ++-- represented as 00000000AAFF. ++ ++-- Similarly, all representations of Bridge-Id in this MIB ++-- Module use, as a textual convention (i.e. this ++-- convention does not affect their encoding), the data ++-- type: ++BridgeId ::= OCTET STRING (SIZE (8)) -- the ++ -- Bridge-Identifier ++ -- as used in the ++ -- Spanning Tree ++-- Protocol to uniquely identify a bridge. Its first two ++-- octets (in network byte order) contain a priority ++-- value and its last 6 octets contain the MAC address ++-- used to refer to a bridge in a unique fashion ++-- (typically, the numerically smallest MAC address ++-- of all ports on the bridge). ++ ++-- Several objects in this MIB module represent values of ++-- timers used by the Spanning Tree Protocol. In this ++-- MIB, these timers have values in units of hundreths of ++-- a second (i.e. 1/100 secs). ++-- These timers, when stored in a Spanning Tree Protocol's ++-- BPDU, are in units of 1/256 seconds. Note, however, ++-- that 802.1D-1990 specifies a settable granularity of ++-- no more than 1 second for these timers. To avoid ++-- ambiguity, a data type is defined here as a textual ++-- convention and all representation of these timers ++-- in this MIB module are defined using this data type. An ++-- algorithm is also defined for converting between the ++-- different units, to ensure a timer's value is not ++-- distorted by multiple conversions. ++-- The data type is: ++ ++Timeout ::= INTEGER -- a STP timer in units of 1/100 seconds ++ ++-- To convert a Timeout value into a value in units of ++-- 1/256 seconds, the following algorithm should be used: ++-- ++-- b = floor( (n * 256) / 100) ++-- ++-- where: ++-- floor = quotient [ignore remainder] ++-- n is the value in 1/100 second units ++-- b is the value in 1/256 second units ++-- ++-- To convert the value from 1/256 second units back to ++-- 1/100 seconds, the following algorithm should be used: ++-- ++-- n = ceiling( (b * 100) / 256) ++-- ++-- where: ++-- ceiling = quotient [if remainder is 0], or ++-- quotient + 1 [if remainder is non-zero] ++-- n is the value in 1/100 second units ++-- b is the value in 1/256 second units ++-- ++-- Note: it is important that the arithmetic operations are ++-- done in the order specified (i.e., multiply first, divide ++-- second). ++ ++ dot1dBridge OBJECT IDENTIFIER ::= { mib-2 17 } ++ ++-- groups in the Bridge MIB ++ ++dot1dBase OBJECT IDENTIFIER ::= { dot1dBridge 1 } ++ ++dot1dStp OBJECT IDENTIFIER ::= { dot1dBridge 2 } ++ ++dot1dSr OBJECT IDENTIFIER ::= { dot1dBridge 3 } ++-- separately documented ++ ++dot1dTp OBJECT IDENTIFIER ::= { dot1dBridge 4 } ++ ++dot1dStatic OBJECT IDENTIFIER ::= { dot1dBridge 5 } ++ ++-- the dot1dBase group ++ ++-- Implementation of the dot1dBase group is mandatory for all ++-- bridges. ++ ++dot1dBaseBridgeAddress OBJECT-TYPE ++ SYNTAX MacAddress ++ ACCESS read-only ++ STATUS mandatory ++ DESCRIPTION ++ "The MAC address used by this bridge when it must ++ be referred to in a unique fashion. It is ++ recommended that this be the numerically smallest ++ MAC address of all ports that belong to this ++ bridge. However it is only required to be unique. ++ When concatenated with dot1dStpPriority a unique ++ BridgeIdentifier is formed which is used in the ++ Spanning Tree Protocol." ++ REFERENCE ++ "IEEE 802.1D-1990: Sections 6.4.1.1.3 and 3.12.5" ++ ::= { dot1dBase 1 } ++ ++dot1dBaseNumPorts OBJECT-TYPE ++ SYNTAX INTEGER ++ ACCESS read-only ++ STATUS mandatory ++ DESCRIPTION ++ "The number of ports controlled by this bridging ++ entity." ++ REFERENCE ++ "IEEE 802.1D-1990: Section 6.4.1.1.3" ++ ::= { dot1dBase 2 } ++ ++dot1dBaseType OBJECT-TYPE ++ SYNTAX INTEGER { ++ unknown(1), ++ transparent-only(2), ++ sourceroute-only(3), ++ srt(4) ++ } ++ ACCESS read-only ++ STATUS mandatory ++ DESCRIPTION ++ "Indicates what type of bridging this bridge can ++ perform. If a bridge is actually performing a ++ certain type of bridging this will be indicated by ++ entries in the port table for the given type." ++ ::= { dot1dBase 3 } ++ ++-- The Generic Bridge Port Table ++ ++dot1dBasePortTable OBJECT-TYPE ++ SYNTAX SEQUENCE OF Dot1dBasePortEntry ++ ACCESS not-accessible ++ STATUS mandatory ++ DESCRIPTION ++ "A table that contains generic information about ++ every port that is associated with this bridge. ++ Transparent, source-route, and srt ports are ++ included." ++ ::= { dot1dBase 4 } ++ ++dot1dBasePortEntry OBJECT-TYPE ++ SYNTAX Dot1dBasePortEntry ++ ACCESS not-accessible ++ STATUS mandatory ++ DESCRIPTION ++ "A list of information for each port of the ++ bridge." ++ REFERENCE ++ "IEEE 802.1D-1990: Section 6.4.2, 6.6.1" ++ INDEX { dot1dBasePort } ++ ::= { dot1dBasePortTable 1 } ++ ++Dot1dBasePortEntry ::= ++ SEQUENCE { ++ dot1dBasePort ++ INTEGER, ++ dot1dBasePortIfIndex ++ INTEGER, ++ dot1dBasePortCircuit ++ ++ OBJECT IDENTIFIER, ++ dot1dBasePortDelayExceededDiscards ++ Counter, ++ dot1dBasePortMtuExceededDiscards ++ Counter ++ } ++ ++dot1dBasePort OBJECT-TYPE ++ SYNTAX INTEGER (1..65535) ++ ACCESS read-only ++ STATUS mandatory ++ DESCRIPTION ++ "The port number of the port for which this entry ++ contains bridge management information." ++ ::= { dot1dBasePortEntry 1 } ++ ++dot1dBasePortIfIndex OBJECT-TYPE ++ SYNTAX INTEGER ++ ACCESS read-only ++ STATUS mandatory ++ DESCRIPTION ++ "The value of the instance of the ifIndex object, ++ defined in MIB-II, for the interface corresponding ++ to this port." ++ ::= { dot1dBasePortEntry 2 } ++ ++dot1dBasePortCircuit OBJECT-TYPE ++ SYNTAX OBJECT IDENTIFIER ++ ACCESS read-only ++ STATUS mandatory ++ DESCRIPTION ++ "For a port which (potentially) has the same value ++ of dot1dBasePortIfIndex as another port on the ++ same bridge, this object contains the name of an ++ object instance unique to this port. For example, ++ in the case where multiple ports correspond one- ++ to-one with multiple X.25 virtual circuits, this ++ value might identify an (e.g., the first) object ++ instance associated with the X.25 virtual circuit ++ corresponding to this port. ++ ++ For a port which has a unique value of ++ dot1dBasePortIfIndex, this object can have the ++ value { 0 0 }." ++ ::= { dot1dBasePortEntry 3 } ++ ++dot1dBasePortDelayExceededDiscards OBJECT-TYPE ++ SYNTAX Counter ++ ++ ACCESS read-only ++ STATUS mandatory ++ DESCRIPTION ++ "The number of frames discarded by this port due ++ to excessive transit delay through the bridge. It ++ is incremented by both transparent and source ++ route bridges." ++ REFERENCE ++ "IEEE 802.1D-1990: Section 6.6.1.1.3" ++ ::= { dot1dBasePortEntry 4 } ++ ++dot1dBasePortMtuExceededDiscards OBJECT-TYPE ++ SYNTAX Counter ++ ACCESS read-only ++ STATUS mandatory ++ DESCRIPTION ++ "The number of frames discarded by this port due ++ to an excessive size. It is incremented by both ++ transparent and source route bridges." ++ REFERENCE ++ "IEEE 802.1D-1990: Section 6.6.1.1.3" ++ ::= { dot1dBasePortEntry 5 } ++ ++-- the dot1dStp group ++ ++-- Implementation of the dot1dStp group is optional. It is ++-- implemented by those bridges that support the Spanning Tree ++-- Protocol. ++ ++dot1dStpProtocolSpecification OBJECT-TYPE ++ SYNTAX INTEGER { ++ unknown(1), ++ decLb100(2), ++ ieee8021d(3) ++ } ++ ACCESS read-only ++ STATUS mandatory ++ DESCRIPTION ++ "An indication of what version of the Spanning ++ Tree Protocol is being run. The value ++ 'decLb100(2)' indicates the DEC LANbridge 100 ++ Spanning Tree protocol. IEEE 802.1d ++ implementations will return 'ieee8021d(3)'. If ++ future versions of the IEEE Spanning Tree Protocol ++ are released that are incompatible with the ++ current version a new value will be defined." ++ ++ ::= { dot1dStp 1 } ++ ++dot1dStpPriority OBJECT-TYPE ++ SYNTAX INTEGER (0..65535) ++ ACCESS read-write ++ STATUS mandatory ++ DESCRIPTION ++ "The value of the write-able portion of the Bridge ++ ID, i.e., the first two octets of the (8 octet ++ long) Bridge ID. The other (last) 6 octets of the ++ Bridge ID are given by the value of ++ dot1dBaseBridgeAddress." ++ REFERENCE ++ "IEEE 802.1D-1990: Section 4.5.3.7" ++ ::= { dot1dStp 2 } ++ ++dot1dStpTimeSinceTopologyChange OBJECT-TYPE ++ SYNTAX TimeTicks ++ ACCESS read-only ++ STATUS mandatory ++ DESCRIPTION ++ "The time (in hundredths of a second) since the ++ last time a topology change was detected by the ++ bridge entity." ++ REFERENCE ++ "IEEE 802.1D-1990: Section 6.8.1.1.3" ++ ::= { dot1dStp 3 } ++ ++dot1dStpTopChanges OBJECT-TYPE ++ SYNTAX Counter ++ ACCESS read-only ++ STATUS mandatory ++ DESCRIPTION ++ "The total number of topology changes detected by ++ this bridge since the management entity was last ++ reset or initialized." ++ REFERENCE ++ "IEEE 802.1D-1990: Section 6.8.1.1.3" ++ ::= { dot1dStp 4 } ++ ++dot1dStpDesignatedRoot OBJECT-TYPE ++ SYNTAX BridgeId ++ ACCESS read-only ++ STATUS mandatory ++ DESCRIPTION ++ "The bridge identifier of the root of the spanning ++ tree as determined by the Spanning Tree Protocol ++ as executed by this node. This value is used as ++ ++ the Root Identifier parameter in all Configuration ++ Bridge PDUs originated by this node." ++ REFERENCE ++ "IEEE 802.1D-1990: Section 4.5.3.1" ++ ::= { dot1dStp 5 } ++ ++dot1dStpRootCost OBJECT-TYPE ++ SYNTAX INTEGER ++ ACCESS read-only ++ STATUS mandatory ++ DESCRIPTION ++ "The cost of the path to the root as seen from ++ this bridge." ++ REFERENCE ++ "IEEE 802.1D-1990: Section 4.5.3.2" ++ ::= { dot1dStp 6 } ++ ++dot1dStpRootPort OBJECT-TYPE ++ SYNTAX INTEGER ++ ACCESS read-only ++ STATUS mandatory ++ DESCRIPTION ++ "The port number of the port which offers the ++ lowest cost path from this bridge to the root ++ bridge." ++ REFERENCE ++ "IEEE 802.1D-1990: Section 4.5.3.3" ++ ::= { dot1dStp 7 } ++ ++dot1dStpMaxAge OBJECT-TYPE ++ SYNTAX Timeout ++ ACCESS read-only ++ STATUS mandatory ++ DESCRIPTION ++ "The maximum age of Spanning Tree Protocol ++ information learned from the network on any port ++ before it is discarded, in units of hundredths of ++ a second. This is the actual value that this ++ bridge is currently using." ++ REFERENCE ++ "IEEE 802.1D-1990: Section 4.5.3.4" ++ ::= { dot1dStp 8 } ++ ++dot1dStpHelloTime OBJECT-TYPE ++ SYNTAX Timeout ++ ACCESS read-only ++ STATUS mandatory ++ DESCRIPTION ++ ++ "The amount of time between the transmission of ++ Configuration bridge PDUs by this node on any port ++ when it is the root of the spanning tree or trying ++ to become so, in units of hundredths of a second. ++ This is the actual value that this bridge is ++ currently using." ++ REFERENCE ++ "IEEE 802.1D-1990: Section 4.5.3.5" ++ ::= { dot1dStp 9 } ++ ++dot1dStpHoldTime OBJECT-TYPE ++ SYNTAX INTEGER ++ ACCESS read-only ++ STATUS mandatory ++ DESCRIPTION ++ "This time value determines the interval length ++ during which no more than two Configuration bridge ++ PDUs shall be transmitted by this node, in units ++ of hundredths of a second." ++ REFERENCE ++ "IEEE 802.1D-1990: Section 4.5.3.14" ++ ::= { dot1dStp 10 } ++ ++dot1dStpForwardDelay OBJECT-TYPE ++ SYNTAX Timeout ++ ACCESS read-only ++ STATUS mandatory ++ DESCRIPTION ++ "This time value, measured in units of hundredths ++ of a second, controls how fast a port changes its ++ spanning state when moving towards the Forwarding ++ state. The value determines how long the port ++ stays in each of the Listening and Learning ++ states, which precede the Forwarding state. This ++ value is also used, when a topology change has ++ been detected and is underway, to age all dynamic ++ entries in the Forwarding Database. [Note that ++ this value is the one that this bridge is ++ currently using, in contrast to ++ dot1dStpBridgeForwardDelay which is the value that ++ this bridge and all others would start using ++ if/when this bridge were to become the root.]" ++ REFERENCE ++ "IEEE 802.1D-1990: Section 4.5.3.6" ++ ::= { dot1dStp 11 } ++ ++dot1dStpBridgeMaxAge OBJECT-TYPE ++ SYNTAX Timeout (600..4000) ++ ++ ACCESS read-write ++ STATUS mandatory ++ DESCRIPTION ++ "The value that all bridges use for MaxAge when ++ this bridge is acting as the root. Note that ++ 802.1D-1990 specifies that the range for this ++ parameter is related to the value of ++ dot1dStpBridgeHelloTime. The granularity of this ++ timer is specified by 802.1D-1990 to be 1 second. ++ An agent may return a badValue error if a set is ++ attempted to a value which is not a whole number ++ of seconds." ++ REFERENCE ++ "IEEE 802.1D-1990: Section 4.5.3.8" ++ ::= { dot1dStp 12 } ++ ++dot1dStpBridgeHelloTime OBJECT-TYPE ++ SYNTAX Timeout (100..1000) ++ ACCESS read-write ++ STATUS mandatory ++ DESCRIPTION ++ "The value that all bridges use for HelloTime when ++ this bridge is acting as the root. The ++ granularity of this timer is specified by 802.1D- ++ 1990 to be 1 second. An agent may return a ++ badValue error if a set is attempted to a value ++ which is not a whole number of seconds." ++ REFERENCE ++ "IEEE 802.1D-1990: Section 4.5.3.9" ++ ::= { dot1dStp 13 } ++ ++dot1dStpBridgeForwardDelay OBJECT-TYPE ++ SYNTAX Timeout (400..3000) ++ ACCESS read-write ++ STATUS mandatory ++ DESCRIPTION ++ "The value that all bridges use for ForwardDelay ++ when this bridge is acting as the root. Note that ++ 802.1D-1990 specifies that the range for this ++ parameter is related to the value of ++ dot1dStpBridgeMaxAge. The granularity of this ++ timer is specified by 802.1D-1990 to be 1 second. ++ An agent may return a badValue error if a set is ++ attempted to a value which is not a whole number ++ of seconds." ++ REFERENCE ++ "IEEE 802.1D-1990: Section 4.5.3.10" ++ ::= { dot1dStp 14 } ++ ++-- The Spanning Tree Port Table ++ ++dot1dStpPortTable OBJECT-TYPE ++ SYNTAX SEQUENCE OF Dot1dStpPortEntry ++ ACCESS not-accessible ++ STATUS mandatory ++ DESCRIPTION ++ "A table that contains port-specific information ++ for the Spanning Tree Protocol." ++ ::= { dot1dStp 15 } ++ ++dot1dStpPortEntry OBJECT-TYPE ++ SYNTAX Dot1dStpPortEntry ++ ACCESS not-accessible ++ STATUS mandatory ++ DESCRIPTION ++ "A list of information maintained by every port ++ about the Spanning Tree Protocol state for that ++ port." ++ INDEX { dot1dStpPort } ++ ::= { dot1dStpPortTable 1 } ++ ++Dot1dStpPortEntry ::= ++ SEQUENCE { ++ dot1dStpPort ++ INTEGER, ++ dot1dStpPortPriority ++ INTEGER, ++ dot1dStpPortState ++ INTEGER, ++ dot1dStpPortEnable ++ INTEGER, ++ dot1dStpPortPathCost ++ INTEGER, ++ dot1dStpPortDesignatedRoot ++ BridgeId, ++ dot1dStpPortDesignatedCost ++ INTEGER, ++ dot1dStpPortDesignatedBridge ++ BridgeId, ++ dot1dStpPortDesignatedPort ++ OCTET STRING, ++ dot1dStpPortForwardTransitions ++ Counter ++ } ++ ++dot1dStpPort OBJECT-TYPE ++ SYNTAX INTEGER (1..65535) ++ ++ ACCESS read-only ++ STATUS mandatory ++ DESCRIPTION ++ "The port number of the port for which this entry ++ contains Spanning Tree Protocol management ++ information." ++ REFERENCE ++ "IEEE 802.1D-1990: Section 6.8.2.1.2" ++ ::= { dot1dStpPortEntry 1 } ++ ++dot1dStpPortPriority OBJECT-TYPE ++ SYNTAX INTEGER (0..255) ++ ACCESS read-write ++ STATUS mandatory ++ DESCRIPTION ++ "The value of the priority field which is ++ contained in the first (in network byte order) ++ octet of the (2 octet long) Port ID. The other ++ octet of the Port ID is given by the value of ++ dot1dStpPort." ++ REFERENCE ++ "IEEE 802.1D-1990: Section 4.5.5.1" ++ ::= { dot1dStpPortEntry 2 } ++ ++dot1dStpPortState OBJECT-TYPE ++ SYNTAX INTEGER { ++ disabled(1), ++ blocking(2), ++ listening(3), ++ learning(4), ++ forwarding(5), ++ broken(6) ++ } ++ ACCESS read-only ++ STATUS mandatory ++ DESCRIPTION ++ "The port's current state as defined by ++ application of the Spanning Tree Protocol. This ++ state controls what action a port takes on ++ reception of a frame. If the bridge has detected ++ a port that is malfunctioning it will place that ++ port into the broken(6) state. For ports which ++ are disabled (see dot1dStpPortEnable), this object ++ will have a value of disabled(1)." ++ REFERENCE ++ "IEEE 802.1D-1990: Section 4.5.5.2" ++ ::= { dot1dStpPortEntry 3 } ++ ++dot1dStpPortEnable OBJECT-TYPE ++ SYNTAX INTEGER { ++ enabled(1), ++ disabled(2) ++ } ++ ACCESS read-write ++ STATUS mandatory ++ DESCRIPTION ++ "The enabled/disabled status of the port." ++ REFERENCE ++ "IEEE 802.1D-1990: Section 4.5.5.2" ++ ::= { dot1dStpPortEntry 4 } ++ ++dot1dStpPortPathCost OBJECT-TYPE ++ SYNTAX INTEGER (1..65535) ++ ACCESS read-write ++ STATUS mandatory ++ DESCRIPTION ++ "The contribution of this port to the path cost of ++ paths towards the spanning tree root which include ++ this port. 802.1D-1990 recommends that the ++ default value of this parameter be in inverse ++ proportion to the speed of the attached LAN." ++ REFERENCE ++ "IEEE 802.1D-1990: Section 4.5.5.3" ++ ::= { dot1dStpPortEntry 5 } ++ ++dot1dStpPortDesignatedRoot OBJECT-TYPE ++ SYNTAX BridgeId ++ ACCESS read-only ++ STATUS mandatory ++ DESCRIPTION ++ "The unique Bridge Identifier of the Bridge ++ recorded as the Root in the Configuration BPDUs ++ transmitted by the Designated Bridge for the ++ segment to which the port is attached." ++ REFERENCE ++ "IEEE 802.1D-1990: Section 4.5.5.4" ++ ::= { dot1dStpPortEntry 6 } ++ ++dot1dStpPortDesignatedCost OBJECT-TYPE ++ SYNTAX INTEGER ++ ACCESS read-only ++ STATUS mandatory ++ DESCRIPTION ++ "The path cost of the Designated Port of the ++ segment connected to this port. This value is ++ compared to the Root Path Cost field in received ++ ++ bridge PDUs." ++ REFERENCE ++ "IEEE 802.1D-1990: Section 4.5.5.5" ++ ::= { dot1dStpPortEntry 7 } ++ ++dot1dStpPortDesignatedBridge OBJECT-TYPE ++ SYNTAX BridgeId ++ ACCESS read-only ++ STATUS mandatory ++ DESCRIPTION ++ "The Bridge Identifier of the bridge which this ++ port considers to be the Designated Bridge for ++ this port's segment." ++ REFERENCE ++ "IEEE 802.1D-1990: Section 4.5.5.6" ++ ::= { dot1dStpPortEntry 8 } ++ ++dot1dStpPortDesignatedPort OBJECT-TYPE ++ SYNTAX OCTET STRING (SIZE (2)) ++ ACCESS read-only ++ STATUS mandatory ++ DESCRIPTION ++ "The Port Identifier of the port on the Designated ++ Bridge for this port's segment." ++ REFERENCE ++ "IEEE 802.1D-1990: Section 4.5.5.7" ++ ::= { dot1dStpPortEntry 9 } ++ ++dot1dStpPortForwardTransitions OBJECT-TYPE ++ SYNTAX Counter ++ ACCESS read-only ++ STATUS mandatory ++ DESCRIPTION ++ "The number of times this port has transitioned ++ from the Learning state to the Forwarding state." ++ ::= { dot1dStpPortEntry 10 } ++ ++-- the dot1dTp group ++ ++-- Implementation of the dot1dTp group is optional. It is ++-- implemented by those bridges that support the transparent ++-- bridging mode. A transparent or SRT bridge will implement ++-- this group. ++ ++dot1dTpLearnedEntryDiscards OBJECT-TYPE ++ SYNTAX Counter ++ ++ ACCESS read-only ++ STATUS mandatory ++ DESCRIPTION ++ "The total number of Forwarding Database entries, ++ which have been or would have been learnt, but ++ have been discarded due to a lack of space to ++ store them in the Forwarding Database. If this ++ counter is increasing, it indicates that the ++ Forwarding Database is regularly becoming full (a ++ condition which has unpleasant performance effects ++ on the subnetwork). If this counter has a ++ significant value but is not presently increasing, ++ it indicates that the problem has been occurring ++ but is not persistent." ++ REFERENCE ++ "IEEE 802.1D-1990: Section 6.7.1.1.3" ++ ::= { dot1dTp 1 } ++ ++dot1dTpAgingTime OBJECT-TYPE ++ SYNTAX INTEGER (10..1000000) ++ ACCESS read-write ++ STATUS mandatory ++ DESCRIPTION ++ "The timeout period in seconds for aging out ++ dynamically learned forwarding information. ++ 802.1D-1990 recommends a default of 300 seconds." ++ REFERENCE ++ "IEEE 802.1D-1990: Section 6.7.1.1.3" ++ ::= { dot1dTp 2 } ++ ++-- The Forwarding Database for Transparent Bridges ++ ++dot1dTpFdbTable OBJECT-TYPE ++ SYNTAX SEQUENCE OF Dot1dTpFdbEntry ++ ACCESS not-accessible ++ STATUS mandatory ++ DESCRIPTION ++ "A table that contains information about unicast ++ entries for which the bridge has forwarding and/or ++ filtering information. This information is used ++ by the transparent bridging function in ++ determining how to propagate a received frame." ++ ::= { dot1dTp 3 } ++ ++dot1dTpFdbEntry OBJECT-TYPE ++ SYNTAX Dot1dTpFdbEntry ++ ACCESS not-accessible ++ STATUS mandatory ++ DESCRIPTION ++ "Information about a specific unicast MAC address ++ for which the bridge has some forwarding and/or ++ filtering information." ++ INDEX { dot1dTpFdbAddress } ++ ::= { dot1dTpFdbTable 1 } ++ ++Dot1dTpFdbEntry ::= ++ SEQUENCE { ++ dot1dTpFdbAddress ++ MacAddress, ++ dot1dTpFdbPort ++ INTEGER, ++ dot1dTpFdbStatus ++ INTEGER ++ } ++ ++dot1dTpFdbAddress OBJECT-TYPE ++ SYNTAX MacAddress ++ ACCESS read-only ++ STATUS mandatory ++ DESCRIPTION ++ "A unicast MAC address for which the bridge has ++ forwarding and/or filtering information." ++ REFERENCE ++ "IEEE 802.1D-1990: Section 3.9.1, 3.9.2" ++ ::= { dot1dTpFdbEntry 1 } ++ ++dot1dTpFdbPort OBJECT-TYPE ++ SYNTAX INTEGER ++ ACCESS read-only ++ STATUS mandatory ++ DESCRIPTION ++ "Either the value '0', or the port number of the ++ port on which a frame having a source address ++ equal to the value of the corresponding instance ++ of dot1dTpFdbAddress has been seen. A value of ++ '0' indicates that the port number has not been ++ learned but that the bridge does have some ++ forwarding/filtering information about this ++ address (e.g. in the dot1dStaticTable). ++ Implementors are encouraged to assign the port ++ value to this object whenever it is learned even ++ for addresses for which the corresponding value of ++ dot1dTpFdbStatus is not learned(3)." ++ ::= { dot1dTpFdbEntry 2 } ++ ++dot1dTpFdbStatus OBJECT-TYPE ++ SYNTAX INTEGER { ++ other(1), ++ invalid(2), ++ learned(3), ++ self(4), ++ mgmt(5) ++ } ++ ACCESS read-only ++ STATUS mandatory ++ DESCRIPTION ++ "The status of this entry. The meanings of the ++ values are: ++ other(1) : none of the following. This would ++ include the case where some other ++ MIB object (not the corresponding ++ instance of dot1dTpFdbPort, nor an ++ entry in the dot1dStaticTable) is ++ being used to determine if and how ++ frames addressed to the value of ++ the corresponding instance of ++ dot1dTpFdbAddress are being ++ forwarded. ++ invalid(2) : this entry is not longer valid ++ (e.g., it was learned but has since ++ aged-out), but has not yet been ++ flushed from the table. ++ learned(3) : the value of the corresponding ++ instance of dot1dTpFdbPort was ++ learned, and is being used. ++ self(4) : the value of the corresponding ++ instance of dot1dTpFdbAddress ++ represents one of the bridge's ++ addresses. The corresponding ++ instance of dot1dTpFdbPort ++ indicates which of the bridge's ++ ports has this address. ++ mgmt(5) : the value of the corresponding ++ instance of dot1dTpFdbAddress is ++ also the value of an existing ++ instance of dot1dStaticAddress." ++ ::= { dot1dTpFdbEntry 3 } ++ ++-- Port Table for Transparent Bridges ++ ++dot1dTpPortTable OBJECT-TYPE ++ SYNTAX SEQUENCE OF Dot1dTpPortEntry ++ ACCESS not-accessible ++ STATUS mandatory ++ DESCRIPTION ++ "A table that contains information about every ++ port that is associated with this transparent ++ bridge." ++ ::= { dot1dTp 4 } ++ ++dot1dTpPortEntry OBJECT-TYPE ++ SYNTAX Dot1dTpPortEntry ++ ACCESS not-accessible ++ STATUS mandatory ++ DESCRIPTION ++ "A list of information for each port of a ++ transparent bridge." ++ INDEX { dot1dTpPort } ++ ::= { dot1dTpPortTable 1 } ++ ++Dot1dTpPortEntry ::= ++ SEQUENCE { ++ dot1dTpPort ++ INTEGER, ++ dot1dTpPortMaxInfo ++ INTEGER, ++ dot1dTpPortInFrames ++ Counter, ++ dot1dTpPortOutFrames ++ Counter, ++ dot1dTpPortInDiscards ++ Counter ++ } ++ ++dot1dTpPort OBJECT-TYPE ++ SYNTAX INTEGER (1..65535) ++ ACCESS read-only ++ STATUS mandatory ++ DESCRIPTION ++ "The port number of the port for which this entry ++ contains Transparent bridging management ++ information." ++ ::= { dot1dTpPortEntry 1 } ++ ++-- It would be nice if we could use ifMtu as the size of the ++-- largest INFO field, but we can't because ifMtu is defined ++-- to be the size that the (inter-)network layer can use which ++-- can differ from the MAC layer (especially if several layers ++-- of encapsulation are used). ++ ++dot1dTpPortMaxInfo OBJECT-TYPE ++ SYNTAX INTEGER ++ ACCESS read-only ++ STATUS mandatory ++ DESCRIPTION ++ "The maximum size of the INFO (non-MAC) field that ++ this port will receive or transmit." ++ ::= { dot1dTpPortEntry 2 } ++ ++dot1dTpPortInFrames OBJECT-TYPE ++ SYNTAX Counter ++ ACCESS read-only ++ STATUS mandatory ++ DESCRIPTION ++ "The number of frames that have been received by ++ this port from its segment. Note that a frame ++ received on the interface corresponding to this ++ port is only counted by this object if and only if ++ it is for a protocol being processed by the local ++ bridging function, including bridge management ++ frames." ++ REFERENCE ++ "IEEE 802.1D-1990: Section 6.6.1.1.3" ++ ::= { dot1dTpPortEntry 3 } ++ ++dot1dTpPortOutFrames OBJECT-TYPE ++ SYNTAX Counter ++ ACCESS read-only ++ STATUS mandatory ++ DESCRIPTION ++ "The number of frames that have been transmitted ++ by this port to its segment. Note that a frame ++ transmitted on the interface corresponding to this ++ port is only counted by this object if and only if ++ it is for a protocol being processed by the local ++ bridging function, including bridge management ++ frames." ++ REFERENCE ++ "IEEE 802.1D-1990: Section 6.6.1.1.3" ++ ::= { dot1dTpPortEntry 4 } ++ ++dot1dTpPortInDiscards OBJECT-TYPE ++ SYNTAX Counter ++ ACCESS read-only ++ STATUS mandatory ++ DESCRIPTION ++ "Count of valid frames received which were ++ discarded (i.e., filtered) by the Forwarding ++ Process." ++ REFERENCE ++ "IEEE 802.1D-1990: Section 6.6.1.1.3" ++ ::= { dot1dTpPortEntry 5 } ++-- The Static (Destination-Address Filtering) Database ++ ++-- Implementation of this group is optional. ++ ++dot1dStaticTable OBJECT-TYPE ++ SYNTAX SEQUENCE OF Dot1dStaticEntry ++ ACCESS not-accessible ++ STATUS mandatory ++ DESCRIPTION ++ "A table containing filtering information ++ configured into the bridge by (local or network) ++ management specifying the set of ports to which ++ frames received from specific ports and containing ++ specific destination addresses are allowed to be ++ forwarded. The value of zero in this table as the ++ port number from which frames with a specific ++ destination address are received, is used to ++ specify all ports for which there is no specific ++ entry in this table for that particular ++ destination address. Entries are valid for ++ unicast and for group/broadcast addresses." ++ REFERENCE ++ "IEEE 802.1D-1990: Section 6.7.2" ++ ::= { dot1dStatic 1 } ++ ++dot1dStaticEntry OBJECT-TYPE ++ SYNTAX Dot1dStaticEntry ++ ACCESS not-accessible ++ STATUS mandatory ++ DESCRIPTION ++ "Filtering information configured into the bridge ++ by (local or network) management specifying the ++ set of ports to which frames received from a ++ specific port and containing a specific ++ destination address are allowed to be forwarded." ++ REFERENCE ++ "IEEE 802.1D-1990: Section 6.7.2" ++ INDEX { dot1dStaticAddress, dot1dStaticReceivePort } ++ ::= { dot1dStaticTable 1 } ++ ++Dot1dStaticEntry ::= ++ SEQUENCE { ++ dot1dStaticAddress ++ MacAddress, ++ dot1dStaticReceivePort ++ INTEGER, ++ dot1dStaticAllowedToGoTo ++ OCTET STRING, ++ dot1dStaticStatus ++ INTEGER ++ } ++ ++dot1dStaticAddress OBJECT-TYPE ++ SYNTAX MacAddress ++ ACCESS read-write ++ STATUS mandatory ++ DESCRIPTION ++ "The destination MAC address in a frame to which ++ this entry's filtering information applies. This ++ object can take the value of a unicast address, a ++ group address or the broadcast address." ++ REFERENCE ++ "IEEE 802.1D-1990: Section 3.9.1, 3.9.2" ++ ::= { dot1dStaticEntry 1 } ++ ++dot1dStaticReceivePort OBJECT-TYPE ++ SYNTAX INTEGER ++ ACCESS read-write ++ STATUS mandatory ++ DESCRIPTION ++ "Either the value '0', or the port number of the ++ port from which a frame must be received in order ++ for this entry's filtering information to apply. ++ A value of zero indicates that this entry applies ++ on all ports of the bridge for which there is no ++ other applicable entry." ++ ::= { dot1dStaticEntry 2 } ++ ++dot1dStaticAllowedToGoTo OBJECT-TYPE ++ SYNTAX OCTET STRING ++ ACCESS read-write ++ STATUS mandatory ++ DESCRIPTION ++ "The set of ports to which frames received from a ++ specific port and destined for a specific MAC ++ ++ address, are allowed to be forwarded. Each octet ++ within the value of this object specifies a set of ++ eight ports, with the first octet specifying ports ++ 1 through 8, the second octet specifying ports 9 ++ through 16, etc. Within each octet, the most ++ significant bit represents the lowest numbered ++ port, and the least significant bit represents the ++ highest numbered port. Thus, each port of the ++ bridge is represented by a single bit within the ++ value of this object. If that bit has a value of ++ '1' then that port is included in the set of ++ ports; the port is not included if its bit has a ++ value of '0'. (Note that the setting of the bit ++ corresponding to the port from which a frame is ++ received is irrelevant.) The default value of ++ this object is a string of ones of appropriate ++ length." ++ ::= { dot1dStaticEntry 3 } ++ ++dot1dStaticStatus OBJECT-TYPE ++ SYNTAX INTEGER { ++ other(1), ++ invalid(2), ++ permanent(3), ++ deleteOnReset(4), ++ deleteOnTimeout(5) ++ } ++ ACCESS read-write ++ STATUS mandatory ++ DESCRIPTION ++ "This object indicates the status of this entry. ++ The default value is permanent(3). ++ other(1) - this entry is currently in use but ++ the conditions under which it will ++ remain so are different from each of the ++ following values. ++ invalid(2) - writing this value to the object ++ removes the corresponding entry. ++ permanent(3) - this entry is currently in use ++ and will remain so after the next reset ++ of the bridge. ++ deleteOnReset(4) - this entry is currently in ++ use and will remain so until the next ++ reset of the bridge. ++ deleteOnTimeout(5) - this entry is currently ++ in use and will remain so until it is ++ aged out." ++ ++ ::= { dot1dStaticEntry 4 } ++ ++-- Traps for use by Bridges ++ ++-- Traps for the Spanning Tree Protocol ++ ++newRoot TRAP-TYPE ++ ENTERPRISE dot1dBridge ++ DESCRIPTION ++ "The newRoot trap indicates that the sending agent ++ has become the new root of the Spanning Tree; the ++ trap is sent by a bridge soon after its election ++ as the new root, e.g., upon expiration of the ++ Topology Change Timer immediately subsequent to ++ its election. Implementation of this trap is ++ optional." ++ ::= 1 ++ ++topologyChange TRAP-TYPE ++ ENTERPRISE dot1dBridge ++ DESCRIPTION ++ "A topologyChange trap is sent by a bridge when ++ any of its configured ports transitions from the ++ Learning state to the Forwarding state, or from ++ the Forwarding state to the Blocking state. The ++ trap is not sent if a newRoot trap is sent for the ++ same transition. Implementation of this trap is ++ optional." ++ ::= 2 ++ ++END +diff -ruN mibs/GNOME-SMI.txt.orig mibs/GNOME-SMI.txt +--- mibs/GNOME-SMI.txt.orig 1970-01-01 01:00:00.000000000 +0100 ++++ mibs/GNOME-SMI.txt 2005-07-20 21:47:13.000000000 +0200 +@@ -0,0 +1,83 @@ ++GNOME-SMI DEFINITIONS ::= BEGIN ++ ++IMPORTS ++ MODULE-IDENTITY, ++ OBJECT-IDENTITY, ++ enterprises ++ FROM SNMPv2-SMI; ++ ++gnome MODULE-IDENTITY ++ LAST-UPDATED "200505070000Z" ++ ORGANIZATION "GNOME project" ++ CONTACT-INFO ++ "GNU Network Object Model Environment project ++ ++ see http://www.gnome.org for contact persons of a particular ++ area or subproject of GNOME. ++ ++ Administrative contact for MIB module: ++ ++ Jochen Friedrich ++ Buedingerstr. 30b ++ 63546 Hammersbach ++ Germany ++ ++ email: jochen@scram.de" ++ DESCRIPTION ++ "The Structure of GNOME." ++ ++ -- revision history ++ ++ REVISION "200505070000Z" -- May 07, 2005 ++ DESCRIPTION ++ "Added gnomeLDAP subtree for LDAP definitions." ++ ++ REVISION "200312070000Z" -- December 07, 2003 ++ DESCRIPTION ++ "Added gnomeSysadmin subtree for GNOME project system administration. ++ Updated contact info." ++ ++ REVISION "9809010000Z" -- September 01, 1998 ++ DESCRIPTION ++ "Initial version." ++ ++ ::= { enterprises 3317 } -- assigned by IANA ++ ++gnomeProducts OBJECT-IDENTITY ++ STATUS current ++ DESCRIPTION ++ "gnomeProducts is the root OBJECT IDENTIFIER from ++ which sysObjectID values are assigned." ++ ::= { gnome 1 } ++ ++gnomeMgmt OBJECT-IDENTITY ++ STATUS current ++ DESCRIPTION ++ "gnomeMgmt defines the subtree for production GNOME related ++ MIB registrations." ++ ::= { gnome 2 } ++ ++gnomeTest OBJECT-IDENTITY ++ STATUS current ++ DESCRIPTION ++ "gnomeTest defines the subtree for testing GNOME related ++ MIB registrations." ++ ::= { gnome 3 } ++ ++gnomeSysadmin OBJECT-IDENTITY ++ STATUS current ++ DESCRIPTION ++ "gnomeSysadmin defines the subtree for GNOME related Sysadmin ++ MIB registrations." ++ ::= { gnome 4 } ++ ++gnomeLDAP OBJECT-IDENTITY ++ STATUS current ++ DESCRIPTION ++ "gnomeLDAP defines the subtree for GNOME related LDAP ++ registrations." ++ ::= { gnome 5 } ++ ++-- more to come if necessary. ++ ++END +diff -ruN mibs/OSPF-MIB.txt.orig mibs/OSPF-MIB.txt +--- mibs/OSPF-MIB.txt.orig 1970-01-01 01:00:00.000000000 +0100 ++++ mibs/OSPF-MIB.txt 2005-07-20 21:45:50.000000000 +0200 +@@ -0,0 +1,2723 @@ ++OSPF-MIB DEFINITIONS ::= BEGIN ++ ++ IMPORTS ++ MODULE-IDENTITY, OBJECT-TYPE, Counter32, Gauge32, ++ Integer32, IpAddress ++ FROM SNMPv2-SMI ++ TEXTUAL-CONVENTION, TruthValue, RowStatus ++ FROM SNMPv2-TC ++ MODULE-COMPLIANCE, OBJECT-GROUP FROM SNMPv2-CONF ++ mib-2 FROM RFC1213-MIB; ++ ++-- This MIB module uses the extended OBJECT-TYPE macro as ++-- defined in [9]. ++ ++ospf MODULE-IDENTITY ++ LAST-UPDATED "9501201225Z" -- Fri Jan 20 12:25:50 PST 1995 ++ ORGANIZATION "IETF OSPF Working Group" ++ CONTACT-INFO ++ " Fred Baker ++ Postal: Cisco Systems ++ 519 Lado Drive ++ Santa Barbara, California 93111 ++ Tel: +1 805 681 0115 ++ E-Mail: fred@cisco.com ++ ++ Rob Coltun ++ Postal: RainbowBridge Communications ++ Tel: (301) 340-9416 ++ E-Mail: rcoltun@rainbow-bridge.com" ++ DESCRIPTION ++ "The MIB module to describe the OSPF Version 2 ++ Protocol" ++ ::= { mib-2 14 } ++ ++-- The Area ID, in OSPF, has the same format as an IP Address, ++-- but has the function of defining a summarization point for ++-- Link State Advertisements ++ ++AreaID ::= TEXTUAL-CONVENTION ++ STATUS current ++ DESCRIPTION ++ "An OSPF Area Identifier." ++ SYNTAX IpAddress ++ ++ ++-- The Router ID, in OSPF, has the same format as an IP Address, ++-- but identifies the router independent of its IP Address. ++ ++RouterID ::= TEXTUAL-CONVENTION ++ STATUS current ++ DESCRIPTION ++ "A OSPF Router Identifier." ++ SYNTAX IpAddress ++ ++ ++-- The OSPF Metric is defined as an unsigned value in the range ++ ++Metric ::= TEXTUAL-CONVENTION ++ STATUS current ++ DESCRIPTION ++ "The OSPF Internal Metric." ++ SYNTAX Integer32 (0..'FFFF'h) ++ ++BigMetric ::= TEXTUAL-CONVENTION ++ STATUS current ++ DESCRIPTION ++ "The OSPF External Metric." ++ SYNTAX Integer32 (0..'FFFFFF'h) ++ ++-- Status Values ++ ++Status ::= TEXTUAL-CONVENTION ++ STATUS current ++ DESCRIPTION ++ "The status of an interface: 'enabled' indicates that ++ it is willing to communicate with other OSPF Routers, ++ while 'disabled' indicates that it is not." ++ SYNTAX INTEGER { enabled (1), disabled (2) } ++ ++-- Time Durations measured in seconds ++ ++PositiveInteger ::= TEXTUAL-CONVENTION ++ STATUS current ++ DESCRIPTION ++ "A positive integer. Values in excess are precluded as ++ unnecessary and prone to interoperability issues." ++ SYNTAX Integer32 (0..'7FFFFFFF'h) ++ ++HelloRange ::= TEXTUAL-CONVENTION ++ STATUS current ++ DESCRIPTION ++ "The range of intervals on which hello messages are ++ exchanged." ++ SYNTAX Integer32 (1..'FFFF'h) ++ ++UpToMaxAge ::= TEXTUAL-CONVENTION ++ STATUS current ++ DESCRIPTION ++ "The values that one might find or configure for ++ variables bounded by the maximum age of an LSA." ++ SYNTAX Integer32 (0..3600) ++ ++ ++-- The range of ifIndex ++ ++InterfaceIndex ::= TEXTUAL-CONVENTION ++ STATUS current ++ DESCRIPTION ++ "The range of ifIndex." ++ SYNTAX Integer32 ++ ++ ++-- Potential Priorities for the Designated Router Election ++ ++DesignatedRouterPriority ::= TEXTUAL-CONVENTION ++ STATUS current ++ DESCRIPTION ++ "The values defined for the priority of a system for ++ becoming the designated router." ++ SYNTAX Integer32 (0..'FF'h) ++ ++TOSType ::= TEXTUAL-CONVENTION ++ STATUS current ++ DESCRIPTION ++ "Type of Service is defined as a mapping to the IP Type of ++ Service Flags as defined in the IP Forwarding Table MIB ++ ++ +-----+-----+-----+-----+-----+-----+-----+-----+ ++ | | | | ++ | PRECEDENCE | TYPE OF SERVICE | 0 | ++ | | | | ++ +-----+-----+-----+-----+-----+-----+-----+-----+ ++ ++ IP TOS IP TOS ++ Field Policy Field Policy ++ ++ Contents Code Contents Code ++ 0 0 0 0 ==> 0 0 0 0 1 ==> 2 ++ 0 0 1 0 ==> 4 0 0 1 1 ==> 6 ++ 0 1 0 0 ==> 8 0 1 0 1 ==> 10 ++ 0 1 1 0 ==> 12 0 1 1 1 ==> 14 ++ 1 0 0 0 ==> 16 1 0 0 1 ==> 18 ++ 1 0 1 0 ==> 20 1 0 1 1 ==> 22 ++ 1 1 0 0 ==> 24 1 1 0 1 ==> 26 ++ 1 1 1 0 ==> 28 1 1 1 1 ==> 30 ++ ++ The remaining values are left for future definition." ++ SYNTAX Integer32 (0..30) ++ ++ ++-- OSPF General Variables ++ ++-- These parameters apply globally to the Router's ++-- OSPF Process. ++ ++ospfGeneralGroup OBJECT IDENTIFIER ::= { ospf 1 } ++ ++ ++ ospfRouterId OBJECT-TYPE ++ SYNTAX RouterID ++ MAX-ACCESS read-write ++ STATUS current ++ DESCRIPTION ++ "A 32-bit integer uniquely identifying the ++ router in the Autonomous System. ++ ++ By convention, to ensure uniqueness, this ++ should default to the value of one of the ++ router's IP interface addresses." ++ REFERENCE ++ "OSPF Version 2, C.1 Global parameters" ++ ::= { ospfGeneralGroup 1 } ++ ++ ++ ospfAdminStat OBJECT-TYPE ++ SYNTAX Status ++ MAX-ACCESS read-write ++ STATUS current ++ DESCRIPTION ++ "The administrative status of OSPF in the ++ router. The value 'enabled' denotes that the ++ OSPF Process is active on at least one inter- ++ face; 'disabled' disables it on all inter- ++ faces." ++ ::= { ospfGeneralGroup 2 } ++ ++ ospfVersionNumber OBJECT-TYPE ++ SYNTAX INTEGER { version2 (2) } ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The current version number of the OSPF proto- ++ col is 2." ++ REFERENCE ++ "OSPF Version 2, Title" ++ ::= { ospfGeneralGroup 3 } ++ ++ ++ ospfAreaBdrRtrStatus OBJECT-TYPE ++ SYNTAX TruthValue ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "A flag to note whether this router is an area ++ border router." ++ REFERENCE ++ "OSPF Version 2, Section 3 Splitting the AS into ++ Areas" ++ ::= { ospfGeneralGroup 4 } ++ ++ ++ ospfASBdrRtrStatus OBJECT-TYPE ++ SYNTAX TruthValue ++ MAX-ACCESS read-write ++ STATUS current ++ DESCRIPTION ++ "A flag to note whether this router is config- ++ ured as an Autonomous System border router." ++ REFERENCE ++ "OSPF Version 2, Section 3.3 Classification of ++ routers" ++ ::= { ospfGeneralGroup 5 } ++ ++ ospfExternLsaCount OBJECT-TYPE ++ SYNTAX Gauge32 ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The number of external (LS type 5) link-state ++ advertisements in the link-state database." ++ REFERENCE ++ "OSPF Version 2, Appendix A.4.5 AS external link ++ advertisements" ++ ::= { ospfGeneralGroup 6 } ++ ++ ++ ospfExternLsaCksumSum OBJECT-TYPE ++ SYNTAX Integer32 ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The 32-bit unsigned sum of the LS checksums of ++ the external link-state advertisements con- ++ tained in the link-state database. This sum ++ can be used to determine if there has been a ++ change in a router's link state database, and ++ to compare the link-state database of two ++ routers." ++ ::= { ospfGeneralGroup 7 } ++ ++ ++ ospfTOSSupport OBJECT-TYPE ++ SYNTAX TruthValue ++ MAX-ACCESS read-write ++ STATUS current ++ DESCRIPTION ++ "The router's support for type-of-service rout- ++ ing." ++ REFERENCE ++ "OSPF Version 2, Appendix F.1.2 Optional TOS ++ support" ++ ::= { ospfGeneralGroup 8 } ++ ++ ospfOriginateNewLsas OBJECT-TYPE ++ SYNTAX Counter32 ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The number of new link-state advertisements ++ that have been originated. This number is in- ++ cremented each time the router originates a new ++ LSA." ++ ::= { ospfGeneralGroup 9 } ++ ++ ++ ospfRxNewLsas OBJECT-TYPE ++ SYNTAX Counter32 ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The number of link-state advertisements re- ++ ceived determined to be new instantiations. ++ This number does not include newer instantia- ++ tions of self-originated link-state advertise- ++ ments." ++ ::= { ospfGeneralGroup 10 } ++ ++ ospfExtLsdbLimit OBJECT-TYPE ++ SYNTAX Integer32 (-1..'7FFFFFFF'h) ++ MAX-ACCESS read-write ++ STATUS current ++ DESCRIPTION ++ "The maximum number of non-default AS- ++ external-LSAs entries that can be stored in the ++ link-state database. If the value is -1, then ++ there is no limit. ++ ++ When the number of non-default AS-external-LSAs ++ in a router's link-state database reaches ++ ospfExtLsdbLimit, the router enters Overflow- ++ State. The router never holds more than ++ ospfExtLsdbLimit non-default AS-external-LSAs ++ in its database. OspfExtLsdbLimit MUST be set ++ identically in all routers attached to the OSPF ++ backbone and/or any regular OSPF area. (i.e., ++ OSPF stub areas and NSSAs are excluded)." ++ DEFVAL { -1 } ++ ::= { ospfGeneralGroup 11 } ++ ++ ospfMulticastExtensions OBJECT-TYPE ++ SYNTAX Integer32 ++ MAX-ACCESS read-write ++ STATUS current ++ DESCRIPTION ++ "A Bit Mask indicating whether the router is ++ forwarding IP multicast (Class D) datagrams ++ based on the algorithms defined in the Multi- ++ cast Extensions to OSPF. ++ ++ Bit 0, if set, indicates that the router can ++ forward IP multicast datagrams in the router's ++ directly attached areas (called intra-area mul- ++ ticast routing). ++ ++ Bit 1, if set, indicates that the router can ++ forward IP multicast datagrams between OSPF ++ areas (called inter-area multicast routing). ++ ++ Bit 2, if set, indicates that the router can ++ forward IP multicast datagrams between Auto- ++ nomous Systems (called inter-AS multicast rout- ++ ing). ++ ++ Only certain combinations of bit settings are ++ allowed, namely: 0 (no multicast forwarding is ++ enabled), 1 (intra-area multicasting only), 3 ++ (intra-area and inter-area multicasting), 5 ++ (intra-area and inter-AS multicasting) and 7 ++ (multicasting everywhere). By default, no mul- ++ ticast forwarding is enabled." ++ DEFVAL { 0 } ++ ::= { ospfGeneralGroup 12 } ++ ++ ospfExitOverflowInterval OBJECT-TYPE ++ SYNTAX PositiveInteger ++ MAX-ACCESS read-write ++ STATUS current ++ DESCRIPTION ++ "The number of seconds that, after entering ++ OverflowState, a router will attempt to leave ++ OverflowState. This allows the router to again ++ originate non-default AS-external-LSAs. When ++ set to 0, the router will not leave Overflow- ++ State until restarted." ++ DEFVAL { 0 } ++ ::= { ospfGeneralGroup 13 } ++ ++ ++ ospfDemandExtensions OBJECT-TYPE ++ SYNTAX TruthValue ++ MAX-ACCESS read-write ++ STATUS current ++ DESCRIPTION ++ "The router's support for demand routing." ++ REFERENCE ++ "OSPF Version 2, Appendix on Demand Routing" ++ ::= { ospfGeneralGroup 14 } ++ ++ ++-- The OSPF Area Data Structure contains information ++-- regarding the various areas. The interfaces and ++-- virtual links are configured as part of these areas. ++-- Area 0.0.0.0, by definition, is the Backbone Area ++ ++ ++ ospfAreaTable OBJECT-TYPE ++ SYNTAX SEQUENCE OF OspfAreaEntry ++ MAX-ACCESS not-accessible ++ STATUS current ++ DESCRIPTION ++ "Information describing the configured parame- ++ ters and cumulative statistics of the router's ++ attached areas." ++ REFERENCE ++ "OSPF Version 2, Section 6 The Area Data Struc- ++ ture" ++ ::= { ospf 2 } ++ ++ ++ ospfAreaEntry OBJECT-TYPE ++ SYNTAX OspfAreaEntry ++ MAX-ACCESS not-accessible ++ STATUS current ++ DESCRIPTION ++ "Information describing the configured parame- ++ ters and cumulative statistics of one of the ++ router's attached areas." ++ INDEX { ospfAreaId } ++ ::= { ospfAreaTable 1 } ++ ++OspfAreaEntry ::= ++ SEQUENCE { ++ ospfAreaId ++ AreaID, ++ ospfAuthType ++ Integer32, ++ ospfImportAsExtern ++ INTEGER, ++ ospfSpfRuns ++ Counter32, ++ ospfAreaBdrRtrCount ++ Gauge32, ++ ospfAsBdrRtrCount ++ Gauge32, ++ ospfAreaLsaCount ++ Gauge32, ++ ospfAreaLsaCksumSum ++ Integer32, ++ ospfAreaSummary ++ INTEGER, ++ ospfAreaStatus ++ RowStatus ++ } ++ ++ ospfAreaId OBJECT-TYPE ++ SYNTAX AreaID ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "A 32-bit integer uniquely identifying an area. ++ Area ID 0.0.0.0 is used for the OSPF backbone." ++ REFERENCE ++ "OSPF Version 2, Appendix C.2 Area parameters" ++ ::= { ospfAreaEntry 1 } ++ ++ ++ ospfAuthType OBJECT-TYPE ++ SYNTAX Integer32 ++ -- none (0), ++ -- simplePassword (1) ++ -- md5 (2) ++ -- reserved for specification by IANA (> 2) ++ MAX-ACCESS read-create ++ STATUS obsolete ++ DESCRIPTION ++ "The authentication type specified for an area. ++ Additional authentication types may be assigned ++ locally on a per Area basis." ++ REFERENCE ++ "OSPF Version 2, Appendix E Authentication" ++ DEFVAL { 0 } -- no authentication, by default ++ ::= { ospfAreaEntry 2 } ++ ++ ospfImportAsExtern OBJECT-TYPE ++ SYNTAX INTEGER { ++ importExternal (1), ++ importNoExternal (2), ++ importNssa (3) ++ } ++ MAX-ACCESS read-create ++ STATUS current ++ DESCRIPTION ++ "The area's support for importing AS external ++ link- state advertisements." ++ REFERENCE ++ "OSPF Version 2, Appendix C.2 Area parameters" ++ DEFVAL { importExternal } ++ ::= { ospfAreaEntry 3 } ++ ++ ++ ospfSpfRuns OBJECT-TYPE ++ SYNTAX Counter32 ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The number of times that the intra-area route ++ table has been calculated using this area's ++ link-state database. This is typically done ++ using Dijkstra's algorithm." ++ ::= { ospfAreaEntry 4 } ++ ++ ++ ospfAreaBdrRtrCount OBJECT-TYPE ++ SYNTAX Gauge32 ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The total number of area border routers reach- ++ able within this area. This is initially zero, ++ and is calculated in each SPF Pass." ++ ::= { ospfAreaEntry 5 } ++ ++ ospfAsBdrRtrCount OBJECT-TYPE ++ SYNTAX Gauge32 ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The total number of Autonomous System border ++ routers reachable within this area. This is ++ initially zero, and is calculated in each SPF ++ Pass." ++ ::= { ospfAreaEntry 6 } ++ ++ ++ ospfAreaLsaCount OBJECT-TYPE ++ SYNTAX Gauge32 ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The total number of link-state advertisements ++ in this area's link-state database, excluding ++ AS External LSA's." ++ ::= { ospfAreaEntry 7 } ++ ++ ++ ospfAreaLsaCksumSum OBJECT-TYPE ++ SYNTAX Integer32 ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The 32-bit unsigned sum of the link-state ad- ++ vertisements' LS checksums contained in this ++ area's link-state database. This sum excludes ++ external (LS type 5) link-state advertisements. ++ The sum can be used to determine if there has ++ been a change in a router's link state data- ++ base, and to compare the link-state database of ++ two routers." ++ DEFVAL { 0 } ++ ::= { ospfAreaEntry 8 } ++ ++ ospfAreaSummary OBJECT-TYPE ++ SYNTAX INTEGER { ++ noAreaSummary (1), ++ sendAreaSummary (2) ++ } ++ MAX-ACCESS read-create ++ STATUS current ++ DESCRIPTION ++ "The variable ospfAreaSummary controls the im- ++ port of summary LSAs into stub areas. It has ++ no effect on other areas. ++ ++ If it is noAreaSummary, the router will neither ++ originate nor propagate summary LSAs into the ++ stub area. It will rely entirely on its de- ++ fault route. ++ ++ If it is sendAreaSummary, the router will both ++ summarize and propagate summary LSAs." ++ DEFVAL { noAreaSummary } ++ ::= { ospfAreaEntry 9 } ++ ++ ++ ospfAreaStatus OBJECT-TYPE ++ SYNTAX RowStatus ++ MAX-ACCESS read-create ++ STATUS current ++ DESCRIPTION ++ "This variable displays the status of the en- ++ try. Setting it to 'invalid' has the effect of ++ rendering it inoperative. The internal effect ++ (row removal) is implementation dependent." ++ ::= { ospfAreaEntry 10 } ++ ++ ++-- OSPF Area Default Metric Table ++ ++-- The OSPF Area Default Metric Table describes the metrics ++-- that a default Area Border Router will advertise into a ++-- Stub area. ++ ++ ++ ospfStubAreaTable OBJECT-TYPE ++ SYNTAX SEQUENCE OF OspfStubAreaEntry ++ MAX-ACCESS not-accessible ++ STATUS current ++ DESCRIPTION ++ "The set of metrics that will be advertised by ++ a default Area Border Router into a stub area." ++ REFERENCE ++ "OSPF Version 2, Appendix C.2, Area Parameters" ++ ::= { ospf 3 } ++ ++ ++ ospfStubAreaEntry OBJECT-TYPE ++ SYNTAX OspfStubAreaEntry ++ MAX-ACCESS not-accessible ++ STATUS current ++ DESCRIPTION ++ "The metric for a given Type of Service that ++ will be advertised by a default Area Border ++ Router into a stub area." ++ REFERENCE ++ "OSPF Version 2, Appendix C.2, Area Parameters" ++ INDEX { ospfStubAreaId, ospfStubTOS } ++ ::= { ospfStubAreaTable 1 } ++ ++OspfStubAreaEntry ::= ++ SEQUENCE { ++ ospfStubAreaId ++ AreaID, ++ ospfStubTOS ++ TOSType, ++ ospfStubMetric ++ BigMetric, ++ ospfStubStatus ++ RowStatus, ++ ospfStubMetricType ++ INTEGER ++ } ++ ++ ospfStubAreaId OBJECT-TYPE ++ SYNTAX AreaID ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The 32 bit identifier for the Stub Area. On ++ creation, this can be derived from the in- ++ stance." ++ ::= { ospfStubAreaEntry 1 } ++ ++ ++ ospfStubTOS OBJECT-TYPE ++ SYNTAX TOSType ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The Type of Service associated with the ++ metric. On creation, this can be derived from ++ the instance." ++ ::= { ospfStubAreaEntry 2 } ++ ++ ++ ospfStubMetric OBJECT-TYPE ++ SYNTAX BigMetric ++ MAX-ACCESS read-create ++ STATUS current ++ DESCRIPTION ++ "The metric value applied at the indicated type ++ of service. By default, this equals the least ++ metric at the type of service among the inter- ++ faces to other areas." ++ ::= { ospfStubAreaEntry 3 } ++ ++ ++ ospfStubStatus OBJECT-TYPE ++ SYNTAX RowStatus ++ MAX-ACCESS read-create ++ STATUS current ++ DESCRIPTION ++ "This variable displays the status of the en- ++ try. Setting it to 'invalid' has the effect of ++ rendering it inoperative. The internal effect ++ (row removal) is implementation dependent." ++ ::= { ospfStubAreaEntry 4 } ++ ++ ospfStubMetricType OBJECT-TYPE ++ SYNTAX INTEGER { ++ ospfMetric (1), -- OSPF Metric ++ comparableCost (2), -- external type 1 ++ nonComparable (3) -- external type 2 ++ } ++ MAX-ACCESS read-create ++ STATUS current ++ DESCRIPTION ++ "This variable displays the type of metric ad- ++ vertised as a default route." ++ DEFVAL { ospfMetric } ++ ::= { ospfStubAreaEntry 5 } ++ ++-- OSPF Link State Database ++ ++-- The Link State Database contains the Link State ++-- Advertisements from throughout the areas that the ++-- device is attached to. ++ ++ ++ ospfLsdbTable OBJECT-TYPE ++ SYNTAX SEQUENCE OF OspfLsdbEntry ++ MAX-ACCESS not-accessible ++ STATUS current ++ DESCRIPTION ++ "The OSPF Process's Link State Database." ++ REFERENCE ++ "OSPF Version 2, Section 12 Link State Adver- ++ tisements" ++ ::= { ospf 4 } ++ ++ ++ ospfLsdbEntry OBJECT-TYPE ++ SYNTAX OspfLsdbEntry ++ MAX-ACCESS not-accessible ++ STATUS current ++ DESCRIPTION ++ "A single Link State Advertisement." ++ INDEX { ospfLsdbAreaId, ospfLsdbType, ++ ospfLsdbLsid, ospfLsdbRouterId } ++ ::= { ospfLsdbTable 1 } ++ ++OspfLsdbEntry ::= ++ SEQUENCE { ++ ospfLsdbAreaId ++ AreaID, ++ ospfLsdbType ++ INTEGER, ++ ospfLsdbLsid ++ IpAddress, ++ ospfLsdbRouterId ++ RouterID, ++ ospfLsdbSequence ++ Integer32, ++ ospfLsdbAge ++ Integer32, ++ ospfLsdbChecksum ++ Integer32, ++ ospfLsdbAdvertisement ++ OCTET STRING ++ } ++ ospfLsdbAreaId OBJECT-TYPE ++ SYNTAX AreaID ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The 32 bit identifier of the Area from which ++ the LSA was received." ++ REFERENCE ++ "OSPF Version 2, Appendix C.2 Area parameters" ++ ::= { ospfLsdbEntry 1 } ++ ++-- External Link State Advertisements are permitted ++-- for backward compatibility, but should be displayed in ++-- the ospfExtLsdbTable rather than here. ++ ++ ospfLsdbType OBJECT-TYPE ++ SYNTAX INTEGER { ++ routerLink (1), ++ networkLink (2), ++ summaryLink (3), ++ asSummaryLink (4), ++ asExternalLink (5), -- but see ospfExtLsdbTable ++ multicastLink (6), ++ nssaExternalLink (7) ++ } ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The type of the link state advertisement. ++ Each link state type has a separate advertise- ++ ment format." ++ REFERENCE ++ "OSPF Version 2, Appendix A.4.1 The Link State ++ Advertisement header" ++ ::= { ospfLsdbEntry 2 } ++ ++ ospfLsdbLsid OBJECT-TYPE ++ SYNTAX IpAddress ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The Link State ID is an LS Type Specific field ++ containing either a Router ID or an IP Address; ++ it identifies the piece of the routing domain ++ that is being described by the advertisement." ++ REFERENCE ++ "OSPF Version 2, Section 12.1.4 Link State ID" ++ ::= { ospfLsdbEntry 3 } ++ ospfLsdbRouterId OBJECT-TYPE ++ SYNTAX RouterID ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The 32 bit number that uniquely identifies the ++ originating router in the Autonomous System." ++ REFERENCE ++ "OSPF Version 2, Appendix C.1 Global parameters" ++ ::= { ospfLsdbEntry 4 } ++ ++-- Note that the OSPF Sequence Number is a 32 bit signed ++-- integer. It starts with the value '80000001'h, ++-- or -'7FFFFFFF'h, and increments until '7FFFFFFF'h ++-- Thus, a typical sequence number will be very negative. ++ ++ ospfLsdbSequence OBJECT-TYPE ++ SYNTAX Integer32 ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The sequence number field is a signed 32-bit ++ integer. It is used to detect old and dupli- ++ cate link state advertisements. The space of ++ sequence numbers is linearly ordered. The ++ larger the sequence number the more recent the ++ advertisement." ++ REFERENCE ++ "OSPF Version 2, Section 12.1.6 LS sequence ++ number" ++ ::= { ospfLsdbEntry 5 } ++ ++ ++ ospfLsdbAge OBJECT-TYPE ++ SYNTAX Integer32 -- Should be 0..MaxAge ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "This field is the age of the link state adver- ++ tisement in seconds." ++ REFERENCE ++ "OSPF Version 2, Section 12.1.1 LS age" ++ ::= { ospfLsdbEntry 6 } ++ ++ ospfLsdbChecksum OBJECT-TYPE ++ SYNTAX Integer32 ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "This field is the checksum of the complete ++ contents of the advertisement, excepting the ++ age field. The age field is excepted so that ++ an advertisement's age can be incremented ++ without updating the checksum. The checksum ++ used is the same that is used for ISO connec- ++ tionless datagrams; it is commonly referred to ++ as the Fletcher checksum." ++ REFERENCE ++ "OSPF Version 2, Section 12.1.7 LS checksum" ++ ::= { ospfLsdbEntry 7 } ++ ++ ++ ospfLsdbAdvertisement OBJECT-TYPE ++ SYNTAX OCTET STRING (SIZE (1..65535)) ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The entire Link State Advertisement, including ++ its header." ++ REFERENCE ++ "OSPF Version 2, Section 12 Link State Adver- ++ tisements" ++ ::= { ospfLsdbEntry 8 } ++ ++ ++-- Address Range Table ++ ++-- The Address Range Table acts as an adjunct to the Area ++-- Table; It describes those Address Range Summaries that ++-- are configured to be propagated from an Area to reduce ++-- the amount of information about it which is known beyond ++-- its borders. ++ ++ ospfAreaRangeTable OBJECT-TYPE ++ SYNTAX SEQUENCE OF OspfAreaRangeEntry ++ MAX-ACCESS not-accessible ++ STATUS obsolete ++ DESCRIPTION ++ "A range if IP addresses specified by an IP ++ address/IP network mask pair. For example, ++ class B address range of X.X.X.X with a network ++ mask of 255.255.0.0 includes all IP addresses ++ from X.X.0.0 to X.X.255.255" ++ REFERENCE ++ "OSPF Version 2, Appendix C.2 Area parameters" ++ ::= { ospf 5 } ++ ospfAreaRangeEntry OBJECT-TYPE ++ SYNTAX OspfAreaRangeEntry ++ MAX-ACCESS not-accessible ++ STATUS obsolete ++ DESCRIPTION ++ "A range if IP addresses specified by an IP ++ address/IP network mask pair. For example, ++ class B address range of X.X.X.X with a network ++ mask of 255.255.0.0 includes all IP addresses ++ from X.X.0.0 to X.X.255.255" ++ REFERENCE ++ "OSPF Version 2, Appendix C.2 Area parameters" ++ INDEX { ospfAreaRangeAreaId, ospfAreaRangeNet } ++ ::= { ospfAreaRangeTable 1 } ++ ++OspfAreaRangeEntry ::= ++ SEQUENCE { ++ ospfAreaRangeAreaId ++ AreaID, ++ ospfAreaRangeNet ++ IpAddress, ++ ospfAreaRangeMask ++ IpAddress, ++ ospfAreaRangeStatus ++ RowStatus, ++ ospfAreaRangeEffect ++ INTEGER ++ } ++ ++ ospfAreaRangeAreaId OBJECT-TYPE ++ SYNTAX AreaID ++ MAX-ACCESS read-only ++ STATUS obsolete ++ DESCRIPTION ++ "The Area the Address Range is to be found ++ within." ++ REFERENCE ++ "OSPF Version 2, Appendix C.2 Area parameters" ++ ::= { ospfAreaRangeEntry 1 } ++ ++ ++ ospfAreaRangeNet OBJECT-TYPE ++ SYNTAX IpAddress ++ MAX-ACCESS read-only ++ STATUS obsolete ++ DESCRIPTION ++ "The IP Address of the Net or Subnet indicated ++ by the range." ++ REFERENCE ++ "OSPF Version 2, Appendix C.2 Area parameters" ++ ::= { ospfAreaRangeEntry 2 } ++ ++ ++ ospfAreaRangeMask OBJECT-TYPE ++ SYNTAX IpAddress ++ MAX-ACCESS read-create ++ STATUS obsolete ++ DESCRIPTION ++ "The Subnet Mask that pertains to the Net or ++ Subnet." ++ REFERENCE ++ "OSPF Version 2, Appendix C.2 Area parameters" ++ ::= { ospfAreaRangeEntry 3 } ++ ++ ospfAreaRangeStatus OBJECT-TYPE ++ SYNTAX RowStatus ++ MAX-ACCESS read-create ++ STATUS obsolete ++ DESCRIPTION ++ "This variable displays the status of the en- ++ try. Setting it to 'invalid' has the effect of ++ rendering it inoperative. The internal effect ++ (row removal) is implementation dependent." ++ ::= { ospfAreaRangeEntry 4 } ++ ++ ++ ospfAreaRangeEffect OBJECT-TYPE ++ SYNTAX INTEGER { ++ advertiseMatching (1), ++ doNotAdvertiseMatching (2) ++ } ++ MAX-ACCESS read-create ++ STATUS obsolete ++ DESCRIPTION ++ "Subnets subsumed by ranges either trigger the ++ advertisement of the indicated summary (adver- ++ tiseMatching), or result in the subnet's not ++ being advertised at all outside the area." ++ DEFVAL { advertiseMatching } ++ ::= { ospfAreaRangeEntry 5 } ++ ++ ++ ++-- OSPF Host Table ++ ++-- The Host/Metric Table indicates what hosts are directly ++-- attached to the Router, and what metrics and types of ++-- service should be advertised for them. ++ ++ ospfHostTable OBJECT-TYPE ++ SYNTAX SEQUENCE OF OspfHostEntry ++ MAX-ACCESS not-accessible ++ STATUS current ++ DESCRIPTION ++ "The list of Hosts, and their metrics, that the ++ router will advertise as host routes." ++ REFERENCE ++ "OSPF Version 2, Appendix C.6 Host route param- ++ eters" ++ ::= { ospf 6 } ++ ++ ++ ospfHostEntry OBJECT-TYPE ++ SYNTAX OspfHostEntry ++ MAX-ACCESS not-accessible ++ STATUS current ++ DESCRIPTION ++ "A metric to be advertised, for a given type of ++ service, when a given host is reachable." ++ INDEX { ospfHostIpAddress, ospfHostTOS } ++ ::= { ospfHostTable 1 } ++ ++OspfHostEntry ::= ++ SEQUENCE { ++ ospfHostIpAddress ++ IpAddress, ++ ospfHostTOS ++ TOSType, ++ ospfHostMetric ++ Metric, ++ ospfHostStatus ++ RowStatus, ++ ospfHostAreaID ++ AreaID ++ } ++ ++ ospfHostIpAddress OBJECT-TYPE ++ SYNTAX IpAddress ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The IP Address of the Host." ++ REFERENCE ++ "OSPF Version 2, Appendix C.6 Host route parame- ++ ters" ++ ::= { ospfHostEntry 1 } ++ ++ ++ ospfHostTOS OBJECT-TYPE ++ SYNTAX TOSType ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The Type of Service of the route being config- ++ ured." ++ REFERENCE ++ "OSPF Version 2, Appendix C.6 Host route parame- ++ ters" ++ ::= { ospfHostEntry 2 } ++ ++ ++ ospfHostMetric OBJECT-TYPE ++ SYNTAX Metric ++ MAX-ACCESS read-create ++ STATUS current ++ DESCRIPTION ++ "The Metric to be advertised." ++ REFERENCE ++ "OSPF Version 2, Appendix C.6 Host route parame- ++ ters" ++ ::= { ospfHostEntry 3 } ++ ++ ospfHostStatus OBJECT-TYPE ++ SYNTAX RowStatus ++ MAX-ACCESS read-create ++ STATUS current ++ DESCRIPTION ++ "This variable displays the status of the en- ++ try. Setting it to 'invalid' has the effect of ++ rendering it inoperative. The internal effect ++ (row removal) is implementation dependent." ++ ::= { ospfHostEntry 4 } ++ ++ ++ ospfHostAreaID OBJECT-TYPE ++ SYNTAX AreaID ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The Area the Host Entry is to be found within. ++ By default, the area that a subsuming OSPF in- ++ terface is in, or 0.0.0.0" ++ REFERENCE ++ "OSPF Version 2, Appendix C.2 Area parameters" ++ ::= { ospfHostEntry 5 } ++ ++ ++-- OSPF Interface Table ++ ++-- The OSPF Interface Table augments the ipAddrTable ++-- with OSPF specific information. ++ ++ ospfIfTable OBJECT-TYPE ++ SYNTAX SEQUENCE OF OspfIfEntry ++ MAX-ACCESS not-accessible ++ STATUS current ++ DESCRIPTION ++ "The OSPF Interface Table describes the inter- ++ faces from the viewpoint of OSPF." ++ REFERENCE ++ "OSPF Version 2, Appendix C.3 Router interface ++ parameters" ++ ::= { ospf 7 } ++ ++ ++ ospfIfEntry OBJECT-TYPE ++ SYNTAX OspfIfEntry ++ MAX-ACCESS not-accessible ++ STATUS current ++ DESCRIPTION ++ "The OSPF Interface Entry describes one inter- ++ face from the viewpoint of OSPF." ++ INDEX { ospfIfIpAddress, ospfAddressLessIf } ++ ::= { ospfIfTable 1 } ++ ++OspfIfEntry ::= ++ SEQUENCE { ++ ospfIfIpAddress ++ IpAddress, ++ ospfAddressLessIf ++ Integer32, ++ ospfIfAreaId ++ AreaID, ++ ospfIfType ++ INTEGER, ++ ospfIfAdminStat ++ Status, ++ ospfIfRtrPriority ++ DesignatedRouterPriority, ++ ospfIfTransitDelay ++ UpToMaxAge, ++ ospfIfRetransInterval ++ UpToMaxAge, ++ ospfIfHelloInterval ++ HelloRange, ++ ospfIfRtrDeadInterval ++ PositiveInteger, ++ ospfIfPollInterval ++ PositiveInteger, ++ ospfIfState ++ INTEGER, ++ ospfIfDesignatedRouter ++ IpAddress, ++ ospfIfBackupDesignatedRouter ++ IpAddress, ++ ospfIfEvents ++ Counter32, ++ ospfIfAuthType ++ INTEGER, ++ ospfIfAuthKey ++ OCTET STRING, ++ ospfIfStatus ++ RowStatus, ++ ospfIfMulticastForwarding ++ INTEGER, ++ ospfIfDemand ++ TruthValue ++ } ++ ++ ospfIfIpAddress OBJECT-TYPE ++ SYNTAX IpAddress ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The IP address of this OSPF interface." ++ ::= { ospfIfEntry 1 } ++ ++ ospfAddressLessIf OBJECT-TYPE ++ SYNTAX Integer32 ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "For the purpose of easing the instancing of ++ addressed and addressless interfaces; This ++ variable takes the value 0 on interfaces with ++ IP Addresses, and the corresponding value of ++ ifIndex for interfaces having no IP Address." ++ ::= { ospfIfEntry 2 } ++ ospfIfAreaId OBJECT-TYPE ++ SYNTAX AreaID ++ MAX-ACCESS read-create ++ STATUS current ++ DESCRIPTION ++ "A 32-bit integer uniquely identifying the area ++ to which the interface connects. Area ID ++ 0.0.0.0 is used for the OSPF backbone." ++ DEFVAL { '00000000'H } -- 0.0.0.0 ++ ::= { ospfIfEntry 3 } ++ ++ ospfIfType OBJECT-TYPE ++ SYNTAX INTEGER { ++ broadcast (1), ++ nbma (2), ++ pointToPoint (3), ++ pointToMultipoint (5) ++ } ++ MAX-ACCESS read-create ++ STATUS current ++ DESCRIPTION ++ "The OSPF interface type. ++ ++ By way of a default, this field may be intuited ++ from the corresponding value of ifType. Broad- ++ cast LANs, such as Ethernet and IEEE 802.5, ++ take the value 'broadcast', X.25 and similar ++ technologies take the value 'nbma', and links ++ that are definitively point to point take the ++ value 'pointToPoint'." ++ ::= { ospfIfEntry 4 } ++ ++ ++ ospfIfAdminStat OBJECT-TYPE ++ SYNTAX Status ++ MAX-ACCESS read-create ++ STATUS current ++ DESCRIPTION ++ "The OSPF interface's administrative status. ++ The value formed on the interface, and the in- ++ terface will be advertised as an internal route ++ to some area. The value 'disabled' denotes ++ that the interface is external to OSPF." ++ DEFVAL { enabled } ++ ::= { ospfIfEntry 5 } ++ ++ ospfIfRtrPriority OBJECT-TYPE ++ SYNTAX DesignatedRouterPriority ++ MAX-ACCESS read-create ++ STATUS current ++ DESCRIPTION ++ "The priority of this interface. Used in ++ multi-access networks, this field is used in ++ the designated router election algorithm. The ++ value 0 signifies that the router is not eligi- ++ ble to become the designated router on this ++ particular network. In the event of a tie in ++ this value, routers will use their Router ID as ++ a tie breaker." ++ DEFVAL { 1 } ++ ::= { ospfIfEntry 6 } ++ ++ ++ ospfIfTransitDelay OBJECT-TYPE ++ SYNTAX UpToMaxAge ++ MAX-ACCESS read-create ++ STATUS current ++ DESCRIPTION ++ "The estimated number of seconds it takes to ++ transmit a link state update packet over this ++ interface." ++ DEFVAL { 1 } ++ ::= { ospfIfEntry 7 } ++ ++ ++ ospfIfRetransInterval OBJECT-TYPE ++ SYNTAX UpToMaxAge ++ MAX-ACCESS read-create ++ STATUS current ++ DESCRIPTION ++ "The number of seconds between link-state ad- ++ vertisement retransmissions, for adjacencies ++ belonging to this interface. This value is ++ also used when retransmitting database descrip- ++ tion and link-state request packets." ++ DEFVAL { 5 } ++ ::= { ospfIfEntry 8 } ++ ++ ++ ospfIfHelloInterval OBJECT-TYPE ++ SYNTAX HelloRange ++ MAX-ACCESS read-create ++ STATUS current ++ DESCRIPTION ++ "The length of time, in seconds, between the ++ Hello packets that the router sends on the in- ++ terface. This value must be the same for all ++ routers attached to a common network." ++ DEFVAL { 10 } ++ ::= { ospfIfEntry 9 } ++ ++ ++ ospfIfRtrDeadInterval OBJECT-TYPE ++ SYNTAX PositiveInteger ++ MAX-ACCESS read-create ++ STATUS current ++ DESCRIPTION ++ "The number of seconds that a router's Hello ++ packets have not been seen before it's neigh- ++ bors declare the router down. This should be ++ some multiple of the Hello interval. This ++ value must be the same for all routers attached ++ to a common network." ++ DEFVAL { 40 } ++ ::= { ospfIfEntry 10 } ++ ++ ++ ospfIfPollInterval OBJECT-TYPE ++ SYNTAX PositiveInteger ++ MAX-ACCESS read-create ++ STATUS current ++ DESCRIPTION ++ "The larger time interval, in seconds, between ++ the Hello packets sent to an inactive non- ++ broadcast multi- access neighbor." ++ DEFVAL { 120 } ++ ::= { ospfIfEntry 11 } ++ ++ ++ ospfIfState OBJECT-TYPE ++ SYNTAX INTEGER { ++ down (1), ++ loopback (2), ++ waiting (3), ++ pointToPoint (4), ++ designatedRouter (5), ++ backupDesignatedRouter (6), ++ otherDesignatedRouter (7) ++ } ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The OSPF Interface State." ++ DEFVAL { down } ++ ::= { ospfIfEntry 12 } ++ ++ ++ ospfIfDesignatedRouter OBJECT-TYPE ++ SYNTAX IpAddress ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The IP Address of the Designated Router." ++ DEFVAL { '00000000'H } -- 0.0.0.0 ++ ::= { ospfIfEntry 13 } ++ ++ ++ ospfIfBackupDesignatedRouter OBJECT-TYPE ++ SYNTAX IpAddress ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The IP Address of the Backup Designated ++ Router." ++ DEFVAL { '00000000'H } -- 0.0.0.0 ++ ::= { ospfIfEntry 14 } ++ ++ ospfIfEvents OBJECT-TYPE ++ SYNTAX Counter32 ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The number of times this OSPF interface has ++ changed its state, or an error has occurred." ++ ::= { ospfIfEntry 15 } ++ ++ ++ ospfIfAuthKey OBJECT-TYPE ++ SYNTAX OCTET STRING (SIZE (0..256)) ++ MAX-ACCESS read-create ++ STATUS current ++ DESCRIPTION ++ "The Authentication Key. If the Area's Author- ++ ization Type is simplePassword, and the key ++ length is shorter than 8 octets, the agent will ++ left adjust and zero fill to 8 octets. ++ ++ Note that unauthenticated interfaces need no ++ authentication key, and simple password authen- ++ tication cannot use a key of more than 8 oc- ++ tets. Larger keys are useful only with authen- ++ tication mechanisms not specified in this docu- ++ ment. ++ ++ When read, ospfIfAuthKey always returns an Oc- ++ tet String of length zero." ++ REFERENCE ++ "OSPF Version 2, Section 9 The Interface Data ++ Structure" ++ DEFVAL { '0000000000000000'H } -- 0.0.0.0.0.0.0.0 ++ ::= { ospfIfEntry 16 } ++ ++ ospfIfStatus OBJECT-TYPE ++ SYNTAX RowStatus ++ MAX-ACCESS read-create ++ STATUS current ++ DESCRIPTION ++ "This variable displays the status of the en- ++ try. Setting it to 'invalid' has the effect of ++ rendering it inoperative. The internal effect ++ (row removal) is implementation dependent." ++ ::= { ospfIfEntry 17 } ++ ++ ++ ospfIfMulticastForwarding OBJECT-TYPE ++ SYNTAX INTEGER { ++ blocked (1), -- no multicast forwarding ++ multicast (2), -- using multicast address ++ unicast (3) -- to each OSPF neighbor ++ } ++ MAX-ACCESS read-create ++ STATUS current ++ DESCRIPTION ++ "The way multicasts should forwarded on this ++ interface; not forwarded, forwarded as data ++ link multicasts, or forwarded as data link uni- ++ casts. Data link multicasting is not meaning- ++ ful on point to point and NBMA interfaces, and ++ setting ospfMulticastForwarding to 0 effective- ++ ly disables all multicast forwarding." ++ DEFVAL { blocked } ++ ::= { ospfIfEntry 18 } ++ ++ ++ ospfIfDemand OBJECT-TYPE ++ SYNTAX TruthValue ++ MAX-ACCESS read-create ++ STATUS current ++ DESCRIPTION ++ "Indicates whether Demand OSPF procedures (hel- ++ lo supression to FULL neighbors and setting the ++ DoNotAge flag on proogated LSAs) should be per- ++ formed on this interface." ++ DEFVAL { false } ++ ::= { ospfIfEntry 19 } ++ ++ ++ ospfIfAuthType OBJECT-TYPE ++ SYNTAX INTEGER (0..255) ++ -- none (0), ++ -- simplePassword (1) ++ -- md5 (2) ++ -- reserved for specification by IANA (> 2) ++ MAX-ACCESS read-create ++ STATUS current ++ DESCRIPTION ++ "The authentication type specified for an in- ++ terface. Additional authentication types may ++ be assigned locally." ++ REFERENCE ++ "OSPF Version 2, Appendix E Authentication" ++ DEFVAL { 0 } -- no authentication, by default ++ ::= { ospfIfEntry 20 } ++ ++ ++-- OSPF Interface Metric Table ++ ++-- The Metric Table describes the metrics to be advertised ++-- for a specified interface at the various types of service. ++-- As such, this table is an adjunct of the OSPF Interface ++-- Table. ++ ++-- Types of service, as defined by RFC 791, have the ability ++-- to request low delay, high bandwidth, or reliable linkage. ++ ++-- For the purposes of this specification, the measure of ++-- bandwidth ++ ++-- Metric = 10^8 / ifSpeed ++ ++-- is the default value. For multiple link interfaces, note ++-- that ifSpeed is the sum of the individual link speeds. ++-- This yields a number having the following typical values: ++ ++-- Network Type/bit rate Metric ++ ++-- >= 100 MBPS 1 ++-- Ethernet/802.3 10 ++-- E1 48 ++-- T1 (ESF) 65 ++-- 64 KBPS 1562 ++-- 56 KBPS 1785 ++-- 19.2 KBPS 5208 ++-- 9.6 KBPS 10416 ++ ++-- Routes that are not specified use the default (TOS 0) metric ++ ++ ospfIfMetricTable OBJECT-TYPE ++ SYNTAX SEQUENCE OF OspfIfMetricEntry ++ MAX-ACCESS not-accessible ++ STATUS current ++ DESCRIPTION ++ "The TOS metrics for a non-virtual interface ++ identified by the interface index." ++ REFERENCE ++ "OSPF Version 2, Appendix C.3 Router interface ++ parameters" ++ ::= { ospf 8 } ++ ++ ospfIfMetricEntry OBJECT-TYPE ++ SYNTAX OspfIfMetricEntry ++ MAX-ACCESS not-accessible ++ STATUS current ++ DESCRIPTION ++ "A particular TOS metric for a non-virtual in- ++ terface identified by the interface index." ++ REFERENCE ++ "OSPF Version 2, Appendix C.3 Router interface ++ parameters" ++ INDEX { ospfIfMetricIpAddress, ++ ospfIfMetricAddressLessIf, ++ ospfIfMetricTOS } ++ ::= { ospfIfMetricTable 1 } ++ ++OspfIfMetricEntry ::= ++ SEQUENCE { ++ ospfIfMetricIpAddress ++ IpAddress, ++ ospfIfMetricAddressLessIf ++ Integer32, ++ ospfIfMetricTOS ++ TOSType, ++ ospfIfMetricValue ++ Metric, ++ ospfIfMetricStatus ++ RowStatus ++ } ++ ++ ospfIfMetricIpAddress OBJECT-TYPE ++ SYNTAX IpAddress ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The IP address of this OSPF interface. On row ++ creation, this can be derived from the in- ++ stance." ++ ::= { ospfIfMetricEntry 1 } ++ ++ ospfIfMetricAddressLessIf OBJECT-TYPE ++ SYNTAX Integer32 ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "For the purpose of easing the instancing of ++ addressed and addressless interfaces; This ++ variable takes the value 0 on interfaces with ++ IP Addresses, and the value of ifIndex for in- ++ terfaces having no IP Address. On row crea- ++ tion, this can be derived from the instance." ++ ::= { ospfIfMetricEntry 2 } ++ ++ ++ ospfIfMetricTOS OBJECT-TYPE ++ SYNTAX TOSType ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The type of service metric being referenced. ++ On row creation, this can be derived from the ++ instance." ++ ::= { ospfIfMetricEntry 3 } ++ ++ ++ ospfIfMetricValue OBJECT-TYPE ++ SYNTAX Metric ++ MAX-ACCESS read-create ++ STATUS current ++ DESCRIPTION ++ "The metric of using this type of service on ++ this interface. The default value of the TOS 0 ++ Metric is 10^8 / ifSpeed." ++ ::= { ospfIfMetricEntry 4 } ++ ++ ospfIfMetricStatus OBJECT-TYPE ++ SYNTAX RowStatus ++ MAX-ACCESS read-create ++ STATUS current ++ DESCRIPTION ++ "This variable displays the status of the en- ++ try. Setting it to 'invalid' has the effect of ++ rendering it inoperative. The internal effect ++ (row removal) is implementation dependent." ++ ::= { ospfIfMetricEntry 5 } ++ ++ ++-- OSPF Virtual Interface Table ++ ++-- The Virtual Interface Table describes the virtual ++-- links that the OSPF Process is configured to ++-- carry on. ++ ++ ospfVirtIfTable OBJECT-TYPE ++ SYNTAX SEQUENCE OF OspfVirtIfEntry ++ MAX-ACCESS not-accessible ++ STATUS current ++ DESCRIPTION ++ "Information about this router's virtual inter- ++ faces." ++ REFERENCE ++ "OSPF Version 2, Appendix C.4 Virtual link ++ parameters" ++ ::= { ospf 9 } ++ ++ ++ ospfVirtIfEntry OBJECT-TYPE ++ SYNTAX OspfVirtIfEntry ++ MAX-ACCESS not-accessible ++ STATUS current ++ DESCRIPTION ++ "Information about a single Virtual Interface." ++ INDEX { ospfVirtIfAreaId, ospfVirtIfNeighbor } ++ ::= { ospfVirtIfTable 1 } ++ ++OspfVirtIfEntry ::= ++ SEQUENCE { ++ ospfVirtIfAreaId ++ AreaID, ++ ospfVirtIfNeighbor ++ RouterID, ++ ospfVirtIfTransitDelay ++ UpToMaxAge, ++ ospfVirtIfRetransInterval ++ UpToMaxAge, ++ ospfVirtIfHelloInterval ++ HelloRange, ++ ospfVirtIfRtrDeadInterval ++ PositiveInteger, ++ ospfVirtIfState ++ INTEGER, ++ ospfVirtIfEvents ++ Counter32, ++ ospfVirtIfAuthType ++ INTEGER, ++ ospfVirtIfAuthKey ++ OCTET STRING, ++ ospfVirtIfStatus ++ RowStatus ++ } ++ ++ ospfVirtIfAreaId OBJECT-TYPE ++ SYNTAX AreaID ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The Transit Area that the Virtual Link ++ traverses. By definition, this is not 0.0.0.0" ++ ::= { ospfVirtIfEntry 1 } ++ ++ ++ ospfVirtIfNeighbor OBJECT-TYPE ++ SYNTAX RouterID ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The Router ID of the Virtual Neighbor." ++ ::= { ospfVirtIfEntry 2 } ++ ++ ++ ospfVirtIfTransitDelay OBJECT-TYPE ++ SYNTAX UpToMaxAge ++ MAX-ACCESS read-create ++ STATUS current ++ DESCRIPTION ++ "The estimated number of seconds it takes to ++ transmit a link- state update packet over this ++ interface." ++ DEFVAL { 1 } ++ ::= { ospfVirtIfEntry 3 } ++ ++ ++ ospfVirtIfRetransInterval OBJECT-TYPE ++ SYNTAX UpToMaxAge ++ MAX-ACCESS read-create ++ STATUS current ++ DESCRIPTION ++ "The number of seconds between link-state ad- ++ vertisement retransmissions, for adjacencies ++ belonging to this interface. This value is ++ also used when retransmitting database descrip- ++ tion and link-state request packets. This ++ value should be well over the expected round- ++ trip time." ++ DEFVAL { 5 } ++ ::= { ospfVirtIfEntry 4 } ++ ++ ++ ospfVirtIfHelloInterval OBJECT-TYPE ++ SYNTAX HelloRange ++ MAX-ACCESS read-create ++ STATUS current ++ DESCRIPTION ++ "The length of time, in seconds, between the ++ Hello packets that the router sends on the in- ++ terface. This value must be the same for the ++ virtual neighbor." ++ DEFVAL { 10 } ++ ::= { ospfVirtIfEntry 5 } ++ ++ ++ ospfVirtIfRtrDeadInterval OBJECT-TYPE ++ SYNTAX PositiveInteger ++ MAX-ACCESS read-create ++ STATUS current ++ DESCRIPTION ++ "The number of seconds that a router's Hello ++ packets have not been seen before it's neigh- ++ bors declare the router down. This should be ++ some multiple of the Hello interval. This ++ value must be the same for the virtual neigh- ++ bor." ++ DEFVAL { 60 } ++ ::= { ospfVirtIfEntry 6 } ++ ++ ++ ospfVirtIfState OBJECT-TYPE ++ SYNTAX INTEGER { ++ down (1), -- these use the same encoding ++ pointToPoint (4) -- as the ospfIfTable ++ } ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "OSPF virtual interface states." ++ DEFVAL { down } ++ ::= { ospfVirtIfEntry 7 } ++ ++ ++ ospfVirtIfEvents OBJECT-TYPE ++ SYNTAX Counter32 ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The number of state changes or error events on ++ this Virtual Link" ++ ::= { ospfVirtIfEntry 8 } ++ ++ ++ ospfVirtIfAuthKey OBJECT-TYPE ++ SYNTAX OCTET STRING (SIZE(0..256)) ++ MAX-ACCESS read-create ++ STATUS current ++ DESCRIPTION ++ "If Authentication Type is simplePassword, the ++ device will left adjust and zero fill to 8 oc- ++ tets. ++ ++ Note that unauthenticated interfaces need no ++ authentication key, and simple password authen- ++ tication cannot use a key of more than 8 oc- ++ tets. Larger keys are useful only with authen- ++ tication mechanisms not specified in this docu- ++ ment. ++ ++ When read, ospfVifAuthKey always returns a ++ string of length zero." ++ REFERENCE ++ "OSPF Version 2, Section 9 The Interface Data ++ Structure" ++ DEFVAL { '0000000000000000'H } -- 0.0.0.0.0.0.0.0 ++ ::= { ospfVirtIfEntry 9 } ++ ++ ++ ospfVirtIfStatus OBJECT-TYPE ++ SYNTAX RowStatus ++ MAX-ACCESS read-create ++ STATUS current ++ DESCRIPTION ++ "This variable displays the status of the en- ++ try. Setting it to 'invalid' has the effect of ++ rendering it inoperative. The internal effect ++ (row removal) is implementation dependent." ++ ::= { ospfVirtIfEntry 10 } ++ ++ ++ ospfVirtIfAuthType OBJECT-TYPE ++ SYNTAX INTEGER (0..255) ++ -- none (0), ++ -- simplePassword (1) ++ -- md5 (2) ++ -- reserved for specification by IANA (> 2) ++ MAX-ACCESS read-create ++ STATUS current ++ DESCRIPTION ++ "The authentication type specified for a virtu- ++ al interface. Additional authentication types ++ may be assigned locally." ++ REFERENCE ++ "OSPF Version 2, Appendix E Authentication" ++ DEFVAL { 0 } -- no authentication, by default ++ ::= { ospfVirtIfEntry 11 } ++ ++ ++-- OSPF Neighbor Table ++ ++-- The OSPF Neighbor Table describes all neighbors in ++-- the locality of the subject router. ++ ++ ospfNbrTable OBJECT-TYPE ++ SYNTAX SEQUENCE OF OspfNbrEntry ++ MAX-ACCESS not-accessible ++ STATUS current ++ DESCRIPTION ++ "A table of non-virtual neighbor information." ++ REFERENCE ++ "OSPF Version 2, Section 10 The Neighbor Data ++ Structure" ++ ::= { ospf 10 } ++ ++ ++ ospfNbrEntry OBJECT-TYPE ++ SYNTAX OspfNbrEntry ++ MAX-ACCESS not-accessible ++ STATUS current ++ DESCRIPTION ++ "The information regarding a single neighbor." ++ REFERENCE ++ "OSPF Version 2, Section 10 The Neighbor Data ++ Structure" ++ INDEX { ospfNbrIpAddr, ospfNbrAddressLessIndex } ++ ::= { ospfNbrTable 1 } ++ ++OspfNbrEntry ::= ++ SEQUENCE { ++ ospfNbrIpAddr ++ IpAddress, ++ ospfNbrAddressLessIndex ++ InterfaceIndex, ++ ospfNbrRtrId ++ RouterID, ++ ospfNbrOptions ++ Integer32, ++ ospfNbrPriority ++ DesignatedRouterPriority, ++ ospfNbrState ++ INTEGER, ++ ospfNbrEvents ++ Counter32, ++ ospfNbrLsRetransQLen ++ Gauge32, ++ ospfNbmaNbrStatus ++ RowStatus, ++ ospfNbmaNbrPermanence ++ INTEGER, ++ ospfNbrHelloSuppressed ++ TruthValue ++ } ++ ++ ospfNbrIpAddr OBJECT-TYPE ++ SYNTAX IpAddress ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The IP address this neighbor is using in its ++ IP Source Address. Note that, on addressless ++ links, this will not be 0.0.0.0, but the ad- ++ dress of another of the neighbor's interfaces." ++ ::= { ospfNbrEntry 1 } ++ ++ ++ ospfNbrAddressLessIndex OBJECT-TYPE ++ SYNTAX InterfaceIndex ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "On an interface having an IP Address, zero. ++ On addressless interfaces, the corresponding ++ value of ifIndex in the Internet Standard MIB. ++ On row creation, this can be derived from the ++ instance." ++ ::= { ospfNbrEntry 2 } ++ ++ ++ ospfNbrRtrId OBJECT-TYPE ++ SYNTAX RouterID ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "A 32-bit integer (represented as a type IpAd- ++ dress) uniquely identifying the neighboring ++ router in the Autonomous System." ++ DEFVAL { '00000000'H } -- 0.0.0.0 ++ ::= { ospfNbrEntry 3 } ++ ++ ++ ospfNbrOptions OBJECT-TYPE ++ SYNTAX Integer32 ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "A Bit Mask corresponding to the neighbor's op- ++ tions field. ++ ++ Bit 0, if set, indicates that the system will ++ operate on Type of Service metrics other than ++ TOS 0. If zero, the neighbor will ignore all ++ metrics except the TOS 0 metric. ++ ++ Bit 1, if set, indicates that the associated ++ area accepts and operates on external informa- ++ tion; if zero, it is a stub area. ++ ++ Bit 2, if set, indicates that the system is ca- ++ pable of routing IP Multicast datagrams; i.e., ++ that it implements the Multicast Extensions to ++ OSPF. ++ ++ Bit 3, if set, indicates that the associated ++ area is an NSSA. These areas are capable of ++ carrying type 7 external advertisements, which ++ are translated into type 5 external advertise- ++ ments at NSSA borders." ++ REFERENCE ++ "OSPF Version 2, Section 12.1.2 Options" ++ DEFVAL { 0 } ++ ::= { ospfNbrEntry 4 } ++ ++ ++ ospfNbrPriority OBJECT-TYPE ++ SYNTAX DesignatedRouterPriority ++ MAX-ACCESS read-create ++ STATUS current ++ DESCRIPTION ++ "The priority of this neighbor in the designat- ++ ed router election algorithm. The value 0 sig- ++ nifies that the neighbor is not eligible to be- ++ come the designated router on this particular ++ network." ++ DEFVAL { 1 } ++ ::= { ospfNbrEntry 5 } ++ ++ ++ ospfNbrState OBJECT-TYPE ++ SYNTAX INTEGER { ++ down (1), ++ attempt (2), ++ init (3), ++ twoWay (4), ++ exchangeStart (5), ++ exchange (6), ++ loading (7), ++ full (8) ++ } ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The State of the relationship with this Neigh- ++ bor." ++ REFERENCE ++ "OSPF Version 2, Section 10.1 Neighbor States" ++ DEFVAL { down } ++ ::= { ospfNbrEntry 6 } ++ ++ ++ ospfNbrEvents OBJECT-TYPE ++ SYNTAX Counter32 ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The number of times this neighbor relationship ++ has changed state, or an error has occurred." ++ ::= { ospfNbrEntry 7 } ++ ++ ++ ospfNbrLsRetransQLen OBJECT-TYPE ++ SYNTAX Gauge32 ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The current length of the retransmission ++ queue." ++ ::= { ospfNbrEntry 8 } ++ ++ ++ ospfNbmaNbrStatus OBJECT-TYPE ++ SYNTAX RowStatus ++ MAX-ACCESS read-create ++ STATUS current ++ DESCRIPTION ++ "This variable displays the status of the en- ++ try. Setting it to 'invalid' has the effect of ++ rendering it inoperative. The internal effect ++ (row removal) is implementation dependent." ++ ::= { ospfNbrEntry 9 } ++ ++ ++ ospfNbmaNbrPermanence OBJECT-TYPE ++ SYNTAX INTEGER { ++ dynamic (1), -- learned through protocol ++ permanent (2) -- configured address ++ } ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "This variable displays the status of the en- ++ try. 'dynamic' and 'permanent' refer to how ++ the neighbor became known." ++ DEFVAL { permanent } ++ ::= { ospfNbrEntry 10 } ++ ++ ++ ospfNbrHelloSuppressed OBJECT-TYPE ++ SYNTAX TruthValue ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "Indicates whether Hellos are being suppressed ++ to the neighbor" ++ ::= { ospfNbrEntry 11 } ++ ++ ++-- OSPF Virtual Neighbor Table ++ ++-- This table describes all virtual neighbors. ++-- Since Virtual Links are configured in the ++-- virtual interface table, this table is read-only. ++ ++ ospfVirtNbrTable OBJECT-TYPE ++ SYNTAX SEQUENCE OF OspfVirtNbrEntry ++ MAX-ACCESS not-accessible ++ STATUS current ++ DESCRIPTION ++ "A table of virtual neighbor information." ++ REFERENCE ++ "OSPF Version 2, Section 15 Virtual Links" ++ ::= { ospf 11 } ++ ++ ++ ospfVirtNbrEntry OBJECT-TYPE ++ SYNTAX OspfVirtNbrEntry ++ MAX-ACCESS not-accessible ++ STATUS current ++ DESCRIPTION ++ "Virtual neighbor information." ++ INDEX { ospfVirtNbrArea, ospfVirtNbrRtrId } ++ ::= { ospfVirtNbrTable 1 } ++ ++OspfVirtNbrEntry ::= ++ SEQUENCE { ++ ospfVirtNbrArea ++ AreaID, ++ ospfVirtNbrRtrId ++ RouterID, ++ ospfVirtNbrIpAddr ++ IpAddress, ++ ospfVirtNbrOptions ++ Integer32, ++ ospfVirtNbrState ++ INTEGER, ++ ospfVirtNbrEvents ++ Counter32, ++ ospfVirtNbrLsRetransQLen ++ Gauge32, ++ ospfVirtNbrHelloSuppressed ++ TruthValue ++ } ++ ++ ospfVirtNbrArea OBJECT-TYPE ++ SYNTAX AreaID ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The Transit Area Identifier." ++ ::= { ospfVirtNbrEntry 1 } ++ ++ ++ ospfVirtNbrRtrId OBJECT-TYPE ++ SYNTAX RouterID ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "A 32-bit integer uniquely identifying the ++ neighboring router in the Autonomous System." ++ ::= { ospfVirtNbrEntry 2 } ++ ++ ++ ospfVirtNbrIpAddr OBJECT-TYPE ++ SYNTAX IpAddress ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The IP address this Virtual Neighbor is us- ++ ing." ++ ::= { ospfVirtNbrEntry 3 } ++ ++ ++ ospfVirtNbrOptions OBJECT-TYPE ++ SYNTAX Integer32 ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "A Bit Mask corresponding to the neighbor's op- ++ tions field. ++ ++ Bit 1, if set, indicates that the system will ++ operate on Type of Service metrics other than ++ TOS 0. If zero, the neighbor will ignore all ++ metrics except the TOS 0 metric. ++ ++ Bit 2, if set, indicates that the system is ++ Network Multicast capable; ie, that it imple- ++ ments OSPF Multicast Routing." ++ ::= { ospfVirtNbrEntry 4 } ++ ospfVirtNbrState OBJECT-TYPE ++ SYNTAX INTEGER { ++ down (1), ++ attempt (2), ++ init (3), ++ twoWay (4), ++ exchangeStart (5), ++ exchange (6), ++ loading (7), ++ full (8) ++ } ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The state of the Virtual Neighbor Relation- ++ ship." ++ ::= { ospfVirtNbrEntry 5 } ++ ++ ++ ospfVirtNbrEvents OBJECT-TYPE ++ SYNTAX Counter32 ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The number of times this virtual link has ++ changed its state, or an error has occurred." ++ ::= { ospfVirtNbrEntry 6 } ++ ++ ++ ospfVirtNbrLsRetransQLen OBJECT-TYPE ++ SYNTAX Gauge32 ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The current length of the retransmission ++ queue." ++ ::= { ospfVirtNbrEntry 7 } ++ ++ ++ ospfVirtNbrHelloSuppressed OBJECT-TYPE ++ SYNTAX TruthValue ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "Indicates whether Hellos are being suppressed ++ to the neighbor" ++ ::= { ospfVirtNbrEntry 8 } ++ ++-- OSPF Link State Database, External ++ ++-- The Link State Database contains the Link State ++-- Advertisements from throughout the areas that the ++-- device is attached to. ++ ++-- This table is identical to the OSPF LSDB Table in ++-- format, but contains only External Link State ++-- Advertisements. The purpose is to allow external ++-- LSAs to be displayed once for the router rather ++-- than once in each non-stub area. ++ ++ ospfExtLsdbTable OBJECT-TYPE ++ SYNTAX SEQUENCE OF OspfExtLsdbEntry ++ MAX-ACCESS not-accessible ++ STATUS current ++ DESCRIPTION ++ "The OSPF Process's Links State Database." ++ REFERENCE ++ "OSPF Version 2, Section 12 Link State Adver- ++ tisements" ++ ::= { ospf 12 } ++ ++ ++ ospfExtLsdbEntry OBJECT-TYPE ++ SYNTAX OspfExtLsdbEntry ++ MAX-ACCESS not-accessible ++ STATUS current ++ DESCRIPTION ++ "A single Link State Advertisement." ++ INDEX { ospfExtLsdbType, ospfExtLsdbLsid, ospfExtLsdbRouterId } ++ ::= { ospfExtLsdbTable 1 } ++ ++OspfExtLsdbEntry ::= ++ SEQUENCE { ++ ospfExtLsdbType ++ INTEGER, ++ ospfExtLsdbLsid ++ IpAddress, ++ ospfExtLsdbRouterId ++ RouterID, ++ ospfExtLsdbSequence ++ Integer32, ++ ospfExtLsdbAge ++ Integer32, ++ ospfExtLsdbChecksum ++ Integer32, ++ ospfExtLsdbAdvertisement ++ OCTET STRING ++ } ++ ++ ospfExtLsdbType OBJECT-TYPE ++ SYNTAX INTEGER { ++ asExternalLink (5) ++ } ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The type of the link state advertisement. ++ Each link state type has a separate advertise- ++ ment format." ++ REFERENCE ++ "OSPF Version 2, Appendix A.4.1 The Link State ++ Advertisement header" ++ ::= { ospfExtLsdbEntry 1 } ++ ++ ++ ospfExtLsdbLsid OBJECT-TYPE ++ SYNTAX IpAddress ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The Link State ID is an LS Type Specific field ++ containing either a Router ID or an IP Address; ++ it identifies the piece of the routing domain ++ that is being described by the advertisement." ++ REFERENCE ++ "OSPF Version 2, Section 12.1.4 Link State ID" ++ ::= { ospfExtLsdbEntry 2 } ++ ++ ++ ospfExtLsdbRouterId OBJECT-TYPE ++ SYNTAX RouterID ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The 32 bit number that uniquely identifies the ++ originating router in the Autonomous System." ++ REFERENCE ++ "OSPF Version 2, Appendix C.1 Global parameters" ++ ::= { ospfExtLsdbEntry 3 } ++ ++-- Note that the OSPF Sequence Number is a 32 bit signed ++-- integer. It starts with the value '80000001'h, ++-- or -'7FFFFFFF'h, and increments until '7FFFFFFF'h ++-- Thus, a typical sequence number will be very negative. ++ ospfExtLsdbSequence OBJECT-TYPE ++ SYNTAX Integer32 ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The sequence number field is a signed 32-bit ++ integer. It is used to detect old and dupli- ++ cate link state advertisements. The space of ++ sequence numbers is linearly ordered. The ++ larger the sequence number the more recent the ++ advertisement." ++ REFERENCE ++ "OSPF Version 2, Section 12.1.6 LS sequence ++ number" ++ ::= { ospfExtLsdbEntry 4 } ++ ++ ++ ospfExtLsdbAge OBJECT-TYPE ++ SYNTAX Integer32 -- Should be 0..MaxAge ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "This field is the age of the link state adver- ++ tisement in seconds." ++ REFERENCE ++ "OSPF Version 2, Section 12.1.1 LS age" ++ ::= { ospfExtLsdbEntry 5 } ++ ++ ++ ospfExtLsdbChecksum OBJECT-TYPE ++ SYNTAX Integer32 ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "This field is the checksum of the complete ++ contents of the advertisement, excepting the ++ age field. The age field is excepted so that ++ an advertisement's age can be incremented ++ without updating the checksum. The checksum ++ used is the same that is used for ISO connec- ++ tionless datagrams; it is commonly referred to ++ as the Fletcher checksum." ++ REFERENCE ++ "OSPF Version 2, Section 12.1.7 LS checksum" ++ ::= { ospfExtLsdbEntry 6 } ++ ++ ++ ospfExtLsdbAdvertisement OBJECT-TYPE ++ SYNTAX OCTET STRING (SIZE(36)) ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The entire Link State Advertisement, including ++ its header." ++ REFERENCE ++ "OSPF Version 2, Section 12 Link State Adver- ++ tisements" ++ ::= { ospfExtLsdbEntry 7 } ++ ++ ++-- OSPF Use of the CIDR Route Table ++ ++ospfRouteGroup OBJECT IDENTIFIER ::= { ospf 13 } ++ ++-- The IP Forwarding Table defines a number of objects for use by ++-- the routing protocol to externalize its information. Most of ++-- the variables (ipForwardDest, ipForwardMask, ipForwardPolicy, ++-- ipForwardNextHop, ipForwardIfIndex, ipForwardType, ++-- ipForwardProto, ipForwardAge, and ipForwardNextHopAS) are ++-- defined there. ++ ++-- Those that leave some discretion are defined here. ++ ++-- ipCidrRouteProto is, of course, ospf (13). ++ ++-- ipCidrRouteAge is the time since the route was first calculated, ++-- as opposed to the time since the last SPF run. ++ ++-- ipCidrRouteInfo is an OBJECT IDENTIFIER for use by the routing ++-- protocol. The following values shall be found there depending ++-- on the way the route was calculated. ++ ++ospfIntraArea OBJECT IDENTIFIER ::= { ospfRouteGroup 1 } ++ospfInterArea OBJECT IDENTIFIER ::= { ospfRouteGroup 2 } ++ospfExternalType1 OBJECT IDENTIFIER ::= { ospfRouteGroup 3 } ++ospfExternalType2 OBJECT IDENTIFIER ::= { ospfRouteGroup 4 } ++ ++-- ipCidrRouteMetric1 is, by definition, the primary routing ++-- metric. Therefore, it should be the metric that route ++-- selection is based on. For intra-area and inter-area routes, ++-- it is an OSPF metric. For External Type 1 (comparable value) ++-- routes, it is an OSPF metric plus the External Metric. For ++-- external Type 2 (non-comparable value) routes, it is the ++-- external metric. ++ ++-- ipCidrRouteMetric2 is, by definition, a secondary routing ++-- metric. Therefore, it should be the metric that breaks a tie ++-- among routes having equal metric1 values and the same ++-- calculation rule. For intra-area, inter-area routes, and ++-- External Type 1 (comparable value) routes, it is unused. For ++-- external Type 2 (non-comparable value) routes, it is the metric ++-- to the AS border router. ++ ++-- ipCidrRouteMetric3, ipCidrRouteMetric4, and ipCidrRouteMetric5 are ++-- unused. ++ ++-- ++-- The OSPF Area Aggregate Table ++-- ++-- This table replaces the OSPF Area Summary Table, being an ++-- extension of that for CIDR routers. ++ ++ ospfAreaAggregateTable OBJECT-TYPE ++ SYNTAX SEQUENCE OF OspfAreaAggregateEntry ++ MAX-ACCESS not-accessible ++ STATUS current ++ DESCRIPTION ++ "A range of IP addresses specified by an IP ++ address/IP network mask pair. For example, ++ class B address range of X.X.X.X with a network ++ mask of 255.255.0.0 includes all IP addresses ++ from X.X.0.0 to X.X.255.255. Note that if ++ ranges are configured such that one range sub- ++ sumes another range (e.g., 10.0.0.0 mask ++ 255.0.0.0 and 10.1.0.0 mask 255.255.0.0), the ++ most specific match is the preferred one." ++ REFERENCE ++ "OSPF Version 2, Appendix C.2 Area parameters" ++ ::= { ospf 14 } ++ ++ ++ ospfAreaAggregateEntry OBJECT-TYPE ++ SYNTAX OspfAreaAggregateEntry ++ MAX-ACCESS not-accessible ++ STATUS current ++ DESCRIPTION ++ "A range of IP addresses specified by an IP ++ address/IP network mask pair. For example, ++ class B address range of X.X.X.X with a network ++ mask of 255.255.0.0 includes all IP addresses ++ from X.X.0.0 to X.X.255.255. Note that if ++ ranges are range configured such that one range ++ subsumes another range (e.g., 10.0.0.0 mask ++ 255.0.0.0 and 10.1.0.0 mask 255.255.0.0), the ++ most specific match is the preferred one." ++ REFERENCE ++ "OSPF Version 2, Appendix C.2 Area parameters" ++ INDEX { ospfAreaAggregateAreaID, ospfAreaAggregateLsdbType, ++ ospfAreaAggregateNet, ospfAreaAggregateMask } ++ ::= { ospfAreaAggregateTable 1 } ++ ++ ++OspfAreaAggregateEntry ::= ++ SEQUENCE { ++ ospfAreaAggregateAreaID ++ AreaID, ++ ospfAreaAggregateLsdbType ++ INTEGER, ++ ospfAreaAggregateNet ++ IpAddress, ++ ospfAreaAggregateMask ++ IpAddress, ++ ospfAreaAggregateStatus ++ RowStatus, ++ ospfAreaAggregateEffect ++ INTEGER ++ } ++ ++ ospfAreaAggregateAreaID OBJECT-TYPE ++ SYNTAX AreaID ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The Area the Address Aggregate is to be found ++ within." ++ REFERENCE ++ "OSPF Version 2, Appendix C.2 Area parameters" ++ ::= { ospfAreaAggregateEntry 1 } ++ ++ ++ ospfAreaAggregateLsdbType OBJECT-TYPE ++ SYNTAX INTEGER { ++ summaryLink (3), ++ nssaExternalLink (7) ++ } ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The type of the Address Aggregate. This field ++ specifies the Lsdb type that this Address Ag- ++ gregate applies to." ++ REFERENCE ++ "OSPF Version 2, Appendix A.4.1 The Link State ++ Advertisement header" ++ ::= { ospfAreaAggregateEntry 2 } ++ ++ ++ ospfAreaAggregateNet OBJECT-TYPE ++ SYNTAX IpAddress ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The IP Address of the Net or Subnet indicated ++ by the range." ++ REFERENCE ++ "OSPF Version 2, Appendix C.2 Area parameters" ++ ::= { ospfAreaAggregateEntry 3 } ++ ++ ++ ospfAreaAggregateMask OBJECT-TYPE ++ SYNTAX IpAddress ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The Subnet Mask that pertains to the Net or ++ Subnet." ++ REFERENCE ++ "OSPF Version 2, Appendix C.2 Area parameters" ++ ::= { ospfAreaAggregateEntry 4 } ++ ++ ++ ospfAreaAggregateStatus OBJECT-TYPE ++ SYNTAX RowStatus ++ MAX-ACCESS read-create ++ STATUS current ++ DESCRIPTION ++ "This variable displays the status of the en- ++ try. Setting it to 'invalid' has the effect of ++ rendering it inoperative. The internal effect ++ (row removal) is implementation dependent." ++ ::= { ospfAreaAggregateEntry 5 } ++ ++ ++ ospfAreaAggregateEffect OBJECT-TYPE ++ SYNTAX INTEGER { ++ advertiseMatching (1), ++ doNotAdvertiseMatching (2) ++ } ++ MAX-ACCESS read-create ++ STATUS current ++ DESCRIPTION ++ "Subnets subsumed by ranges either trigger the ++ advertisement of the indicated aggregate (ad- ++ vertiseMatching), or result in the subnet's not ++ being advertised at all outside the area." ++ DEFVAL { advertiseMatching } ++ ::= { ospfAreaAggregateEntry 6 } ++ ++ ++-- conformance information ++ ++ospfConformance OBJECT IDENTIFIER ::= { ospf 15 } ++ ++ospfGroups OBJECT IDENTIFIER ::= { ospfConformance 1 } ++ospfCompliances OBJECT IDENTIFIER ::= { ospfConformance 2 } ++ ++-- compliance statements ++ ++ ospfCompliance MODULE-COMPLIANCE ++ STATUS current ++ DESCRIPTION ++ "The compliance statement " ++ MODULE -- this module ++ MANDATORY-GROUPS { ++ ospfBasicGroup, ++ ospfAreaGroup, ++ ospfStubAreaGroup, ++ ospfIfGroup, ++ ospfIfMetricGroup, ++ ospfVirtIfGroup, ++ ospfNbrGroup, ++ ospfVirtNbrGroup, ++ ospfAreaAggregateGroup ++ } ++ ::= { ospfCompliances 1 } ++ ++ ++-- units of conformance ++ ++ ospfBasicGroup OBJECT-GROUP ++ OBJECTS { ++ ospfRouterId, ++ ospfAdminStat, ++ ospfVersionNumber, ++ ospfAreaBdrRtrStatus, ++ ospfASBdrRtrStatus, ++ ospfExternLsaCount, ++ ospfExternLsaCksumSum, ++ ospfTOSSupport, ++ ospfOriginateNewLsas, ++ ospfRxNewLsas, ++ ospfExtLsdbLimit, ++ ospfMulticastExtensions, ++ ospfExitOverflowInterval, ++ ospfDemandExtensions ++ } ++ STATUS current ++ DESCRIPTION ++ "These objects are required for OSPF systems." ++ ::= { ospfGroups 1 } ++ ++ ++ ospfAreaGroup OBJECT-GROUP ++ OBJECTS { ++ ospfAreaId, ++ ospfImportAsExtern, ++ ospfSpfRuns, ++ ospfAreaBdrRtrCount, ++ ospfAsBdrRtrCount, ++ ospfAreaLsaCount, ++ ospfAreaLsaCksumSum, ++ ospfAreaSummary, ++ ospfAreaStatus ++ } ++ STATUS current ++ DESCRIPTION ++ "These objects are required for OSPF systems ++ supporting areas." ++ ::= { ospfGroups 2 } ++ ++ ++ ospfStubAreaGroup OBJECT-GROUP ++ OBJECTS { ++ ospfStubAreaId, ++ ospfStubTOS, ++ ospfStubMetric, ++ ospfStubStatus, ++ ospfStubMetricType ++ } ++ STATUS current ++ DESCRIPTION ++ "These objects are required for OSPF systems ++ supporting stub areas." ++ ::= { ospfGroups 3 } ++ ++ ++ ospfLsdbGroup OBJECT-GROUP ++ OBJECTS { ++ ospfLsdbAreaId, ++ ospfLsdbType, ++ ospfLsdbLsid, ++ ospfLsdbRouterId, ++ ospfLsdbSequence, ++ ospfLsdbAge, ++ ospfLsdbChecksum, ++ ospfLsdbAdvertisement ++ } ++ STATUS current ++ DESCRIPTION ++ "These objects are required for OSPF systems ++ that display their link state database." ++ ::= { ospfGroups 4 } ++ ++ ++ ospfAreaRangeGroup OBJECT-GROUP ++ OBJECTS { ++ ospfAreaRangeAreaId, ++ ospfAreaRangeNet, ++ ospfAreaRangeMask, ++ ospfAreaRangeStatus, ++ ospfAreaRangeEffect ++ } ++ STATUS obsolete ++ DESCRIPTION ++ "These objects are required for non-CIDR OSPF ++ systems that support multiple areas." ++ ::= { ospfGroups 5 } ++ ++ ++ ospfHostGroup OBJECT-GROUP ++ OBJECTS { ++ ospfHostIpAddress, ++ ospfHostTOS, ++ ospfHostMetric, ++ ospfHostStatus, ++ ospfHostAreaID ++ } ++ STATUS current ++ DESCRIPTION ++ "These objects are required for OSPF systems ++ that support attached hosts." ++ ::= { ospfGroups 6 } ++ ++ ++ ospfIfGroup OBJECT-GROUP ++ OBJECTS { ++ ospfIfIpAddress, ++ ospfAddressLessIf, ++ ospfIfAreaId, ++ ospfIfType, ++ ospfIfAdminStat, ++ ospfIfRtrPriority, ++ ospfIfTransitDelay, ++ ospfIfRetransInterval, ++ ospfIfHelloInterval, ++ ospfIfRtrDeadInterval, ++ ospfIfPollInterval, ++ ospfIfState, ++ ospfIfDesignatedRouter, ++ ospfIfBackupDesignatedRouter, ++ ospfIfEvents, ++ ospfIfAuthType, ++ ospfIfAuthKey, ++ ospfIfStatus, ++ ospfIfMulticastForwarding, ++ ospfIfDemand ++ } ++ STATUS current ++ DESCRIPTION ++ "These objects are required for OSPF systems." ++ ::= { ospfGroups 7 } ++ ++ ++ ospfIfMetricGroup OBJECT-GROUP ++ OBJECTS { ++ ospfIfMetricIpAddress, ++ ospfIfMetricAddressLessIf, ++ ospfIfMetricTOS, ++ ospfIfMetricValue, ++ ospfIfMetricStatus ++ } ++ STATUS current ++ DESCRIPTION ++ "These objects are required for OSPF systems." ++ ::= { ospfGroups 8 } ++ ++ ++ ospfVirtIfGroup OBJECT-GROUP ++ OBJECTS { ++ ospfVirtIfAreaId, ++ ospfVirtIfNeighbor, ++ ospfVirtIfTransitDelay, ++ ospfVirtIfRetransInterval, ++ ospfVirtIfHelloInterval, ++ ospfVirtIfRtrDeadInterval, ++ ospfVirtIfState, ++ ospfVirtIfEvents, ++ ospfVirtIfAuthType, ++ ospfVirtIfAuthKey, ++ ospfVirtIfStatus ++ } ++ STATUS current ++ DESCRIPTION ++ "These objects are required for OSPF systems." ++ ::= { ospfGroups 9 } ++ ++ ++ ospfNbrGroup OBJECT-GROUP ++ OBJECTS { ++ ospfNbrIpAddr, ++ ospfNbrAddressLessIndex, ++ ospfNbrRtrId, ++ ospfNbrOptions, ++ ospfNbrPriority, ++ ospfNbrState, ++ ospfNbrEvents, ++ ospfNbrLsRetransQLen, ++ ospfNbmaNbrStatus, ++ ospfNbmaNbrPermanence, ++ ospfNbrHelloSuppressed ++ } ++ STATUS current ++ DESCRIPTION ++ "These objects are required for OSPF systems." ++ ::= { ospfGroups 10 } ++ ++ ++ ospfVirtNbrGroup OBJECT-GROUP ++ OBJECTS { ++ ospfVirtNbrArea, ++ ospfVirtNbrRtrId, ++ ospfVirtNbrIpAddr, ++ ospfVirtNbrOptions, ++ ospfVirtNbrState, ++ ospfVirtNbrEvents, ++ ospfVirtNbrLsRetransQLen, ++ ospfVirtNbrHelloSuppressed ++ } ++ STATUS current ++ DESCRIPTION ++ "These objects are required for OSPF systems." ++ ::= { ospfGroups 11 } ++ ++ ++ ospfExtLsdbGroup OBJECT-GROUP ++ OBJECTS { ++ ospfExtLsdbType, ++ ospfExtLsdbLsid, ++ ospfExtLsdbRouterId, ++ ospfExtLsdbSequence, ++ ospfExtLsdbAge, ++ ospfExtLsdbChecksum, ++ ospfExtLsdbAdvertisement ++ } ++ STATUS current ++ DESCRIPTION ++ "These objects are required for OSPF systems ++ that display their link state database." ++ ::= { ospfGroups 12 } ++ ++ ++ ospfAreaAggregateGroup OBJECT-GROUP ++ OBJECTS { ++ ospfAreaAggregateAreaID, ++ ospfAreaAggregateLsdbType, ++ ospfAreaAggregateNet, ++ ospfAreaAggregateMask, ++ ospfAreaAggregateStatus, ++ ospfAreaAggregateEffect ++ } ++ STATUS current ++ DESCRIPTION ++ "These objects are required for OSPF systems." ++ ::= { ospfGroups 13 } ++ ++END +diff -ruN mibs/OSPF-TRAP-MIB.txt.orig mibs/OSPF-TRAP-MIB.txt +--- mibs/OSPF-TRAP-MIB.txt.orig 1970-01-01 01:00:00.000000000 +0100 ++++ mibs/OSPF-TRAP-MIB.txt 2005-07-20 21:45:50.000000000 +0200 +@@ -0,0 +1,443 @@ ++OSPF-TRAP-MIB DEFINITIONS ::= BEGIN ++ ++ IMPORTS ++ MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE, IpAddress ++ FROM SNMPv2-SMI ++ MODULE-COMPLIANCE, OBJECT-GROUP ++ FROM SNMPv2-CONF ++ ospfRouterId, ospfIfIpAddress, ospfAddressLessIf, ospfIfState, ++ ospfVirtIfAreaId, ospfVirtIfNeighbor, ospfVirtIfState, ++ ospfNbrIpAddr, ospfNbrAddressLessIndex, ospfNbrRtrId, ++ ospfNbrState, ospfVirtNbrArea, ospfVirtNbrRtrId, ospfVirtNbrState, ++ ospfLsdbType, ospfLsdbLsid, ospfLsdbRouterId, ospfLsdbAreaId, ++ ospfExtLsdbLimit, ospf ++ FROM OSPF-MIB; ++ ++ ospfTrap MODULE-IDENTITY ++ LAST-UPDATED "9501201225Z" -- Fri Jan 20 12:25:50 PST 1995 ++ ORGANIZATION "IETF OSPF Working Group" ++ CONTACT-INFO ++ " Fred Baker ++ Postal: Cisco Systems ++ 519 Lado Drive ++ Santa Barbara, California 93111 ++ Tel: +1 805 681 0115 ++ E-Mail: fred@cisco.com ++ ++ Rob Coltun ++ Postal: RainbowBridge Communications ++ Tel: (301) 340-9416 ++ E-Mail: rcoltun@rainbow-bridge.com" ++ DESCRIPTION ++ "The MIB module to describe traps for the OSPF ++ Version 2 Protocol." ++ ::= { ospf 16 } ++ ++-- Trap Support Objects ++ ++-- The following are support objects for the OSPF traps. ++ ++ospfTrapControl OBJECT IDENTIFIER ::= { ospfTrap 1 } ++ospfTraps OBJECT IDENTIFIER ::= { ospfTrap 2 } ++ ++ ospfSetTrap OBJECT-TYPE ++ SYNTAX OCTET STRING (SIZE(4)) ++ MAX-ACCESS read-write ++ STATUS current ++ DESCRIPTION ++ "A four-octet string serving as a bit map for ++ the trap events defined by the OSPF traps. This ++ object is used to enable and disable specific ++ OSPF traps where a 1 in the bit field ++ represents enabled. The right-most bit (least ++ significant) represents trap 0." ++ ::= { ospfTrapControl 1 } ++ ++ ++ ospfConfigErrorType OBJECT-TYPE ++ SYNTAX INTEGER { ++ badVersion (1), ++ areaMismatch (2), ++ unknownNbmaNbr (3), -- Router is Dr eligible ++ unknownVirtualNbr (4), ++ authTypeMismatch(5), ++ authFailure (6), ++ netMaskMismatch (7), ++ helloIntervalMismatch (8), ++ deadIntervalMismatch (9), ++ optionMismatch (10) } ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "Potential types of configuration conflicts. ++ Used by the ospfConfigError and ospfConfigVir- ++ tError traps." ++ ::= { ospfTrapControl 2 } ++ ++ ++ ospfPacketType OBJECT-TYPE ++ SYNTAX INTEGER { ++ hello (1), ++ dbDescript (2), ++ lsReq (3), ++ lsUpdate (4), ++ lsAck (5) } ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "OSPF packet types." ++ ::= { ospfTrapControl 3 } ++ ++ ++ ospfPacketSrc OBJECT-TYPE ++ SYNTAX IpAddress ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The IP address of an inbound packet that can- ++ not be identified by a neighbor instance." ++ ::= { ospfTrapControl 4 } ++ ++ ++-- Traps ++ ++ ++ ospfIfStateChange NOTIFICATION-TYPE ++ OBJECTS { ++ ospfRouterId, -- The originator of the trap ++ ospfIfIpAddress, ++ ospfAddressLessIf, ++ ospfIfState -- The new state ++ } ++ STATUS current ++ DESCRIPTION ++ "An ospfIfStateChange trap signifies that there ++ has been a change in the state of a non-virtual ++ OSPF interface. This trap should be generated ++ when the interface state regresses (e.g., goes ++ from Dr to Down) or progresses to a terminal ++ state (i.e., Point-to-Point, DR Other, Dr, or ++ Backup)." ++ ::= { ospfTraps 16 } ++ ++ ++ ospfVirtIfStateChange NOTIFICATION-TYPE ++ OBJECTS { ++ ospfRouterId, -- The originator of the trap ++ ospfVirtIfAreaId, ++ ospfVirtIfNeighbor, ++ ospfVirtIfState -- The new state ++ } ++ STATUS current ++ DESCRIPTION ++ "An ospfIfStateChange trap signifies that there ++ has been a change in the state of an OSPF vir- ++ tual interface. ++ This trap should be generated when the inter- ++ face state regresses (e.g., goes from Point- ++ to-Point to Down) or progresses to a terminal ++ state (i.e., Point-to-Point)." ++ ::= { ospfTraps 1 } ++ ++ ++ ospfNbrStateChange NOTIFICATION-TYPE ++ OBJECTS { ++ ospfRouterId, -- The originator of the trap ++ ospfNbrIpAddr, ++ ospfNbrAddressLessIndex, ++ ospfNbrRtrId, ++ ospfNbrState -- The new state ++ } ++ STATUS current ++ DESCRIPTION ++ "An ospfNbrStateChange trap signifies that ++ there has been a change in the state of a non- ++ virtual OSPF neighbor. This trap should be ++ generated when the neighbor state regresses ++ (e.g., goes from Attempt or Full to 1-Way or ++ Down) or progresses to a terminal state (e.g., ++ 2-Way or Full). When an neighbor transitions ++ from or to Full on non-broadcast multi-access ++ and broadcast networks, the trap should be gen- ++ erated by the designated router. A designated ++ router transitioning to Down will be noted by ++ ospfIfStateChange." ++ ::= { ospfTraps 2 } ++ ++ ++ ospfVirtNbrStateChange NOTIFICATION-TYPE ++ OBJECTS { ++ ospfRouterId, -- The originator of the trap ++ ospfVirtNbrArea, ++ ospfVirtNbrRtrId, ++ ospfVirtNbrState -- The new state ++ } ++ STATUS current ++ DESCRIPTION ++ "An ospfIfStateChange trap signifies that there ++ has been a change in the state of an OSPF vir- ++ tual neighbor. This trap should be generated ++ when the neighbor state regresses (e.g., goes ++ from Attempt or Full to 1-Way or Down) or ++ progresses to a terminal state (e.g., Full)." ++ ::= { ospfTraps 3 } ++ ospfIfConfigError NOTIFICATION-TYPE ++ OBJECTS { ++ ospfRouterId, -- The originator of the trap ++ ospfIfIpAddress, ++ ospfAddressLessIf, ++ ospfPacketSrc, -- The source IP address ++ ospfConfigErrorType, -- Type of error ++ ospfPacketType ++ } ++ STATUS current ++ DESCRIPTION ++ "An ospfIfConfigError trap signifies that a ++ packet has been received on a non-virtual in- ++ terface from a router whose configuration ++ parameters conflict with this router's confi- ++ guration parameters. Note that the event op- ++ tionMismatch should cause a trap only if it ++ prevents an adjacency from forming." ++ ::= { ospfTraps 4 } ++ ++ ++ ospfVirtIfConfigError NOTIFICATION-TYPE ++ OBJECTS { ++ ospfRouterId, -- The originator of the trap ++ ospfVirtIfAreaId, ++ ospfVirtIfNeighbor, ++ ospfConfigErrorType, -- Type of error ++ ospfPacketType ++ } ++ STATUS current ++ DESCRIPTION ++ "An ospfConfigError trap signifies that a pack- ++ et has been received on a virtual interface ++ from a router whose configuration parameters ++ conflict with this router's configuration ++ parameters. Note that the event optionMismatch ++ should cause a trap only if it prevents an ad- ++ jacency from forming." ++ ::= { ospfTraps 5 } ++ ++ ++ ospfIfAuthFailure NOTIFICATION-TYPE ++ OBJECTS { ++ ospfRouterId, -- The originator of the trap ++ ospfIfIpAddress, ++ ospfAddressLessIf, ++ ospfPacketSrc, -- The source IP address ++ ospfConfigErrorType, -- authTypeMismatch or ++ -- authFailure ++ ospfPacketType ++ } ++ STATUS current ++ DESCRIPTION ++ "An ospfIfAuthFailure trap signifies that a ++ packet has been received on a non-virtual in- ++ terface from a router whose authentication key ++ or authentication type conflicts with this ++ router's authentication key or authentication ++ type." ++ ::= { ospfTraps 6 } ++ ++ ++ ospfVirtIfAuthFailure NOTIFICATION-TYPE ++ OBJECTS { ++ ospfRouterId, -- The originator of the trap ++ ospfVirtIfAreaId, ++ ospfVirtIfNeighbor, ++ ospfConfigErrorType, -- authTypeMismatch or ++ -- authFailure ++ ospfPacketType ++ } ++ STATUS current ++ DESCRIPTION ++ "An ospfVirtIfAuthFailure trap signifies that a ++ packet has been received on a virtual interface ++ from a router whose authentication key or au- ++ thentication type conflicts with this router's ++ authentication key or authentication type." ++ ::= { ospfTraps 7 } ++ ++ ++ ospfIfRxBadPacket NOTIFICATION-TYPE ++ OBJECTS { ++ ospfRouterId, -- The originator of the trap ++ ospfIfIpAddress, ++ ospfAddressLessIf, ++ ospfPacketSrc, -- The source IP address ++ ospfPacketType ++ } ++ STATUS current ++ DESCRIPTION ++ "An ospfIfRxBadPacket trap signifies that an ++ OSPF packet has been received on a non-virtual ++ interface that cannot be parsed." ++ ::= { ospfTraps 8 } ++ ++ ospfVirtIfRxBadPacket NOTIFICATION-TYPE ++ OBJECTS { ++ ospfRouterId, -- The originator of the trap ++ ospfVirtIfAreaId, ++ ospfVirtIfNeighbor, ++ ospfPacketType ++ } ++ STATUS current ++ DESCRIPTION ++ "An ospfRxBadPacket trap signifies that an OSPF ++ packet has been received on a virtual interface ++ that cannot be parsed." ++ ::= { ospfTraps 9 } ++ ++ ++ ospfTxRetransmit NOTIFICATION-TYPE ++ OBJECTS { ++ ospfRouterId, -- The originator of the trap ++ ospfIfIpAddress, ++ ospfAddressLessIf, ++ ospfNbrRtrId, -- Destination ++ ospfPacketType, ++ ospfLsdbType, ++ ospfLsdbLsid, ++ ospfLsdbRouterId ++ } ++ STATUS current ++ DESCRIPTION ++ "An ospfTxRetransmit trap signifies than an ++ OSPF packet has been retransmitted on a non- ++ virtual interface. All packets that may be re- ++ transmitted are associated with an LSDB entry. ++ The LS type, LS ID, and Router ID are used to ++ identify the LSDB entry." ++ ::= { ospfTraps 10 } ++ ++ ++ ospfVirtIfTxRetransmit NOTIFICATION-TYPE ++ OBJECTS { ++ ospfRouterId, -- The originator of the trap ++ ospfVirtIfAreaId, ++ ospfVirtIfNeighbor, ++ ospfPacketType, ++ ospfLsdbType, ++ ospfLsdbLsid, ++ ospfLsdbRouterId ++ } ++ STATUS current ++ DESCRIPTION ++ "An ospfTxRetransmit trap signifies than an ++ OSPF packet has been retransmitted on a virtual ++ interface. All packets that may be retransmit- ++ ted are associated with an LSDB entry. The LS ++ type, LS ID, and Router ID are used to identify ++ the LSDB entry." ++ ::= { ospfTraps 11 } ++ ++ ++ ospfOriginateLsa NOTIFICATION-TYPE ++ OBJECTS { ++ ospfRouterId, -- The originator of the trap ++ ospfLsdbAreaId, -- 0.0.0.0 for AS Externals ++ ospfLsdbType, ++ ospfLsdbLsid, ++ ospfLsdbRouterId ++ } ++ STATUS current ++ DESCRIPTION ++ "An ospfOriginateLsa trap signifies that a new ++ LSA has been originated by this router. This ++ trap should not be invoked for simple refreshes ++ of LSAs (which happesn every 30 minutes), but ++ instead will only be invoked when an LSA is ++ (re)originated due to a topology change. Addi- ++ tionally, this trap does not include LSAs that ++ are being flushed because they have reached ++ MaxAge." ++ ::= { ospfTraps 12 } ++ ++ ++ ospfMaxAgeLsa NOTIFICATION-TYPE ++ OBJECTS { ++ ospfRouterId, -- The originator of the trap ++ ospfLsdbAreaId, -- 0.0.0.0 for AS Externals ++ ospfLsdbType, ++ ospfLsdbLsid, ++ ospfLsdbRouterId ++ } ++ STATUS current ++ DESCRIPTION ++ "An ospfMaxAgeLsa trap signifies that one of ++ the LSA in the router's link-state database has ++ aged to MaxAge." ++ ::= { ospfTraps 13 } ++ ++ ++ ospfLsdbOverflow NOTIFICATION-TYPE ++ OBJECTS { ++ ospfRouterId, -- The originator of the trap ++ ospfExtLsdbLimit ++ } ++ STATUS current ++ DESCRIPTION ++ "An ospfLsdbOverflow trap signifies that the ++ number of LSAs in the router's link-state data- ++ base has exceeded ospfExtLsdbLimit." ++ ::= { ospfTraps 14 } ++ ++ ++ ospfLsdbApproachingOverflow NOTIFICATION-TYPE ++ OBJECTS { ++ ospfRouterId, -- The originator of the trap ++ ospfExtLsdbLimit ++ } ++ STATUS current ++ DESCRIPTION ++ "An ospfLsdbApproachingOverflow trap signifies ++ that the number of LSAs in the router's link- ++ state database has exceeded ninety percent of ++ ospfExtLsdbLimit." ++ ::= { ospfTraps 15 } ++ ++ ++-- conformance information ++ ++ospfTrapConformance OBJECT IDENTIFIER ::= { ospfTrap 3 } ++ ++ospfTrapGroups OBJECT IDENTIFIER ::= { ospfTrapConformance 1 } ++ospfTrapCompliances OBJECT IDENTIFIER ::= { ospfTrapConformance 2 } ++ ++-- compliance statements ++ ++ ospfTrapCompliance MODULE-COMPLIANCE ++ STATUS current ++ DESCRIPTION ++ "The compliance statement " ++ MODULE -- this module ++ MANDATORY-GROUPS { ospfTrapControlGroup } ++ ++ ++ GROUP ospfTrapControlGroup ++ DESCRIPTION ++ "This group is optional but recommended for all ++ OSPF systems" ++ ::= { ospfTrapCompliances 1 } ++ ++ ++-- units of conformance ++ ++ ospfTrapControlGroup OBJECT-GROUP ++ OBJECTS { ++ ospfSetTrap, ++ ospfConfigErrorType, ++ ospfPacketType, ++ ospfPacketSrc ++ } ++ STATUS current ++ DESCRIPTION ++ "These objects are required to control traps ++ from OSPF systems." ++ ::= { ospfTrapGroups 1 } ++ ++ ++END +diff -ruN mibs/RIPv2-MIB.txt.orig mibs/RIPv2-MIB.txt +--- mibs/RIPv2-MIB.txt.orig 1970-01-01 01:00:00.000000000 +0100 ++++ mibs/RIPv2-MIB.txt 2005-07-20 21:45:50.000000000 +0200 +@@ -0,0 +1,530 @@ ++ RIPv2-MIB DEFINITIONS ::= BEGIN ++ ++ IMPORTS ++ MODULE-IDENTITY, OBJECT-TYPE, Counter32, ++ TimeTicks, IpAddress FROM SNMPv2-SMI ++ TEXTUAL-CONVENTION, RowStatus FROM SNMPv2-TC ++ MODULE-COMPLIANCE, OBJECT-GROUP FROM SNMPv2-CONF ++ mib-2 FROM RFC1213-MIB; ++ ++ -- This MIB module uses the extended OBJECT-TYPE macro as ++ -- defined in [9]. ++ ++ rip2 MODULE-IDENTITY ++ LAST-UPDATED "9407272253Z" -- Wed Jul 27 22:53:04 PDT 1994 ++ ORGANIZATION "IETF RIP-II Working Group" ++ CONTACT-INFO ++ " Fred Baker ++ Postal: Cisco Systems ++ 519 Lado Drive ++ Santa Barbara, California 93111 ++ Tel: +1 805 681 0115 ++ E-Mail: fbaker@cisco.com ++ ++ Postal: Gary Malkin ++ Xylogics, Inc. ++ 53 Third Avenue ++ Burlington, MA 01803 ++ ++ Phone: (617) 272-8140 ++ EMail: gmalkin@Xylogics.COM" ++ DESCRIPTION ++ "The MIB module to describe the RIP2 Version 2 Protocol" ++ ::= { mib-2 23 } ++ ++ -- RIP-2 Management Information Base ++ ++ -- the RouteTag type represents the contents of the ++ -- Route Domain field in the packet header or route entry. ++ -- The use of the Route Domain is deprecated. ++ ++ RouteTag ::= TEXTUAL-CONVENTION ++ STATUS current ++ DESCRIPTION ++ "the RouteTag type represents the contents of the Route Domain ++ field in the packet header or route entry" ++ SYNTAX OCTET STRING (SIZE (2)) ++ ++--4.1 Global Counters ++ ++-- The RIP-2 Globals Group. ++-- Implementation of this group is mandatory for systems ++-- which implement RIP-2. ++ ++-- These counters are intended to facilitate debugging quickly ++-- changing routes or failing neighbors ++ ++rip2Globals OBJECT IDENTIFIER ::= { rip2 1 } ++ ++ rip2GlobalRouteChanges OBJECT-TYPE ++ SYNTAX Counter32 ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The number of route changes made to the IP Route ++ Database by RIP. This does not include the refresh ++ of a route's age." ++ ::= { rip2Globals 1 } ++ ++ rip2GlobalQueries OBJECT-TYPE ++ SYNTAX Counter32 ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The number of responses sent to RIP queries ++ from other systems." ++ ::= { rip2Globals 2 } ++ ++--4.2 RIP Interface Tables ++ ++-- RIP Interfaces Groups ++-- Implementation of these Groups is mandatory for systems ++-- which implement RIP-2. ++ ++-- The RIP Interface Status Table. ++ ++ rip2IfStatTable OBJECT-TYPE ++ SYNTAX SEQUENCE OF Rip2IfStatEntry ++ MAX-ACCESS not-accessible ++ STATUS current ++ DESCRIPTION ++ "A list of subnets which require separate ++ status monitoring in RIP." ++ ::= { rip2 2 } ++ ++ rip2IfStatEntry OBJECT-TYPE ++ SYNTAX Rip2IfStatEntry ++ MAX-ACCESS not-accessible ++ STATUS current ++ DESCRIPTION ++ "A Single Routing Domain in a single Subnet." ++ INDEX { rip2IfStatAddress } ++ ::= { rip2IfStatTable 1 } ++ ++ Rip2IfStatEntry ::= ++ SEQUENCE { ++ rip2IfStatAddress ++ IpAddress, ++ rip2IfStatRcvBadPackets ++ Counter32, ++ rip2IfStatRcvBadRoutes ++ Counter32, ++ rip2IfStatSentUpdates ++ Counter32, ++ rip2IfStatStatus ++ RowStatus ++ } ++ ++ rip2IfStatAddress OBJECT-TYPE ++ SYNTAX IpAddress ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The IP Address of this system on the indicated ++ subnet. For unnumbered interfaces, the value 0.0.0.N, ++ where the least significant 24 bits (N) is the ifIndex ++ for the IP Interface in network byte order." ++ ::= { rip2IfStatEntry 1 } ++ ++ rip2IfStatRcvBadPackets OBJECT-TYPE ++ SYNTAX Counter32 ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The number of RIP response packets received by ++ the RIP process which were subsequently discarded ++ for any reason (e.g. a version 0 packet, or an ++ unknown command type)." ++ ::= { rip2IfStatEntry 2 } ++ ++ rip2IfStatRcvBadRoutes OBJECT-TYPE ++ SYNTAX Counter32 ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The number of routes, in valid RIP packets, ++ which were ignored for any reason (e.g. unknown ++ address family, or invalid metric)." ++ ::= { rip2IfStatEntry 3 } ++ ++ rip2IfStatSentUpdates OBJECT-TYPE ++ SYNTAX Counter32 ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The number of triggered RIP updates actually ++ sent on this interface. This explicitly does ++ NOT include full updates sent containing new ++ information." ++ ::= { rip2IfStatEntry 4 } ++ ++ rip2IfStatStatus OBJECT-TYPE ++ SYNTAX RowStatus ++ MAX-ACCESS read-create ++ STATUS current ++ DESCRIPTION ++ "Writing invalid has the effect of deleting ++ this interface." ++ ::= { rip2IfStatEntry 5 } ++ ++-- The RIP Interface Configuration Table. ++ ++ rip2IfConfTable OBJECT-TYPE ++ SYNTAX SEQUENCE OF Rip2IfConfEntry ++ MAX-ACCESS not-accessible ++ STATUS current ++ DESCRIPTION ++ "A list of subnets which require separate ++ configuration in RIP." ++ ::= { rip2 3 } ++ ++ rip2IfConfEntry OBJECT-TYPE ++ SYNTAX Rip2IfConfEntry ++ MAX-ACCESS not-accessible ++ STATUS current ++ DESCRIPTION ++ "A Single Routing Domain in a single Subnet." ++ INDEX { rip2IfConfAddress } ++ ::= { rip2IfConfTable 1 } ++ ++ Rip2IfConfEntry ::= ++ SEQUENCE { ++ rip2IfConfAddress ++ IpAddress, ++ rip2IfConfDomain ++ RouteTag, ++ rip2IfConfAuthType ++ INTEGER, ++ rip2IfConfAuthKey ++ OCTET STRING (SIZE(0..16)), ++ rip2IfConfSend ++ INTEGER, ++ rip2IfConfReceive ++ INTEGER, ++ rip2IfConfDefaultMetric ++ INTEGER, ++ rip2IfConfStatus ++ RowStatus, ++ rip2IfConfSrcAddress ++ IpAddress ++ } ++ ++ rip2IfConfAddress OBJECT-TYPE ++ SYNTAX IpAddress ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The IP Address of this system on the indicated ++ subnet. For unnumbered interfaces, the value 0.0.0.N, ++ where the least significant 24 bits (N) is the ifIndex ++ for the IP Interface in network byte order." ++ ::= { rip2IfConfEntry 1 } ++ ++ rip2IfConfDomain OBJECT-TYPE ++ SYNTAX RouteTag ++ MAX-ACCESS read-create ++ STATUS obsolete ++ DESCRIPTION ++ "Value inserted into the Routing Domain field ++ of all RIP packets sent on this interface." ++ DEFVAL { '0000'h } ++ ::= { rip2IfConfEntry 2 } ++ ++ rip2IfConfAuthType OBJECT-TYPE ++ SYNTAX INTEGER { ++ noAuthentication (1), ++ simplePassword (2), ++ md5 (3) ++ } ++ MAX-ACCESS read-create ++ STATUS current ++ DESCRIPTION ++ "The type of Authentication used on this ++ interface." ++ DEFVAL { noAuthentication } ++ ::= { rip2IfConfEntry 3 } ++ ++ rip2IfConfAuthKey OBJECT-TYPE ++ SYNTAX OCTET STRING (SIZE(0..16)) ++ MAX-ACCESS read-create ++ STATUS current ++ DESCRIPTION ++ "The value to be used as the Authentication Key ++ whenever the corresponding instance of ++ rip2IfConfAuthType has a value other than ++ noAuthentication. A modification of the corresponding ++ instance of rip2IfConfAuthType does not modify ++ the rip2IfConfAuthKey value. If a string shorter ++ than 16 octets is supplied, it will be left- ++ justified and padded to 16 octets, on the right, ++ with nulls (0x00). ++ ++ Reading this object always results in an OCTET ++ STRING of length zero; authentication may not ++ be bypassed by reading the MIB object." ++ DEFVAL { ''h } ++ ::= { rip2IfConfEntry 4 } ++ ++ rip2IfConfSend OBJECT-TYPE ++ SYNTAX INTEGER { ++ doNotSend (1), ++ ripVersion1 (2), ++ rip1Compatible (3), ++ ripVersion2 (4), ++ ripV1Demand (5), ++ ripV2Demand (6) ++ } ++ MAX-ACCESS read-create ++ STATUS current ++ DESCRIPTION ++ "What the router sends on this interface. ++ ripVersion1 implies sending RIP updates compliant ++ with RFC 1058. rip1Compatible implies ++ broadcasting RIP-2 updates using RFC 1058 route ++ subsumption rules. ripVersion2 implies ++ multicasting RIP-2 updates. ripV1Demand indicates ++ the use of Demand RIP on a WAN interface under RIP ++ Version 1 rules. ripV2Demand indicates the use of ++ Demand RIP on a WAN interface under Version 2 rules." ++ DEFVAL { rip1Compatible } ++ ::= { rip2IfConfEntry 5 } ++ ++ rip2IfConfReceive OBJECT-TYPE ++ SYNTAX INTEGER { ++ rip1 (1), ++ rip2 (2), ++ rip1OrRip2 (3), ++ doNotRecieve (4) ++ } ++ MAX-ACCESS read-create ++ STATUS current ++ DESCRIPTION ++ "This indicates which version of RIP updates ++ are to be accepted. Note that rip2 and ++ rip1OrRip2 implies reception of multicast ++ packets." ++ DEFVAL { rip1OrRip2 } ++ ::= { rip2IfConfEntry 6 } ++ ++ rip2IfConfDefaultMetric OBJECT-TYPE ++ SYNTAX INTEGER ( 0..15 ) ++ MAX-ACCESS read-create ++ STATUS current ++ DESCRIPTION ++ "This variable indicates the metric that is to ++ be used for the default route entry in RIP updates ++ originated on this interface. A value of zero ++ indicates that no default route should be ++ originated; in this case, a default route via ++ another router may be propagated." ++ ::= { rip2IfConfEntry 7 } ++ ++ rip2IfConfStatus OBJECT-TYPE ++ SYNTAX RowStatus ++ MAX-ACCESS read-create ++ STATUS current ++ DESCRIPTION ++ "Writing invalid has the effect of deleting ++ this interface." ++ ::= { rip2IfConfEntry 8 } ++ ++ rip2IfConfSrcAddress OBJECT-TYPE ++ SYNTAX IpAddress ++ MAX-ACCESS read-create ++ STATUS current ++ DESCRIPTION ++ "The IP Address this system will use as a source ++ address on this interface. If it is a numbered ++ interface, this MUST be the same value as ++ rip2IfConfAddress. On unnumbered interfaces, ++ it must be the value of rip2IfConfAddress for ++ some interface on the system." ++ ::= { rip2IfConfEntry 9 } ++ ++--4.3 Peer Table ++ ++-- Peer Table ++ ++-- The RIP Peer Group ++-- Implementation of this Group is Optional ++ ++-- This group provides information about active peer ++-- relationships intended to assist in debugging. An ++-- active peer is a router from which a valid RIP ++-- updated has been heard in the last 180 seconds. ++ ++ rip2PeerTable OBJECT-TYPE ++ SYNTAX SEQUENCE OF Rip2PeerEntry ++ MAX-ACCESS not-accessible ++ STATUS current ++ DESCRIPTION ++ "A list of RIP Peers." ++ ::= { rip2 4 } ++ ++ rip2PeerEntry OBJECT-TYPE ++ SYNTAX Rip2PeerEntry ++ MAX-ACCESS not-accessible ++ STATUS current ++ DESCRIPTION ++ "Information regarding a single routing peer." ++ INDEX { rip2PeerAddress, rip2PeerDomain } ++ ::= { rip2PeerTable 1 } ++ ++ Rip2PeerEntry ::= ++ SEQUENCE { ++ rip2PeerAddress ++ IpAddress, ++ rip2PeerDomain ++ RouteTag, ++ rip2PeerLastUpdate ++ TimeTicks, ++ rip2PeerVersion ++ INTEGER, ++ rip2PeerRcvBadPackets ++ Counter32, ++ rip2PeerRcvBadRoutes ++ Counter32 ++ } ++ ++ rip2PeerAddress OBJECT-TYPE ++ SYNTAX IpAddress ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The IP Address that the peer is using as its source ++ address. Note that on an unnumbered link, this may ++ not be a member of any subnet on the system." ++ ::= { rip2PeerEntry 1 } ++ ++ rip2PeerDomain OBJECT-TYPE ++ SYNTAX RouteTag ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The value in the Routing Domain field in RIP ++ packets received from the peer. As domain suuport ++ is deprecated, this must be zero." ++ ::= { rip2PeerEntry 2 } ++ ++ rip2PeerLastUpdate OBJECT-TYPE ++ SYNTAX TimeTicks ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The value of sysUpTime when the most recent ++ RIP update was received from this system." ++ ::= { rip2PeerEntry 3 } ++ ++ rip2PeerVersion OBJECT-TYPE ++ SYNTAX INTEGER ( 0..255 ) ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The RIP version number in the header of the ++ last RIP packet received." ++ ::= { rip2PeerEntry 4 } ++ ++ rip2PeerRcvBadPackets OBJECT-TYPE ++ SYNTAX Counter32 ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The number of RIP response packets from this ++ peer discarded as invalid." ++ ::= { rip2PeerEntry 5 } ++ ++ ++ rip2PeerRcvBadRoutes OBJECT-TYPE ++ SYNTAX Counter32 ++ MAX-ACCESS read-only ++ STATUS current ++ DESCRIPTION ++ "The number of routes from this peer that were ++ ignored because the entry format was invalid." ++ ::= { rip2PeerEntry 6 } ++ ++-- conformance information ++ ++rip2Conformance OBJECT IDENTIFIER ::= { rip2 5 } ++ ++rip2Groups OBJECT IDENTIFIER ::= { rip2Conformance 1 } ++rip2Compliances OBJECT IDENTIFIER ::= { rip2Conformance 2 } ++ ++-- compliance statements ++rip2Compliance MODULE-COMPLIANCE ++ STATUS current ++ DESCRIPTION ++ "The compliance statement " ++ MODULE -- this module ++ MANDATORY-GROUPS { ++ rip2GlobalGroup, ++ rip2IfStatGroup, ++ rip2IfConfGroup, ++ rip2PeerGroup ++ } ++ GROUP rip2GlobalGroup ++ DESCRIPTION ++ "This group defines global controls for RIP-II systems." ++ GROUP rip2IfStatGroup ++ DESCRIPTION ++ "This group defines interface statistics for RIP-II systems." ++ GROUP rip2IfConfGroup ++ DESCRIPTION ++ "This group defines interface configuration for RIP-II systems." ++ GROUP rip2PeerGroup ++ DESCRIPTION ++ "This group defines peer information for RIP-II systems." ++ ::= { rip2Compliances 1 } ++ ++-- units of conformance ++ ++rip2GlobalGroup OBJECT-GROUP ++ OBJECTS { ++ rip2GlobalRouteChanges, ++ rip2GlobalQueries ++ } ++ STATUS current ++ DESCRIPTION ++ "This group defines global controls for RIP-II systems." ++ ::= { rip2Groups 1 } ++rip2IfStatGroup OBJECT-GROUP ++ OBJECTS { ++ rip2IfStatAddress, ++ rip2IfStatRcvBadPackets, ++ rip2IfStatRcvBadRoutes, ++ rip2IfStatSentUpdates, ++ rip2IfStatStatus ++ } ++ STATUS current ++ DESCRIPTION ++ "This group defines interface statistics for RIP-II systems." ++ ::= { rip2Groups 2 } ++rip2IfConfGroup OBJECT-GROUP ++ OBJECTS { ++ rip2IfConfAddress, ++ rip2IfConfAuthType, ++ rip2IfConfAuthKey, ++ rip2IfConfSend, ++ rip2IfConfReceive, ++ rip2IfConfDefaultMetric, ++ rip2IfConfStatus, ++ rip2IfConfSrcAddress ++ } ++ STATUS current ++ DESCRIPTION ++ "This group defines interface configuration for RIP-II systems." ++ ::= { rip2Groups 3 } ++rip2PeerGroup OBJECT-GROUP ++ OBJECTS { ++ rip2PeerAddress, ++ rip2PeerDomain, ++ rip2PeerLastUpdate, ++ rip2PeerVersion, ++ rip2PeerRcvBadPackets, ++ rip2PeerRcvBadRoutes ++ } ++ STATUS current ++ DESCRIPTION ++ "This group defines peer information for RIP-II systems." ++ ::= { rip2Groups 4 } ++END +diff -ruN mibs/SOURCE-ROUTING-MIB.txt.orig mibs/SOURCE-ROUTING-MIB.txt +--- mibs/SOURCE-ROUTING-MIB.txt.orig 1970-01-01 01:00:00.000000000 +0100 ++++ mibs/SOURCE-ROUTING-MIB.txt 2005-07-20 21:45:50.000000000 +0200 +@@ -0,0 +1,452 @@ ++SOURCE-ROUTING-MIB DEFINITIONS ::= BEGIN ++ ++IMPORTS ++ Counter, Gauge ++ FROM RFC1155-SMI ++ dot1dBridge, dot1dSr ++ FROM BRIDGE-MIB ++ OBJECT-TYPE ++ FROM RFC-1212; ++ ++-- groups in the SR MIB ++ ++-- dot1dSr is imported from the Bridge MIB ++ ++dot1dPortPair OBJECT IDENTIFIER ::= { dot1dBridge 10 } ++ ++-- the dot1dSr group ++ ++-- this group is implemented by those bridges that ++-- support the source route bridging mode, including Source ++-- Routing and SRT bridges. ++ ++dot1dSrPortTable OBJECT-TYPE ++ SYNTAX SEQUENCE OF Dot1dSrPortEntry ++ ACCESS not-accessible ++ STATUS mandatory ++ DESCRIPTION ++ "A table that contains information about every ++ port that is associated with this source route ++ bridge." ++ ::= { dot1dSr 1 } ++ ++dot1dSrPortEntry OBJECT-TYPE ++ SYNTAX Dot1dSrPortEntry ++ ACCESS not-accessible ++ STATUS mandatory ++ DESCRIPTION ++ "A list of information for each port of a source ++ route bridge." ++ INDEX { dot1dSrPort } ++ ++ ::= { dot1dSrPortTable 1 } ++ ++Dot1dSrPortEntry ::= ++ SEQUENCE { ++ dot1dSrPort ++ INTEGER, ++ dot1dSrPortHopCount ++ INTEGER, ++ dot1dSrPortLocalSegment ++ INTEGER, ++ dot1dSrPortBridgeNum ++ INTEGER, ++ dot1dSrPortTargetSegment ++ INTEGER, ++ dot1dSrPortLargestFrame ++ INTEGER, ++ dot1dSrPortSTESpanMode ++ INTEGER, ++ dot1dSrPortSpecInFrames ++ Counter, ++ dot1dSrPortSpecOutFrames ++ Counter, ++ dot1dSrPortApeInFrames ++ Counter, ++ dot1dSrPortApeOutFrames ++ Counter, ++ dot1dSrPortSteInFrames ++ Counter, ++ dot1dSrPortSteOutFrames ++ Counter, ++ dot1dSrPortSegmentMismatchDiscards ++ Counter, ++ dot1dSrPortDuplicateSegmentDiscards ++ Counter, ++ dot1dSrPortHopCountExceededDiscards ++ Counter, ++ dot1dSrPortDupLanIdOrTreeErrors ++ Counter, ++ dot1dSrPortLanIdMismatches ++ Counter ++ } ++ ++dot1dSrPort OBJECT-TYPE ++ SYNTAX INTEGER (1..65535) ++ ACCESS read-only ++ STATUS mandatory ++ DESCRIPTION ++ "The port number of the port for which this entry ++ ++ contains Source Route management information." ++ ::= { dot1dSrPortEntry 1 } ++ ++dot1dSrPortHopCount OBJECT-TYPE ++ SYNTAX INTEGER ++ ACCESS read-write ++ STATUS mandatory ++ DESCRIPTION ++ "The maximum number of routing descriptors allowed ++ in an All Paths or Spanning Tree Explorer frames." ++ ::= { dot1dSrPortEntry 2 } ++ ++dot1dSrPortLocalSegment OBJECT-TYPE ++ SYNTAX INTEGER ++ ACCESS read-write ++ STATUS mandatory ++ DESCRIPTION ++ "The segment number that uniquely identifies the ++ segment to which this port is connected. Current ++ source routing protocols limit this value to the ++ range: 0 through 4095. (The value 0 is used by ++ some management applications for special test ++ cases.) A value of 65535 signifies that no segment ++ number is assigned to this port." ++ ::= { dot1dSrPortEntry 3 } ++ ++dot1dSrPortBridgeNum OBJECT-TYPE ++ SYNTAX INTEGER ++ ACCESS read-write ++ STATUS mandatory ++ DESCRIPTION ++ "A bridge number uniquely identifies a bridge when ++ more than one bridge is used to span the same two ++ segments. Current source routing protocols limit ++ this value to the range: 0 through 15. A value of ++ 65535 signifies that no bridge number is assigned ++ to this bridge." ++ ::= { dot1dSrPortEntry 4 } ++ ++dot1dSrPortTargetSegment OBJECT-TYPE ++ SYNTAX INTEGER ++ ACCESS read-write ++ STATUS mandatory ++ DESCRIPTION ++ "The segment number that corresponds to the target ++ segment this port is considered to be connected to ++ by the bridge. Current source routing protocols ++ limit this value to the range: 0 through 4095. ++ ++ (The value 0 is used by some management ++ applications for special test cases.) A value of ++ 65535 signifies that no target segment is assigned ++ to this port." ++ ::= { dot1dSrPortEntry 5 } ++ ++-- It would be nice if we could use ifMtu as the size of the ++-- largest frame, but we can't because ifMtu is defined to be ++-- the size that the (inter-)network layer can use which can ++-- differ from the MAC layer (especially if several layers of ++-- encapsulation are used). ++ ++dot1dSrPortLargestFrame OBJECT-TYPE ++ SYNTAX INTEGER ++ ACCESS read-write ++ STATUS mandatory ++ DESCRIPTION ++ "The maximum size of the INFO field (LLC and ++ above) that this port can send/receive. It does ++ not include any MAC level (framing) octets. The ++ value of this object is used by this bridge to ++ determine whether a modification of the ++ LargestFrame (LF, see [14]) field of the Routing ++ Control field of the Routing Information Field is ++ necessary. ++ ++ 64 valid values are defined by the IEEE 802.5M SRT ++ Addendum: 516, 635, 754, 873, 993, 1112, 1231, ++ 1350, 1470, 1542, 1615, 1688, 1761, 1833, 1906, ++ 1979, 2052, 2345, 2638, 2932, 3225, 3518, 3812, ++ 4105, 4399, 4865, 5331, 5798, 6264, 6730, 7197, ++ 7663, 8130, 8539, 8949, 9358, 9768, 10178, 10587, ++ 10997, 11407, 12199, 12992, 13785, 14578, 15370, ++ 16163, 16956, 17749, 20730, 23711, 26693, 29674, ++ 32655, 35637, 38618, 41600, 44591, 47583, 50575, ++ 53567, 56559, 59551, and 65535. ++ ++ An illegal value will not be accepted by the ++ bridge." ++ ::= { dot1dSrPortEntry 6 } ++ ++dot1dSrPortSTESpanMode OBJECT-TYPE ++ SYNTAX INTEGER { ++ auto-span(1), ++ disabled(2), ++ forced(3) ++ } ++ ACCESS read-write ++ STATUS mandatory ++ DESCRIPTION ++ "Determines how this port behaves when presented ++ with a Spanning Tree Explorer frame. The value ++ 'disabled(2)' indicates that the port will not ++ accept or send Spanning Tree Explorer packets; any ++ STE packets received will be silently discarded. ++ The value 'forced(3)' indicates the port will ++ always accept and propagate Spanning Tree Explorer ++ frames. This allows a manually configured ++ Spanning Tree for this class of packet to be ++ configured. Note that unlike transparent ++ bridging, this is not catastrophic to the network ++ if there are loops. The value 'auto-span(1)' can ++ only be returned by a bridge that both implements ++ the Spanning Tree Protocol and has use of the ++ protocol enabled on this port. The behavior of the ++ port for Spanning Tree Explorer frames is ++ determined by the state of dot1dStpPortState. If ++ the port is in the 'forwarding' state, the frame ++ will be accepted or propagated. Otherwise, it ++ will be silently discarded." ++ ::= { dot1dSrPortEntry 7 } ++ ++dot1dSrPortSpecInFrames OBJECT-TYPE ++ SYNTAX Counter ++ ACCESS read-only ++ STATUS mandatory ++ DESCRIPTION ++ "The number of Specifically Routed frames, also ++ referred to as Source Routed Frames, that have ++ been received from this port's segment." ++ ::= { dot1dSrPortEntry 8 } ++ ++dot1dSrPortSpecOutFrames OBJECT-TYPE ++ SYNTAX Counter ++ ACCESS read-only ++ STATUS mandatory ++ DESCRIPTION ++ "The number of Specifically Routed frames, also ++ referred to as Source Routed Frames, that this ++ port has transmitted on its segment." ++ ::= { dot1dSrPortEntry 9 } ++ ++dot1dSrPortApeInFrames OBJECT-TYPE ++ SYNTAX Counter ++ ACCESS read-only ++ STATUS mandatory ++ DESCRIPTION ++ "The number of All Paths Explorer frames, also ++ referred to as All Routes Explorer frames, that ++ have been received by this port from its segment." ++ ::= { dot1dSrPortEntry 10 } ++ ++dot1dSrPortApeOutFrames OBJECT-TYPE ++ SYNTAX Counter ++ ACCESS read-only ++ STATUS mandatory ++ DESCRIPTION ++ "The number of all Paths Explorer Frames, also ++ referred to as All Routes Explorer frames, that ++ have been transmitted by this port on its ++ segment." ++ ::= { dot1dSrPortEntry 11 } ++ ++dot1dSrPortSteInFrames OBJECT-TYPE ++ SYNTAX Counter ++ ACCESS read-only ++ STATUS mandatory ++ DESCRIPTION ++ "The number of spanning tree explorer frames that ++ have been received by this port from its segment." ++ ::= { dot1dSrPortEntry 12 } ++ ++dot1dSrPortSteOutFrames OBJECT-TYPE ++ SYNTAX Counter ++ ACCESS read-only ++ STATUS mandatory ++ DESCRIPTION ++ "The number of spanning tree explorer frames that ++ have been transmitted by this port on its ++ segment." ++ ::= { dot1dSrPortEntry 13 } ++ ++dot1dSrPortSegmentMismatchDiscards OBJECT-TYPE ++ SYNTAX Counter ++ ACCESS read-only ++ STATUS mandatory ++ DESCRIPTION ++ "The number of explorer frames that have been ++ discarded by this port because the routing ++ descriptor field contained an invalid adjacent ++ segment value." ++ ::= { dot1dSrPortEntry 14 } ++ ++dot1dSrPortDuplicateSegmentDiscards OBJECT-TYPE ++ SYNTAX Counter ++ ACCESS read-only ++ STATUS mandatory ++ DESCRIPTION ++ "The number of frames that have been discarded by ++ this port because the routing descriptor field ++ contained a duplicate segment identifier." ++ ::= { dot1dSrPortEntry 15 } ++ ++dot1dSrPortHopCountExceededDiscards OBJECT-TYPE ++ SYNTAX Counter ++ ACCESS read-only ++ STATUS mandatory ++ DESCRIPTION ++ "The number of explorer frames that have been ++ discarded by this port because the Routing ++ Information Field has exceeded the maximum route ++ descriptor length." ++ ::= { dot1dSrPortEntry 16 } ++ ++dot1dSrPortDupLanIdOrTreeErrors OBJECT-TYPE ++ SYNTAX Counter ++ ACCESS read-only ++ STATUS mandatory ++ DESCRIPTION ++ "The number of duplicate LAN IDs or Tree errors. ++ This helps in detection of problems in networks ++ containing older IBM Source Routing Bridges." ++ ::= { dot1dSrPortEntry 17 } ++ ++dot1dSrPortLanIdMismatches OBJECT-TYPE ++ SYNTAX Counter ++ ACCESS read-only ++ STATUS mandatory ++ DESCRIPTION ++ "The number of ARE and STE frames that were ++ discarded because the last LAN ID in the routing ++ information field did not equal the LAN-in ID. ++ This error can occur in implementations which do ++ only a LAN-in ID and Bridge Number check instead ++ of a LAN-in ID, Bridge Number, and LAN-out ID ++ check before they forward broadcast frames." ++ ::= { dot1dSrPortEntry 18 } ++ ++-- scalar object in dot1dSr ++ ++dot1dSrBridgeLfMode OBJECT-TYPE ++ SYNTAX INTEGER { ++ mode3(1), ++ mode6(2) ++ } ++ ACCESS read-write ++ STATUS mandatory ++ DESCRIPTION ++ "Indicates whether the bridge operates using older ++ 3 bit length negotiation fields or the newer 6 bit ++ length field in its RIF." ++ ::= { dot1dSr 2 } ++ ++-- The Port-Pair Database ++ ++-- Implementation of this group is optional. ++ ++-- This group is implemented by those bridges that support ++-- the direct multiport model of the source route bridging ++-- mode as defined in the IEEE 802.5 SRT Addendum to ++-- 802.1d. ++ ++-- Bridges implementing this group may report 65535 for ++-- dot1dSrPortBridgeNumber and dot1dSrPortTargetSegment, ++-- indicating that those objects are not applicable. ++ ++dot1dPortPairTableSize OBJECT-TYPE ++ SYNTAX Gauge ++ ACCESS read-only ++ STATUS mandatory ++ DESCRIPTION ++ "The total number of entries in the Bridge Port ++ Pair Database." ++ ::= { dot1dPortPair 1 } ++ ++-- the Bridge Port-Pair table ++ ++-- this table represents port pairs within a bridge forming ++-- a unique bridge path, as defined in the IEEE 802.5M SRT ++-- Addendum. ++ ++dot1dPortPairTable OBJECT-TYPE ++ SYNTAX SEQUENCE OF Dot1dPortPairEntry ++ ACCESS not-accessible ++ STATUS mandatory ++ DESCRIPTION ++ "A table that contains information about every ++ ++ port pair database entity associated with this ++ source routing bridge." ++ ::= { dot1dPortPair 2 } ++ ++dot1dPortPairEntry OBJECT-TYPE ++ SYNTAX Dot1dPortPairEntry ++ ACCESS not-accessible ++ STATUS mandatory ++ DESCRIPTION ++ "A list of information for each port pair entity ++ of a bridge." ++ INDEX { dot1dPortPairLowPort, dot1dPortPairHighPort } ++ ::= { dot1dPortPairTable 1 } ++ ++Dot1dPortPairEntry ::= ++ SEQUENCE { ++ dot1dPortPairLowPort ++ INTEGER, ++ dot1dPortPairHighPort ++ INTEGER, ++ dot1dPortPairBridgeNum ++ INTEGER, ++ dot1dPortPairBridgeState ++ INTEGER ++ } ++ ++dot1dPortPairLowPort OBJECT-TYPE ++ SYNTAX INTEGER (1..65535) ++ ACCESS read-write ++ STATUS mandatory ++ DESCRIPTION ++ "The port number of the lower numbered port for ++ which this entry contains port pair database ++ information." ++ ::= { dot1dPortPairEntry 1 } ++ ++dot1dPortPairHighPort OBJECT-TYPE ++ SYNTAX INTEGER (1..65535) ++ ACCESS read-write ++ STATUS mandatory ++ DESCRIPTION ++ "The port number of the higher numbered port for ++ which this entry contains port pair database ++ information." ++ ::= { dot1dPortPairEntry 2 } ++ ++dot1dPortPairBridgeNum OBJECT-TYPE ++ SYNTAX INTEGER ++ ++ ACCESS read-write ++ STATUS mandatory ++ DESCRIPTION ++ "A bridge number that uniquely identifies the path ++ provided by this source routing bridge between the ++ segments connected to dot1dPortPairLowPort and ++ dot1dPortPairHighPort. The purpose of bridge ++ number is to disambiguate between multiple paths ++ connecting the same two LANs." ++ ::= { dot1dPortPairEntry 3 } ++ ++dot1dPortPairBridgeState OBJECT-TYPE ++ SYNTAX INTEGER { ++ enabled(1), ++ disabled(2), ++ invalid(3) ++ } ++ ACCESS read-write ++ STATUS mandatory ++ DESCRIPTION ++ "The state of dot1dPortPairBridgeNum. Writing ++ 'invalid(3)' to this object removes the ++ corresponding entry." ++ ::= { dot1dPortPairEntry 4 } ++ ++END --- net-snmp-5.3.1.orig/debian/patches/25_duplicate_iftable.README +++ net-snmp-5.3.1/debian/patches/25_duplicate_iftable.README @@ -0,0 +1,11 @@ +Patch from +http://sourceforge.net/tracker/index.php?func=detail&aid=1513191&group_id=12694&atid=312694 : + +This patch fixes bug #1238981 for me. If a new device +will be added, the old device are first checked. If +there's an old device with the same name is found, the +old device is removed from the list. This fixes the +problem that i have tons of ppp0 interfaces in the +snmpd ifTable. + +Signed-of-by: Sven Schnelle --- net-snmp-5.3.1.orig/debian/patches/33_trapdauth_noagentx.patch +++ net-snmp-5.3.1/debian/patches/33_trapdauth_noagentx.patch @@ -0,0 +1,42 @@ +Index: apps/snmptrapd.c +=================================================================== +RCS file: /cvsroot/net-snmp/net-snmp/apps/snmptrapd.c,v +retrieving revision 5.67.2.2 +retrieving revision 5.67.2.3 +diff -u -r5.67.2.2 -r5.67.2.3 +--- apps/snmptrapd.c 20 Apr 2006 22:27:55 -0000 5.67.2.2 ++++ apps/snmptrapd.c 31 Jul 2006 20:23:34 -0000 5.67.2.3 +@@ -1011,9 +1011,6 @@ + #ifdef USING_SNMPV3_SNMPENGINE_MODULE + extern void register_snmpEngine_scalars_context(const char *); + #endif +-#ifdef USING_SNMPV3_USMUSER_MODULE +- extern void init_register_usmUser_context(const char *); +-#endif + subagent_init(); + #ifdef USING_NOTIFICATION_LOG_MIB_NOTIFICATION_LOG_MODULE + /* register the notification log table */ +@@ -1035,14 +1032,17 @@ + */ + register_snmpEngine_scalars_context("snmptrapd"); + #endif ++ } ++#endif /* USING_AGENTX_SUBAGENT_MODULE && !SNMPTRAPD_DISABLE_AGENTX */ + +- /* register our authorization handler */ +- init_netsnmp_trapd_auth(); ++ /* register our authorization handler */ ++ init_netsnmp_trapd_auth(); + +-#ifdef USING_SNMPV3_USMUSER_MODULE ++#if defined(USING_AGENTX_SUBAGENT_MODULE) && !defined(SNMPTRAPD_DISABLE_AGENTX) && defined(USING_SNMPV3_USMUSER_MODULE) ++ if (agentx_subagent) { ++ extern void init_register_usmUser_context(const char *); + /* register ourselves as having a USM user database */ + init_register_usmUser_context("snmptrapd"); +-#endif + } + #endif + + + --- net-snmp-5.3.1.orig/debian/patches/21_aclocal.README +++ net-snmp-5.3.1/debian/patches/21_aclocal.README @@ -0,0 +1,2 @@ +Extract of net-snmp specific stuff from aclocal.m4 to be able to update +autotools to lates version using "aclocal -I m4" --- net-snmp-5.3.1.orig/debian/patches/08_defaultconfig.README +++ net-snmp-5.3.1/debian/patches/08_defaultconfig.README @@ -0,0 +1 @@ +Default snmpd.config file used by Debian --- net-snmp-5.3.1.orig/debian/patches/21_aclocal.patch +++ net-snmp-5.3.1/debian/patches/21_aclocal.patch @@ -0,0 +1,197 @@ +--- /dev/null 2006-02-03 11:59:50.049821240 +0100 ++++ net-snmp-5.3.0.1/m4/local.m4 2006-03-08 13:44:27.000000000 +0100 +@@ -0,0 +1,194 @@ ++dnl @synopsis AC_PROMPT_USER_NO_DEFINE(VARIABLENAME,QUESTION,[DEFAULT]) ++dnl ++dnl Asks a QUESTION and puts the results in VARIABLENAME with an optional ++dnl DEFAULT value if the user merely hits return. ++dnl ++dnl @version 1.15 ++dnl @author Wes Hardaker ++dnl ++AC_DEFUN([AC_PROMPT_USER_NO_DEFINE], ++dnl changequote(<<, >>) dnl ++dnl << ++[ ++if test "x$defaults" = "xno"; then ++echo $ECHO_N "$2 ($3): $ECHO_C" ++read tmpinput ++if test "$tmpinput" = "" -a "$3" != ""; then ++ tmpinput="$3" ++fi ++eval $1=\"$tmpinput\" ++else ++tmpinput="$3" ++eval $1=\"$tmpinput\" ++fi ++] ++dnl >> ++dnl changequote([, ]) ++) dnl done AC_PROMPT_USER ++ ++dnl @synopsis AC_PROMPT_USER(VARIABLENAME,QUESTION,[DEFAULT],QUOTED) ++dnl ++dnl Asks a QUESTION and puts the results in VARIABLENAME with an optional ++dnl DEFAULT value if the user merely hits return. Also calls ++dnl AC_DEFINE_UNQUOTED() on the VARIABLENAME for VARIABLENAMEs that should ++dnl be entered into the config.h file as well. If QUOTED is "quoted" then ++dnl the result will be defined within quotes. ++dnl ++dnl @version 1.15 ++dnl @author Wes Hardaker ++dnl ++AC_DEFUN([AC_PROMPT_USER], ++[ ++MSG_CHECK=`echo "$2" | tail -1` ++AC_CACHE_CHECK($MSG_CHECK, ac_cv_user_prompt_$1, ++[echo "" >&AC_FD_MSG ++AC_PROMPT_USER_NO_DEFINE($1,[$2],$3) ++eval ac_cv_user_prompt_$1=\$$1 ++echo $ECHO_N "setting $MSG_CHECK to... $ECHO_C" >&AC_FD_MSG ++]) ++if test "$ac_cv_user_prompt_$1" != "none"; then ++ if test "x$4" = "xquoted" -o "x$4" = "xQUOTED"; then ++ AC_DEFINE_UNQUOTED($1,"$ac_cv_user_prompt_$1") ++ else ++ AC_DEFINE_UNQUOTED($1,$ac_cv_user_prompt_$1) ++ fi ++fi ++]) dnl ++ ++dnl @synopsis AC_CHECK_STRUCT_FOR(INCLUDES,STRUCT,MEMBER,DEFINE,[no]) ++dnl ++dnl Checks STRUCT for MEMBER and defines DEFINE if found. ++dnl ++dnl @version 1.15 ++dnl @author Wes Hardaker ++dnl ++AC_DEFUN(AC_CHECK_STRUCT_FOR,[ ++ ++ac_safe_struct=`echo "$2" | sed 'y%./+-%__p_%'` ++ac_safe_member=`echo "$3" | sed 'y%./+-%__p_%'` ++ac_safe_all="ac_cv_struct_${ac_safe_struct}_has_${ac_safe_member}" ++changequote(, )dnl ++ ac_uc_define=STRUCT_`echo "${ac_safe_struct}_HAS_${ac_safe_member}" | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` ++changequote([, ])dnl ++ ++AC_MSG_CHECKING([for $2.$3]) ++AC_CACHE_VAL($ac_safe_all, ++[ ++if test "x$4" = "x"; then ++ defineit="= 0" ++elif test "x$4" = "xno"; then ++ defineit="" ++else ++ defineit="$4" ++fi ++AC_TRY_COMPILE([ ++$1 ++],[ ++struct $2 testit; ++testit.$3 $defineit; ++], eval "${ac_safe_all}=yes", eval "${ac_safe_all}=no" ) ++]) ++ ++if eval "test \"x$`echo ${ac_safe_all}`\" = \"xyes\""; then ++ AC_MSG_RESULT(yes) ++ AC_DEFINE_UNQUOTED($ac_uc_define) ++else ++ AC_MSG_RESULT(no) ++fi ++ ++]) ++ ++dnl AC_CHECK_IFNET_FOR(SUBSTRUCT,[no]) ++AC_DEFUN(AC_CHECK_IFNET_FOR,[ ++dnl check for $1 in struct ifnet ++AC_CHECK_STRUCT_FOR([ ++#ifdef IFNET_NEEDS_KERNEL ++#define _KERNEL 1 ++#endif ++#include ++#include ++#ifdef HAVE_SYS_TIME_H ++#include ++#endif ++#include ++#ifdef HAVE_NET_IF_VAR_H ++#include ++#endif ++#ifdef HAVE_SYS_QUEUE_H ++#include ++#endif ++#ifdef linux ++struct ifnet { ++ char *if_name; /* name, e.g. "en" or "lo" */ ++ short if_unit; /* sub-unit for lower level driver */ ++ short if_mtu; /* maximum transmission unit */ ++ short if_flags; /* up/down, broadcast, etc. */ ++ int if_metric; /* routing metric (external only) */ ++ char if_hwaddr [6]; /* ethernet address */ ++ int if_type; /* interface type: 1=generic, ++ 28=slip, ether=6, loopback=24 */ ++ int if_speed; /* interface speed: in bits/sec */ ++ ++ struct sockaddr if_addr; /* interface's address */ ++ struct sockaddr ifu_broadaddr; /* broadcast address */ ++ struct sockaddr ia_subnetmask; /* interface's mask */ ++ ++ struct ifqueue { ++ int ifq_len; ++ int ifq_drops; ++ } if_snd; /* output queue */ ++ int if_ibytes; /* octets received on interface */ ++ int if_ipackets; /* packets received on interface */ ++ int if_ierrors; /* input errors on interface */ ++ int if_iqdrops; /* input queue overruns */ ++ int if_obytes; /* octets sent on interface */ ++ int if_opackets; /* packets sent on interface */ ++ int if_oerrors; /* output errors on interface */ ++ int if_collisions; /* collisions on csma interfaces */ ++/* end statistics */ ++ struct ifnet *if_next; ++}; ++#endif ++], ifnet, $1, $2) ++]) ++ ++dnl ++dnl Add a search path to the LIBS and CFLAGS variables ++dnl ++AC_DEFUN(AC_ADD_SEARCH_PATH,[ ++ if test "x$1" != x -a -d $1; then ++ if test -d $1/lib; then ++ LDFLAGS="-L$1/lib $LDFLAGS" ++ fi ++ if test -d $1/include; then ++ CPPFLAGS="-I$1/include $CPPFLAGS" ++ fi ++ fi ++]) ++ ++dnl ++dnl Store information for displaying later. ++dnl ++AC_DEFUN(AC_MSG_CACHE_INIT,[ ++ rm -f configure-summary ++]) ++ ++AC_DEFUN(AC_MSG_CACHE_ADD,[ ++ cat >> configure-summary << EOF ++ $1 ++EOF ++]) ++ ++AC_DEFUN(AC_MSG_CACHE_DISPLAY,[ ++ echo "" ++ echo "---------------------------------------------------------" ++ echo " Net-SNMP configuration summary:" ++ echo "---------------------------------------------------------" ++ echo "" ++ cat configure-summary ++ echo "" ++ echo "---------------------------------------------------------" ++ echo "" ++]) ++ ++ --- net-snmp-5.3.1.orig/debian/patches/23_z_zero.patch +++ net-snmp-5.3.1/debian/patches/23_z_zero.patch @@ -0,0 +1,94 @@ +--- net-snmp-5.2.2.orig/snmplib/snmp_parse_args.c ++++ net-snmp-5.2.2/snmplib/snmp_parse_args.c +@@ -13,6 +13,7 @@ + */ + + #include ++#include + + #if HAVE_STDLIB_H + #include +@@ -401,21 +402,33 @@ + #define SNMPV3_CMD_OPTIONS + #ifdef SNMPV3_CMD_OPTIONS + case 'Z': +- session->engineBoots = strtoul(optarg, NULL, 10); +- if (session->engineBoots == 0 || !isdigit(optarg[0])) { ++ errno = 0; ++ session->engineBoots = strtoul(optarg, &cp, 10); ++ if (errno || cp == optarg) { + fprintf(stderr, "Need engine boots value after -Z flag.\n"); + return (-1); + } +- cp = strchr(optarg, ','); +- if (cp && *(++cp) && isdigit(*cp)) +- session->engineTime = strtoul(cp, NULL, 10); ++ if (*cp == ',') { ++ char *endptr; ++ cp ++; ++ session->engineTime = strtoul(cp, &endptr, 10); ++ if (errno || cp == endptr) { ++ fprintf(stderr, "Need engine time after \"-Z engineBoot,\".\n"); ++ return (-1); ++ } ++ } + /* + * Handle previous '-Z boot time' syntax + */ +- else if ((optind < argc) && isdigit(argv[optind][0])) +- session->engineTime = strtoul(argv[optind], NULL, 10); ++ else if (optind < argc) { ++ session->engineTime = strtoul(argv[optind], &cp, 10); ++ if (errno || cp == argv[optind]) { ++ fprintf(stderr, "Need engine boots value after -Z flag.\n"); ++ return (-1); ++ } ++ } + else { +- fprintf(stderr, "Need engine time value after -Z flag.\n"); ++ fprintf(stderr, "Need engine time value after \"-Z engineBoot\".\n"); + return (-1); + } + break; +--- net-snmp-5.2.2.orig/snmplib/snmpv3.c ++++ net-snmp-5.2.2/snmplib/snmpv3.c +@@ -3,6 +3,7 @@ + */ + + #include ++#include + #ifdef HAVE_LIMITS_H + #include + #endif +@@ -262,17 +263,24 @@ + switch (*cp) { + + case 'Z': +- session->engineBoots = strtoul(optarg, NULL, 10); +- if (session->engineBoots == 0 || !isdigit(optarg[0])) { ++ errno = 0; ++ session->engineBoots = strtoul(optarg, &cp, 10); ++ if (errno || cp == optarg) { + fprintf(stderr, "Need engine boots value after -3Z flag.\n"); + return (-1); + } +- cp = strchr(optarg, ','); +- if (cp && *(++cp) && isdigit(*cp)) +- session->engineTime = strtoul(cp, NULL, 10); +- else { +- fprintf(stderr, "Need engine time value after -3Z flag.\n"); ++ if (*cp == ',') { ++ char *endptr; ++ cp ++; ++ session->engineTime = strtoul(cp, &endptr, 10); ++ if (errno || cp == endptr) { ++ fprintf(stderr, "Need engine time after \"-3Z engineBoot,\".\n"); + return (-1); ++ } ++ } ++ else { ++ fprintf(stderr, "Need engine time after \"-3Z engineBoot\".\n"); ++ return (-1); + } + break; + --- net-snmp-5.3.1.orig/debian/patches/23_z_zero.README +++ net-snmp-5.3.1/debian/patches/23_z_zero.README @@ -0,0 +1,10 @@ +Patch from Peder Chr. Norgaard : + +The option for setting engineBoot and engineTime does not accept the +perfectly valid value 0 (zero). OK, I admit that the values are +somewhat unusual, but according to RFC 3414 they are legal. And I +needed them to test a border condition in an SNMP agent. + +The reason for the values not being accepted seems to simply be unprecise +testing of the return value for "strtoul". I include a patch that does a +somewhat better job. --- net-snmp-5.3.1.orig/debian/patches/24_pktinfo.patch +++ net-snmp-5.3.1/debian/patches/24_pktinfo.patch @@ -0,0 +1,408 @@ +diff -ur net-snmp-5.3.1/snmplib/snmpTCPDomain.c net-snmp-5.3.1-fixed/snmplib/snmpTCPDomain.c +--- net-snmp-5.3.1/snmplib/snmpTCPDomain.c 2005-09-16 12:30:48.000000000 +0200 ++++ net-snmp-5.3.1-fixed/snmplib/snmpTCPDomain.c 2007-02-09 20:52:29.112680146 +0100 +@@ -44,6 +44,12 @@ + #include + #include + ++/* Copied from snmpUDPDomain.c */ ++typedef struct netsnmp_udp_addr_pair_s { ++ struct sockaddr_in remote_addr; ++ struct in_addr local_addr; ++} netsnmp_udp_addr_pair; ++ + oid netsnmp_snmpTCPDomain[] = { TRANSPORT_DOMAIN_TCP_IP }; + static netsnmp_tdomain tcpDomain; + +@@ -55,18 +61,23 @@ + static char * + netsnmp_tcp_fmtaddr(netsnmp_transport *t, void *data, int len) + { +- struct sockaddr_in *to = NULL; ++ netsnmp_udp_addr_pair *addr_pair = NULL; + +- if (data != NULL && len == sizeof(struct sockaddr_in)) { +- to = (struct sockaddr_in *) data; +- } else if (t != NULL && t->data != NULL && +- t->data_length == sizeof(struct sockaddr_in)) { +- to = (struct sockaddr_in *) t->data; ++ if (data != NULL && len == sizeof(netsnmp_udp_addr_pair)) { ++ addr_pair = (netsnmp_udp_addr_pair *) data; ++ } else if (t != NULL && t->data != NULL) { ++ addr_pair = (netsnmp_udp_addr_pair *) t->data; + } +- if (to == NULL) { ++ ++ if (addr_pair == NULL) { + return strdup("TCP: unknown"); + } else { +- char tmp[64]; ++ struct sockaddr_in *to = NULL; ++ char tmp[64]; ++ to = (struct sockaddr_in *) &(addr_pair->remote_addr); ++ if (to == NULL) { ++ return strdup("TCP: unknown"); ++ } + + sprintf(tmp, "TCP: [%s]:%hd", + inet_ntoa(to->sin_addr), ntohs(to->sin_port)); +@@ -163,19 +174,21 @@ + netsnmp_tcp_accept(netsnmp_transport *t) + { + struct sockaddr *farend = NULL; ++ netsnmp_udp_addr_pair *addr_pair = NULL; + int newsock = -1, sockflags = 0; + socklen_t farendlen = sizeof(struct sockaddr_in); + char *str = NULL; + +- farend = (struct sockaddr *) malloc(sizeof(struct sockaddr_in)); ++ addr_pair = (netsnmp_udp_addr_pair *)malloc(sizeof(netsnmp_udp_addr_pair)); + +- if (farend == NULL) { ++ if (addr_pair == NULL) { + /* + * Indicate that the acceptance of this socket failed. + */ + DEBUGMSGTL(("netsnmp_tcp", "accept: malloc failed\n")); + return -1; + } ++ farend = (struct sockaddr_in *) &(addr_pair->remote_addr); + + if (t != NULL && t->sock >= 0) { + newsock = accept(t->sock, farend, &farendlen); +@@ -191,8 +204,8 @@ + free(t->data); + } + +- t->data = farend; +- t->data_length = farendlen; ++ t->data = addr_pair; ++ t->data_length = sizeof(netsnmp_udp_addr_pair); + str = netsnmp_tcp_fmtaddr(NULL, farend, farendlen); + DEBUGMSGTL(("netsnmp_tcp", "accept succeeded (from %s)\n", str)); + free(str); +@@ -238,6 +251,7 @@ + netsnmp_tcp_transport(struct sockaddr_in *addr, int local) + { + netsnmp_transport *t = NULL; ++ netsnmp_udp_addr_pair *addr_pair = NULL; + int rc = 0; + + +@@ -251,13 +265,14 @@ + } + memset(t, 0, sizeof(netsnmp_transport)); + +- t->data = malloc(sizeof(struct sockaddr_in)); +- if (t->data == NULL) { ++ addr_pair = (netsnmp_udp_addr_pair *)malloc(sizeof(netsnmp_udp_addr_pair)); ++ if (addr_pair == NULL) { + netsnmp_transport_free(t); + return NULL; + } +- t->data_length = sizeof(struct sockaddr_in); +- memcpy(t->data, addr, sizeof(struct sockaddr_in)); ++ t->data = addr_pair; ++ t->data_length = sizeof(netsnmp_udp_addr_pair); ++ memcpy(&(addr_pair->remote_addr), addr, sizeof(struct sockaddr_in)); + + t->domain = netsnmp_snmpTCPDomain; + t->domain_length = +diff -ur net-snmp-5.3.1/snmplib/snmpUDPDomain.c net-snmp-5.3.1-fixed/snmplib/snmpUDPDomain.c +--- net-snmp-5.3.1/snmplib/snmpUDPDomain.c 2005-11-05 23:01:42.000000000 +0100 ++++ net-snmp-5.3.1-fixed/snmplib/snmpUDPDomain.c 2007-02-09 20:53:10.626567462 +0100 +@@ -64,6 +64,11 @@ + + static netsnmp_tdomain udpDomain; + ++typedef struct netsnmp_udp_addr_pair_s { ++ struct sockaddr_in remote_addr; ++ struct in_addr local_addr; ++} netsnmp_udp_addr_pair; ++ + /* + * not static, since snmpUDPIPv6Domain needs it, but not public, either. + * (ie don't put it in a public header.) +@@ -78,17 +83,23 @@ + static char * + netsnmp_udp_fmtaddr(netsnmp_transport *t, void *data, int len) + { +- struct sockaddr_in *to = NULL; ++ netsnmp_udp_addr_pair *addr_pair = NULL; + +- if (data != NULL && len == sizeof(struct sockaddr_in)) { +- to = (struct sockaddr_in *) data; ++ if (data != NULL && len == sizeof(netsnmp_udp_addr_pair)) { ++ addr_pair = (netsnmp_udp_addr_pair *) data; + } else if (t != NULL && t->data != NULL) { +- to = (struct sockaddr_in *) t->data; ++ addr_pair = (netsnmp_udp_addr_pair *) t->data; + } +- if (to == NULL) { ++ ++ if (addr_pair == NULL) { + return strdup("UDP: unknown"); + } else { ++ struct sockaddr_in *to = NULL; + char tmp[64]; ++ to = (struct sockaddr_in *) &(addr_pair->remote_addr); ++ if (to == NULL) { ++ return strdup("UDP: unknown"); ++ } + + sprintf(tmp, "UDP: [%s]:%hu", + inet_ntoa(to->sin_addr), ntohs(to->sin_port)); +@@ -98,6 +109,77 @@ + + + ++#ifdef IP_PKTINFO ++ ++# define netsnmp_dstaddr(x) (&(((struct in_pktinfo *)(CMSG_DATA(x)))->ipi_addr)) ++ ++static int netsnmp_udp_recvfrom(int s, char *buf, int len, struct sockaddr *from, int *fromlen, struct in_addr *dstip) ++{ ++ int r; ++ struct iovec iov[1]; ++ char cmsg[CMSG_SPACE(sizeof(struct in_pktinfo))]; ++ struct cmsghdr *cmsgptr; ++ struct msghdr msg; ++ ++ iov[0].iov_base = buf; ++ iov[0].iov_len = len; ++ ++ memset(&msg, 0, sizeof msg); ++ msg.msg_name = from; ++ msg.msg_namelen = *fromlen; ++ msg.msg_iov = iov; ++ msg.msg_iovlen = 1; ++ msg.msg_control = &cmsg; ++ msg.msg_controllen = sizeof(cmsg); ++ ++ r = recvmsg(s, &msg, 0); ++ ++ if (r == -1) { ++ return -1; ++ } ++ ++ DEBUGMSGTL(("netsnmp_udp", "got source addr: %s\n", inet_ntoa(((struct sockaddr_in *)from)->sin_addr))); ++ for (cmsgptr = CMSG_FIRSTHDR(&msg); cmsgptr != NULL; cmsgptr = CMSG_NXTHDR(&msg, cmsgptr)) { ++ if (cmsgptr->cmsg_level == SOL_IP && cmsgptr->cmsg_type == IP_PKTINFO) { ++ memcpy((void *) dstip, netsnmp_dstaddr(cmsgptr), sizeof(struct in_addr)); ++ DEBUGMSGTL(("netsnmp_udp", "got destination (local) addr %s\n", ++ inet_ntoa(*dstip))); ++ } ++ } ++ return r; ++} ++ ++static int netsnmp_udp_sendto(int fd, struct in_addr *srcip, struct sockaddr *remote, ++ char *data, int len) ++{ ++ struct iovec iov = { data, len }; ++ struct { ++ struct cmsghdr cm; ++ struct in_pktinfo ipi; ++ } cmsg = { ++ .cm = { ++ .cmsg_len = sizeof(struct cmsghdr) + sizeof(struct in_pktinfo), ++ .cmsg_level = SOL_IP, ++ .cmsg_type = IP_PKTINFO, ++ }, ++ .ipi = { ++ .ipi_ifindex = 0, ++ .ipi_spec_dst = srcip ? srcip->s_addr : 0, ++ }, ++ }; ++ struct msghdr m = { ++ .msg_name = remote, ++ .msg_namelen = sizeof(struct sockaddr_in), ++ .msg_iov = &iov, ++ .msg_iovlen = 1, ++ .msg_control = &cmsg, ++ .msg_controllen = sizeof(cmsg), ++ .msg_flags = 0, ++ }; ++ return sendmsg(fd, &m, MSG_NOSIGNAL|MSG_DONTWAIT); ++} ++#endif /* IP_PKTINFO */ ++ + /* + * You can write something into opaque that will subsequently get passed back + * to your send function if you like. For instance, you might want to +@@ -110,27 +192,33 @@ + { + int rc = -1; + socklen_t fromlen = sizeof(struct sockaddr); ++ netsnmp_udp_addr_pair *addr_pair = NULL; + struct sockaddr *from; + + if (t != NULL && t->sock >= 0) { +- from = (struct sockaddr *) malloc(sizeof(struct sockaddr_in)); +- if (from == NULL) { ++ addr_pair = (netsnmp_udp_addr_pair *) malloc(sizeof(netsnmp_udp_addr_pair)); ++ if (addr_pair == NULL) { + *opaque = NULL; + *olength = 0; + return -1; + } else { +- memset(from, 0, fromlen); ++ memset(addr_pair, 0, sizeof(netsnmp_udp_addr_pair)); ++ from = (struct sockaddr *) &(addr_pair->remote_addr); + } + + while (rc < 0) { +- rc = recvfrom(t->sock, buf, size, 0, from, &fromlen); ++#if defined IP_PKTINFO ++ rc = netsnmp_udp_recvfrom(t->sock, buf, size, from, &fromlen, &(addr_pair->local_addr)); ++#else ++ rc = recvfrom(t->sock, buf, size, 0, from, &fromlen); ++#endif /* IP_PKTINFO */ + if (rc < 0 && errno != EINTR) { + break; + } + } + + if (rc >= 0) { +- char *str = netsnmp_udp_fmtaddr(NULL, from, fromlen); ++ char *str = netsnmp_udp_fmtaddr(NULL, addr_pair, sizeof(netsnmp_udp_addr_pair)); + DEBUGMSGTL(("netsnmp_udp", + "recvfrom fd %d got %d bytes (from %s)\n", + t->sock, rc, str)); +@@ -139,8 +227,8 @@ + DEBUGMSGTL(("netsnmp_udp", "recvfrom fd %d err %d (\"%s\")\n", + t->sock, errno, strerror(errno))); + } +- *opaque = (void *)from; +- *olength = sizeof(struct sockaddr_in); ++ *opaque = (void *)addr_pair; ++ *olength = sizeof(netsnmp_udp_addr_pair); + } + return rc; + } +@@ -152,24 +240,31 @@ + void **opaque, int *olength) + { + int rc = -1; ++ netsnmp_udp_addr_pair *addr_pair = NULL; + struct sockaddr *to = NULL; + + if (opaque != NULL && *opaque != NULL && +- *olength == sizeof(struct sockaddr_in)) { +- to = (struct sockaddr *) (*opaque); ++ *olength == sizeof(netsnmp_udp_addr_pair)) { ++ addr_pair = (netsnmp_udp_addr_pair *) (*opaque); + } else if (t != NULL && t->data != NULL && +- t->data_length == sizeof(struct sockaddr_in)) { +- to = (struct sockaddr *) (t->data); ++ t->data_length == sizeof(netsnmp_udp_addr_pair)) { ++ addr_pair = (netsnmp_udp_addr_pair *) (t->data); + } + ++ to = (struct sockaddr *) &(addr_pair->remote_addr); ++ + if (to != NULL && t != NULL && t->sock >= 0) { +- char *str = netsnmp_udp_fmtaddr(NULL, (void *) to, +- sizeof(struct sockaddr_in)); ++ char *str = netsnmp_udp_fmtaddr(NULL, (void *) addr_pair, ++ sizeof(netsnmp_udp_addr_pair)); + DEBUGMSGTL(("netsnmp_udp", "send %d bytes from %p to %s on fd %d\n", + size, buf, str, t->sock)); + free(str); + while (rc < 0) { +- rc = sendto(t->sock, buf, size, 0, to, sizeof(struct sockaddr)); ++#if defined IP_PKTINFO ++ rc = netsnmp_udp_sendto(t->sock, addr_pair ? &(addr_pair->local_addr) : NULL, to, buf, size); ++#else ++ rc = sendto(t->sock, buf, size, 0, to, sizeof(struct sockaddr)); ++#endif /* IP_PKTINFO */ + if (rc < 0 && errno != EINTR) { + DEBUGMSGTL(("netsnmp_udp", "sendto error, rc %d (errno %d)\n", + rc, errno)); +@@ -486,18 +581,26 @@ + int rc = 0; + char *str = NULL; + char *client_socket = NULL; ++ netsnmp_udp_addr_pair *addr_pair = NULL; + + if (addr == NULL || addr->sin_family != AF_INET) { + return NULL; + } + ++ addr_pair = (struct udp_addr_pair *) malloc(sizeof(netsnmp_udp_addr_pair)); ++ if (addr_pair == NULL) { ++ return NULL; ++ } ++ memset(addr_pair, 0, sizeof(netsnmp_udp_addr_pair)); ++ memcpy(&(addr_pair->remote_addr), addr, sizeof(struct sockaddr_in)); ++ + t = (netsnmp_transport *) malloc(sizeof(netsnmp_transport)); + if (t == NULL) { + return NULL; + } + +- str = netsnmp_udp_fmtaddr(NULL, (void *)addr, +- sizeof(struct sockaddr_in)); ++ str = netsnmp_udp_fmtaddr(NULL, (void *)addr_pair, ++ sizeof(netsnmp_udp_addr_pair)); + DEBUGMSGTL(("netsnmp_udp", "open %s %s:%d\n", local ? "local" : "remote", + str,addr->sin_port)); + free(str); +@@ -532,6 +635,18 @@ + t->local[5] = (htons(addr->sin_port) & 0x00ff) >> 0; + t->local_length = 6; + ++#ifdef IP_PKTINFO ++ { ++ int sockopt = 1; ++ int sockoptlen = sizeof(int); ++ if (setsockopt(t->sock, SOL_IP, IP_PKTINFO, &sockopt, sizeof sockopt) == -1) { ++ DEBUGMSGTL(("netsnmp_udp", "couldn't set IP_PKTINFO: %s\n", ++ strerror(errno))); ++ return NULL; ++ } ++ DEBUGMSGTL(("netsnmp_udp", "set IP_PKTINFO\n")); ++ } ++#endif + rc = bind(t->sock, (struct sockaddr *) addr, + sizeof(struct sockaddr)); + if (rc != 0) { +@@ -561,7 +676,7 @@ + * transport-specific data pointer for later use by netsnmp_udp_send. + */ + +- t->data = malloc(sizeof(struct sockaddr_in)); ++ t->data = malloc(sizeof(netsnmp_udp_addr_pair)); + t->remote = malloc(6); + if (t->data == NULL || t->remote == NULL) { + netsnmp_transport_free(t); +@@ -571,8 +686,8 @@ + t->remote[4] = (htons(addr->sin_port) & 0xff00) >> 8; + t->remote[5] = (htons(addr->sin_port) & 0x00ff) >> 0; + t->remote_length = 6; +- memcpy(t->data, addr, sizeof(struct sockaddr_in)); +- t->data_length = sizeof(struct sockaddr_in); ++ memcpy(t->data, addr_pair, sizeof(netsnmp_udp_addr_pair)); ++ t->data_length = sizeof(netsnmp_udp_addr_pair); + } + + /* +@@ -993,7 +1108,8 @@ + char **contextName) + { + com2SecEntry *c; +- struct sockaddr_in *from = (struct sockaddr_in *) opaque; ++ netsnmp_udp_addr_pair *addr_pair = (netsnmp_udp_addr_pair *) opaque; ++ struct sockaddr_in *from = (struct sockaddr_in *) &(addr_pair->remote_addr); + char *ztcommunity = NULL; + + if (secName != NULL) { +@@ -1015,7 +1131,7 @@ + * name. + */ + +- if (opaque == NULL || olength != sizeof(struct sockaddr_in) || ++ if (opaque == NULL || olength != sizeof(netsnmp_udp_addr_pair) || + from->sin_family != AF_INET) { + DEBUGMSGTL(("netsnmp_udp_getSecName", + "no IPv4 source address in PDU?\n")); --- net-snmp-5.3.1.orig/debian/patches/24_pktinfo.README +++ net-snmp-5.3.1/debian/patches/24_pktinfo.README @@ -0,0 +1,11 @@ + send udp replies from the ip alias they have been received + if you have a box with some virtual/cluster/alias ips, + currently a udp request received on the alias ip will be + answered using the primary ip. + this patch uses the linux IP_PKTINFO socket option to + be able to send back replies with the same source ip + the corresponding request has been received on. + + -- Lars Ellenberg + + Update from Jan Andres --- net-snmp-5.3.1.orig/debian/patches/31_silence_subcontainer.README +++ net-snmp-5.3.1/debian/patches/31_silence_subcontainer.README @@ -0,0 +1 @@ +Stop syslog spam about subcontainer insert error. --- net-snmp-5.3.1.orig/debian/patches/32_mnttab_path.patch +++ net-snmp-5.3.1/debian/patches/32_mnttab_path.patch @@ -0,0 +1,29 @@ +--- net-snmp-5.2.3.orig/configure.in 2006-07-14 01:29:49.000000000 +0200 ++++ net-snmp-5.2.3/configure.in 2006-12-28 16:07:34.000000000 +0100 +@@ -2102,13 +2102,19 @@ + + AC_CACHE_CHECK(for mount table location,ac_cv_ETC_MNTTAB, + [ac_cv_ETC_MNTTAB="unknown" +-for i in /etc/mnttab /etc/mtab /etc/filesystems +- do +- if test -f $i; then +- ac_cv_ETC_MNTTAB="$i" +- break; +- fi +-done ++AC_ARG_WITH(mnttab, ++[ --with-mnttab=\"/etc/mnttab\" Mount table location. ++ The default is to autodetect this.], ++ [ac_cv_ETC_MNTTAB="$with_mnttab"]) ++if test "$ac_cv_ETC_MNTTAB" = "unknown"; then ++ for i in /etc/mnttab /etc/mtab /etc/filesystems ++ do ++ if test -f $i; then ++ ac_cv_ETC_MNTTAB="$i" ++ break; ++ fi ++ done ++fi + ]) + + AC_DEFINE_UNQUOTED(ETC_MNTTAB,"$ac_cv_ETC_MNTTAB") --- net-snmp-5.3.1.orig/debian/patches/32_mnttab_path.README +++ net-snmp-5.3.1/debian/patches/32_mnttab_path.README @@ -0,0 +1 @@ +Patch to hardcode mount table location. --- net-snmp-5.3.1.orig/debian/patches/35_ipmib_size_64bit.patch +++ net-snmp-5.3.1/debian/patches/35_ipmib_size_64bit.patch @@ -0,0 +1,189 @@ +Index: agent/mibgroup/mibII/ipAddr.c +=================================================================== +RCS file: /cvsroot/net-snmp/net-snmp/agent/mibgroup/mibII/ipAddr.c,v +retrieving revision 5.18 +diff -u -p -r5.18 ipAddr.c +--- agent/mibgroup/mibII/ipAddr.c 3 May 2006 20:59:35 -0000 5.18 ++++ agent/mibgroup/mibII/ipAddr.c 31 Aug 2006 19:43:27 -0000 +@@ -293,6 +293,7 @@ var_ipAddrEntry(struct variable *vp, + *var_len = sizeof(long_return); + switch (vp->magic) { + case IPADADDR: ++ *var_len = sizeof(uint32_t); + #ifdef hpux11 + long_return = lowin_ifaddr.Addr; + return (u_char *) & long_return; +@@ -308,6 +309,7 @@ var_ipAddrEntry(struct variable *vp, + long_return = lowinterface; + return (u_char *) & long_return; + case IPADNETMASK: ++ *var_len = sizeof(uint32_t); + #ifdef hpux11 + long_return = lowin_ifaddr.NetMask; + return (u_char *) & long_return; +@@ -912,6 +914,7 @@ var_ipAddrEntry(struct variable *vp, + *var_len = sizeof(long_return); + switch (vp->magic) { + case IPADADDR: ++ *var_len = sizeof(uint32_t); + long_return = ifs[i].addr.s_addr; + return (u_char *) & long_return; + +@@ -920,6 +923,7 @@ var_ipAddrEntry(struct variable *vp, + return (u_char *) & long_return; + + case IPADNETMASK: ++ *var_len = sizeof(uint32_t); + long_return = ifs[i].mask.s_addr; + return (u_char *) & long_return; + +@@ -1021,6 +1025,7 @@ var_ipAddrEntry(struct variable *vp, + *var_len = sizeof(long_return); + switch (vp->magic) { + case IPADADDR: ++ *var_len = sizeof(uint32_t); + long_return = pIpAddrTable->table[i].dwAddr; + return (u_char *) & long_return; + +@@ -1030,6 +1035,7 @@ var_ipAddrEntry(struct variable *vp, + return (u_char *) & long_return; + + case IPADNETMASK: ++ *var_len = sizeof(uint32_t); + long_return = pIpAddrTable->table[i].dwMask; + free(pIpAddrTable); + return (u_char *) & long_return; +Index: agent/mibgroup/mibII/at.c +=================================================================== +RCS file: /cvsroot/net-snmp/net-snmp/agent/mibgroup/mibII/at.c,v +retrieving revision 5.10 +diff -u -p -r5.10 at.c +--- agent/mibgroup/mibII/at.c 11 Jan 2006 23:26:47 -0000 5.10 ++++ agent/mibgroup/mibII/at.c 1 Sep 2006 14:49:26 -0000 +@@ -314,7 +314,7 @@ var_atEntry(struct variable *vp, + *var_len = sizeof(LowPhysAddr); + return (u_char *) LowPhysAddr; + case IPMEDIANETADDRESS: /* also ATNETADDRESS */ +- *var_len = sizeof long_return; ++ *var_len = sizeof(uint32_t); + long_return = LowAddr; + return (u_char *) & long_return; + case IPMEDIATYPE: +@@ -454,7 +454,7 @@ var_atEntry(struct variable * vp, + *var_len = Lowentry.ipNetToMediaPhysAddress.o_length; + return Lowentry.ipNetToMediaPhysAddress.o_bytes; + case IPMEDIANETADDRESS: +- *var_len = sizeof(Lowentry.ipNetToMediaNetAddress); ++ *var_len = sizeof(uint32_t); + return (u_char *) &Lowentry.ipNetToMediaNetAddress; + case IPMEDIATYPE: + *var_len = sizeof long_return; +@@ -957,7 +957,7 @@ var_atEntry(struct variable *vp, + free(pIpNetTable); + return (u_char *) return_buf; + case IPMEDIANETADDRESS: /* also ATNETADDRESS */ +- *var_len = sizeof long_return; ++ *var_len = sizeof(uint32_t); + long_return = pIpNetTable->table[i].dwAddr; + free(pIpNetTable); + return (u_char *) & long_return; +Index: agent/mibgroup/mibII/var_route.c +=================================================================== +RCS file: /cvsroot/net-snmp/net-snmp/agent/mibgroup/mibII/var_route.c,v +retrieving revision 5.19 +diff -u -p -r5.19 var_route.c +--- agent/mibgroup/mibII/var_route.c 25 Jul 2006 15:26:42 -0000 5.19 ++++ agent/mibgroup/mibII/var_route.c 1 Sep 2006 14:49:27 -0000 +@@ -227,6 +227,7 @@ var_ipRouteEntry(struct variable *vp, + + switch (vp->magic) { + case IPROUTEDEST: ++ *var_len = sizeof(uint32_t); + return (u_char *) get_in_address((struct sockaddr *) (rtp + 1), + rtp->rtm_addrs, RTA_DST); + case IPROUTEIFINDEX: +@@ -260,6 +261,7 @@ var_ipRouteEntry(struct variable *vp, + long_return = -1; + return (u_char *) & long_return; + case IPROUTENEXTHOP: ++ *var_len = sizeof(uint32_t); + return (u_char *) get_in_address((struct sockaddr *) (rtp + 1), + rtp->rtm_addrs, RTA_GATEWAY); + case IPROUTETYPE: +@@ -530,6 +532,7 @@ var_ipRouteEntry(struct variable * vp, + + switch (vp->magic) { + case IPROUTEDEST: ++ *var_len = sizeof(uint32_t); + #if NEED_KLGETSA + sa = klgetsa((struct sockaddr_in *) rthead[RtIndex]->rt_dst); + return (u_char *) & (sa->sin_addr.s_addr); +@@ -589,6 +591,7 @@ var_ipRouteEntry(struct variable * vp, + long_return = -1; + return (u_char *) & long_return; + case IPROUTENEXTHOP: ++ *var_len = sizeof(uint32_t); + #if NEED_KLGETSA + sa = klgetsa((struct sockaddr_in *) rthead[RtIndex]->rt_gateway); + return (u_char *) & (sa->sin_addr.s_addr); +@@ -1561,6 +1563,7 @@ var_ipRouteEntry(struct variable *vp, + + switch (vp->magic) { + case IPROUTEDEST: ++ *var_len = sizeof(uint32_t); + *write_method = write_rte; + long_return = pIpRtrTable->table[RtIndex].dwForwardDest; + return (u_char *) & long_return; +@@ -1589,6 +1592,7 @@ var_ipRouteEntry(struct variable *vp, + long_return = pIpRtrTable->table[RtIndex].dwForwardMetric5; + return (u_char *) & long_return; + case IPROUTENEXTHOP: ++ *var_len = sizeof(uint32_t); + *write_method = write_rte; + long_return = pIpRtrTable->table[RtIndex].dwForwardNextHop; + return (u_char *) & long_return; +@@ -1852,10 +1856,11 @@ var_ipRouteEntry(struct variable * vp, + *length = 14; + } + +- *var_len = sizeof long_return; ++ *var_len = sizeof(long_return); + + switch (vp->magic) { + case IPROUTEDEST: ++ *var_len = sizeof(uint32_t); + long_return = rt->dest.s_addr; + return (u_char *) & long_return; + +@@ -1880,6 +1885,7 @@ var_ipRouteEntry(struct variable * vp, + return (u_char *) & long_return; + + case IPROUTENEXTHOP: ++ *var_len = sizeof(uint32_t); + if (rt->gateway.s_addr == 0 && rt->ifa.s_addr == 0) + long_return = 0; + else if (rt->gateway.s_addr == 0) +Index: agent/mibgroup/mibII/udpTable.c +=================================================================== +RCS file: /cvsroot/net-snmp/net-snmp/agent/mibgroup/mibII/udpTable.c,v +retrieving revision 5.24 +diff -u -p -r5.24 udpTable.c +--- agent/mibgroup/mibII/udpTable.c 27 Jun 2006 18:09:16 -0000 5.24 ++++ agent/mibgroup/mibII/udpTable.c 1 Sep 2006 14:49:27 -0000 +@@ -213,12 +213,12 @@ udpTable_handler(netsnmp_mib_handler + addr = ntohl(IN6_EXTRACT_V4ADDR(&entry->pcb.inp_laddr)); + snmp_set_var_typed_value(requestvb, ASN_IPADDRESS, + (u_char*)&addr, +- sizeof(addr)); ++ sizeof(uint32_t)); + #else + addr = UDP_ADDRESS_TO_HOST_ORDER(entry->UDPTABLE_LOCALADDRESS); + snmp_set_var_typed_value(requestvb, ASN_IPADDRESS, + (u_char *)&addr, +- sizeof(addr)); ++ sizeof(uint32_t)); + #endif + break; + case UDPLOCALPORT: + + --- net-snmp-5.3.1.orig/debian/patches/33_trapdauth_noagentx.README +++ net-snmp-5.3.1/debian/patches/33_trapdauth_noagentx.README @@ -0,0 +1 @@ +Official Patch #1527661 --- net-snmp-5.3.1.orig/debian/patches/34_gettable.patch +++ net-snmp-5.3.1/debian/patches/34_gettable.patch @@ -0,0 +1,54 @@ +Index: SNMP.pm +=================================================================== +RCS file: /cvsroot/net-snmp/net-snmp/perl/SNMP/SNMP.pm,v +retrieving revision 5.70.2.7 +diff -u -p -r5.70.2.7 SNMP.pm +--- perl/SNMP/SNMP.pm 30 Jun 2006 22:26:19 -0000 5.70.2.7 ++++ perl/SNMP/SNMP.pm 31 Jul 2006 21:46:53 -0000 +@@ -649,7 +649,8 @@ sub gettable { + # i.e. we have reached the end of this table. + # + +- my ($this, $root_oid, $options) = @_; ++ my ($this, $root_oid, %options) = @_; ++ my $options = \%options; + my ($textnode, $stopconds, $varbinds, $vbl, $res, %result_hash, $repeat); + + # translate the OID into numeric form if its not +@@ -722,7 +723,7 @@ sub gettable { + $vbl = $varbinds; + + my $repeatcount; +- if ($this->{Version} == 1 || $opts->{nogetbulk}) { ++ if ($this->{Version} == 1 || $options->{nogetbulk}) { + $repeatcount = 1; + } elsif ($options->{'repeat'}) { + $repeatcount = $options->{'repeat'}; +@@ -744,7 +745,7 @@ sub gettable { + } + + while ($#$vbl > -1 && !$this->{ErrorNum}) { +- if ($#$vbl + 1 != ($#$stopconds + 1) * $repeatcount) { ++ if (($#$vbl + 1) % ($#$stopconds + 1) != 0) { + print STDERR "ack: gettable results not appropriate\n"; + my @k = keys(%result_hash); + last if ($#k > -1); # bail with what we have +@@ -763,12 +764,12 @@ sub gettable { + my $row_value = $vbl->[$i][2]; + my $row_type = $vbl->[$i][3]; + +- if ($row_oid =~ /^$stopconds->[$i % ($#$stopconds+1)]/) { +- ++ if ($row_oid =~ /^$stopconds->[$i % ($#$stopconds+1)]/ && ++ $row_value ne 'ENDOFMIBVIEW') { + if ($row_type eq "OBJECTID") { + +- # If the value returned is an OID, translate this +- # back in to a textual OID ++ # If the value returned is an OID, translate this ++ # back in to a textual OID + + $row_value = SNMP::translateObj($row_value); + + + --- net-snmp-5.3.1.orig/debian/patches/34_gettable.README +++ net-snmp-5.3.1/debian/patches/34_gettable.README @@ -0,0 +1 @@ +Official Patch #1532044 --- net-snmp-5.3.1.orig/debian/patches/36_ip_addr_route_leaks.patch +++ net-snmp-5.3.1/debian/patches/36_ip_addr_route_leaks.patch @@ -0,0 +1,85 @@ +Index: agent/mibgroup/ip-mib/ipAddressTable/ipAddressTable.c +=================================================================== +RCS file: /cvsroot/net-snmp/net-snmp/agent/mibgroup/ip-mib/ipAddressTable/ipAddressTable.c,v +retrieving revision 1.16.2.1 +retrieving revision 1.16.2.2 +diff -u -p -r1.16.2.1 -r1.16.2.2 +--- agent/mibgroup/ip-mib/ipAddressTable/ipAddressTable.c 25 Jan 2006 16:26:39 -0000 1.16.2.1 ++++ agent/mibgroup/ip-mib/ipAddressTable/ipAddressTable.c 6 Dec 2006 15:10:40 -0000 1.16.2.2 +@@ -2,7 +2,7 @@ + * Note: this file originally auto-generated by mib2c using + * version : 1.48 $ of : mfd-top.m2c,v $ + * +- * $Id: ipAddressTable.c,v 1.16.2.1 2006/01/25 16:26:39 dts12 Exp $ ++ * $Id: ipAddressTable.c,v 1.16.2.2 2006/12/06 15:10:40 rstory Exp $ + */ + /** \page MFD helper for ipAddressTable + * +@@ -156,6 +156,10 @@ ipAddressTable_rowreq_ctx_cleanup(ipAddr + /* + * TODO:211:o: |-> Perform extra ipAddressTable rowreq cleanup. + */ ++ if (NULL != rowreq_ctx->data) { ++ ipAddressTable_release_data(rowreq_ctx->data); ++ rowreq_ctx->data = NULL; ++ } + } /* ipAddressTable_rowreq_ctx_cleanup */ + + /** +Index: agent/mibgroup/ip-forward-mib/inetCidrRouteTable/inetCidrRouteTable.c +=================================================================== +RCS file: /cvsroot/net-snmp/net-snmp/agent/mibgroup/ip-forward-mib/inetCidrRouteTable/inetCidrRouteTable.c,v +retrieving revision 1.9.2.2 +diff -u -p -r1.9.2.2 inetCidrRouteTable.c +--- agent/mibgroup/ip-forward-mib/inetCidrRouteTable/inetCidrRouteTable.c 12 Jun 2006 20:01:19 -0000 1.9.2.2 ++++ agent/mibgroup/ip-forward-mib/inetCidrRouteTable/inetCidrRouteTable.c 6 Dec 2006 15:20:23 -0000 +@@ -2,7 +2,7 @@ + * Note: this file originally auto-generated by mib2c using + * version : 1.48 $ of : mfd-top.m2c,v $ + * +- * $Id: inetCidrRouteTable.c,v 1.9.2.2 2006/06/12 20:01:19 rstory Exp $ ++ * $Id: inetCidrRouteTable.c,v 1.9.2.3 2006/11/14 22:20:40 rstory Exp $ + */ + /** \page MFD helper for inetCidrRouteTable + * +@@ -205,6 +205,10 @@ inetCidrRouteTable_rowreq_ctx_cleanup(in + /* + * TODO:211:o: |-> Perform extra inetCidrRouteTable rowreq cleanup. + */ ++ if (NULL != rowreq_ctx->data) { ++ inetCidrRouteTable_release_data(rowreq_ctx->data); ++ rowreq_ctx->data = NULL; ++ } + } /* inetCidrRouteTable_rowreq_ctx_cleanup */ + + /** +Index: agent/mibgroup/ip-forward-mib/ipCidrRouteTable/ipCidrRouteTable.c +=================================================================== +RCS file: /cvsroot/net-snmp/net-snmp/agent/mibgroup/ip-forward-mib/ipCidrRouteTable/ipCidrRouteTable.c,v +retrieving revision 1.10.2.1 +diff -u -p -r1.10.2.1 ipCidrRouteTable.c +--- agent/mibgroup/ip-forward-mib/ipCidrRouteTable/ipCidrRouteTable.c 25 Jan 2006 16:26:38 -0000 1.10.2.1 ++++ agent/mibgroup/ip-forward-mib/ipCidrRouteTable/ipCidrRouteTable.c 6 Dec 2006 15:20:26 -0000 +@@ -2,7 +2,7 @@ + * Note: this file originally auto-generated by mib2c using + * version : 1.48 $ of : mfd-top.m2c,v $ + * +- * $Id: ipCidrRouteTable.c,v 1.10.2.1 2006/01/25 16:26:38 dts12 Exp $ ++ * $Id: ipCidrRouteTable.c,v 1.10.2.2 2006/11/14 22:20:40 rstory Exp $ + */ + /** \page MFD helper for ipCidrRouteTable + * +@@ -160,6 +160,11 @@ ipCidrRouteTable_rowreq_ctx_cleanup(ipCi + /* + * TODO:211:o: |-> Perform extra ipCidrRouteTable rowreq cleanup. + */ ++ if (NULL != rowreq_ctx->data) { ++ ipCidrRouteTable_release_data(rowreq_ctx->data); ++ rowreq_ctx->data = NULL; ++ } ++ + } /* ipCidrRouteTable_rowreq_ctx_cleanup */ + + /** + + --- net-snmp-5.3.1.orig/debian/patches/35_ipmib_size_64bit.README +++ net-snmp-5.3.1/debian/patches/35_ipmib_size_64bit.README @@ -0,0 +1 @@ +Official Patch #1550635 --- net-snmp-5.3.1.orig/debian/patches/40_fix_xen.README +++ net-snmp-5.3.1/debian/patches/40_fix_xen.README @@ -0,0 +1,2 @@ +Backport from 5.3 CVS branch to fix XEN problems. From: +https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=221911 --- net-snmp-5.3.1.orig/debian/patches/36_ip_addr_route_leaks.README +++ net-snmp-5.3.1/debian/patches/36_ip_addr_route_leaks.README @@ -0,0 +1 @@ +Official Patch #1610160 --- net-snmp-5.3.1.orig/debian/patches/40_fix_xen.patch +++ net-snmp-5.3.1/debian/patches/40_fix_xen.patch @@ -0,0 +1,97 @@ +--- snmplib/snmp_logging.c 2006/01/25 16:27:41 5.34.2.1 ++++ snmplib/snmp_logging.c 2006/08/11 14:56:45 5.34.2.5 +@@ -86,6 +86,17 @@ + #include + #define LOGLENGTH 1024 + ++#ifdef va_copy ++#define NEED_VA_END_AFTER_VA_COPY ++#else ++#ifdef __vacopy ++#define vacopy __vacopy ++#define NEED_VA_END_AFTER_VA_COPY ++#else ++#define va_copy(dest, src) memcpy (&dest, &src, sizeof (va_list)) ++#endif ++#endif ++ + /* + * logh_head: A list of all log handlers, in increasing order of priority + * logh_priorities: 'Indexes' into this list, by priority +@@ -1167,19 +1178,32 @@ + char buffer[LOGLENGTH]; + int length; + char *dynamic; ++ va_list aq; + ++ va_copy(aq, ap); + length = vsnprintf(buffer, LOGLENGTH, format, ap); ++ va_end(ap); + +- if (length == 0) ++ if (length == 0) { ++#ifdef NEED_VA_END_AFTER_VA_COPY ++ va_end(aq); ++#endif + return (0); /* Empty string */ ++ } + + if (length == -1) { + snmp_log_string(LOG_ERR, "Could not format log-string\n"); ++#ifdef NEED_VA_END_AFTER_VA_COPY ++ va_end(aq); ++#endif + return (-1); + } + + if (length < LOGLENGTH) { + snmp_log_string(priority, buffer); ++#ifdef NEED_VA_END_AFTER_VA_COPY ++ va_end(aq); ++#endif + return (0); + } + +@@ -1188,12 +1212,16 @@ + snmp_log_string(LOG_ERR, + "Could not allocate memory for log-message\n"); + snmp_log_string(priority, buffer); ++#ifdef NEED_VA_END_AFTER_VA_COPY ++ va_end(aq); ++#endif + return (-2); + } + +- vsnprintf(dynamic, length + 1, format, ap); ++ vsnprintf(dynamic, length + 1, format, aq); + snmp_log_string(priority, dynamic); + free(dynamic); ++ va_end(aq); + return 0; + } + +--- agent/mibgroup/if-mib/ifTable/ifTable_data_access.c 2006/07/07 20:25:12 1.18.2.3 ++++ agent/mibgroup/if-mib/ifTable/ifTable_data_access.c 2007/02/05 15:10:28 1.18.2.4 +@@ -2,7 +2,7 @@ + * Note: this file originally auto-generated by mib2c using + * version : 1.17 $ of : mfd-data-access.m2c,v $ + * +- * $Id: ifTable_data_access.c,v 1.18.2.3 2006/07/07 20:25:12 hardaker Exp $ ++ * $Id: ifTable_data_access.c,v 1.18.2.4 2007/02/05 15:10:28 rstory Exp $ + */ + /* + * standard Net-SNMP includes +@@ -203,8 +203,11 @@ + DEBUGMSGTL(("ifTable:access", "updating existing entry\n")); + + #ifdef USING_IF_MIB_IFXTABLE_IFXTABLE_MODULE +- netsnmp_assert(strcmp(rowreq_ctx->data.ifName, +- ifentry->name) == 0); ++ { ++ int rc = strcmp(rowreq_ctx->data.ifName, ++ ifentry->name); ++ netsnmp_assert(rc == 0); ++ } + #endif + /* + * if the interface was missing, but came back, clear the --- net-snmp-5.3.1.orig/debian/manpages/net-snmp-config.1 +++ net-snmp-5.3.1/debian/manpages/net-snmp-config.1 @@ -0,0 +1,88 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.33. +.TH net-snmp-config "1" "September 2003" "net-snmp-config" "User Commands" +.SH NAME +net-snmp-config \- returns information about installed net-snmp libraries and binaries +.SH SYNOPSIS +.PP +.B net-snmp-config +[OPTIONS] +.SH DESCRIPTION +.PP +The \fInet-snmp-config\fP shell script is designed to retrieve the +configuration information about the libraries and binaries dealing with +the Simple Network Management Protocol (SNMP), built from the +.B net-snmp +source package. The information is particularily useful for +applications that need to link against the SNMP libraries and hence +must know about any other libraries that must be linked in as well. + +.SH OPTIONS +.TP +\fB\-\-version\fR +displays the net-snmp version number +.TP +\fB\-\-indent\-options\fR +displays the indent options from the Coding Style +.TP +\fB\-\-debug\-tokens\fR +displays a example command line to search to source +code for a list of available debug tokens +.PP +SNMP Setup commands: +.TP +\fB\-\-create\-snmpv3\-user\fR [-ro] [-a authpass] [-x privpass] [-X DES] +[-A MD5|SHA] [username] +.PP +These options produce the various compilation flags needed when +building external SNMP applications: +.TP +\fB\-\-base\-cflags\fR +lists additional compilation flags needed +for external applications (excludes \fB\-I\fR. and +extra developer warning flags, if any) +.TP +\fB\-\-cflags\fR +lists additional compilation flags needed +.TP +\fB\-\-libs\fR +lists libraries needed for building applications +.TP +\fB\-\-agent\-libs\fR +lists libraries needed for building subagents +.TP +\fB\-\-netsnmp\-libs\fR +lists netsnmp specific libraries +.TP +\fB\-\-external\-libs\fR +lists libraries needed by netsnmp libs +.TP +\fB\-\-netsnmp\-agent\-libs\fR +lists netsnmp specific agent libraries +.HP +\fB\-\-external\-agent\-libs\fR lists libraries needed by netsnmp libs +.PP +Automated subagent building (produces an OUTPUTNAME binary file): +[This feature has not been extensively tested, use at your own risk.] +.TP +\fB\-\-compile\-subagent\fR OUTPUTNAME [--norm] [--cflags flags] +[--ldflags flags] mibmodule1.c [...]] +.TP +\fB\-\-norm\fR +leave the generated .c file around to read. +.TP +\fB\-\-cflags\fR flags +extra cflags to use (e.g. \fB\-I\fR...). +.TP +\fB\-\-ldflags\fR flags +extra ld flags to use (e.g. \fB\-L\fR... \fB\-l\fR...). +.IP +Details on how the net-nsmp package was compiled: +.TP +\fB\-\-configure\-options\fR +Display original configure arguments +.TP +\fB\-\-snmpd\-module\-list\fR +Display the modules compiled into the agent +.TP +\fB\-\-prefix\fR +Display the installation prefix --- net-snmp-5.3.1.orig/debian/manpages/traptoemail.1 +++ net-snmp-5.3.1/debian/manpages/traptoemail.1 @@ -0,0 +1,22 @@ +.TH traptoemail "1" "July 2005" "traptoemail" "User Commands" +.SH NAME +traptoemail - snmptrapd handler script to convert snmp traps into emails +.SH SYNOPSIS +.PP +.B traptoemail +[\fI\-f FROM\fR] +[\fI\-s SMTPSERVER\fR] +ADDRESSES +.SH DESCRIPTION +.PP +converts snmp traps into email messages. +.SH OPTIONS +.TP +.B \-f FROM +sender address, defaults to "root" +.TP +.B \-s SMTPSERVER +SMTP server, defaults to "localhost" +.TP +.B ADDRESSES +recipient addresses --- net-snmp-5.3.1.orig/debian/manpages/snmpvacm.1 +++ net-snmp-5.3.1/debian/manpages/snmpvacm.1 @@ -0,0 +1,34 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.33. +.TH snmpvacm "1" "September 2003" "snmpvacm" "User Commands" +.SH NAME +snmpvacm - send SNMP requests to a network entity to change VACM database +.SH SYNOPSIS +.PP +.B snmpvacm +[\fICOMMON OPTIONS\fR] \fIAGENT\fR \fICOMMAND\fR +.SH DESCRIPTION +.PP +\fBsnmpvacm\fR is the Simple Network Management Protocol (SNMP) +application for sending SNMP requests to the network entity with the +intention of modifying the information stored in the View-based Access +Control Model (VACM) database. VACM is desribed in detail in RFC 2275 +"View-based Access Control Model (VACM) for the Simple Network +Management Protocol (SNMP)". For the common options supported by +\fBsnmpvacm\fR see the snmpcmd(1) man page. + +.SH COMMANDS +.TP +createAccess \fIGROUPNAME\fR [\fICONTEXTPREFIX\fR] \fISECURITYMODEL\fR \fISECURITYLEVEL\fR \fICONTEXTMATCH\fR \fIREADVIEWNAME\fR \fIWRITEVIEWNAME\fR \fINOTIFYVIEWNAME\fR +.TP +deleteAccess \fIGROUPNAME\fR [\fICONTEXTPREFIX\fR] \fISECURITYMODEL\fR \fISECURITYLEVEL\fR +.TP +createSec2Group \fIMODEL\fR \fISECURITYNAME\fR \fIGROUPNAME\fR +.TP +deleteSec2Group \fIMODEL\fR \fISECURITYNAME\fR +.TP +[-Ce] createView \fINAME\fR \fISUBTREE\fR \fIMASK\fR +.TP +deleteView \fINAME\fR \fISUBTREE\fR + +.SH SEE ALSO +snmpcmd(1), \fBACCESS CONTROL\fR section of snmpd.conf(5) --- net-snmp-5.3.1.orig/debian/manpages/tkmib.1 +++ net-snmp-5.3.1/debian/manpages/tkmib.1 @@ -0,0 +1,15 @@ +.TH tkmib "1" "September 2003" "tkmib" "User Commands" +.SH NAME +tkmib - an interactive graphical MIB browser for SNMP +.SH SYNOPSIS +.PP +.B tkmib +.SH DESCRIPTION +.PP +Simple Network Management Protocol (SNMP) provides a framework for +exchange of the management information between the agents (servers) +and clients. The Management Information Bases (MIBs) contain a formal +description of a set of network objects that can be managed using the +SNMP for a particular agent. \fBtkmib\fR is a graphical user interface +for browsing the MIBs. It is also capable of sending or retrieving the +SNMP management information to/from the remote agents interactively. --- net-snmp-5.3.1.orig/debian/manpages/mib2c-update.1 +++ net-snmp-5.3.1/debian/manpages/mib2c-update.1 @@ -0,0 +1,9 @@ +.TH mib2c-update "1" "July 2005" "mib2c-update" "User Commands" +.SH NAME +mib2c-update - script to merge custom code into updated mib2c code +.SH SYNOPSIS +.PP +.B mib2c-update +.SH DESCRIPTION +.PP +merges custom code into updated mib2c code --- net-snmp-5.3.1.orig/debian/manpages/fixproc.1 +++ net-snmp-5.3.1/debian/manpages/fixproc.1 @@ -0,0 +1,40 @@ +.TH fixproc "1" "July 2005" "fixproc" "User Commands" +.SH NAME +fixproc - Fixes a process by performing the specified action. +.SH SYNOPSIS +.PP +.B fixproc +[\fI\-min n\fR] +[\fI\-max n\fR] +[\fI\-check | \-kill | \-restart | \-exist | \-fix\fR] +proc \.\.\. +.SH DESCRIPTION +.PP +Fixes a process named "proc" by performing the specified action. The +actions can be check, kill, restart, exist, or fix. The action is specified +on the command line or is read from a default database, which describes +the default action to take for each process. The database format and +the meaning of each action are described below. +.SH OPTIONS +.TP +.B \-min n +minimum number of processes that should be running, defaults to 1 +.TP +.B \-max n +maximum number of processes that should be running, defaults to 1 +.TP +.B \-check +check process against database /local/etc/fixproc.conf. +.TP +.B \-kill +kill process, wait 5 seconds, kill -9 if still exist +.TP +.B \-restart +kill process, wait 5 seconds, kill -9 if still exist, then start again +.TP +.B \-exist +checks if proc exists in ps && (min <= num. of processes <= max) +.TP +.B \-fix +check process against database /local/etc/fixproc.conf. Perform defined +action, if check fails. --- net-snmp-5.3.1.orig/debian/manpages/encode_keychange.1 +++ net-snmp-5.3.1/debian/manpages/encode_keychange.1 @@ -0,0 +1,72 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.33. +.TH encode_keychange "1" "September 2003" "encode_keychange" +.SH NAME +encode_keychange - produce the KeyChange string for SNMPv3 +.SH SYNOPSIS +.B encode_keychange +-t md5|sha1 +[\fIOPTIONS\fR] +.SH DESCRIPTION +.B encode_keychange +produces a KeyChange string using the old and new passphrases +as described in Section 5 of RFC 2274 "User-based Security Model (USM) for +version 3 of the Simple Network Management Protocol (SNMPv3)". \fB-t\fR +option is mandatory and specifies the hash transform type to use. + +The transform is used to convert passphrase to master key for a given +user (Ku), convert master key to the localized key (Kul), and to hash the +old Kul with the random bits. + +Passphrases are obtained by examining a number of sources until success +(in order listed): +.IP +command line options (see +.B -N +and +.B -O +options below); +.IP +the file +.B $HOME/.snmp/passphrase.ek +which should only contain two lines with old and new passphrase; +.IP +standard input \fB\-or\-\fR user input from the terminal. +.PP + +.SH OPTIONS +.TP +\fB\-E\fR [0x]<\fIengineID\fR> EngineID used for Kul generation. +<\fIengineID\fR> is intepreted as a hex string when preceeded by 0x, +otherwise it is treated as a text string. If no <\fIengineID\fR> is +specified, it is constructed from the first IP address for the local +host. +.TP +\fB\-f\fR +Force passphrases to be read from standard input. +.TP +\fB\-h\fR +Display the help message. +.TP +\fB\-N\fR "<\fInew_passphrase\fR>" +Passphrase used to generate the new Ku. +.TP +\fB\-O\fR "<\fIold_passphrase\fR>" +Passphrase used to generate the old Ku. +.TP +\fB\-P\fR +Turn off the prompt for passphrases when getting data from standard input. +.TP +\fB\-v\fR +Be verbose. +.TP +\fB\-V\fR +Echo passphrases to terminal. +.PP + +.SH "SEE ALSO" +The localized key method is defined in RFC 2274, Sections 2.6 and A.2, and +originally documented in +.IP +U. Blumenthal, N. C. Hien, B. Wijnen, +"Key Derivation for Network Management Applications", +IEEE Network Magazine, April/May issue, 1997. --- net-snmp-5.3.1.orig/debian/po/POTFILES.in +++ net-snmp-5.3.1/debian/po/POTFILES.in @@ -0,0 +1 @@ +[type: gettext/rfc822deb] snmpd.templates --- net-snmp-5.3.1.orig/debian/po/templates.pot +++ net-snmp-5.3.1/debian/po/templates.pot @@ -0,0 +1,52 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2006-03-03 15:37+0100\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: note +#. Description +#: snmpd.templates:3 +msgid "Upgrade warning from version 3.6 and below" +msgstr "" + +#. Type: note +#. Description +#: snmpd.templates:3 +msgid "" +"Debian now uses the NET SNMP agent/daemon. Since the new agent uses an " +"entirely new configuration file format, any configuration you may have " +"previously had can not be automatically updated and must be replaced. " +"Consequently, a security-conscious configuration will be installed by " +"default. Please read the snmpd.conf(5) manual page and then edit /etc/snmp/" +"snmpd.conf accordingly to change the configuration to suit your needs." +msgstr "" + +#. Type: note +#. Description +#: snmpd.templates:14 +msgid "Upgrade warning from version 5.2.1 and below" +msgstr "" + +#. Type: note +#. Description +#: snmpd.templates:14 +msgid "" +"Debian has changed the default start parameters of the snmpd agent/daemon. " +"The daemon is now started as user snmp, binds to localhost only and SMUX " +"support is disabled. These parameters can all be individually changed in /" +"etc/default/snmpd. Please see /usr/share/doc/snmpd/NEWS.Debian.gz for more " +"details." +msgstr "" --- net-snmp-5.3.1.orig/debian/po/da.po +++ net-snmp-5.3.1/debian/po/da.po @@ -0,0 +1,72 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Claus Hindsgaul , 2006. +msgid "" +msgstr "" +"Project-Id-Version: net-snmp debconf\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2006-03-03 15:37+0100\n" +"PO-Revision-Date: 2006-03-05 17:44+0100\n" +"Last-Translator: Claus Hindsgaul \n" +"Language-Team: Danish\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.2\n" + +#. Type: note +#. Description +#: snmpd.templates:3 +msgid "Upgrade warning from version 3.6 and below" +msgstr "Opgraderingsadvarsel fra version 3.6 og derunder" + +#. Type: note +#. Description +#: snmpd.templates:3 +msgid "" +"Debian now uses the NET SNMP agent/daemon. Since the new agent uses an " +"entirely new configuration file format, any configuration you may have " +"previously had can not be automatically updated and must be replaced. " +"Consequently, a security-conscious configuration will be installed by " +"default. Please read the snmpd.conf(5) manual page and then edit /etc/snmp/" +"snmpd.conf accordingly to change the configuration to suit your needs." +msgstr "" +"Debian benytter nu NET SNMP-agent/dmonen. Da den nye agent benytter " +"opstningsfiler i et helt nyt format, kan de opstningsfiler, du eventuelt " +"tidligere har haft, ikke automatisk opdateres, og skal erstattes. Derfor vil " +"en sikkerhedsorienteret opstning blive installeret som udgangspunkt. Ls " +"manualsiden snmpd.conf(5), og ret derefter /etc/snmp/snmpd.conf, s " +"opstningen svarer til dine behov." + +#. Type: note +#. Description +#: snmpd.templates:14 +msgid "Upgrade warning from version 5.2.1 and below" +msgstr "Opgraderingsadvarsel fra version 5.2.1 og derunder" + +#. Type: note +#. Description +#: snmpd.templates:14 +msgid "" +"Debian has changed the default start parameters of the snmpd agent/daemon. " +"The daemon is now started as user snmp, binds to localhost only and SMUX " +"support is disabled. These parameters can all be individually changed in /" +"etc/default/snmpd. Please see /usr/share/doc/snmpd/NEWS.Debian.gz for more " +"details." +msgstr "" +"Debian har ndret standard-startindstillingerne for snmpd-agent/dmonen. " +"Dmonen startes nu som brugeren snmp, forbinder sig kun til localhost og " +"SMUX-understttelsen er slet fra. Disse indstillinger kan alle ndres " +"individuelt i /etc/default/snmpd. Se /usr/share/doc/snmpd/NEWS.Debian.gz for " +"yderligere oplysninger." + +#~ msgid "Debian now uses the NET SNMP agent/daemon. Since the new agent uses" +#~ msgstr "" +#~ "Debian benytter nu agenten/dmonen NET SNMP. Da den nye agent bruger" + +#~ msgid "" +#~ "Debian has changed the default start parameters of the snmpd agent/daemon." +#~ msgstr "" +#~ "Debian har ndret standard-startparametre for snmpd-agenten/dmonen." --- net-snmp-5.3.1.orig/debian/po/de.po +++ net-snmp-5.3.1/debian/po/de.po @@ -0,0 +1,62 @@ +# Translation of net-snmp debconf templates to German +# Copyright (C) Helge Kreutzmann , 2006. +# This file is distributed under the same license as the net-snmp package. +# +msgid "" +msgstr "" +"Project-Id-Version: net-snmp\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2006-03-03 15:37+0100\n" +"PO-Revision-Date: 2006-11-09 20:45+0100\n" +"Last-Translator: Helge Kreutzmann \n" +"Language-Team: de \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-15\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: note +#. Description +#: snmpd.templates:3 +msgid "Upgrade warning from version 3.6 and below" +msgstr "Upgrade-Warnung von Version 3.6 oder lter" + +#. Type: note +#. Description +#: snmpd.templates:3 +msgid "" +"Debian now uses the NET SNMP agent/daemon. Since the new agent uses an " +"entirely new configuration file format, any configuration you may have " +"previously had can not be automatically updated and must be replaced. " +"Consequently, a security-conscious configuration will be installed by " +"default. Please read the snmpd.conf(5) manual page and then edit /etc/snmp/" +"snmpd.conf accordingly to change the configuration to suit your needs." +msgstr "" +"Debian verwendet jetzt den NET SNMP-Agent/Daemon. Da der neue Agent ein " +"komplett neues Dateiformat verwendet, kann keine Konfiguration, die Sie " +"bisher gehabt haben knnten, automatisch aktualisiert werden und daher muss " +"die Konfiguration komplett ersetzt. Konsequenterweise wird standardmig " +"eine sicherheits-bewusste Konfiguration installiert. Bitte lesen Sie die " +"Handbuchseite snmpd.conf(5) und bearbeiten Sie /etc/snmp/snmpd.conf " +"entsprechend, um die Konfiguration Ihren Bedrfnissen anzupassen." + +#. Type: note +#. Description +#: snmpd.templates:14 +msgid "Upgrade warning from version 5.2.1 and below" +msgstr "Upgrade-Warnung von Version 5.2.1 oder lter" + +#. Type: note +#. Description +#: snmpd.templates:14 +msgid "" +"Debian has changed the default start parameters of the snmpd agent/daemon. " +"The daemon is now started as user snmp, binds to localhost only and SMUX " +"support is disabled. These parameters can all be individually changed in /" +"etc/default/snmpd. Please see /usr/share/doc/snmpd/NEWS.Debian.gz for more " +"details." +msgstr "" +"Debian hat die Standard Start-Parameter des Snmpd-Agenten/Daemons gendert. " +"Der Daemon wird jetzt als Benutzer snmp gestartet, bindet sich nur an " +"localhost und SMUX-Untersttzung ist deaktiviert. Diese Parameter knnen " +"alle individuell in /etc/default/snmpd gendert werden. Bitte lesen Sie /usr/" +"share/doc/snmpd/NEWS.Debian.gz fr weitere Details." --- net-snmp-5.3.1.orig/debian/po/pt.po +++ net-snmp-5.3.1/debian/po/pt.po @@ -0,0 +1,63 @@ +# Portuguese translation of net-snmp. +# This file is distributed under the same license as the net-snmp package. +# Rui Branco , 2006. +# +# +msgid "" +msgstr "" +"Project-Id-Version: net-snmp 5.2.2-3\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2006-03-03 15:37+0100\n" +"PO-Revision-Date: 2006-06-22 20:07+0100\n" +"Last-Translator: Rui Branco \n" +"Language-Team: Portuguese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: note +#. Description +#: snmpd.templates:3 +msgid "Upgrade warning from version 3.6 and below" +msgstr "Aviso de actualização efectuada a partir da versão 3.6 e anterior" + +#. Type: note +#. Description +#: snmpd.templates:3 +msgid "" +"Debian now uses the NET SNMP agent/daemon. Since the new agent uses an " +"entirely new configuration file format, any configuration you may have " +"previously had can not be automatically updated and must be replaced. " +"Consequently, a security-conscious configuration will be installed by " +"default. Please read the snmpd.conf(5) manual page and then edit /etc/snmp/" +"snmpd.conf accordingly to change the configuration to suit your needs." +msgstr "" +"O Debian utiliza agora o NET·SNMP·agent/daemon. Como o novo agente usa um " +"formato de ficheiro de configuração inteiramento novo, qualquer configuração " +"que tenha efectuado previamente pode não ser automaticamente actualizada " +"tendo como tal de ser substituída. Consequentemente uma configuração de " +"segurança será instalada por omissão. Leia por favor a página do manual " +"snmpd.conf(5) e edite então o /etc/snmp/snmpd.conf de acordo, de modo a " +"alterar a configuração para as suas necessidades." + +#. Type: note +#. Description +#: snmpd.templates:14 +msgid "Upgrade warning from version 5.2.1 and below" +msgstr "Aviso de actualização efectuada a partir da versão 5.2.1 e anterior" + +#. Type: note +#. Description +#: snmpd.templates:14 +msgid "" +"Debian has changed the default start parameters of the snmpd agent/daemon. " +"The daemon is now started as user snmp, binds to localhost only and SMUX " +"support is disabled. These parameters can all be individually changed in /" +"etc/default/snmpd. Please see /usr/share/doc/snmpd/NEWS.Debian.gz for more " +"details." +msgstr "" +"O Debian alterou os parâmetros de ínicio do agente/daemon snmpd. O 'daemon' " +"é agora iniciado como um utilizador snmp, liga-se apenas à própria máquina " +"('localhost') e o suporte a SMUX está desactivado. Estes parâmetros podem " +"ser alterados individualmente em /etc/default/snmpd. Veja por favor /usr/" +"share/doc/snmpd/NEWS.Debian.gz para mais detalhes." --- net-snmp-5.3.1.orig/debian/po/gl.po +++ net-snmp-5.3.1/debian/po/gl.po @@ -0,0 +1,62 @@ +# Galician translation of net-snmp's debconf templates. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the net-snmp package. +# Jacobo Tarrio , 2006. +# +msgid "" +msgstr "" +"Project-Id-Version: net-snmp\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2006-03-03 15:37+0100\n" +"PO-Revision-Date: 2006-04-10 10:24+0200\n" +"Last-Translator: Jacobo Tarrio \n" +"Language-Team: Galician \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: note +#. Description +#: snmpd.templates:3 +msgid "Upgrade warning from version 3.6 and below" +msgstr "Aviso de actualización dunha versión 3.6 ou anterior" + +#. Type: note +#. Description +#: snmpd.templates:3 +msgid "" +"Debian now uses the NET SNMP agent/daemon. Since the new agent uses an " +"entirely new configuration file format, any configuration you may have " +"previously had can not be automatically updated and must be replaced. " +"Consequently, a security-conscious configuration will be installed by " +"default. Please read the snmpd.conf(5) manual page and then edit /etc/snmp/" +"snmpd.conf accordingly to change the configuration to suit your needs." +msgstr "" +"Agora Debian emprega o axente NET SNMP. Xa que o novo axente emprega un " +"formato de ficheiro de configuración totalmente novo, non se pode actualizar " +"automaticamente a configuración que tivera anteriormente e hai que a " +"substituír. Polo tanto hase instalar por defecto unha configuración segura. " +"Lea a páxina de manual snmpd.conf(5) e edite /etc/snmp/snmpd.conf para " +"axustar a configuración ás súas necesidades." + +#. Type: note +#. Description +#: snmpd.templates:14 +msgid "Upgrade warning from version 5.2.1 and below" +msgstr "Aviso de actualización dunha versión 5.2.1 ou anterior" + +#. Type: note +#. Description +#: snmpd.templates:14 +msgid "" +"Debian has changed the default start parameters of the snmpd agent/daemon. " +"The daemon is now started as user snmp, binds to localhost only and SMUX " +"support is disabled. These parameters can all be individually changed in /" +"etc/default/snmpd. Please see /usr/share/doc/snmpd/NEWS.Debian.gz for more " +"details." +msgstr "" +"Debian cambiou os parámetros de inicio por defecto do axente snmpd. O " +"servizo iníciase agora co usuario snmp, só se asigna a localhost e o soporte " +"de SMUX está desactivado. Todos estes parámetros pódense cambiar " +"individualmente en /etc/default/snmpd. Consulte /usr/share/doc/snmpd/NEWS." +"Debian.gz para ver máis detalles." --- net-snmp-5.3.1.orig/debian/po/cs.po +++ net-snmp-5.3.1/debian/po/cs.po @@ -0,0 +1,61 @@ +# Czech translation of net-snmp debconf messages +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the net-snmp package. +# Miroslav Kure , 2006. +# +msgid "" +msgstr "" +"Project-Id-Version: net-snmp\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2006-03-03 15:37+0100\n" +"PO-Revision-Date: 2006-07-30 20:14+0200\n" +"Last-Translator: Miroslav Kure \n" +"Language-Team: Czech \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: note +#. Description +#: snmpd.templates:3 +msgid "Upgrade warning from version 3.6 and below" +msgstr "Varování při přechodu z verze 3.6 a nižší" + +#. Type: note +#. Description +#: snmpd.templates:3 +msgid "" +"Debian now uses the NET SNMP agent/daemon. Since the new agent uses an " +"entirely new configuration file format, any configuration you may have " +"previously had can not be automatically updated and must be replaced. " +"Consequently, a security-conscious configuration will be installed by " +"default. Please read the snmpd.conf(5) manual page and then edit /etc/snmp/" +"snmpd.conf accordingly to change the configuration to suit your needs." +msgstr "" +"Debian nyní používá agenta/daemona NET SMTP. Protože nový agent používázcela " +"jiný formát konfiguračního souboru, případné dřívější nastavení nemůže být " +"na tento formát převedeno automaticky a musí být nahrazeno. Tím pádem bude " +"nainstalováno nastavení, které je orientováno na bezpečnost. Chcete-li si " +"přizpůsobit nastavení svým potřebám, přečtěte si prosím manuálovou stránku " +"snmpd.conf(5) a příslušně upravte konfigurační soubor /etc/snmp/snmpd.conf." + +#. Type: note +#. Description +#: snmpd.templates:14 +msgid "Upgrade warning from version 5.2.1 and below" +msgstr "Varování při přechodu z verze 5.2.1 a nižší" + +#. Type: note +#. Description +#: snmpd.templates:14 +msgid "" +"Debian has changed the default start parameters of the snmpd agent/daemon. " +"The daemon is now started as user snmp, binds to localhost only and SMUX " +"support is disabled. These parameters can all be individually changed in /" +"etc/default/snmpd. Please see /usr/share/doc/snmpd/NEWS.Debian.gz for more " +"details." +msgstr "" +"Debian změnil výchozí parametry pro spouštění agenta/daemona snmpd. Daemon " +"se nyní spouští pod uživatelem snmp, naváže se pouze na localhost a zakáže " +"podporu SMUX. Tato nastavení můžete změnit v souboru /etc/default/snmpd. " +"Podrobnosti naleznete v souboru /usr/share/doc/snmpd/NEWS.Debian.gz." --- net-snmp-5.3.1.orig/debian/po/fr.po +++ net-snmp-5.3.1/debian/po/fr.po @@ -0,0 +1,63 @@ +# Translation of net-snmp debconf templates into French +# Copyright (C) 2006, Cdric Favry +# This file is distributed under the same license as the net-snmp package. +# +msgid "" +msgstr "" +"Project-Id-Version: net-snmp\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2006-03-03 15:37+0100\n" +"PO-Revision-Date: 2006-03-03 21:13+0100\n" +"Last-Translator: Cdric Favry \n" +"Language-Team: French \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-15\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: note +#. Description +#: snmpd.templates:3 +msgid "Upgrade warning from version 3.6 and below" +msgstr "Mise jour des versions3.6 et infrieures" + +#. Type: note +#. Description +#: snmpd.templates:3 +msgid "" +"Debian now uses the NET SNMP agent/daemon. Since the new agent uses an " +"entirely new configuration file format, any configuration you may have " +"previously had can not be automatically updated and must be replaced. " +"Consequently, a security-conscious configuration will be installed by " +"default. Please read the snmpd.conf(5) manual page and then edit /etc/snmp/" +"snmpd.conf accordingly to change the configuration to suit your needs." +msgstr "" +"Le client/serveur NET SNMP est dsormais utilis. Comme le nouvel agent " +"utilise un nouveau format de fichier de configuration, les configurations " +"antrieures ne peuvent pas tre automatiquement mises jour et doivent tre " +"remplaces. Par consquent, une configuration scurise sera installe par " +"dfaut. Veuillez donc lire la page de manuel snmpd.conf(5) et modifier le " +"fichier /etc/snmp/snmpd.conf pour changer la configuration afin qu'elle " +"rponde vos besoins." + +#. Type: note +#. Description +#: snmpd.templates:14 +msgid "Upgrade warning from version 5.2.1 and below" +msgstr "Mise jour des versions5.2.1 et infrieures" + +#. Type: note +#. Description +#: snmpd.templates:14 +msgid "" +"Debian has changed the default start parameters of the snmpd agent/daemon. " +"The daemon is now started as user snmp, binds to localhost only and SMUX " +"support is disabled. These parameters can all be individually changed in /" +"etc/default/snmpd. Please see /usr/share/doc/snmpd/NEWS.Debian.gz for more " +"details." +msgstr "" +"Les paramtres par dfaut de dmarrage du serveur snmpd ont chang. Le " +"serveur est dornavant dmarr avec les privilges de l'utilisateur " +"snmp, Il n'coute que sur l'adresse de localhost et la gestion SMUX " +"est dsactive. Ces paramtres peuvent tous tre individuellement changs " +"dans /etc/default/snmpd. Veuillez lire /usr/share/doc/snmpd/NEWS.Debian.gz " +"pour plus de dtails." --- net-snmp-5.3.1.orig/debian/po/nl.po +++ net-snmp-5.3.1/debian/po/nl.po @@ -0,0 +1,63 @@ +# Debian net-snmp po-debconf translation. +# Copyright (C) 2006 THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the net-snmp package. +# Vincent Zweije , 2006. +# +msgid "" +msgstr "" +"Project-Id-Version: net-snmp 5.2.2-3\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2006-03-03 15:37+0100\n" +"PO-Revision-Date: 2006-03-22 21:47+0100\n" +"Last-Translator: Vincent Zweije \n" +"Language-Team: Debian-Dutch \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-15\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: note +#. Description +#: snmpd.templates:3 +msgid "Upgrade warning from version 3.6 and below" +msgstr "Waarschuwing bij het opwaarderen vanaf versies tot en met 3.6" + +#. Type: note +#. Description +#: snmpd.templates:3 +msgid "" +"Debian now uses the NET SNMP agent/daemon. Since the new agent uses an " +"entirely new configuration file format, any configuration you may have " +"previously had can not be automatically updated and must be replaced. " +"Consequently, a security-conscious configuration will be installed by " +"default. Please read the snmpd.conf(5) manual page and then edit /etc/snmp/" +"snmpd.conf accordingly to change the configuration to suit your needs." +msgstr "" +"Debian gebruikt nu de NET SNMP agent/achtergronddienst. De nieuwe agent " +"gebruikt een geheel nieuw formaat voor zijn instelbestand; hierdoor kunnen " +"oude configuraties die u mogelijk had niet automatisch worden bijgewerkt, " +"maar moeten ze worden vervangen. Daarom zal standaard een beveiligings-" +"bewuste configuratie worden genstalleerd. Lees de snmpd.conf(5) handleiding " +"en pas vervolgens /etc/snmp/snmpd.conf aan op uw situatie." + +#. Type: note +#. Description +#: snmpd.templates:14 +msgid "Upgrade warning from version 5.2.1 and below" +msgstr "Waarschuwing bij het opwaarderen vanaf versies tot en met 5.2.1" + +#. Type: note +#. Description +#: snmpd.templates:14 +msgid "" +"Debian has changed the default start parameters of the snmpd agent/daemon. " +"The daemon is now started as user snmp, binds to localhost only and SMUX " +"support is disabled. These parameters can all be individually changed in /" +"etc/default/snmpd. Please see /usr/share/doc/snmpd/NEWS.Debian.gz for more " +"details." +msgstr "" +"Debian heeft de standaard startparameters van de snmpd agent/" +"achtergronddienst gewijzigd. De achtergronddienst wordt nu gestart als " +"gebruiker snmp; hij luistert alleen op het loopback netwerk (localhost) en " +"SMUX ondersteuning is uitgeschakeld. Deze parameters kunnen alle " +"afzonderlijk worden gewijzigd in /etc/default/snmpd. Zie /usr/share/doc/" +"snmpd/NEWS.Debian.gz voor nadere informatie." --- net-snmp-5.3.1.orig/debian/po/sv.po +++ net-snmp-5.3.1/debian/po/sv.po @@ -0,0 +1,62 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +msgid "" +msgstr "" +"Project-Id-Version: net-snmp 5.2.2-3\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2006-03-03 15:37+0100\n" +"PO-Revision-Date: 2006-05-03 22:32+0100\n" +"Last-Translator: Daniel Nylander \n" +"Language-Team: Swedish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=iso-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: note +#. Description +#: snmpd.templates:3 +msgid "Upgrade warning from version 3.6 and below" +msgstr "Varning fr uppgradering frn version 3.6 och ldre" + +#. Type: note +#. Description +#: snmpd.templates:3 +msgid "" +"Debian now uses the NET SNMP agent/daemon. Since the new agent uses an " +"entirely new configuration file format, any configuration you may have " +"previously had can not be automatically updated and must be replaced. " +"Consequently, a security-conscious configuration will be installed by " +"default. Please read the snmpd.conf(5) manual page and then edit /etc/snmp/" +"snmpd.conf accordingly to change the configuration to suit your needs." +msgstr "" +"Debian anvnder nu NET SNMP-agenten/demonen. Eftersom den nya agenten " +"anvnder en totalt nytt format p konfigurationsfilen kan inte den " +"konfiguration du eventuellt redan har att uppdateras utan mste ersttas. " +"Som en konsekvens av detta kommer en skerhetsmedveten konfiguration att " +"installeras som standard. Vnligen ls manualsidan snmpd.conf(5) och " +"redigera sedan /etc/snmp/snmpd.conf p lmpligt stt fr att passa dina " +"behov." + +#. Type: note +#. Description +#: snmpd.templates:14 +msgid "Upgrade warning from version 5.2.1 and below" +msgstr "Varning fr uppgradering frn version 5.2.1 och ldre" + +#. Type: note +#. Description +#: snmpd.templates:14 +msgid "" +"Debian has changed the default start parameters of the snmpd agent/daemon. " +"The daemon is now started as user snmp, binds to localhost only and SMUX " +"support is disabled. These parameters can all be individually changed in /" +"etc/default/snmpd. Please see /usr/share/doc/snmpd/NEWS.Debian.gz for more " +"details." +msgstr "" +"Debian har ndrat standarduppstartsparametrarna fr snmpd-agenten/demonen. " +"Demonen startas nu som anvndaren snmp, binder sig endast till localhost och " +"SMUX-std r inaktiverat. Dessa parametrar kan alla individuellt ndras i /" +"etc/default/snmpd. Se /usr/share/doc/snmpd/NEWS.Debian.gz fr fler detaljer." --- net-snmp-5.3.1.orig/debian/po/ru.po +++ net-snmp-5.3.1/debian/po/ru.po @@ -0,0 +1,63 @@ +# translation of net-snmp_5.2.2-4_debconf_ru.po to Russian +# This file is distributed under the same license as the PACKAGE package. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER. +# Yuri Kozlov , 2006. +# +msgid "" +msgstr "" +"Project-Id-Version: net-snmp_5.2.2-4\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2006-03-03 15:37+0100\n" +"PO-Revision-Date: 2006-07-29 09:05+0300\n" +"Last-Translator: Yuri Kozlov \n" +"Language-Team: Russian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.9.1\n" + +#. Type: note +#. Description +#: snmpd.templates:3 +msgid "Upgrade warning from version 3.6 and below" +msgstr "Внимание пользователей версии 3.6 и ниже" + +#. Type: note +#. Description +#: snmpd.templates:3 +msgid "" +"Debian now uses the NET SNMP agent/daemon. Since the new agent uses an " +"entirely new configuration file format, any configuration you may have " +"previously had can not be automatically updated and must be replaced. " +"Consequently, a security-conscious configuration will be installed by " +"default. Please read the snmpd.conf(5) manual page and then edit /etc/snmp/" +"snmpd.conf accordingly to change the configuration to suit your needs." +msgstr "" +"Теперь в Debian используется NET SNMP агент/демон. Так как новый агент имеет " +"полностью другой формат файла конфигурации, любая имеющаяся конфигурация не " +"может быть автоматически обновлена и должна быть заменена полностью. " +"Поэтому, по умолчанию будет установлен безопасный вариант новой " +"конфигурации. Прочтите страницу руководства snmpd.conf(5) и отредактируйте " +"файл /etc/snmp/snmpd.conf в соответствии с вашими потребностями." + +#. Type: note +#. Description +#: snmpd.templates:14 +msgid "Upgrade warning from version 5.2.1 and below" +msgstr "Внимание пользователей версии 5.2.1 и ниже" + +#. Type: note +#. Description +#: snmpd.templates:14 +msgid "" +"Debian has changed the default start parameters of the snmpd agent/daemon. " +"The daemon is now started as user snmp, binds to localhost only and SMUX " +"support is disabled. These parameters can all be individually changed in /" +"etc/default/snmpd. Please see /usr/share/doc/snmpd/NEWS.Debian.gz for more " +"details." +msgstr "" +"В Debian изменились параметры запуска по умолчанию snmpd агента/демона. " +"Теперь демон запускается с правами пользователя snmp, ожидает запросы только " +"от localhost, и поддержка SMUX выключена. Каждую из этих настроек можно " +"изменить в файле /etc/default/snmpd. Подробней смотрите в файле /usr/share/" +"doc/snmpd/NEWS.Debian.gz." --- net-snmp-5.3.1.orig/debian/po/it.po +++ net-snmp-5.3.1/debian/po/it.po @@ -0,0 +1,64 @@ +# Italian (it) translation of debconf templates for net-snmp +# Copyright (C) 2006 Software in the Public Interest +# This file is distributed under the same license as the net-snmp package. +# Luca Monducci , 2006. +# +msgid "" +msgstr "" +"Project-Id-Version: net-snmp 5.2.3 italian debconf templates\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2006-03-03 15:37+0100\n" +"PO-Revision-Date: 2006-11-11 11:05+0100\n" +"Last-Translator: Luca Monducci \n" +"Language-Team: Italian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: note +#. Description +#: snmpd.templates:3 +msgid "Upgrade warning from version 3.6 and below" +msgstr "Avviso per gli aggiornamenti dalla versione 3.6 e precedenti" + +#. Type: note +#. Description +#: snmpd.templates:3 +msgid "" +"Debian now uses the NET SNMP agent/daemon. Since the new agent uses an " +"entirely new configuration file format, any configuration you may have " +"previously had can not be automatically updated and must be replaced. " +"Consequently, a security-conscious configuration will be installed by " +"default. Please read the snmpd.conf(5) manual page and then edit /etc/snmp/" +"snmpd.conf accordingly to change the configuration to suit your needs." +msgstr "" +"Adesso Debian usa l'agente/demone NET SNMP. Purtroppo questo agente usa un " +"formato del proprio file di configurazione completamente diverso, nessuna " +"delle configurazioni fatte in precedenza pu essere aggiornata " +"automaticamente e perci deve essere rifatta. Viene installata una " +"configurazione predefinita particolarmente attenta alla sicurezza del " +"sistema; modificare /etc/snmp/snmpd.conf in base alle indicazioni nella " +"pagina man di snmpd.conf(5) per adattare la configurazione alle proprie " +"necessit." + +#. Type: note +#. Description +#: snmpd.templates:14 +msgid "Upgrade warning from version 5.2.1 and below" +msgstr "Avviso per gli aggiornamenti dalla versione 5.2.1 e precedenti" + +#. Type: note +#. Description +#: snmpd.templates:14 +msgid "" +"Debian has changed the default start parameters of the snmpd agent/daemon. " +"The daemon is now started as user snmp, binds to localhost only and SMUX " +"support is disabled. These parameters can all be individually changed in /" +"etc/default/snmpd. Please see /usr/share/doc/snmpd/NEWS.Debian.gz for more " +"details." +msgstr "" +"Debian ha modificato i parametri di avvio dell'agente/demone snmpd. Adesso " +"il demone viene avviato con utente snmp, controlla solo localhost e il " +"supporto per SMUX disabilitato. Ognuno di questi parametri pu essere " +"cambiato in /etc/default/snmpd. Si consulti /usr/share/doc/snmpd/NEWS.Debian." +"gz per ulteriori dettagli." --- net-snmp-5.3.1.orig/debian/po/es.po +++ net-snmp-5.3.1/debian/po/es.po @@ -0,0 +1,91 @@ +# net-snmp po-debconf translation to spanish +# Copyright (C) 2006 Software in the Public Interest, SPI Inc. +# This file is distributed under the same license as the net-snmp package. +# +# Changes: +# - Initial translation +# Javier Fernndez-Sanguino , 2006 +# - Reviewers +# Fernando Cerezal +# +# +# Traductores, si no conoce el formato PO, merece la pena leer la +# documentacin de gettext, especialmente las secciones dedicadas a este +# formato, por ejemplo ejecutando: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Equipo de traduccin al espaol, por favor lean antes de traducir +# los siguientes documentos: +# +# - El proyecto de traduccin de Debian al espaol +# http://www.debian.org/intl/spanish/ +# especialmente las notas y normas de traduccin en +# http://www.debian.org/intl/spanish/notas +# +# - La gua de traduccin de po's de debconf: +# /usr/share/doc/po-debconf/README-trans +# o http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Si tiene dudas o consultas sobre esta traduccin consulte con el ltimo +# traductor (campo Last-Translator) y ponga en copia a la lista de +# traduccin de Debian al espaol () +# +msgid "" +msgstr "" +"Project-Id-Version: net-snmp 5.2.3-4\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2006-03-03 15:37+0100\n" +"PO-Revision-Date: 2006-12-09 13:47+0100\n" +"Last-Translator: Javier Fernndez-Sanguino \n" +"Language-Team: Debian Spanish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-15\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: note +#. Description +#: snmpd.templates:3 +msgid "Upgrade warning from version 3.6 and below" +msgstr "Aviso de la actualizacin desde la versin 3.6 y anteriores" + +#. Type: note +#. Description +#: snmpd.templates:3 +msgid "" +"Debian now uses the NET SNMP agent/daemon. Since the new agent uses an " +"entirely new configuration file format, any configuration you may have " +"previously had can not be automatically updated and must be replaced. " +"Consequently, a security-conscious configuration will be installed by " +"default. Please read the snmpd.conf(5) manual page and then edit /etc/snmp/" +"snmpd.conf accordingly to change the configuration to suit your needs." +msgstr "" +"Debian utiliza ahora el agente/demonio NET SNMP. Cualquier configuracin " +"previa que tuviera no se puede actualizar de forma automtica y debe " +"reemplazarse, dado que el nuevo agente utiliza un formato de fichero de " +"configuracin totalmente nuevo. Se instalar, por omisin, una configuracin " +"enfocada a ofrecer un servicio seguro. Consulte la pgina de manual snmpd." +"conf(5) y edite despus /etc/snmp/snmpd.conf para ajustar la configuracin " +"a sus necesidades." + +#. Type: note +#. Description +#: snmpd.templates:14 +msgid "Upgrade warning from version 5.2.1 and below" +msgstr "Aviso de la actualizacin desde la versin 5.2.1 y anteriores" + +#. Type: note +#. Description +#: snmpd.templates:14 +msgid "" +"Debian has changed the default start parameters of the snmpd agent/daemon. " +"The daemon is now started as user snmp, binds to localhost only and SMUX " +"support is disabled. These parameters can all be individually changed in /" +"etc/default/snmpd. Please see /usr/share/doc/snmpd/NEWS.Debian.gz for more " +"details." +msgstr "" +"Se han cambiado los parmetros predeterminados de arranque del demonio y " +"agente snmpd. El demonio se ejecuta ahora como usuario snmp, slo se " +"enlaza a la interfaz local y el soporte SMUX est deshabilitado. Puede " +"modificar estos parmetros de forma independiente en /etc/default/snmpd. " +"Consulte /usr/share/doc/snmpd/NEWS.Debian.gz si desea ms informacin." --- net-snmp-5.3.1.orig/debian/po/pt_BR.po +++ net-snmp-5.3.1/debian/po/pt_BR.po @@ -0,0 +1,64 @@ +# net-snmp's Brazilian Portuguese debconf template translation. +# Copyright (C) 2006, André Luís Lopes. +# This file is distributed under the same license as the net-snmp package. +# André Luís Lopes , 2006. +# +msgid "" +msgstr "" +"Project-Id-Version: net-snmp\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2006-03-03 15:37+0100\n" +"PO-Revision-Date: 2006-12-17 19:31-0200\n" +"Last-Translator: André Luís Lopes \n" +"Language-Team: Debian-BR Project \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: note +#. Description +#: snmpd.templates:3 +msgid "Upgrade warning from version 3.6 and below" +msgstr "Aviso de atualização a partir da versão 3.6 e inferiores" + +#. Type: note +#. Description +#: snmpd.templates:3 +msgid "" +"Debian now uses the NET SNMP agent/daemon. Since the new agent uses an " +"entirely new configuration file format, any configuration you may have " +"previously had can not be automatically updated and must be replaced. " +"Consequently, a security-conscious configuration will be installed by " +"default. Please read the snmpd.conf(5) manual page and then edit /etc/snmp/" +"snmpd.conf accordingly to change the configuration to suit your needs." +msgstr "" +"O Debian agora utiliza o agente/daemon NET SNMP. Uma vez que o novo agente " +"utiliza um formato de arquivo de configuração completamente novo, qualquer " +"configuração que você possa ter de versões anteriores não pode ser " +"atualizada automaticamente e deve ser substituída. Consequentemente, uma " +"configuração consciente em relação a segurança será instalada por padrão. " +"Por favor, leia a página de manual do snmpd.conf(5) e então edite o arquivo /" +"etc/snmp/snmpd.conf de acordo para modificar as configurações de forma que " +"as mesmas atendam as suas necessidades." + +#. Type: note +#. Description +#: snmpd.templates:14 +msgid "Upgrade warning from version 5.2.1 and below" +msgstr "Aviso de atualização a partir da versão 5.2.1 e inferiores" + +#. Type: note +#. Description +#: snmpd.templates:14 +msgid "" +"Debian has changed the default start parameters of the snmpd agent/daemon. " +"The daemon is now started as user snmp, binds to localhost only and SMUX " +"support is disabled. These parameters can all be individually changed in /" +"etc/default/snmpd. Please see /usr/share/doc/snmpd/NEWS.Debian.gz for more " +"details." +msgstr "" +"O Debian mudou os parâmetros de inicialização padrão do agente/daemon snmpd. " +"O daemon é agora iniciado como usuário snmp, ouve somente em localhost e " +"suporte a SMUX está desabilitado. Esses parâmetros podem todos ser " +"individualmente modificados em /etc/default/snmpd. Por favor, consulte /usr/" +"share/doc/snmpd/NEWS.Debian.gz para maiores detalhes." --- net-snmp-5.3.1.orig/debian/po/ro.po +++ net-snmp-5.3.1/debian/po/ro.po @@ -0,0 +1,64 @@ +# Romanian translation of net-snmp. +# Copyright (C) 2006 THE net-snmp'S COPYRIGHT HOLDER +# This file is distributed under the same license as the net-snmp package. +# Stan Ioan-Eugen , 2006. +# , fuzzy +# +# +msgid "" +msgstr "" +"Project-Id-Version: net-snmp 5.2.3.1\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2006-03-03 15:37+0100\n" +"PO-Revision-Date: 2006-12-14 17:49+0200\n" +"Last-Translator: Stan Ioan-Eugen \n" +"Language-Team: Romanian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: note +#. Description +#: snmpd.templates:3 +msgid "Upgrade warning from version 3.6 and below" +msgstr "Avertizare la actualizare de la versiunea 3.6 sau anterioară" + +#. Type: note +#. Description +#: snmpd.templates:3 +msgid "" +"Debian now uses the NET SNMP agent/daemon. Since the new agent uses an " +"entirely new configuration file format, any configuration you may have " +"previously had can not be automatically updated and must be replaced. " +"Consequently, a security-conscious configuration will be installed by " +"default. Please read the snmpd.conf(5) manual page and then edit /etc/snmp/" +"snmpd.conf accordingly to change the configuration to suit your needs." +msgstr "" +"Debian foloseşte acum agentul/demonul NET SNMP. Deoarece noul agent " +"foloseşte un fişier de configurare total diferit, configuraţia dumneavoastră " +"precedentă nu poate fi actualizată automat şi trebuie înlocuită. În " +"consecinţă, se va instala implicit o configuraţie securizată. Citiţi pagina " +"de manual snmpd.conf(5) şi apoi modificaţi /etc/snmp/snmpd.conf în " +"concordanţă cu nevoile dumneavoastră." + +#. Type: note +#. Description +#: snmpd.templates:14 +msgid "Upgrade warning from version 5.2.1 and below" +msgstr "Avertizare la actualizare de la versiunea 5.2.1 sau anterioară" + +#. Type: note +#. Description +#: snmpd.templates:14 +msgid "" +"Debian has changed the default start parameters of the snmpd agent/daemon. " +"The daemon is now started as user snmp, binds to localhost only and SMUX " +"support is disabled. These parameters can all be individually changed in /" +"etc/default/snmpd. Please see /usr/share/doc/snmpd/NEWS.Debian.gz for more " +"details." +msgstr "" +"Debian a modificat parametrii impliciţi de pornire ai agentului/demonului " +"snmpd. Demonul este pornit acum de utilizatorul snmp, aşteaptă numai cereri " +"locale şi are suportul de SMUX dezactivat. Aceşti parametrii pot fi " +"modificaţi în /etc/default/snmpd. citiţi /usr/share/doc/snmpd/NEWS.Debian." +"gz pentru mai multe detalii." --- net-snmp-5.3.1.orig/debian/snmpd.dirs +++ net-snmp-5.3.1/debian/snmpd.dirs @@ -0,0 +1,2 @@ +usr/share/lintian/overrides +var/agentx --- net-snmp-5.3.1.orig/debian/fixman +++ net-snmp-5.3.1/debian/fixman @@ -0,0 +1,59 @@ +#!/bin/bash + +# This script fixes up various problems with the man pages. + +# Create the symlinks for multiple and alternative names when they are +# described in a single man page. + +sections="1 3 5 8" +#echo "sections = $sections" + +for s in $sections; do + files=$(grep -rl '^\.SH NAME' debian/tmp/usr/share/man/man$s | \ + grep -v '/netsnmp_') + #echo "files = $files" + + for f in $files; do + if [[ ! -f $f ]]; then + continue + fi + + f2=$(basename $f .$s) + commands=$(sed -e '/^\.SH NAME/,/^\./p' -e d $f | + sed -e '/^\./d' -e 's/,/ /g' -e 's/\\\?-.*$//') + #echo "$f2 commands = $commands" + + for c in $commands; do + c2=$(basename $c) + if [[ $c2 != $f2 ]]; then + #echo ln -sf $f2.$s debian/tmp/usr/share/man/man$s/$c2.$s + ln -sf $f2.$s debian/tmp/usr/share/man/man$s/$c2.$s + fi + done + done +done + +# Rename the pages to avoid possible conflicts with other packages. + +mv debian/tmp/usr/share/man/man3/SNMP.3 debian/tmp/usr/share/man/man3/SNMP.3pm + +sections="3 5" +#echo "sections = $sections" + +for s in $sections; do + files=debian/tmp/usr/share/man/man$s/*.$s + #echo "files = $files" + + for f in $files; do + if [[ -L $f ]]; then + l=$(readlink $f) + #echo ln -sf ${l}snmp ${f}snmp + ln -sf ${l}snmp ${f}snmp + rm -f $f + else + #echo mv $f ${f}snmp + sed -e "s/^\(\.TH \"[^\"]*\"\|\.TH [^\"][^ ]*\) *${s}/\1 ${s}snmp/" < $f > ${f}snmp + rm -f $f + fi + done +done --- net-snmp-5.3.1.orig/debian/rules +++ net-snmp-5.3.1/debian/rules @@ -0,0 +1,100 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk +include /usr/share/cdbs/1/class/autotools.mk + +LIB_VERSION = 10 +COMPAT_VERSION = 5.3.1 +BACKUP = aclocal.m4 configure ltmain.sh stamp-h stamp-h.in \ + include/net-snmp/net-snmp-config.h.in + +MIB_MODULES = host smux ucd-snmp/dlmod + +ifeq (linux,$(DEB_HOST_ARCH_OS)) +MIB_MODULES += ucd-snmp/diskio ucd-snmp/lmSensors +IPV6 = --enable-ipv6 +DEB_DH_GENCONTROL_ARGS=-- -Vos-specific-dev="libsensors-dev (>= 2.8.5)" +else +ifeq (kfreebsd,$(DEB_HOST_ARCH_OS)) +IPV6 = --disable-ipv6 +DEB_DH_GENCONTROL_ARGS=-- -Vos-specific-dev="libkvm-dev" +endif +endif + +DEB_AUTO_UPDATE_LIBTOOL = pre +DEB_AUTO_UPDATE_ACLOCAL = 1.9 +DEB_AUTO_UPDATE_AUTOCONF = 2.59 + +DEB_DH_MAKESHLIBS_ARGS_libsnmp$(LIB_VERSION) := -V"libsnmp$(LIB_VERSION) (>= $(COMPAT_VERSION))" +DEB_UPDATE_RCD_PARAMS_snmpd=multiuser +DEB_MAKE_INSTALL_TARGET=install INSTALL_PREFIX=$(CURDIR)/debian/tmp DESTDIR=$(CURDIR)/debian/tmp +DEB_MAKE_BUILD_TARGET=LD_RUN_PATH= +DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man \ + --with-persistent-directory=/var/lib/snmp \ + --enable-ucd-snmp-compatibility \ + --enable-shared --with-cflags="$(CFLAGS) -DNETSNMP_USE_INLINE" \ + --with-perl-modules="INSTALLDIRS=vendor" \ + $(IPV6) --with-logfile=none \ + --without-rpm --with-libwrap --with-openssl \ + --without-dmalloc --without-efence --without-rsaref \ + --with-sys-contact="root" --with-sys-location="Unknown" \ + --with-mib-modules="$(MIB_MODULES)" \ + --enable-mfd-rewrites \ + --with-mnttab=/etc/mtab \ + --with-defaults + +pre-build:: + # Backup files expected to be modified. + for i in $(BACKUP); do \ + if [ ! -f $$i.backup ]; then cp $$i $$i.backup; fi ; \ + done + +clean:: + dh_clean perl/SNMP/t/snmptest.cmd + rm -rf `find . -name .libs` + rm -rf `find . -name .svn` + for i in $(BACKUP); do \ + if [ -f $$i.backup ]; then mv -f $$i.backup $$i; fi ; \ + done + +common-install-arch:: + # Install the "broke" headers + cp agent/mibgroup/struct.h debian/tmp/usr/include/net-snmp/agent + cp agent/mibgroup/util_funcs.h debian/tmp/usr/include/net-snmp + cp agent/mibgroup/mibincl.h debian/tmp/usr/include/net-snmp/library + cp agent/mibgroup/header_complex.h debian/tmp/usr/include/net-snmp/agent + # Remove the snmpcheck program since we don't support it (yet). + rm debian/tmp/usr/bin/snmpcheck + # Copy the .conf files. + mkdir -p debian/tmp/etc/snmp + cp EXAMPLE.conf debian/tmp/etc/snmp/snmpd.conf + cp EXAMPLE-trap.conf debian/tmp/etc/snmp/snmptrapd.conf + mv debian/tmp/usr/share/snmp/mib2c*.conf debian/tmp/etc/snmp + mkdir -p debian/tmp/etc/default + cp debian/snmpd.default debian/tmp/etc/default/snmpd + # Perform other man pages fixups. + bash ./debian/fixman + + # make lintian happy + mkdir -p debian/tmp/usr/share/lintian/overrides + cp debian/snmpd.lintian-overrides debian/tmp/usr/share/lintian/overrides/snmpd + +binary/libsnmp-perl:: + dh_installexamples -plibsnmp-perl $(shell ls -d perl/SNMP/examples/* | grep -v SCCS) + +binary/snmpd:: + chmod 600 debian/snmpd/etc/snmp/snmp*d.conf + +binary/libsnmp$(LIB_VERSION)-dev:: + rm -rf debian/libsnmp$(LIB_VERSION)-dev/usr/share/doc/libsnmp$(LIB_VERSION)-dev + ln -sf libsnmp$(LIB_VERSION) debian/libsnmp$(LIB_VERSION)-dev/usr/share/doc/libsnmp$(LIB_VERSION)-dev + +common-binary-predeb-indep:: + rm -f debian/libsnmp-base/usr/share/doc/libsnmp-base/changelog.gz + +common-binary-predeb-arch:: + rm -f debian/libsnmp10/usr/share/doc/libsnmp10/changelog.gz + for i in FAQ.gz NEWS,gz README.gz README.snmpv3 README.thread.gz; do \ + ln -sf ../libsnmp-base/$$i debian/libsnmp10/usr/share/doc/libsnmp10/$$i; \ + done --- net-snmp-5.3.1.orig/debian/NEWS +++ net-snmp-5.3.1/debian/NEWS @@ -0,0 +1,14 @@ +net-snmp (5.2.2-1) unstable; urgency=low + + As of version 5.2.2, the default configuration disables SMUX support + and binds the SNMP port to 127.0.0.1. + + Please configure /etc/snmp/snmpd.conf, /etc/hosts.allow and /etc/hosts.deny + first to set up who can access the SNMP deamon, then edit + /etc/default/snmpd and remove 127.0.0.1 from SNMPDOPTS. + + To enable SMUX again, remove "-I -smux" from SNMPDOPTS and eventually + bind it to localhost by adding "smuxsocket 127.0.0.1" to + /etc/snmp/snmpd.conf. + + -- Jochen Friedrich Fri, 20 Jan 2006 15:11:07 +0100 --- net-snmp-5.3.1.orig/debian/control +++ net-snmp-5.3.1/debian/control @@ -0,0 +1,104 @@ +Source: net-snmp +Section: net +Priority: optional +Maintainer: Ubuntu Core Developers +XSBC-Original-Maintainer: Net-SNMP Packaging Team +Uploaders: Jochen Friedrich , Thomas Anders +Build-Depends: debhelper (>=5), libtool, libwrap0-dev, libssl-dev (>> 0.9.8), perl (>=5.8), autoconf, automake1.9, debianutils (>=1.13.1), bash (>=2.05), findutils (>=4.1.20), procps, cdbs (>=0.4.40), libkvm-dev [kfreebsd-i386 kfreebsd-amd64], libsensors-dev (>=2.8.5) [!hurd-i386 !kfreebsd-i386 !kfreebsd-amd64] +Standards-Version: 3.7.2 +XS-Vcs-Svn: svn://svn.debian.org/pkg-net-snmp/ +XS-Vcs-Browser: http://svn.debian.org/wsvn/pkg-net-snmp/ + +Package: snmpd +Section: net +Priority: optional +Architecture: any +Conflicts: snmp (<<3.6-3), snmptraplogd +Replaces: snmptraplogd +Depends: ${shlibs:Depends}, adduser, debconf +Description: NET SNMP (Simple Network Management Protocol) Agents + The Simple Network Management Protocol (SNMP) provides a framework + for the exchange of management information between agents (servers) + and clients. The NET SNMP agent is a daemon which listens for + incoming SNMP requests from clients and provides responses. + +Package: snmp +Section: net +Priority: optional +Architecture: any +Recommends: perl-modules +Depends: ${shlibs:Depends} +Description: NET SNMP (Simple Network Management Protocol) Apps + The Simple Network Management Protocol (SNMP) provides a framework + for the exchange of management information between agents (servers) + and clients. The NET SNMP applications are a collection of command + line clients for issuing SNMP requests to agents. + +Package: libsnmp-base +Section: libs +Priority: optional +Architecture: all +Replaces: snmp (<=3.6.2-3), libsnmp +Provides: libsnmp +Conflicts: libsnmp +Depends: +Description: NET SNMP (Simple Network Management Protocol) MIBs and Docs + The Simple Network Management Protocol (SNMP) provides a framework + for the exchange of management information between agents (servers) + and clients. This package includes the MIBs (Management Information + Bases) and documentation for the the SNMP libraries, agents and + applications. MIBs contain a formal description of the data that can + be managed using SNMP. They are used by NET SNMP libraries, agents + and applications. + +Package: libsnmp10 +Section: libs +Priority: optional +Architecture: any +Replaces: snmp (<=3.6.2-3), snmpd (<=4.1.2-1) +Depends: libsnmp-base (>=${Source-Version}), ${shlibs:Depends} +Description: NET SNMP (Simple Network Management Protocol) Library + The Simple Network Management Protocol (SNMP) provides a framework + for the exchange of management information between agents (servers) + and clients. The NET SNMP library contains common functions for the + construction, sending, receiving, decoding, and manipulation of the + SNMP requests and responses. + +Package: libsnmp-dev +Section: libdevel +Priority: optional +Architecture: any +Replaces: libsnmp9-dev, libsnmp10-dev +Provides: libsnmp9-dev, libsnmp10-dev +Conflicts: libsnmp5-dev, libsnmp9-dev, libsnmp10-dev +Depends: libc6-dev, libsnmp10 (=${Source-Version}), libsnmp-perl (=${Source-Version}), libwrap0-dev, libssl-dev, procps, ${os-specific-dev} +Description: NET SNMP (Simple Network Management Protocol) Development Files + The Simple Network Management Protocol (SNMP) provides a framework + for the exchange of management information between agents (servers) + and clients. The NET SNMP development files include the library + headers, static libraries, and documentation needed for development + of custom SNMP applications. + +Package: libsnmp-perl +Section: perl +Priority: optional +Architecture: any +Depends: ${perl:Depends}, libsnmp10 (=${Source-Version}) +Description: NET SNMP (Simple Network Management Protocol) Perl5 Support + The Simple Network Management Protocol (SNMP) provides a framework + for the exchange of management information between agents (servers) + and clients. The NET SNMP perl5 support files provide the perl + functions for integration of SNMP into applications, written in perl. + +Package: tkmib +Section: net +Priority: optional +Architecture: all +Depends: libsnmp-perl (>=${Source-Version}), perl-tk +Description: NET SNMP (Simple Network Management Protocol) MIB Browser + The Simple Network Management Protocol (SNMP) provides a framework + for the exchange of management information between agents (servers) + and clients. The NET SNMP MIB (Management Information Base) Browser + provides a graphical frontend for the NET SNMP tools. It can be used + to browse the MIB tree and interactively send requests to SNMP agents. + --- net-snmp-5.3.1.orig/debian/snmpd.init +++ net-snmp-5.3.1/debian/snmpd.init @@ -0,0 +1,92 @@ +#! /bin/sh -e +### BEGIN INIT INFO +# Provides: snmpd snmptrapd +# Required-Start: $network $local_fs +# Required-Stop: $network $local_fs +# Default-Start: 2 3 4 5 +# Default-Stop: 0 6 +# Short-Description: SNMP agents +# Description: NET SNMP (Simple Network Management Protocol) Agents +### END INIT INFO +# +# Author: Jochen Friedrich +# +set -e + +test -x /usr/sbin/snmpd || exit 0 +test -x /usr/sbin/snmptrapd || exit 0 + +# Defaults +export MIBDIRS=/usr/share/snmp/mibs +SNMPDRUN=yes +SNMPDOPTS='-Lsd -Lf /dev/null -p /var/run/snmpd.pid' +TRAPDRUN=no +TRAPDOPTS='-Lsd -p /var/run/snmptrapd.pid' + +# Reads config file (will override defaults above) +[ -r /etc/default/snmpd ] && . /etc/default/snmpd + +# Cd to / before starting any daemons. +cd / + +# Create compatibility link to old AgentX socket location +if [ "$SNMPDCOMPAT" = "yes" ]; then + ln -sf /var/agentx/master /var/run/agentx +fi + +case "$1" in + start) + echo -n "Starting network management services:" + if [ "$SNMPDRUN" = "yes" -a -f /etc/snmp/snmpd.conf ]; then + start-stop-daemon --quiet --start --exec /usr/sbin/snmpd \ + -- $SNMPDOPTS + echo -n " snmpd" + fi + if [ "$TRAPDRUN" = "yes" -a -f /etc/snmp/snmptrapd.conf ]; then + start-stop-daemon --quiet --start --exec /usr/sbin/snmptrapd \ + -- $TRAPDOPTS + echo -n " snmptrapd" + fi + echo "." + ;; + stop) + echo -n "Stopping network management services:" + start-stop-daemon --quiet --stop --oknodo --exec /usr/sbin/snmpd + echo -n " snmpd" + start-stop-daemon --quiet --stop --oknodo --exec /usr/sbin/snmptrapd + echo -n " snmptrapd" + echo "." + ;; + restart) + echo -n "Restarting network management services:" + start-stop-daemon --quiet --stop --oknodo --exec /usr/sbin/snmpd + start-stop-daemon --quiet --stop --oknodo --exec /usr/sbin/snmptrapd + # Allow the daemons time to exit completely. + sleep 2 + if [ "$SNMPDRUN" = "yes" -a -f /etc/snmp/snmpd.conf ]; then + start-stop-daemon --quiet --start --exec /usr/sbin/snmpd -- $SNMPDOPTS + echo -n " snmpd" + fi + if [ "$TRAPDRUN" = "yes" -a -f /etc/snmp/snmptrapd.conf ]; then + # Allow snmpd time to start up. + sleep 1 + start-stop-daemon --quiet --start --exec /usr/sbin/snmptrapd -- $TRAPDOPTS + echo -n " snmptrapd" + fi + echo "." + ;; + reload|force-reload) + echo -n "Reloading network management services:" + if [ "$SNMPDRUN" = "yes" -a -f /etc/snmp/snmpd.conf ]; then + start-stop-daemon --quiet --stop --signal 1 \ + --pidfile /var/run/snmpd.pid --exec /usr/sbin/snmpd + echo -n " snmpd" + fi + echo "." + ;; + *) + echo "Usage: /etc/init.d/snmpd {start|stop|restart|reload|force-reload}" + exit 1 +esac + +exit 0 --- net-snmp-5.3.1.orig/debian/libsnmp-dev.manpages +++ net-snmp-5.3.1/debian/libsnmp-dev.manpages @@ -0,0 +1 @@ +debian/manpages/net-snmp-config.1 --- net-snmp-5.3.1.orig/debian/libsnmp10.postinst +++ net-snmp-5.3.1/debian/libsnmp10.postinst @@ -0,0 +1,9 @@ +#! /bin/sh + +set -e + +ldconfig + +#DEBHELPER# + +exit 0 --- net-snmp-5.3.1.orig/debian/snmpd.install +++ net-snmp-5.3.1/debian/snmpd.install @@ -0,0 +1,11 @@ +debian/tmp/usr/sbin/* +debian/tmp/usr/share/man/man5/snmpd.conf.5snmp +debian/tmp/usr/share/man/man5/snmptrapd.conf.5snmp +debian/tmp/usr/share/man/man8/snmpd.8 +debian/tmp/usr/share/man/man8/snmptrapd.8 +debian/tmp/usr/share/snmp/snmpconf-data/snmpd-data +debian/tmp/usr/share/snmp/snmpconf-data/snmptrapd-data +debian/tmp/etc/default/snmpd +debian/tmp/etc/snmp/snmpd.conf +debian/tmp/etc/snmp/snmptrapd.conf +debian/tmp/usr/share/lintian/overrides/ --- net-snmp-5.3.1.orig/debian/snmpd.config +++ net-snmp-5.3.1/debian/snmpd.config @@ -0,0 +1,25 @@ +#! /bin/sh + +set -e + +action="$1" +version="$2" + +. /usr/share/debconf/confmodule + +if [ -n "$version" ] +then + # Source debconf library. + db_version 2.0 + if [ -n "$version" ] && dpkg --compare-versions "$version" lt 3.7 + then + db_text critical snmpd/upgradefrom36 || true + fi + if [ -n "$version" ] && dpkg --compare-versions "$version" lt 5.2.2 + then + db_text critical snmpd/upgradefrom521 || true + fi + db_go +fi + +exit 0 --- net-snmp-5.3.1.orig/debian/libsnmp10.docs +++ net-snmp-5.3.1/debian/libsnmp10.docs @@ -0,0 +1,10 @@ +AGENT.txt +FAQ +NEWS +README +README.agentx +README.snmpv3 +README.thread +TODO +local/README.mib2c +debian/README.Debian --- net-snmp-5.3.1.orig/debian/tkmib.manpages +++ net-snmp-5.3.1/debian/tkmib.manpages @@ -0,0 +1 @@ +debian/manpages/tkmib.1 --- net-snmp-5.3.1.orig/debian/snmpd.postrm +++ net-snmp-5.3.1/debian/snmpd.postrm @@ -0,0 +1,20 @@ +#! /bin/sh + +set -e + +if [ $1 = purge ]; then + rm -f /var/lib/snmp/snmpd.conf* + rm -f /var/lib/snmp/snmptrapd.conf* + rm -f /var/run/agentx + rm -f /var/run/snmpd.pid + rm -f /var/run/snmptrapd.pid + if [ -x /usr/sbin/deluser ]; then + deluser --quiet --system snmp + else + echo "Can't remove user snmp. Please remove this user by hand." + fi +fi + +#DEBHELPER# + +exit 0 --- net-snmp-5.3.1.orig/debian/snmpd.preinst +++ net-snmp-5.3.1/debian/snmpd.preinst @@ -0,0 +1,17 @@ +#! /bin/sh + +set -e + +action="$1" +version="$2" + +if [ "$action" = upgrade ] +then + if [ -L /usr/share/doc/snmpd ]; then + rm -f /usr/share/doc/snmpd + fi +fi + +#DEBHELPER# + +exit 0 --- net-snmp-5.3.1.orig/debian/snmp.install +++ net-snmp-5.3.1/debian/snmp.install @@ -0,0 +1,7 @@ +debian/tmp/usr/bin/snmp* +debian/tmp/usr/bin/encode* +debian/tmp/usr/bin/fixproc +debian/tmp/usr/bin/traptoemail +debian/tmp/usr/bin/mib2c-update +debian/tmp/usr/share/man/man1/snmp* +debian/tmp/usr/share/snmp/snmpconf-data/snmp-data --- net-snmp-5.3.1.orig/debian/watch +++ net-snmp-5.3.1/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://sf.net/net-snmp/net-snmp-([\d+\.]+|\d+)\.tar\.gz debian uupdate --- net-snmp-5.3.1.orig/debian/snmp.manpages +++ net-snmp-5.3.1/debian/snmp.manpages @@ -0,0 +1,5 @@ +debian/manpages/encode_keychange.1 +debian/manpages/snmpvacm.1 +debian/manpages/fixproc.1 +debian/manpages/mib2c-update.1 +debian/manpages/traptoemail.1 --- net-snmp-5.3.1.orig/debian/compat +++ net-snmp-5.3.1/debian/compat @@ -0,0 +1 @@ +5 --- net-snmp-5.3.1.orig/debian/tkmib.docs +++ net-snmp-5.3.1/debian/tkmib.docs @@ -0,0 +1,3 @@ +FAQ +NEWS +README --- net-snmp-5.3.1.orig/debian/snmpd.lintian-overrides +++ net-snmp-5.3.1/debian/snmpd.lintian-overrides @@ -0,0 +1,3 @@ +snmpd: non-standard-file-perm etc/snmp/snmpd.conf 0600 != 0644 +snmpd: non-standard-file-perm etc/snmp/snmptrapd.conf 0600 != 0644 +snmpd: non-standard-dir-in-var var/agentx/ --- net-snmp-5.3.1.orig/debian/libsnmp-base.dirs +++ net-snmp-5.3.1/debian/libsnmp-base.dirs @@ -0,0 +1 @@ +var/lib/snmp --- net-snmp-5.3.1.orig/debian/libsnmp-perl.install +++ net-snmp-5.3.1/debian/libsnmp-perl.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/perl* +debian/tmp/usr/share/perl* --- net-snmp-5.3.1.orig/debian/changelog +++ net-snmp-5.3.1/debian/changelog @@ -0,0 +1,1003 @@ +net-snmp (5.3.1-6ubuntu2) gutsy; urgency=low + + * Do not install the upstream changelog in libsnmp10 and libsnmp-base. + * Symlink files common in libsnmp10 and libsnmp-base. + + -- Matthias Klose Fri, 05 Oct 2007 14:55:58 +0200 + +net-snmp (5.3.1-6ubuntu1) gutsy; urgency=low + + * Merge from Debian unstable. + * Remaining Ubuntu changes: + - Remove stop links from rc0 and rc6 + - Munge Maintainer field as per spec. + + -- Steve Kowalik Wed, 23 May 2007 08:58:46 +1000 + +net-snmp (5.3.1-6) unstable; urgency=low + + * Add back linking libnetsnmpmibs to dependent libraries that got + lost during convert to cdbs (Closes: #422999, #422069, #422547) + * Updated kFreeBSD patch + + -- Jochen Friedrich Thu, 10 May 2007 17:48:14 +0200 + +net-snmp (5.3.1-5ubuntu1) gutsy; urgency=low + + * Merge from Debian unstable. + * Remaining Ubuntu changes: + - Remove stop links from rc0 and rc6 + * Munge Maintainer field as per spec. + + -- Steve Kowalik Thu, 10 May 2007 22:20:23 +1000 + +net-snmp (5.3.1-5) unstable; urgency=low + + * Rename control files for libsnmp-dev as well, so package isn't empty. + + -- Jochen Friedrich Wed, 02 May 2007 15:29:37 +0200 + +net-snmp (5.3.1-4) unstable; urgency=low + + * Add vcs headers to control for PTS. + * Rename dev Package to libsnmp-dev as suggested by Kurt Roeckx + and Steve Langasek + (Closes: #419919) + * NACK NMU. + * Add patch from RedHat for XEN (Closes: #419557) + + -- Jochen Friedrich Wed, 02 May 2007 12:29:07 +0200 + +net-snmp (5.3.1-3) unstable; urgency=low + + * Move AgentX socket to RFC location. + * Update pktinfo patch from Jan Andres + * Add official patches. + o disabling agentX breaks snmptrapd auth (SF #1527661) + o SNMP.pm gettable() patch (SF #1532044) + o 8 byte IpAddress value for 64bit non-linux systems (SF #1550635) + o memory leaks in ipAddress and CirdRoute tables (SF #1610160) + * Synchronize tree to 5.2.3-7. + o Don't fail postrm on non-existant deluser (Closes: #398540) + o Add German debconf translation (Closes: #397823) + Thanks to Helge Kreutzmann . + o Add Italian debconf translation (Closes: #398047) + Thanks to Luca Monducci . + o Add patch to hardcode mount table location (Closes: #370132) + o Add Romanian translation (Closes: #403949) + Thanks to stan ioan-eugen . + o Update patch from Petr Salinger for + kFreeBSD and Hurd support. (Closes: #402116) + o Fix restart of snmpd (Closes: #402568, #401306) + o Add Spanish translation (Closes: #402685) + Thanks to Javier Fernández-Sanguino Peña + o Add Brazilian Portuguese translation (Closes: #403549) + Thanks to André Luís Lopes" + o Don't fail postrm on non-existant deluser (Closes: #398540) + o Add LSB section to startup file. + o Add Thomas Anders as co-Maintainer. + o Add missing copyrights to copyright file. + o Fix spelling errors and wrong path names in documentation. + + -- Jochen Friedrich Wed, 11 Apr 2007 13:04:00 +0200 + +net-snmp (5.3.1-2) experimental; urgency=low + + * Add kfreebsd support. Thanks to Petr Salinger + (Closes: #380252) + * Add Russian translation. Thanks to Yuri Kozlov + (Closes: #380300) + * Update Czech translation. Thanks to Miroslav Kure + (Closes: #380528) + + -- Jochen Friedrich Mon, 31 Jul 2006 16:57:13 +0200 + +net-snmp (5.3.1-1) experimental; urgency=low + + * New upstream version (Closes: #358079, #252893) + * Convert build system to cdbs. (Closes: #323074) + * Add patch from Lars Ellenberg to answer with the same + IP address the request was sent to. (Closes: #111263) + * Add patch from Sven Schnelle to prevent duplicate iftable + entries (Closes: #368617) + + -- Jochen Friedrich Wed, 26 Jul 2006 12:08:46 +0200 + +net-snmp (5.2.3-4ubuntu1) feisty; urgency=low + + * Merge from debian unstable, remaining changes: + - remove stop links from rc0 and rc6 + + -- Scott James Remnant Tue, 28 Nov 2006 12:29:34 +0000 + +net-snmp (5.2.3-4) unstable; urgency=low + + [ Jochen Friedrich ] + * Don't fail postrm on non-existant deluser (Closes: #398540) + * Add LSB section to startup file. + * Add Thomas Anders as co-Maintainer. + + [ Thomas Anders ] + * Add missing copyrights to copyright file. + * Fix spelling errors and wrong path names in documentation. + + -- Jochen Friedrich Thu, 23 Nov 2006 17:40:32 +0100 + +net-snmp (5.2.3-3) unstable; urgency=low + + * Apply patch from Dann Frazier (dannf@debian.org) to add + -DNETSNMP_USE_INLINE (Closes: #377723) + * Add German debconf translation (Closes: #397823) + Thanks to Helge Kreutzmann . + * Add Italian debconf translation (Closes: #398047) + Thanks to Luca Monducci . + * Despam syslog (Closes: #396929) + + -- Jochen Friedrich Mon, 13 Nov 2006 12:43:24 +0100 + +net-snmp (5.2.3-2) unstable; urgency=high + + * Revert 1.13.2.2 of ifTable_data_access as this causes a crash on + disappearing interfaces (Closes: #387174, #388190) + * Create .index file on libsnmp-base postinstall to prevent write + access on /usr filesystem during runtime (Closes: #389434) + * Urgency high due to RC bug fixes. + + -- Jochen Friedrich Wed, 01 Nov 2006 16:48:11 +0200 + +net-snmp (5.2.3-1) unstable; urgency=low + + * New upstream version in 5.2.X branch (bugfix release) + o snmpd: + - Build fixes, e.g. for latest gcc + - Return no access instead of not writable on VACM denials + - Prevent endless loop in table_iterator + - extend: recognize failed/duplicate registrations + - Various robustness fixes for some mib implementations + - A few memory leak fixes + - Other misc bug fixes. + o snmptrapd: + - Fixed support for snmptrapd embedded perl on x86_64 + - Other misc bug fixes. + o library: + - Make SNMPv3 traps work again (user creation; official patch 1374087) + - Fixes typing issues problem with MIB definitions that use + intermediate sub-identifiers + - Fix snmptranslate -Td output for UNITS + - Fix IP address encoding issues on 64Bit architectures + o snmpusm: + - Usage of localized keys instead of passphrases with -Ck + - New option -CE to specify usmUserEngineID (necessary to manage + snmptrapd's usmUserTable) + o snmpnetstat: + - Skip missing entries + - Don't choke on SNMPv2 PDU exceptions + o snmpstatus: + - Don't choke on SNMPv2 PDU exceptions + o mib2c: + - Misc bug fixes in some of the output styles + o Perl: + - Check the perl module version number against the net-snmp version + - Fixes for 64bit issues + - Misc other fixes + o MIBs: + - Updated DISMAN-NSLOOKUP-MIB.txt, DISMAN-PING-MIB.txt, + DISMAN-TRACEROUTE-MIB.txt, and the IANAifType-MIB + o Linux specific: + - Fix compilation with ethtool + - Fix Linux CPU counters on SMP machines + o Misc: + - Comprehensive review of in-line documentation + - Make install: DESTDIR support + - Many other miscellaneous bug fixes + (Closes: #384367) + * Delete patches applied upstream. + o 5_rh9-522 + o 16_man_pages_section + o 17_man_pages_typo + o 22_net-snmp-5.2.x-sysObjectID + * Add patches + o 27_gettable + * Add customisation notice to README.Debian (Closes: #381451) + + -- Jochen Friedrich Thu, 24 Aug 2006 12:23:29 +0200 + +net-snmp (5.2.2-5ubuntu1) edgy; urgency=low + + * Remove stop script symlinks from rc0 and rc6. + + -- Scott James Remnant Fri, 15 Sep 2006 17:32:44 +0100 + +net-snmp (5.2.2-5) unstable; urgency=low + + * Change maintainer to alioth address. + * Add Russian translation. Thanks to Yuri Kozlov + (Closes: #380300) + * Update Czech translation. Thanks to Miroslav Kure + (Closes: #380528) + * enable disman/event-mib (Closes: #303823, #379554) + + -- Jochen Friedrich Mon, 31 Jul 2006 12:22:57 +0200 + +net-snmp (5.2.2-4) unstable; urgency=low + + * Add French translation. Thanks to Thomas Huriaux + (Closes: #357928) + * Add Czech translation. Thanks to Miroslav Kure + (Closes: #358845) + * Add Dutch translation. Thanks to Vincent Zweije + (Closes: #360441) + * Add Galician translation. Thanks to Jacobo Tarrio + (Closes: #361778) + * Add Portuguese translation. Thanks to Rui Branco + (Closes: #375018) + * Add patch from upstream to correct sysObjectID. + (Closes: #363399, #374065) + * Rearrange snmpd.postrm to not run deluser twice. + * Change build-depends to not depend on automake but on + automake1.9 (Closes: #376561) + * Build with -Wall (Closes: #323074) + * Add patch to make -Z support zero values. Path thanks + to Peder Chr. Norgaard + (Closes: #366817) + * Make init script support reloading configuration without + restart. (Closes: #367071) + * Execute dh_fixperm before dh_strip (Closes: #360253) + + -- Jochen Friedrich Tue, 4 Jul 2006 15:23:54 +0200 + +net-snmp (5.2.2-3) unstable; urgency=low + + * Add short description to debconf templates (Closes: #355119) + * Add Danish translation. Thanks to Claus Hindsgaul + (Closes: #355375) + * Add patch to add m4 directory with extracted net-snmp specific + aclocal definitions. Required to make libtool work correctly + (Closes: #355850, #536123) + + -- Jochen Friedrich Sat, 11 Mar 2006 12:10:10 +0100 + +net-snmp (5.2.2-2) unstable; urgency=low + + * Redo CVS Checkout from alioth (Closes: #354779) + + -- Jochen Friedrich Wed, 01 Mar 2006 20:32:01 +0100 + +net-snmp (5.2.2-1) unstable; urgency=low + + * New upstream release + * Added man page for snmpnetstat53 + * Fix typos in man pages. Thanks to Nicolas François + (Closes: #326515, #326530, #326532). + * Fix libsnmp9-dev dependencies. Thanks to Ahmed Baizid + (Closes: #343577). + * Listen on 127.0.0.1 by default and turn off SMUX port in + /etc/defaults/snmpd. (Closes: #294309, #314907, #216108) + * Remove dangling symlinks /etc/doc/snmp[d] -> libsnmp5 which might + eventually be left over from old packages. Thanks to "Mario 'BitKoenig' + Holbe" (Closes: #336365) + * Run snmpd as snmp user by default (Closes: #275374, #337053) + * Depend and Builddepend libsnmpd9-dev on procps. Thanks to + Peder Chr. Norgaard for pointing this out. + (Closes: #325840) + * Fix man page section mismatch found by lintian. + + -- Jochen Friedrich Wed, 23 Feb 2006 15:05:32 +0100 + +net-snmp (5.2.1.2-4) unstable; urgency=low + + * Version builddep on libssl-dev and rebuild, for openssl transition + Closes: #334010 Thanks to Henrique de Moraes Holschuh . + + -- Jochen Friedrich Sat, 15 Oct 2005 09:24:26 +0200 + +net-snmp (5.2.1.2-3) unstable; urgency=low + + * Apply official library-version-update-5.2.1.2.patch to clean up the + version mess (Closes: #322500) + * Replace error_snmp6.patch by upstream systemstats-snmp6.patch + * Added upstream inetNetToMedia-01.patch (Closes: #323038) + * Added ipaddress_linux.c-in_len-out_len-type.patch from + Julien BLACHE (Closes: #321713) + + -- Jochen Friedrich Mon, 5 Sep 2005 21:19:30 +0200 + +net-snmp (5.2.1.2-2) unstable; urgency=low + + * Don't print error message if ipv6 module is not loaded. (Closes: #319741) + * Added conflicts against all packages using libsnmp5 due to upstream + changing the binary API without increasing SONAME. See: #322500 + + -- Jochen Friedrich Thu, 28 Jul 2005 20:19:09 +0200 + +net-snmp (5.2.1.2-1) unstable; urgency=low + + * New upstream release (Closes: #293902). Contains fix for CAN-2005-2177 + * Acknowledge NMU (Closes: #302195, #302386). Many thanks to + Henrique de Moraes Holschuh for his quick action! + * Including ucd-snmp/diskio (Closes: #264938) + * Don't relink libraries (Closes: #243870) + * Link against libsensors on all archs again (Closes: 304103) + * Include fixproc (Closes: #310692) + * Updated standards version to 3.6.2 + * Change to patch based build system (Closes: #292412) + * Updated GNOME-SMI.txt + + -- Jochen Friedrich Wed, 20 Jul 2005 21:47:32 +0200 + +net-snmp (5.1.2-6.1) unstable; urgency=emergency + + * NMU (with permission from maintainer) + * debian/rules: clean up libdir in all .la files installed to + /usr/lib, so as to avoid breaking all libtool builds (closes: #302195). + + -- Henrique de Moraes Holschuh Thu, 31 Mar 2005 12:14:11 -0300 + +net-snmp (5.1.2-6) unstable; urgency=medium + + * Backed out the unauthorized MIB changes. lm-sensors updates. + Closes: #274624, Downgrades: #249904 + * Fixed debian/fixman to not mangle the man pages (Closes: #273779). + * Fixed snmpset.1 man page. Thanks to + Nicolas François (nicolas.francois@centraliens.net + (Closes: #274431) + * Fix from CVS for v3 enginetime wrapping problem (Closes: #271543). + * Backed out patch to skip over interfaces without stats. + This might have an impact on #254571, #261701. Should be retested. + + -- Jochen Friedrich Fri, 1 Oct 2004 12:54:23 +0200 + +net-snmp (5.1.2-5) unstable; urgency=medium + + * Commented out remaining MemShared message + Thanks to Johan Thelmén (Really closes: #244721) + * New version of lm-sensors from upstream (Thanks to Mike Slifcak). + lm-sensors is now enabled again on i386. + Closes: #264442, #267691, #249839, #249904, 266270 + + -- Jochen Friedrich Thu, 23 Sep 2004 18:45:41 +0200 + +net-snmp (5.1.2-4) unstable; urgency=medium + + * Fix from CVS for scanning 64bit counters from /proc (Closes: #210364) + + -- Jochen Friedrich Fri, 27 Aug 2004 10:12:07 +0200 + +net-snmp (5.1.2-3) unstable; urgency=high + + * Fixed init script to not depend on defaults file (Closes: #267414) + + -- Jochen Friedrich Mon, 23 Aug 2004 17:27:47 +0200 + +net-snmp (5.1.2-2) unstable; urgency=medium + + * Disable lm-sensors support for i386 once again as it's not yet mature + enough for sarge: + - It seems to trash memory: (Downgrades: #264442) + - It doesn't work as expected: #249839, #249904 + - It is a likely candidate for memory leakage (at least it + looks like the result of sensors_get_label() is never freed) + + -- Jochen Friedrich Tue, 17 Aug 2004 00:11:58 +0200 + +net-snmp (5.1.2-1) unstable; urgency=low + + * New upstream release (Closes: #237890, #236326, #217306, #261624) + o Linux 2.6 improvements (Closes: #225253, #244721) + o Misc 64bit processor fixes. + o Misc perl build and install fixes. + o Minor improvements to snmpnetstat (IPv6 output) + o Minor improvements to snmpdelta (error reporting) + * snmp now recommends perl-modules (Closes: #261687) + * added watch file. + * fixed some lintian errors and warnings. + + -- Jochen Friedrich Tue, 10 Aug 2004 11:18:31 +0200 + +net-snmp (5.1.1-2) unstable; urgency=low + + * Fix dependency of lm-sensors + * Remove library circular dependency (Closes: #229132) + + -- Jochen Friedrich Fri, 9 Apr 2004 10:52:34 +0200 + +net-snmp (5.1.1-1) unstable; urgency=low + + * New upstream release (Closes: #232602, #238129) + o Improvements on 64 bit architectures. + o A few minor memory leaks fixed. + o An extremely large number of minor bug fixes. + o Many perl module specific bug fixes. + o snmpd will safely handle more signals. + * Enabled and fixed lm-sensors, this time for real. Thanks + to Christopher Price for the patch. + (Closes: #240502) + + -- Jochen Friedrich Tue, 6 Apr 2004 23:27:52 +0200 + +net-snmp (5.1-5) unstable; urgency=low + + * Enabled lm-sensors support again. + * Fixed libsnmp-base postinst -> postrm (Closes: #236405) + + -- Jochen Friedrich Sat, 13 Mar 2004 09:39:17 +0100 + +net-snmp (5.1-4) unstable; urgency=low + + * Really fixed libwrap inclusion in net-snmp-config.in + (Closes: #232396) + + -- Jochen Friedrich Mon, 23 Feb 2004 17:20:21 +0100 + +net-snmp (5.1-3) unstable; urgency=low + + * Applied patch from CVS to fix HOST-RESOURCES-MIB. (Closes: #232374) + * Applied patch from CVS to fix output of strings containing + CR or LF chars (bug 864367 on SF). (Closes: #218210) + * Applied patch from CVS to fix syslog output. + * Disabled lm-sensors support until kernel module issues are resolved. + + -- Jochen Friedrich Sat, 21 Feb 2004 00:29:06 +0100 + +net-snmp (5.1-2) unstable; urgency=low + + * Fix IPv6 MIB leaking file handles. Thanks to + for pointing out the patch at + https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=85071. + (Closes: #159495) + * Fixed snmpd.defaults. Thanks to James Samuel + for the patch. (Closes: #232394) + * Fixed libwrap inclusion in net-snmp-config.in (Closes: #232396) + * Updated shlibs to match version 5.1 (Closes: #232422) + + -- Jochen Friedrich Thu, 12 Feb 2004 19:30:57 +0100 + +net-snmp (5.1-1) unstable; urgency=low + + * New upstream release (Closes: #224382) + * New maintainer (Closes: #230679) + * Bumped standards version to 3.6.1 + * Ack old NMUs (Closes: #182426, #186834, #183041) + * Updated GNOME-SMI.txt + * Removed duplicate conffiles + * Fixed description to make litian happy + + -- Jochen Friedrich Mon, 9 Feb 2004 23:38:57 +0100 + +net-snmp (5.0.9-3) unstable; urgency=low + + * Only support lm-sensors on i386 (closes: #216500). + + -- David Engel Wed, 19 Nov 2003 14:13:02 -0600 + +net-snmp (5.0.9-2) unstable; urgency=low + + * Fixed problem with libsnmp5 depending on itself. + * Make sure sysconfdir is defined (fixes bad path in manpages). + * Fixed problem overwriting MIBs (closes: #216034). + + -- David Engel Thu, 16 Oct 2003 14:09:38 -0500 + +net-snmp (5.0.9-1) unstable; urgency=low + + * New upstream version (closes: #214660) + - snmp.conf(5) man page is now corrected (closes: #185888). + - Incorrect behaviour of snmpd allowing to bypass the access + restrictions using snmpbulkget is corrected (closes: #205952). + * Updated the debian/copyright file. + * Changed to work with current libtool and autoconf (closes: $208380). + * Link libraries with complete dependencies (closes: #199166). + * Updated package descriptions (closes: #210122, closes: #210017, + closes: #209704, closes: #209857, closes: #209905, closes: #209839). + * Added manpages for net-snmp-config, snmpvacm, encode_keychange + (closes: #182996) and tkmib (closes: #130684) from Jurij Smakov + . + * Fixed mib2c to look for config files in the correct places. + * Enabled support for the lm-sensors MIB (closes: #204543). + * Use the process name instead of the command-line when matching + processes with proc config file directives (closes: #204542) from + Philippe Troin . + * Really enabled dlmod support (closes: #180639). + * Don't use obsolete SO_BSDCOMPAT sockopt (closes: #201853). + * Don't print SMUX passwords in log file (closes: #195622). + * Fixed typo in default snmpd.conf (closes: #185366). + * Don't include build paths in SNMP.so (closes: #184610). + * Added the BGP4, OSPF and RIPv2 MIBs. + * Ignore interfaces with no statistics (closes: #159321). + * Added the GNOME SMI (closes: #196340). + + -- David Engel Tue, 14 Oct 2003 18:12:36 -0500 + +net-snmp (5.0.8-1) unstable; urgency=low + + * New upstream version. + + -- David Engel Wed, 14 May 2003 17:02:42 -0500 + +net-snmp (5.0.7-1.1) unstable; urgency=low + + * NMU based on patches by Paul Hampson + * Add proper dependencies to libsnmp5-dev. Closes: #183041. + * Use updated libtool for mips/mipsel. Closes: #182426. + * Run debian/fixman.sh using bash. Closes: #186834. + + -- Daniel Schepler Sat, 26 Apr 2003 16:52:18 -0700 + +net-snmp (5.0.7-1) unstable; urgency=low + + * New upstream version (closes:177127, closes:154323, + closes:154322). + * Enabled dlmod support in snmpd (closes:180639). + * Use current config.guess and config.sub (closes:172501). + + -- David Engel Sun, 23 Feb 2003 23:01:45 -0600 + +net-snmp (5.0.6-1) unstable; urgency=low + + * New upstream version. + * Use autoconf2.13 (closes:157117, closes:162441, closes:162781). + * Commented out example proc, exec, disk and load statements in the + default snmpd.conf (closes:164028). Users can re-enable them if + desired. + * Added a note to README.Debian about the new snmpcmd command line + syntax regarding community strings (closes:160198). + + -- David Engel Wed, 23 Oct 2002 09:20:11 -0500 + +net-snmp (5.0.3-2) unstable; urgency=low + + * Rebuild with perl 5.8. + * Install additional UCD compatibility headers (closes: #156166). + + -- David Engel Sun, 1 Sep 2002 21:35:12 -0500 + +net-snmp (5.0.3-1) unstable; urgency=low + + * New upstream version. + * Linked libraries with libcrypto and libwrap to get proper + dependencies. Updated net-snmp-config accordingly + (closes: #155153). + * Included the UCD compatibility headers and library + (closes: #155133). + * Fixed bad snmpinform symlink (closes: #155196). + * Fixed mib2c to look in /etc/snmp for config files + (closes: #155157). + + -- David Engel Mon, 5 Aug 2002 21:01:27 -0500 + +net-snmp (5.0.2a-1) unstable; urgency=low + + * New upstream version (closes: #147761). + * Added missing -f in init script. + + -- David Engel Mon, 1 Jul 2002 21:36:08 -0500 + +ucd-snmp (4.2.5-1) unstable; urgency=low + + * New upstream version (closes:145289). + + -- David Engel Tue, 14 May 2002 19:31:02 -0500 + +ucd-snmp (4.2.4-2) unstable; urgency=low + + * Made libucdmibs depend on libwrap (closes:144521). + + -- David Engel Thu, 25 Apr 2002 15:27:40 -0500 + +ucd-snmp (4.2.4-1) unstable; urgency=low + + * New upstream version. + * Rebuilt with SSL since cryto can now go in main. + * Explicitly use bash for the fixman script (closes:133652). + * Don't use LD_RUN_PATH in perl/SNMP.so. + * Fixed parsing of "-p udp:" in snmpd (closes:141176). + + -- David Engel Tue, 23 Apr 2002 20:50:25 -0500 + +ucd-snmp (4.2.3-2) unstable; urgency=high + + * Fixed potential buffer overflow in snmpnetstat (close:129243). + * Updated upstream URL in debian/copyright file (close:125669). + + -- David Engel Mon, 28 Jan 2002 21:24:59 -0600 + +ucd-snmp (4.2.3-1) unstable; urgency=low + + * New upstream version (closes:122331). + * Changed the snmpd syslog message when interface statistics are + not available from LOG_ERR to LOG_DEBUG (closes:121555). + * Added a note in README.Debian about changes to + ucd-snmp-includes.h (closes:121095). + + -- David Engel Sat, 8 Dec 2001 20:11:34 -0600 + +ucd-snmp (4.2.2-1) unstable; urgency=low + + * New upstream version (closes:111966, closes:112005, closes:112073, + closes:118795, closes:118848). + * Removed Build-Depends on essential sed package (closes:111212). + * Added the ucd-snmp.m4 autoconf file (closes:112078). + * Moved mib2c from libsnmp-perl to libsnmp4.2-dev (closes:112393). + * Remove /var/lib/snmp if libsnmp-base is purged (closes:113729). + * Fixed int/size_t errors in mib_api man page (closes:114478). + * Added a blurb in README.Debian about snmpconf (closes:115378). + * Enabled smux support. + * Moved the agentx socket from /var/agentx/master to /var/run/agents + for FHS compatibility (closes:120015). + + -- David Engel Mon, 19 Nov 2001 13:33:59 -0600 + +ucd-snmp (4.2.1-6) testing unstable; urgency=high + + * Fixed LD_LIBRARY_PATH build problem when running under fakeroot + (closes:107565, closes:104044). + * Applied ucd-snmp-4.2.1-security*.patch from Caldera to fix potential + buffer overflow, temp file race and group permission problems + (closes:109345, closes:109733). + * Documented the -s option in the snmpd manpage (closes:109639). + * Changed the FAQ to reference /usr and /etc instead of /usr/lcoal + (closes:107758). + * Removed duplicate build dependency on libtool (closes:107476). + Changed build dependency from perl5 to perl (>=5.6) (closes:107575). + * Fixed minor typo in snmpd manpage (closes:106326). + * Added symlinks for missing man pages (closes:99614) and renamed + section 3 and 5 man pages to *.[35]snmp to aboid possible conflicts + with other packages. + * Applied ucd-snmp-4.2-ia64.patch from RedHat to properly set the return + length of IP addresses on 64-bit architectures. + + -- David Engel Sun, 2 Sep 2001 22:47:30 -0500 + +ucd-snmp (4.2.1-5) unstable; urgency=low + + * Rebuilt without SSL (closes:98306, closes:102429). Will look + into doing a non-US version with SSL. + + -- David Engel Sat, 7 Jul 2001 20:53:16 -0500 + +ucd-snmp (4.2.1-4) unstable; urgency=low + + * Fixed bug uncovered by libtool upgrade which caused snmpd + not to build (closes:97965). + + -- David Engel Fri, 18 May 2001 20:49:14 -0500 + +ucd-snmp (4.2.1-3) unstable; urgency=low + + * Installed the libsnmp-perl module into the perl vendor + directory (closes:95530). + * Updated the description of the libsnmp-base package + (closes:97170). + * Upgraded to libtool 1.4 (closes:97660). + + -- David Engel Thu, 17 May 2001 20:16:17 -0500 + +ucd-snmp (4.2.1-2) unstable; urgency=low + + * Enabled SSL support. + * Included the agent libraries in the -dev package to allow + for building agent extensions. + + -- David Engel Tue, 15 May 2001 20:15:56 -0500 + +ucd-snmp (4.2.1-1) unstable; urgency=low + + * New upstream version. + * Gave up and added autoconf and libtool to Build-Depends: + (closes:92103). + * Fixed mib2c to use /etc/snmp instead of /usr/share/snmp. + + -- David Engel Wed, 11 Apr 2001 23:39:52 -0500 + +ucd-snmp (4.2-7) unstable; urgency=low + + * Fixed long standing bug where mibs were not processed if the + .index file was not present (closes: 89597). + * Fixed starting of snmptrapd to be controlled by TRAPDRUN like + it was intended and documented (closes: 90621). + + -- David Engel Sun, 25 Mar 2001 17:51:09 -0600 + +ucd-snmp (4.2-6) unstable; urgency=low + + * Avoid rerunning autoconf/header (Bug#89033). + + -- David Engel Sun, 11 Mar 2001 17:08:41 -0600 + +ucd-snmp (4.2-5) unstable; urgency=low + + * Fixed IBM S/390 build (Bug#88559). + + -- David Engel Tue, 6 Mar 2001 19:56:11 -0600 + +ucd-snmp (4.2-4) unstable; urgency=low + + * Fixed build installs into the live filesystem (Bug#87015). + + -- David Engel Sun, 25 Feb 2001 22:12:21 -0600 + +ucd-snmp (4.2-3) unstable; urgency=low + + * Removed the Pre-Depends for snmpd since it didn't fix the + problem I was trying to solve (Bug#85573). + + -- David Engel Tue, 20 Feb 2001 20:08:41 -0600 + +ucd-snmp (4.2-2) unstable; urgency=low + + * Created new libsnmp-base package to allow future libsnmpX.Y + packages to coexist (Bug#31253). + * Added a slight delay after stopping the daemons to let them + completely exit before restarting them (Bug#84696). + * Added a /etc/default/snmpd file to control daemon activity. + * Hopefully fixed strange error starting snmpd (Bug#58411). + * Changed package priorities to optional to match the overrides + file. + * Added tkmib and libsnmp-perl packages (Bug#78942). + + -- David Engel Sun, 4 Feb 2001 13:27:26 -0600 + +ucd-snmp (4.2-1) unstable; urgency=low + + * New upstream version (Bug#82876). + * Enabled ipv6 support (Bug#82879). + * Updated to packaging standard 3.2.1 (Bug#82878). + * Added BRIDGE- and SOURCE-ROUTING-MIBs (Bug#62696). + + -- David Engel Sun, 21 Jan 2001 12:52:02 -0600 + +ucd-snmp (4.1.2-2) unstable; urgency=low + + * Added real counter objects to the IPFWCHAINS MIB (George Bonser). + * Don't resolve addresses to names in the IPFWCHAINS MIB (George + Bonser). + * Update the IPFWCHAINS MIB information properly. + * Use /dev/null as logfile to force closing of std* (Bug#71959, + Bug#66898). + * Added a README.Debian file describing issues that are specific + to Debian (Bug#70421, Bug#66477). + + -- David Engel Sun, 19 Nov 2000 21:39:38 -0600 + +ucd-snmp (4.1.2-1) unstable; urgency=low + + * New upstream version. + * Fixed segfault in snmpd on processes with long command lines + (Bug#64333). + + -- David Engel Mon, 22 May 2000 20:06:48 -0500 + +ucd-snmp (4.1.1-3) unstable; urgency=low + + * Added the ipfwchains MIB module (Bug#63252). + + -- David Engel Sat, 29 Apr 2000 21:36:34 -0500 + +ucd-snmp (4.1.1-2) frozen unstable; urgency=low + + * Fixed incorrect .so directives in man3 pages which caused + several error messages from man_db. + + -- David Engel Sat, 8 Apr 2000 11:48:23 -0500 + +ucd-snmp (4.1.1-1) frozen unstable; urgency=low + + * New upstream version (Bug#60427). + * Fixed memory leaks in snmpd (Bug#49809). + * Installed snmpv3.h (Bug#60594). + * Turned on syslog logging in snmpd (Bug#60611). + + -- David Engel Sat, 25 Mar 2000 20:45:07 -0600 + +ucd-snmp (4.0.1-9) frozen unstable; urgency=low + + * Fixed more serious build problems (Bug#60381). + + -- David Engel Tue, 14 Mar 2000 21:34:36 -0600 + +ucd-snmp (4.0.1-8) frozen unstable; urgency=low + + * Removed execute permission from header files. (Bug#60369). + + -- David Engel Tue, 14 Mar 2000 11:30:41 -0600 + +ucd-snmp (4.0.1-7) frozen unstable; urgency=low + + * Backported important fixes from 4.1-1 to get into frozen. + * Removed hidden snmpd dependency on rpm (Bug#56471). + * Removed bad paths in snmpd (Bug#56498). + * Fixed segfault in snmpdelta (Bug#57486). + + -- David Engel Sun, 13 Feb 2000 12:52:53 -0600 + +ucd-snmp (4.0.1-6) frozen unstable; urgency=low + + * Issue a warning about retoring the default snmpd configuration + when upgrading from the older, incompatible version (Bug#55883). + + -- David Engel Sat, 22 Jan 2000 20:45:26 -0600 + +ucd-snmp (4.0.1-5) unstable; urgency=low + + * Install EXAMPLE.conf (Bug#51584). + + -- David Engel Thu, 2 Dec 1999 19:55:00 -0600 + +ucd-snmp (4.0.1-4) unstable; urgency=low + + * Change persistent directory to /var/lib/snmp (Bug#48151). + * Used LCD_TIME_SYNC_OPT. + + -- David Engel Mon, 25 Oct 1999 11:29:17 -0500 + +ucd-snmp (4.0.1-3) unstable; urgency=low + + * Removed snmpcheck, at least for now (Bug#44373). + * Fixed shlibs file (Bug#45577). + * Fixed build problems (Bug#45758). + * Use FHS /usr/share/{doc,man}. + + -- David Engel Mon, 27 Sep 1999 20:50:55 -0500 + +ucd-snmp (4.0.1-2) unstable; urgency=low + + * Fixed parse error in the default snmpd.conf file. + * Rebuilt with shared libwrap. + + -- David Engel Fri, 27 Aug 1999 20:59:19 -0500 + +ucd-snmp (4.0.1-1) unstable; urgency=low + + * New upstream version. + * Switched back to normal soname since it no longer conflicts with + the old one. + + -- David Engel Wed, 25 Aug 1999 20:26:03 -0500 + +ucd-snmp (3.6.2-8) unstable; urgency=low + + * Removed execute bit from MIB files (Bug#43300). + * Partially reverted previous interface fixes for 2.0 kernels. + + -- David Engel Sat, 21 Aug 1999 23:08:26 -0500 + +ucd-snmp (3.6.2-7) unstable; urgency=low + + * Fixed incompete arg checking (Bug#43126). + * Fixed ASN.1 length parsing on alpha (William Brioschi). + + -- David Engel Wed, 18 Aug 1999 09:58:40 -0500 + +ucd-snmp (3.6.2-6) unstable; urgency=low + + * Re-did some previous fixes properly. + + -- David Engel Fri, 13 Aug 1999 10:43:20 -0500 + +ucd-snmp (3.6.2-5) unstable; urgency=low + + * Fixed more interface calculation errors. + + -- David Engel Thu, 12 Aug 1999 20:27:39 -0500 + +ucd-snmp (3.6.2-4) unstable; urgency=low + + * Fixed the calculation of if{In,Out}Octets under Linux 2.2. + * Moved the .5 manpages to the libucdsnmp package (Bug#42759 and + Bug#42765). + * Started the snmptrapd daemon to replace the old snmptraplogd + package functionality (Bug#42792). + + -- David Engel Tue, 10 Aug 1999 19:37:28 -0500 + +ucd-snmp (3.6.2-3) unstable; urgency=low + + * Applied upstream patches 3, 4, 9 and 10. + + -- David Engel Fri, 6 Aug 1999 21:59:43 -0500 + +ucd-snmp (3.6.2-2) unstable; urgency=low + + * Don't use --disable-debugging. + * Fix calculation of ifNumber as interfaces are added and removed + (Bug#42452). + * Don't process packets in snmpd when recvfrom returns an error + (Bug#42465). + + -- David Engel Thu, 5 Aug 1999 20:33:28 -0500 + +ucd-snmp (3.6.2-1) unstable; urgency=low + + * Switched to UCD SNMP. + * Use debhelper. + + -- David Engel Sat, 24 Jul 1999 20:33:10 -0500 + +snmp (3.6-3) unstable; urgency=low + + * Split the snmpd agent into a separate package so the apps can + be installed without it (Bug#37560). + * Reduced the amount of information reported by the snmpd agent + by default (Bug#37169). + + -- David Engel Wed, 19 May 1999 21:50:33 -0500 + +snmp (3.6-2) unstable; urgency=low + + * Include libsnmp.a (Bug#34826). + * Change CWD to / before starting snmpd (Bug#35977). + + -- David Engel Tue, 27 Apr 1999 12:01:30 -0500 + +snmp (3.6-1) frozen unstable; urgency=low + + * New upstream version (mainly bug fixes). + + -- David Engel Fri, 27 Nov 1998 21:59:51 -0600 + +snmp (3.5-4) unstable; urgency=low + + * Install mib.h header file (Bug#25777). + + -- David Engel Wed, 19 Aug 1998 20:48:44 -0500 + +snmp (3.5-3) frozen unstable; urgency=low + + * Check for the existence of the rc script before running it + in the prerm script (Bug#21565). + + -- David Engel Mon, 11 May 1998 15:44:17 -0500 + +snmp (3.5-2) unstable; urgency=low + + * Remove old /usr/doc/snmp directory in preinst. Is is now a + symlink to /usr/doc/libsnmp3.5. + * Fixed MIB parsing bug (Bug#19225). + + -- David Engel Sat, 14 Mar 1998 14:24:50 -0600 + +snmp (3.5-1) unstable; urgency=low + + * New upstream version. + * Add libsnmp3.5 and libsnmp3.5-dev packages (Bug#16557). + * Explicitly link libsnmp.so.* with -lc (Bug#18315). + * Add restart|reload|force-reload support to init.d script + (Bug#17118). + + -- David Engel Wed, 18 Feb 1998 12:00:00 -0500 + +snmp (3.4-2) unstable; urgency=low + + * Enable full dumping of debug packets. + * Change /etc/snmpd.conf to mode 600. + + -- David Engel Mon, 8 Dec 1997 13:43:41 -0600 + +snmp (3.4-1) unstable; urgency=low + + * Updated to new upstream version. + * Fixes Bug#9855, Bug#11161 and Bug#11688. + + -- David Engel Thu, 7 Aug 1997 16:44:00 -0500 + +snmp (3.3-2) unstable; urgency=low + + * Built with libc6. + * Updated init.d script messages to current standards. + + -- David Engel Tue, 13 May 1997 20:40:37 -0500 + +snmp (3.3-1) unstable; urgency=low + + * Updated to new upstream version. + + -- David Engel Mon, 31 Mar 1997 19:13:44 -0600 + +snmp (3.2-2) unstable; urgency=low + + * Converted to new packaging standards. + * Removed development files. They may be reappear in a + -dev package sometime in the future. + + -- David Engel Wed, 19 Feb 1997 20:53:07 -0600 + --- net-snmp-5.3.1.orig/debian/libsnmp10.prerm +++ net-snmp-5.3.1/debian/libsnmp10.prerm @@ -0,0 +1,7 @@ +#! /bin/sh + +set -e + +#DEBHELPER# + +exit 0 --- net-snmp-5.3.1.orig/debian/libsnmp-base.install +++ net-snmp-5.3.1/debian/libsnmp-base.install @@ -0,0 +1,3 @@ +debian/tmp/usr/share/snmp/mibs +debian/tmp/usr/share/snmp/mib2c-data +debian/tmp/usr/share/man/man5/* --- net-snmp-5.3.1.orig/debian/libsnmp-perl.docs +++ net-snmp-5.3.1/debian/libsnmp-perl.docs @@ -0,0 +1 @@ +perl/SNMP/README --- net-snmp-5.3.1.orig/debian/libsnmp10.dirs +++ net-snmp-5.3.1/debian/libsnmp10.dirs @@ -0,0 +1 @@ +var/lib/snmp --- net-snmp-5.3.1.orig/debian/libsnmp-base.postrm +++ net-snmp-5.3.1/debian/libsnmp-base.postrm @@ -0,0 +1,10 @@ +#! /bin/sh + +set -e + +# Remove /var/lib/snmp if being purged. +[ "$1" = purge ] && rm -fr /var/lib/snmp + +#DEBHELPER# + +exit 0 --- net-snmp-5.3.1.orig/debian/snmp.preinst +++ net-snmp-5.3.1/debian/snmp.preinst @@ -0,0 +1,19 @@ +#! /bin/sh + +set -e + +action="$1" + +if [ "$action" = upgrade ] +then + if [ -L /usr/share/doc/snmp ]; then + rm -f /usr/share/doc/snmp + fi + if [ -d /usr/doc/snmp ]; then + rm -rf /usr/doc/snmp + fi +fi + +#DEBHELPER# + +exit 0 --- net-snmp-5.3.1.orig/debian/libsnmp-base.prerm +++ net-snmp-5.3.1/debian/libsnmp-base.prerm @@ -0,0 +1,9 @@ +#! /bin/sh + +set -e + +rm -f /usr/share/snmp/mibs/.index + +#DEBHELPER# + +exit 0 --- net-snmp-5.3.1.orig/debian/libsnmp-base.docs +++ net-snmp-5.3.1/debian/libsnmp-base.docs @@ -0,0 +1,6 @@ +FAQ +NEWS +README +README.snmpv3 +README.thread +debian/README.Debian --- net-snmp-5.3.1.orig/debian/libsnmp10.install +++ net-snmp-5.3.1/debian/libsnmp10.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/lib*.so.* --- net-snmp-5.3.1.orig/debian/snmpd.postinst +++ net-snmp-5.3.1/debian/snmpd.postinst @@ -0,0 +1,20 @@ +#! /bin/sh + +set -e + +if [ "x$1" = xconfigure ]; then + adduser --quiet --system --no-create-home --home /var/lib/snmp snmp + chown -R snmp /var/lib/snmp +fi + +# Remove shutdown and reboot links; this init script does not need them. +if dpkg --compare-versions "$2" lt "5.2.2-5ubuntu1"; then + rm -f /etc/rc0.d/K20snmpd /etc/rc6.d/K20snmpd +fi + +. /usr/share/debconf/confmodule +db_version 2.0 + +#DEBHELPER# + +exit 0 --- net-snmp-5.3.1.orig/debian/snmpd.default +++ net-snmp-5.3.1/debian/snmpd.default @@ -0,0 +1,22 @@ +# This file controls the activity of snmpd and snmptrapd + +# MIB directories. /usr/share/snmp/mibs is the default, but +# including it here avoids some strange problems. +export MIBDIRS=/usr/share/snmp/mibs + +# snmpd control (yes means start daemon). +SNMPDRUN=yes + +# snmpd options (use syslog, close stdin/out/err). +SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -I -smux -p /var/run/snmpd.pid 127.0.0.1' + +# snmptrapd control (yes means start daemon). As of net-snmp version +# 5.0, master agentx support must be enabled in snmpd before snmptrapd +# can be run. See snmpd.conf(5) for how to do this. +TRAPDRUN=no + +# snmptrapd options (use syslog). +TRAPDOPTS='-Lsd -p /var/run/snmptrapd.pid' + +# create symlink on Debian legacy location to official RFC path +SNMPDCOMPAT=yes --- net-snmp-5.3.1.orig/debian/README.Debian +++ net-snmp-5.3.1/debian/README.Debian @@ -0,0 +1,22 @@ +Please note the following customizations of the Net-SNMP packages for +Debian. + +The default configuration for snmpd is rather paranoid for security +reasons. Edit /etc/snmp/snmpd.conf or run snmpconf to allow greater +access. + +The snmpconf program provides a simple, menu driven way of configuring +the snmp applications and daemons. + +You can individually control whether or not snmpd and snmpdtrap are +run by editing /etc/default/snmp. In addition, neither daemon will be +run if its config file in /etc/snmp is removed. + +As of net-snmp version 5.0, the community string can no longer be +specified after the agent parameter on the command line. It must now +be specified with the -c option. Please see snmpcmd(1) for more +information. + +snmpd is built with TCP Wrappers. Make sure your /etc/hosts.allow and +/etc/hosts.deny files account for this. + --- net-snmp-5.3.1.orig/debian/copyright +++ net-snmp-5.3.1/debian/copyright @@ -0,0 +1,253 @@ +This is the Debian GNU/Linux prepackaged version of Net-SNMP. + +This package was put together by David Engel , from +sources obtained from http://net-snmp.sourceforge.net/. + +Copyright: + +Various copyrights apply to this package, listed in various separate parts +below. Please make sure that you read all the parts. Up until 2001, +the project was based at UC Davis, and the first part covers all code +written during this time. From 2001 onwards, the project has been +based at SourceForge, and Networks Associates Technology, Inc hold the +copyright on behalf of the wider Net-SNMP community, covering all +derivative work done since then. An additional copyright section has +been added as Part 3 below also under a BSD license for the work +contributed by Cambridge Broadband Ltd. to the project since 2001. +An additional copyright section has been added as Part 4 below also +under a BSD license for the work contributed by Sun Microsystems, Inc. +to the project since 2003. + +Code has been contributed to this project by many people over +the years it has been in development, and a full list of contributors +can be found in the README file under the THANKS section. + + +---- Part 1: CMU/UCD copyright notice: (BSD like) ----- + + + Copyright 1989, 1991, 1992 by Carnegie Mellon University + + Derivative Work - 1996, 1998-2000 +Copyright 1996, 1998-2000 The Regents of the University of California + + All Rights Reserved + +Permission to use, copy, modify and distribute this software and its +documentation for any purpose and without fee is hereby granted, +provided that the above copyright notice appears in all copies and +that both that copyright notice and this permission notice appear in +supporting documentation, and that the name of CMU and The Regents of +the University of California not be used in advertising or publicity +pertaining to distribution of the software without specific written +permission. + +CMU AND THE REGENTS OF THE UNIVERSITY OF CALIFORNIA DISCLAIM ALL +WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL CMU OR +THE REGENTS OF THE UNIVERSITY OF CALIFORNIA BE LIABLE FOR ANY SPECIAL, +INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING +FROM THE LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF +CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN +CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + + +---- Part 2: Networks Associates Technology, Inc copyright notice (BSD) ----- + +Copyright (c) 2001-2003, Networks Associates Technology, Inc +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +* Neither the name of the Networks Associates Technology, Inc nor the + names of its contributors may be used to endorse or promote + products derived from this software without specific prior written + permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS +IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR +CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +---- Part 3: Cambridge Broadband Ltd. copyright notice (BSD) ----- + +Portions of this code are copyright (c) 2001-2003, Cambridge Broadband Ltd. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +* The name of Cambridge Broadband Ltd. may not be used to endorse or + promote products derived from this software without specific prior + written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER ``AS IS'' AND ANY +EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +---- Part 4: Sun Microsystems, Inc. copyright notice (BSD) ----- + +Copyright 2003 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, +California 95054, U.S.A. All rights reserved. + +Use is subject to license terms below. + +This distribution may include materials developed by third parties. + +Sun, Sun Microsystems, the Sun logo and Solaris are trademarks or registered +trademarks of Sun Microsystems, Inc. in the U.S. and other countries. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +* Neither the name of the Sun Microsystems, Inc. nor the + names of its contributors may be used to endorse or promote + products derived from this software without specific prior written + permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS +IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR +CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +---- Part 5: Sparta, Inc copyright notice (BSD) ----- + +Copyright (c) 2003-2006, Sparta, Inc +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +* Neither the name of Sparta, Inc nor the names of its contributors may + be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS +IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR +CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +---- Part 6: Cisco/BUPTNIC copyright notice (BSD) ----- + +Copyright (c) 2004, Cisco, Inc and Information Network +Center of Beijing University of Posts and Telecommunications. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +* Neither the name of Cisco, Inc, Beijing University of Posts and + Telecommunications, nor the names of their contributors may + be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS +IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR +CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +---- Part 7: Fabasoft R&D Software GmbH & Co KG copyright notice (BSD) ----- + +Copyright (c) Fabasoft R&D Software GmbH & Co KG, 2003 +oss@fabasoft.com +Author: Bernhard Penz + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +* The name of Fabasoft R&D Software GmbH & Co KG or any of its subsidiaries, + brand or product names may not be used to endorse or promote products + derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER ``AS IS'' AND ANY +EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + --- net-snmp-5.3.1.orig/debian/tkmib.install +++ net-snmp-5.3.1/debian/tkmib.install @@ -0,0 +1 @@ +debian/tmp/usr/bin/tkmib --- net-snmp-5.3.1.orig/debian/snmpd.templates +++ net-snmp-5.3.1/debian/snmpd.templates @@ -0,0 +1,19 @@ +Template: snmpd/upgradefrom36 +Type: note +_Description: Upgrade warning from version 3.6 and below + Debian now uses the NET SNMP agent/daemon. Since the new agent uses + an entirely new configuration file format, any configuration you may have + previously had can not be automatically updated and must be replaced. + Consequently, a security-conscious configuration will be installed by + default. Please read the snmpd.conf(5) manual page and then edit + /etc/snmp/snmpd.conf accordingly to change the configuration to suit your + needs. + +Template: snmpd/upgradefrom521 +Type: note +_Description: Upgrade warning from version 5.2.1 and below + Debian has changed the default start parameters of the snmpd agent/daemon. + The daemon is now started as user snmp, binds to localhost only and SMUX + support is disabled. These parameters can all be individually changed in + /etc/default/snmpd. Please see /usr/share/doc/snmpd/NEWS.Debian.gz for + more details. --- net-snmp-5.3.1.orig/debian/libsnmp-dev.install +++ net-snmp-5.3.1/debian/libsnmp-dev.install @@ -0,0 +1,7 @@ +debian/tmp/etc/snmp/mib2c*.conf +debian/tmp/usr/bin/mib2c +debian/tmp/usr/bin/net-snmp-config +debian/tmp/usr/include +debian/tmp/usr/lib/lib*.{a,so,la} +debian/tmp/usr/share/man/man1/mib2c.1 +debian/tmp/usr/share/man/man3/* --- net-snmp-5.3.1.orig/debian/de.po +++ net-snmp-5.3.1/debian/de.po @@ -0,0 +1,62 @@ +# Translation of net-snmp debconf templates to German +# Copyright (C) Helge Kreutzmann , 2006. +# This file is distributed under the same license as the net-snmp package. +# +msgid "" +msgstr "" +"Project-Id-Version: net-snmp\n" +"Report-Msgid-Bugs-To: net-snmp@bugs.debian.org\n" +"POT-Creation-Date: 2006-11-05 04:42+0100\n" +"PO-Revision-Date: 2006-11-09 20:45+0100\n" +"Last-Translator: Helge Kreutzmann \n" +"Language-Team: de \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-15\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: note +#. Description +#: ../snmpd.templates:1001 +msgid "Upgrade warning from version 3.6 and below" +msgstr "Upgrade-Warnung von Version 3.6 oder lter" + +#. Type: note +#. Description +#: ../snmpd.templates:1001 +msgid "" +"Debian now uses the NET SNMP agent/daemon. Since the new agent uses an " +"entirely new configuration file format, any configuration you may have " +"previously had can not be automatically updated and must be replaced. " +"Consequently, a security-conscious configuration will be installed by " +"default. Please read the snmpd.conf(5) manual page and then edit /etc/snmp/" +"snmpd.conf accordingly to change the configuration to suit your needs." +msgstr "" +"Debian verwendet jetzt den NET SNMP-Agent/Daemon. Da der neue Agent ein " +"komplett neues Dateiformat verwendet, kann keine Konfiguration, die Sie " +"bisher gehabt haben knnten, automatisch aktualisiert werden und daher muss " +"die Konfiguration komplett ersetzt. Konsequenterweise wird standardmig " +"eine sicherheits-bewusste Konfiguration installiert. Bitte lesen Sie die " +"Handbuchseite snmpd.conf(5) und bearbeiten Sie /etc/snmp/snmpd.conf " +"entsprechend, um die Konfiguration Ihren Bedrfnissen anzupassen." + +#. Type: note +#. Description +#: ../snmpd.templates:2001 +msgid "Upgrade warning from version 5.2.1 and below" +msgstr "Upgrade-Warnung von Version 5.2.1 oder lter" + +#. Type: note +#. Description +#: ../snmpd.templates:2001 +msgid "" +"Debian has changed the default start parameters of the snmpd agent/daemon. " +"The daemon is now started as user snmp, binds to localhost only and SMUX " +"support is disabled. These parameters can all be individually changed in /" +"etc/default/snmpd. Please see /usr/share/doc/snmpd/NEWS.Debian.gz for more " +"details." +msgstr "" +"Debian hat die Standard Start-Parameter des Snmpd-Agenten/Daemons gendert. " +"Der Daemon wird jetzt als Benutzer snmp gestartet, bindet sich nur an " +"localhost und SMUX-Untersttzung ist deaktiviert. Diese Parameter knnen " +"alle individuell in /etc/default/snmpd gendert werden. Bitte lesen Sie /usr/" +"share/doc/snmpd/NEWS.Debian.gz fr weitere Details." --- net-snmp-5.3.1.orig/debian/it.po +++ net-snmp-5.3.1/debian/it.po @@ -0,0 +1,64 @@ +# Italian (it) translation of debconf templates for net-snmp +# Copyright (C) 2006 Software in the Public Interest +# This file is distributed under the same license as the net-snmp package. +# Luca Monducci , 2006. +# +msgid "" +msgstr "" +"Project-Id-Version: net-snmp 5.2.3 italian debconf templates\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2006-11-05 04:42+0100\n" +"PO-Revision-Date: 2006-11-11 11:05+0100\n" +"Last-Translator: Luca Monducci \n" +"Language-Team: Italian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: note +#. Description +#: ../snmpd.templates:1001 +msgid "Upgrade warning from version 3.6 and below" +msgstr "Avviso per gli aggiornamenti dalla versione 3.6 e precedenti" + +#. Type: note +#. Description +#: ../snmpd.templates:1001 +msgid "" +"Debian now uses the NET SNMP agent/daemon. Since the new agent uses an " +"entirely new configuration file format, any configuration you may have " +"previously had can not be automatically updated and must be replaced. " +"Consequently, a security-conscious configuration will be installed by " +"default. Please read the snmpd.conf(5) manual page and then edit /etc/snmp/" +"snmpd.conf accordingly to change the configuration to suit your needs." +msgstr "" +"Adesso Debian usa l'agente/demone NET SNMP. Purtroppo questo agente usa un " +"formato del proprio file di configurazione completamente diverso, nessuna " +"delle configurazioni fatte in precedenza pu essere aggiornata " +"automaticamente e perci deve essere rifatta. Viene installata una " +"configurazione predefinita particolarmente attenta alla sicurezza del " +"sistema; modificare /etc/snmp/snmpd.conf in base alle indicazioni nella " +"pagina man di snmpd.conf(5) per adattare la configurazione alle proprie " +"necessit." + +#. Type: note +#. Description +#: ../snmpd.templates:2001 +msgid "Upgrade warning from version 5.2.1 and below" +msgstr "Avviso per gli aggiornamenti dalla versione 5.2.1 e precedenti" + +#. Type: note +#. Description +#: ../snmpd.templates:2001 +msgid "" +"Debian has changed the default start parameters of the snmpd agent/daemon. " +"The daemon is now started as user snmp, binds to localhost only and SMUX " +"support is disabled. These parameters can all be individually changed in /" +"etc/default/snmpd. Please see /usr/share/doc/snmpd/NEWS.Debian.gz for more " +"details." +msgstr "" +"Debian ha modificato i parametri di avvio dell'agente/demone snmpd. Adesso " +"il demone viene avviato con utente snmp, controlla solo localhost e il " +"supporto per SMUX disabilitato. Ognuno di questi parametri pu essere " +"cambiato in /etc/default/snmpd. Si consulti /usr/share/doc/snmpd/NEWS.Debian." +"gz per ulteriori dettagli."