diff options
author | abial <abial@FreeBSD.org> | 1998-08-27 17:38:45 +0000 |
---|---|---|
committer | abial <abial@FreeBSD.org> | 1998-08-27 17:38:45 +0000 |
commit | d38ad5332060d44f048e5b407d0b8e17da9a909c (patch) | |
tree | 3a1c3f90cb24f6c1da60d6fc980d38317610a4c8 /release/picobsd/isp | |
download | FreeBSD-src-d38ad5332060d44f048e5b407d0b8e17da9a909c.zip FreeBSD-src-d38ad5332060d44f048e5b407d0b8e17da9a909c.tar.gz |
Initial import of PicoBSD v0.4 tree.
Diffstat (limited to 'release/picobsd/isp')
81 files changed, 11667 insertions, 0 deletions
diff --git a/release/picobsd/isp/conf/PICOBSD b/release/picobsd/isp/conf/PICOBSD new file mode 100644 index 0000000..c8cd4b9 --- /dev/null +++ b/release/picobsd/isp/conf/PICOBSD @@ -0,0 +1,128 @@ +# +# $Id: PICOBSD,v 1.2 1998/08/02 12:22:00 abial Exp $ +# + +machine "i386" +cpu "I386_CPU" +cpu "I486_CPU" +cpu "I586_CPU" +cpu "I686_CPU" +ident PICOBSD +maxusers 20 + +options MATH_EMULATE #Support for x87 emulation +options INET #InterNETworking +options FFS #Berkeley Fast Filesystem +options NFS #Network Filesystem +options BOOTP +options MFS +options MSDOSFS #MSDOS Filesystem +options "CD9660" #ISO 9660 Filesystem +options PROCFS #Process filesystem +options "COMPAT_43" #Compatible with BSD 4.3 [KEEP THIS!] +options USERCONFIG #boot -c editor +options USERCONFIG_BOOT #imply -c and parse info area +options VISUAL_USERCONFIG #visual boot -c editor +options IPFIREWALL +options IPFIREWALL_DEFAULT_TO_ACCEPT +options IPDIVERT +options DEVFS +options SLICE +options PCI_QUIET + +config kernel root on fd0a + +controller isa0 +controller pci0 + +controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr +disk fd0 at fdc0 drive 0 +#disk fd1 at fdc0 drive 1 + +options "CMD640" # work around CMD640 chip deficiency +controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr +disk wd0 at wdc0 drive 0 +disk wd1 at wdc0 drive 1 + +controller wdc1 at isa? port "IO_WD2" bio irq 15 vector wdintr +disk wd2 at wdc1 drive 0 +disk wd3 at wdc1 drive 1 + +options ATAPI #Enable ATAPI support for IDE bus +options ATAPI_STATIC #Don't do it as an LKM +device wcd0 #IDE CD-ROM + +# syscons is the default console driver, resembling an SCO console +device sc0 at isa? port "IO_KBD" tty irq 1 vector scintr + +device npx0 at isa? port "IO_NPX" irq 13 vector npxintr + +device sio0 at isa? port "IO_COM1" flags 0x10 tty irq 4 vector siointr +device sio1 at isa? port "IO_COM2" tty irq 3 vector siointr +device sio2 at isa? port "IO_COM3" tty irq 5 vector siointr +device sio3 at isa? port "IO_COM4" tty irq 9 vector siointr + +# Support for multiport serial cards + +options "COM_MULTIPORT" + +# AST + +device sio4 at isa? port 0x2a0 tty flags 0x701 +device sio5 at isa? port 0x2a8 tty flags 0x701 +device sio6 at isa? port 0x2b0 tty flags 0x701 +device sio7 at isa? port 0x2b8 tty flags 0x701 irq 12 vector siointr + +# Boca Board. You must configure the ports above with -c to change the flags. + +device sio8 at isa? port 0x120 tty flags 0xb05 +device sio9 at isa? port 0x128 tty flags 0xb05 +device sio10 at isa? port 0x130 tty flags 0xb05 +device sio11 at isa? port 0x138 tty flags 0xb05 irq 12 vector siointr + +# Hayes ESP boards + +options "COM_ESP" + +# Comtrol Rocketport +# The PCI versions +device rp0 +device rp1 +# The ISA versions +device rp0 at isa? port 0x100 tty +device rp1 at isa? port 0x180 tty + +# Cyclades Cyclom-Y serial driver +device cy0 at isa? tty irq 10 iomem 0xd4000 iosiz 0x2000 vector cyintr +device cy1 at isa? tty irq 11 iomem 0xd6000 iosiz 0x2000 vector cyintr + +device lpt0 at isa? port? tty irq 7 vector lptintr + +# Order is important here due to intrusive probes, do *not* alphabetize +# this list of network interfaces until the probes have been fixed. +# Right now it appears that the ie0 must be probed before ep0. See +# revision 1.20 of this file. +device de0 +device de1 +device fxp0 + +device ed0 at isa? port 0x280 net irq 10 iomem 0xd8000 vector edintr +device ed1 at isa? port 0x300 net irq 5 iomem 0xd0000 vector edintr +device ie0 at isa? port 0x300 net irq 10 iomem 0xd0000 vector ieintr +device ep0 at isa? port 0x300 net irq 10 vector epintr +device ep1 at isa? port 0x280 net irq 5 vector epintr +#device ex0 at isa? port? net irq? vector exintr +#device fe0 at isa? port 0x300 net irq ? vector feintr +#device le0 at isa? port 0x300 net irq 5 iomem 0xd0000 vector le_intr +device lnc0 at isa? port 0x280 net irq 10 drq 0 vector lncintr +#device ze0 at isa? port 0x300 net irq 10 iomem 0xd8000 vector zeintr +#device zp0 at isa? port 0x300 net irq 10 iomem 0xd8000 vector zpintr + +pseudo-device loop +pseudo-device ether +# iijppp uses tun instead of ppp device +pseudo-device ppp 8 +pseudo-device tun 2 +#pseudo-device vn +pseudo-device pty 16 +pseudo-device gzip # Exec gzipped a.out's diff --git a/release/picobsd/isp/crunch1/Makefile b/release/picobsd/isp/crunch1/Makefile new file mode 100644 index 0000000..67a1ca1 --- /dev/null +++ b/release/picobsd/isp/crunch1/Makefile @@ -0,0 +1,49 @@ +# +# $Id: Makefile,v 1.2 1998/08/02 12:22:04 abial Exp $ +# +SRC?=/usr/src + +all: crunch + +crunch: + @if [ ! -f .patched ]; then \ + cat login.diff|(cd /usr/src/usr.bin/login; patch -p0); \ + cat passwd.diff|(cd /usr/src/usr.bin/passwd; patch -p0); \ + cat ppp.diff|(cd /usr/src/usr.sbin/ppp; patch -p0); \ + touch .patched; \ + fi + @cat crunch.conf|sed -e "s@/usr/src@${SRC}@" >crunch1.conf + @crunchgen ./crunch1.conf + @${MAKE} -f crunch1.mk all \ + "CFLAGS=${CFLAGS} -DCRUNCHED_BINARY -DNOSECURE -DNOCRYPT" 2>&1 >/dev/null + +clean: + @if [ -f .patched ]; then \ + cat login.diff|(cd /usr/src/usr.bin/login; patch -R -p0); \ + cat passwd.diff|(cd /usr/src/usr.bin/passwd; patch -R -p0); \ + cat ppp.diff|(cd /usr/src/usr.sbin/ppp; patch -R -p0); \ + rm .patched; \ + fi + rm -f *.o *.stub *.lo *_stub.c *.mk \ + crunch.cache \ + crunch.mk \ + crunch.c \ + crunch1* \ + crunch \ + .tmp_* \ + *.gz + +install: + cp crunch1 /mnt/stand/crunch + chmod 555 /mnt/stand/crunch + for i in `crunchgen -l crunch1.conf` ; \ + do \ + ln /mnt/stand/crunch /mnt/stand/$${i}; \ + done + rm /mnt/stand/crunch + # Install the MIB files + mkdir -p /mnt/usr/local/share/snmp/mibs + cp mibs/*.txt /mnt/usr/local/share/snmp/mibs/ + + +.include <bsd.prog.mk> diff --git a/release/picobsd/isp/crunch1/crunch.conf b/release/picobsd/isp/crunch1/crunch.conf new file mode 100644 index 0000000..fadf39d --- /dev/null +++ b/release/picobsd/isp/crunch1/crunch.conf @@ -0,0 +1,56 @@ +# +# $Id: crunch.conf,v 1.4 1998/08/10 19:16:19 abial Exp $ +# +# NOTE: the string "/usr/src" will be automatically replaced with the +# correct value set in 'build' script - you should change it there + +# sources for kget & vm +srcdirs ../../tinyware +# sources for ucd-snmp - they must be already patched & configured! +# The necessary steps are given below: +# * you have to symlink subdirectory agent -> snmpd +# * you have to properly construct an OBJS variable in snmpd/Makefile: +# OBJS=${MIBOBJS} ${AGENTOBJS} +# * we install a special version of MIB files - stripped of comments and +# descriptions. These MIBs are included here to save you the stripping. +srcdirs /usr/ports/net/ucd-snmp/work/ucd-snmp-3.3.1 +# other sources +srcdirs /usr/src/bin +srcdirs /usr/src/sbin/i386 +srcdirs /usr/src/sbin +srcdirs /usr/src/usr.bin +srcdirs /usr/src/gnu/usr.bin +srcdirs /usr/src/usr.sbin +srcdirs /usr/src/libexec + +progs ash test echo hostname ln login getty +progs inetd telnetd stty w dmesg kget snmpd natd +progs init fsck ifconfig df ps ns vm cat +progs cp rm mkdir ls chmod chown +progs sysctl route swapon pwd_mkdb dev_mkdb +progs mount mount_msdos umount comcontrol +progs kill mount_std natd + +progs pwd pppd telnet more +progs passwd date +progs mount_cd9660 mount_nfs ping traceroute routed ipfw + +ln mount_cd9660 cd9660 +ln mount_nfs nfs +ln test [ +ln ash -sh +ln ash sh +#ln newfs mount_mfs +ln chown chgrp +# XXX Why? Some bug in crunchgen? +#ln newfs mfs +ln mount_msdos msdos +ln mount_std procfs +ln mount_std mount_procfs +ln ns netstat + +# For snmpd +libs /usr/ports/net/ucd-snmp/work/ucd-snmp-3.3.1/snmplib/libsnmp.a +libs -ledit -lutil -lmd -lcrypt -lmp -lgmp -lm -lkvm +libs -lmytinfo -lipx -lz -lpcap -lalias +libs -ltermcap -lgnuregex -ltelnet -lcurses diff --git a/release/picobsd/isp/crunch1/login.diff b/release/picobsd/isp/crunch1/login.diff new file mode 100644 index 0000000..98af18b --- /dev/null +++ b/release/picobsd/isp/crunch1/login.diff @@ -0,0 +1,33 @@ +*** Makefile.orig Sat Aug 1 20:35:53 1998 +--- Makefile Sat Aug 1 20:36:50 1998 +*************** +*** 9,22 **** + #Uncomment to activate login_auth + #Warning: requires src/libexec/login_* auth modules + #LC_AUTH=-DLOGIN_CAP_AUTH +! CFLAGS+=-Wall -DSKEY -DLOGIN_ACCESS -DLOGALL -DLOGIN_CAP $(LC_AUTH) + + .if defined(KLOGIN_PARANOID) + CFLAGS+=-DKLOGIN_PARANOID + .endif + +! DPADD= ${LIBUTIL} ${LIBSKEY} ${LIBMD} ${LIBCRYPT} +! LDADD= -lutil -lskey -lmd -lcrypt + + .if exists(${DESTDIR}/usr/lib/libkrb.a) && defined(MAKE_KERBEROS4) && !defined(LC_AUTH) + CFLAGS+=-DKERBEROS +--- 9,22 ---- + #Uncomment to activate login_auth + #Warning: requires src/libexec/login_* auth modules + #LC_AUTH=-DLOGIN_CAP_AUTH +! CFLAGS+=-Wall $(LC_AUTH) + + .if defined(KLOGIN_PARANOID) + CFLAGS+=-DKLOGIN_PARANOID + .endif + +! DPADD= ${LIBUTIL} ${LIBMD} ${LIBCRYPT} +! LDADD= -lutil -lmd -lcrypt + + .if exists(${DESTDIR}/usr/lib/libkrb.a) && defined(MAKE_KERBEROS4) && !defined(LC_AUTH) + CFLAGS+=-DKERBEROS diff --git a/release/picobsd/isp/crunch1/mibs/EtherLike-MIB.txt b/release/picobsd/isp/crunch1/mibs/EtherLike-MIB.txt new file mode 100644 index 0000000..82b19ac --- /dev/null +++ b/release/picobsd/isp/crunch1/mibs/EtherLike-MIB.txt @@ -0,0 +1,318 @@ +EtherLike-MIB DEFINITIONS ::= BEGIN + +IMPORTS + ifEntry, ifIndex + FROM IF-MIB + OBJECT-GROUP, MODULE-COMPLIANCE + FROM SNMPv2-CONF + PhysAddress, TEXTUAL-CONVENTION + FROM SNMPv2-TC + transmission, mib-2, Integer32, Gauge32, Counter32, OBJECT-TYPE, MODULE-IDENTITY + FROM SNMPv2-SMI; + +etherMIB MODULE-IDENTITY + LAST-UPDATED "9402030400Z" + ORGANIZATION "IETF Interfaces MIB Working Group" + CONTACT-INFO + "Frank Kastenholz + + Postal: FTP Software + 2 High Street + North Andover, MA 01845 + US + + Tel: +1 508 685 4000 + E-Mail: kasten@ftp.com" + ::= { mib-2 35 } + +etherMIBObjects ::= { etherMIB 1 } + +dot3 ::= { transmission 7 } + +dot3StatsTable OBJECT-TYPE + SYNTAX SEQUENCE OF Dot3StatsEntry + MAX-ACCESS not-accessible + STATUS current + ::= { dot3 2 } + +dot3StatsEntry OBJECT-TYPE + SYNTAX Dot3StatsEntry + MAX-ACCESS not-accessible + STATUS current + INDEX { dot3StatsIndex } + ::= { dot3StatsTable 1 } + +Dot3StatsEntry ::= + SEQUENCE { + dot3StatsIndex + INTEGER, + + dot3StatsAlignmentErrors + Counter32, + + dot3StatsFCSErrors + Counter32, + + dot3StatsSingleCollisionFrames + Counter32, + + dot3StatsMultipleCollisionFrames + Counter32, + + dot3StatsSQETestErrors + Counter32, + + dot3StatsDeferredTransmissions + Counter32, + + dot3StatsLateCollisions + Counter32, + + dot3StatsExcessiveCollisions + Counter32, + + dot3StatsInternalMacTransmitErrors + Counter32, + + dot3StatsCarrierSenseErrors + Counter32, + + dot3StatsFrameTooLongs + Counter32, + + dot3StatsInternalMacReceiveErrors + Counter32, + + dot3StatsEtherChipSet + OBJECT IDENTIFIER + } + +dot3StatsIndex OBJECT-TYPE + SYNTAX INTEGER + MAX-ACCESS read-only + STATUS current + ::= { dot3StatsEntry 1 } + +dot3StatsAlignmentErrors OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + REFERENCE + "IEEE 802.3 Layer Management" + ::= { dot3StatsEntry 2 } + +dot3StatsFCSErrors OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + REFERENCE + "IEEE 802.3 Layer Management" + ::= { dot3StatsEntry 3 } + +dot3StatsSingleCollisionFrames OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + REFERENCE + "IEEE 802.3 Layer Management" + ::= { dot3StatsEntry 4 } + +dot3StatsMultipleCollisionFrames OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + REFERENCE + "IEEE 802.3 Layer Management" + ::= { dot3StatsEntry 5 } + +dot3StatsSQETestErrors OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + REFERENCE + "ANSI/IEEE Std 802.3-1985 Carrier Sense + Multiple Access with Collision Detection Access + Method and Physical Layer Specifications" + ::= { dot3StatsEntry 6 } + +dot3StatsDeferredTransmissions OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + REFERENCE + "IEEE 802.3 Layer Management" + ::= { dot3StatsEntry 7 } + +dot3StatsLateCollisions OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + REFERENCE + "IEEE 802.3 Layer Management" + ::= { dot3StatsEntry 8 } + +dot3StatsExcessiveCollisions OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + REFERENCE + "IEEE 802.3 Layer Management" + ::= { dot3StatsEntry 9 } + +dot3StatsInternalMacTransmitErrors OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + REFERENCE + "IEEE 802.3 Layer Management" + ::= { dot3StatsEntry 10 } + +dot3StatsCarrierSenseErrors OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + REFERENCE + "IEEE 802.3 Layer Management" + ::= { dot3StatsEntry 11 } + +dot3StatsFrameTooLongs OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + REFERENCE + "IEEE 802.3 Layer Management" + ::= { dot3StatsEntry 13 } + +dot3StatsInternalMacReceiveErrors OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + REFERENCE + "IEEE 802.3 Layer Management" + ::= { dot3StatsEntry 16 } + +dot3StatsEtherChipSet OBJECT-TYPE + SYNTAX OBJECT IDENTIFIER + MAX-ACCESS read-only + STATUS current + ::= { dot3StatsEntry 17 } + +dot3CollTable OBJECT-TYPE + SYNTAX SEQUENCE OF Dot3CollEntry + MAX-ACCESS not-accessible + STATUS current + ::= { dot3 5 } + +dot3CollEntry OBJECT-TYPE + SYNTAX Dot3CollEntry + MAX-ACCESS not-accessible + STATUS current + INDEX { ifIndex, dot3CollCount } + ::= { dot3CollTable 1 } + +Dot3CollEntry ::= + SEQUENCE { + dot3CollCount + INTEGER, + + dot3CollFrequencies + Counter32 + } + +dot3CollCount OBJECT-TYPE + SYNTAX INTEGER + MAX-ACCESS not-accessible + STATUS current + ::= { dot3CollEntry 2 } + +dot3CollFrequencies OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { dot3CollEntry 3 } + +dot3Tests ::= { dot3 6 } + +dot3Errors ::= { dot3 7 } + +dot3TestTdr ::= { dot3Tests 1 } + +dot3TestLoopBack ::= { dot3Tests 2 } + +dot3ErrorInitError ::= { dot3Errors 1 } + +dot3ErrorLoopbackError ::= { dot3Errors 2 } + +dot3ChipSets ::= { dot3 8 } + +dot3ChipSetAMD ::= { dot3ChipSets 1 } + +dot3ChipSetAMD7990 ::= { dot3ChipSetAMD 1 } + +dot3ChipSetAMD79900 ::= { dot3ChipSetAMD 2 } + +dot3ChipSetAMD79C940 ::= { dot3ChipSetAMD 3 } + +dot3ChipSetIntel ::= { dot3ChipSets 2 } + +dot3ChipSetIntel82586 ::= { dot3ChipSetIntel 1 } + +dot3ChipSetIntel82596 ::= { dot3ChipSetIntel 2 } + +dot3ChipSetSeeq ::= { dot3ChipSets 3 } + +dot3ChipSetSeeq8003 ::= { dot3ChipSetSeeq 1 } + +dot3ChipSetNational ::= { dot3ChipSets 4 } + +dot3ChipSetNational8390 ::= { dot3ChipSetNational 1 } + +dot3ChipSetNationalSonic ::= { dot3ChipSetNational 2 } + +dot3ChipSetFujitsu ::= { dot3ChipSets 5 } + +dot3ChipSetFujitsu86950 ::= { dot3ChipSetFujitsu 1 } + +dot3ChipSetDigital ::= { dot3ChipSets 6 } + +dot3ChipSetDigitalDC21040 ::= { dot3ChipSetDigital 1 } + +etherConformance ::= { etherMIB 2 } + +etherGroups ::= { etherConformance 1 } + +etherCompliances ::= { etherConformance 2 } + +etherCompliance MODULE-COMPLIANCE + STATUS current + + MANDATORY-GROUPS { etherStatsGroup } + GROUP etherCollisionTableGroup + ::= { etherCompliances 1 } + +etherStatsGroup OBJECT-GROUP + OBJECTS { + dot3StatsIndex, + dot3StatsAlignmentErrors, + dot3StatsFCSErrors, + dot3StatsSingleCollisionFrames, + dot3StatsMultipleCollisionFrames, + dot3StatsSQETestErrors, + dot3StatsDeferredTransmissions, + dot3StatsLateCollisions, + dot3StatsExcessiveCollisions, + dot3StatsInternalMacTransmitErrors, + dot3StatsCarrierSenseErrors, + dot3StatsFrameTooLongs, + dot3StatsInternalMacReceiveErrors, + dot3StatsEtherChipSet + } + STATUS current + ::= { etherGroups 1 } + +etherCollisionTableGroup OBJECT-GROUP + OBJECTS { dot3CollCount, dot3CollFrequencies } + STATUS current + ::= { etherGroups 2 } + +END diff --git a/release/picobsd/isp/crunch1/mibs/HOST-RESOURCES-MIB.txt b/release/picobsd/isp/crunch1/mibs/HOST-RESOURCES-MIB.txt new file mode 100644 index 0000000..078dc02 --- /dev/null +++ b/release/picobsd/isp/crunch1/mibs/HOST-RESOURCES-MIB.txt @@ -0,0 +1,877 @@ +HOST-RESOURCES-MIB DEFINITIONS ::= BEGIN + +IMPORTS + Gauge, Counter, TimeTicks + FROM RFC1155-SMI + mib-2, DisplayString + FROM RFC1213-MIB + OBJECT-TYPE + FROM RFC-1212; + +host ::= { mib-2 25 } + +hrSystem ::= { host 1 } + +hrStorage ::= { host 2 } + +hrDevice ::= { host 3 } + +hrSWRun ::= { host 4 } + +hrSWRunPerf ::= { host 5 } + +hrSWInstalled ::= { host 6 } + +Boolean ::= + INTEGER { + true(1), + false(2) + } + +KBytes ::= + INTEGER + +ProductID ::= + OBJECT IDENTIFIER + +DateAndTime ::= + OCTET STRING + +InternationalDisplayString ::= + OCTET STRING + +hrSystemUptime OBJECT-TYPE + SYNTAX TimeTicks + ACCESS read-only + STATUS mandatory + ::= { hrSystem 1 } + +hrSystemDate OBJECT-TYPE + SYNTAX DateAndTime + ACCESS read-write + STATUS mandatory + ::= { hrSystem 2 } + +hrSystemInitialLoadDevice OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-write + STATUS mandatory + ::= { hrSystem 3 } + +hrSystemInitialLoadParameters OBJECT-TYPE + SYNTAX InternationalDisplayString + ACCESS read-write + STATUS mandatory + ::= { hrSystem 4 } + +hrSystemNumUsers OBJECT-TYPE + SYNTAX Gauge + ACCESS read-only + STATUS mandatory + ::= { hrSystem 5 } + +hrSystemProcesses OBJECT-TYPE + SYNTAX Gauge + ACCESS read-only + STATUS mandatory + ::= { hrSystem 6 } + +hrSystemMaxProcesses OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + ::= { hrSystem 7 } + +hrStorageTypes ::= { hrStorage 1 } + +hrStorageOther ::= { hrStorageTypes 1 } + +hrStorageRam ::= { hrStorageTypes 2 } + +hrStorageVirtualMemory ::= { hrStorageTypes 3 } + +hrStorageFixedDisk ::= { hrStorageTypes 4 } + +hrStorageRemovableDisk ::= { hrStorageTypes 5 } + +hrStorageFloppyDisk ::= { hrStorageTypes 6 } + +hrStorageCompactDisc ::= { hrStorageTypes 7 } + +hrStorageRamDisk ::= { hrStorageTypes 8 } + +hrMemorySize OBJECT-TYPE + SYNTAX KBytes + ACCESS read-only + STATUS mandatory + ::= { hrStorage 2 } + +hrStorageTable OBJECT-TYPE + SYNTAX SEQUENCE OF HrStorageEntry + ACCESS not-accessible + STATUS mandatory + ::= { hrStorage 3 } + +hrStorageEntry OBJECT-TYPE + SYNTAX HrStorageEntry + ACCESS not-accessible + STATUS mandatory + INDEX { hrStorageIndex } + ::= { hrStorageTable 1 } + +HrStorageEntry ::= + SEQUENCE { + hrStorageIndex + INTEGER, + + hrStorageType + OBJECT IDENTIFIER, + + hrStorageDescr + DisplayString, + + hrStorageAllocationUnits + INTEGER, + + hrStorageSize + INTEGER, + + hrStorageUsed + INTEGER, + + hrStorageAllocationFailures + Counter + } + +hrStorageIndex OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + ::= { hrStorageEntry 1 } + +hrStorageType OBJECT-TYPE + SYNTAX OBJECT IDENTIFIER + ACCESS read-only + STATUS mandatory + ::= { hrStorageEntry 2 } + +hrStorageDescr OBJECT-TYPE + SYNTAX DisplayString + ACCESS read-only + STATUS mandatory + ::= { hrStorageEntry 3 } + +hrStorageAllocationUnits OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + ::= { hrStorageEntry 4 } + +hrStorageSize OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-write + STATUS mandatory + ::= { hrStorageEntry 5 } + +hrStorageUsed OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + ::= { hrStorageEntry 6 } + +hrStorageAllocationFailures OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { hrStorageEntry 7 } + +hrDeviceTypes ::= { hrDevice 1 } + +hrDeviceOther ::= { hrDeviceTypes 1 } + +hrDeviceUnknown ::= { hrDeviceTypes 2 } + +hrDeviceProcessor ::= { hrDeviceTypes 3 } + +hrDeviceNetwork ::= { hrDeviceTypes 4 } + +hrDevicePrinter ::= { hrDeviceTypes 5 } + +hrDeviceDiskStorage ::= { hrDeviceTypes 6 } + +hrDeviceVideo ::= { hrDeviceTypes 10 } + +hrDeviceAudio ::= { hrDeviceTypes 11 } + +hrDeviceCoprocessor ::= { hrDeviceTypes 12 } + +hrDeviceKeyboard ::= { hrDeviceTypes 13 } + +hrDeviceModem ::= { hrDeviceTypes 14 } + +hrDeviceParallelPort ::= { hrDeviceTypes 15 } + +hrDevicePointing ::= { hrDeviceTypes 16 } + +hrDeviceSerialPort ::= { hrDeviceTypes 17 } + +hrDeviceTape ::= { hrDeviceTypes 18 } + +hrDeviceClock ::= { hrDeviceTypes 19 } + +hrDeviceVolatileMemory ::= { hrDeviceTypes 20 } + +hrDeviceNonVolatileMemory ::= { hrDeviceTypes 21 } + +hrDeviceTable OBJECT-TYPE + SYNTAX SEQUENCE OF HrDeviceEntry + ACCESS not-accessible + STATUS mandatory + ::= { hrDevice 2 } + +hrDeviceEntry OBJECT-TYPE + SYNTAX HrDeviceEntry + ACCESS not-accessible + STATUS mandatory + INDEX { hrDeviceIndex } + ::= { hrDeviceTable 1 } + +HrDeviceEntry ::= + SEQUENCE { + hrDeviceIndex + INTEGER, + + hrDeviceType + OBJECT IDENTIFIER, + + hrDeviceDescr + DisplayString, + + hrDeviceID + ProductID, + + hrDeviceStatus + INTEGER, + + hrDeviceErrors + Counter + } + +hrDeviceIndex OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + ::= { hrDeviceEntry 1 } + +hrDeviceType OBJECT-TYPE + SYNTAX OBJECT IDENTIFIER + ACCESS read-only + STATUS mandatory + ::= { hrDeviceEntry 2 } + +hrDeviceDescr OBJECT-TYPE + SYNTAX DisplayString + ACCESS read-only + STATUS mandatory + ::= { hrDeviceEntry 3 } + +hrDeviceID OBJECT-TYPE + SYNTAX ProductID + ACCESS read-only + STATUS mandatory + ::= { hrDeviceEntry 4 } + +hrDeviceStatus OBJECT-TYPE + SYNTAX INTEGER { + unknown(1), + running(2), + warning(3), + testing(4), + down(5) + } + ACCESS read-only + STATUS mandatory + ::= { hrDeviceEntry 5 } + +hrDeviceErrors OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { hrDeviceEntry 6 } + +hrProcessorTable OBJECT-TYPE + SYNTAX SEQUENCE OF HrProcessorEntry + ACCESS not-accessible + STATUS mandatory + ::= { hrDevice 3 } + +hrProcessorEntry OBJECT-TYPE + SYNTAX HrProcessorEntry + ACCESS not-accessible + STATUS mandatory + INDEX { hrDeviceIndex } + ::= { hrProcessorTable 1 } + +HrProcessorEntry ::= + SEQUENCE { + hrProcessorFrwID + ProductID, + + hrProcessorLoad + INTEGER + } + +hrProcessorFrwID OBJECT-TYPE + SYNTAX ProductID + ACCESS read-only + STATUS mandatory + ::= { hrProcessorEntry 1 } + +hrProcessorLoad OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + ::= { hrProcessorEntry 2 } + +hrNetworkTable OBJECT-TYPE + SYNTAX SEQUENCE OF HrNetworkEntry + ACCESS not-accessible + STATUS mandatory + ::= { hrDevice 4 } + +hrNetworkEntry OBJECT-TYPE + SYNTAX HrNetworkEntry + ACCESS not-accessible + STATUS mandatory + INDEX { hrDeviceIndex } + ::= { hrNetworkTable 1 } + +HrNetworkEntry ::= + SEQUENCE { + hrNetworkIfIndex + INTEGER + } + +hrNetworkIfIndex OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + ::= { hrNetworkEntry 1 } + +hrPrinterTable OBJECT-TYPE + SYNTAX SEQUENCE OF HrPrinterEntry + ACCESS not-accessible + STATUS mandatory + ::= { hrDevice 5 } + +hrPrinterEntry OBJECT-TYPE + SYNTAX HrPrinterEntry + ACCESS not-accessible + STATUS mandatory + INDEX { hrDeviceIndex } + ::= { hrPrinterTable 1 } + +HrPrinterEntry ::= + SEQUENCE { + hrPrinterStatus + INTEGER, + + hrPrinterDetectedErrorState + OCTET STRING + } + +hrPrinterStatus OBJECT-TYPE + SYNTAX INTEGER { + other(1), + unknown(2), + idle(3), + printing(4), + warmup(5) + } + ACCESS read-only + STATUS mandatory + ::= { hrPrinterEntry 1 } + +hrPrinterDetectedErrorState OBJECT-TYPE + SYNTAX OCTET STRING + ACCESS read-only + STATUS mandatory + ::= { hrPrinterEntry 2 } + +hrDiskStorageTable OBJECT-TYPE + SYNTAX SEQUENCE OF HrDiskStorageEntry + ACCESS not-accessible + STATUS mandatory + ::= { hrDevice 6 } + +hrDiskStorageEntry OBJECT-TYPE + SYNTAX HrDiskStorageEntry + ACCESS not-accessible + STATUS mandatory + INDEX { hrDeviceIndex } + ::= { hrDiskStorageTable 1 } + +HrDiskStorageEntry ::= + SEQUENCE { + hrDiskStorageAccess + INTEGER, + + hrDiskStorageMedia + INTEGER, + + hrDiskStorageRemoveble + Boolean, + + hrDiskStorageCapacity + KBytes + } + +hrDiskStorageAccess OBJECT-TYPE + SYNTAX INTEGER { + readWrite(1), + readOnly(2) + } + ACCESS read-only + STATUS mandatory + ::= { hrDiskStorageEntry 1 } + +hrDiskStorageMedia OBJECT-TYPE + SYNTAX INTEGER { + other(1), + unknown(2), + hardDisk(3), + floppyDisk(4), + opticalDiskROM(5), + opticalDiskWORM(6), + opticalDiskRW(7), + ramDisk(8) + } + ACCESS read-only + STATUS mandatory + ::= { hrDiskStorageEntry 2 } + +hrDiskStorageRemoveble OBJECT-TYPE + SYNTAX Boolean + ACCESS read-only + STATUS mandatory + ::= { hrDiskStorageEntry 3 } + +hrDiskStorageCapacity OBJECT-TYPE + SYNTAX KBytes + ACCESS read-only + STATUS mandatory + ::= { hrDiskStorageEntry 4 } + +hrPartitionTable OBJECT-TYPE + SYNTAX SEQUENCE OF HrPartitionEntry + ACCESS not-accessible + STATUS mandatory + ::= { hrDevice 7 } + +hrPartitionEntry OBJECT-TYPE + SYNTAX HrPartitionEntry + ACCESS not-accessible + STATUS mandatory + INDEX { hrDeviceIndex, hrPartitionIndex } + ::= { hrPartitionTable 1 } + +HrPartitionEntry ::= + SEQUENCE { + hrPartitionIndex + INTEGER, + + hrPartitionLabel + InternationalDisplayString, + + hrPartitionID + OCTET STRING, + + hrPartitionSize + KBytes, + + hrPartitionFSIndex + INTEGER + } + +hrPartitionIndex OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + ::= { hrPartitionEntry 1 } + +hrPartitionLabel OBJECT-TYPE + SYNTAX InternationalDisplayString + ACCESS read-only + STATUS mandatory + ::= { hrPartitionEntry 2 } + +hrPartitionID OBJECT-TYPE + SYNTAX OCTET STRING + ACCESS read-only + STATUS mandatory + ::= { hrPartitionEntry 3 } + +hrPartitionSize OBJECT-TYPE + SYNTAX KBytes + ACCESS read-only + STATUS mandatory + ::= { hrPartitionEntry 4 } + +hrPartitionFSIndex OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + ::= { hrPartitionEntry 5 } + +hrFSTable OBJECT-TYPE + SYNTAX SEQUENCE OF HrFSEntry + ACCESS not-accessible + STATUS mandatory + ::= { hrDevice 8 } + +hrFSEntry OBJECT-TYPE + SYNTAX HrFSEntry + ACCESS not-accessible + STATUS mandatory + INDEX { hrFSIndex } + ::= { hrFSTable 1 } + +hrFSTypes ::= { hrDevice 9 } + +hrFSOther ::= { hrFSTypes 1 } + +hrFSUnknown ::= { hrFSTypes 2 } + +hrFSBerkeleyFFS ::= { hrFSTypes 3 } + +hrFSSys5FS ::= { hrFSTypes 4 } + +hrFSFat ::= { hrFSTypes 5 } + +hrFSHPFS ::= { hrFSTypes 6 } + +hrFSHFS ::= { hrFSTypes 7 } + +hrFSMFS ::= { hrFSTypes 8 } + +hrFSNTFS ::= { hrFSTypes 9 } + +hrFSVNode ::= { hrFSTypes 10 } + +hrFSJournaled ::= { hrFSTypes 11 } + +hrFSiso9660 ::= { hrFSTypes 12 } + +hrFSRockRidge ::= { hrFSTypes 13 } + +hrFSNFS ::= { hrFSTypes 14 } + +hrFSNetware ::= { hrFSTypes 15 } + +hrFSAFS ::= { hrFSTypes 16 } + +hrFSDFS ::= { hrFSTypes 17 } + +hrFSAppleshare ::= { hrFSTypes 18 } + +hrFSRFS ::= { hrFSTypes 19 } + +hrFSDGCFS ::= { hrFSTypes 20 } + +hrFSBFS ::= { hrFSTypes 21 } + +HrFSEntry ::= + SEQUENCE { + hrFSIndex + INTEGER, + + hrFSMountPoint + InternationalDisplayString, + + hrFSRemoteMountPoint + InternationalDisplayString, + + hrFSType + OBJECT IDENTIFIER, + + hrFSAccess + INTEGER, + + hrFSBootable + Boolean, + + hrFSStorageIndex + INTEGER, + + hrFSLastFullBackupDate + DateAndTime, + + hrFSLastPartialBackupDate + DateAndTime + } + +hrFSIndex OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + ::= { hrFSEntry 1 } + +hrFSMountPoint OBJECT-TYPE + SYNTAX InternationalDisplayString + ACCESS read-only + STATUS mandatory + ::= { hrFSEntry 2 } + +hrFSRemoteMountPoint OBJECT-TYPE + SYNTAX InternationalDisplayString + ACCESS read-only + STATUS mandatory + ::= { hrFSEntry 3 } + +hrFSType OBJECT-TYPE + SYNTAX OBJECT IDENTIFIER + ACCESS read-only + STATUS mandatory + ::= { hrFSEntry 4 } + +hrFSAccess OBJECT-TYPE + SYNTAX INTEGER { + readWrite(1), + readOnly(2) + } + ACCESS read-only + STATUS mandatory + ::= { hrFSEntry 5 } + +hrFSBootable OBJECT-TYPE + SYNTAX Boolean + ACCESS read-only + STATUS mandatory + ::= { hrFSEntry 6 } + +hrFSStorageIndex OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + ::= { hrFSEntry 7 } + +hrFSLastFullBackupDate OBJECT-TYPE + SYNTAX DateAndTime + ACCESS read-write + STATUS mandatory + ::= { hrFSEntry 8 } + +hrFSLastPartialBackupDate OBJECT-TYPE + SYNTAX DateAndTime + ACCESS read-write + STATUS mandatory + ::= { hrFSEntry 9 } + +hrSWOSIndex OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + ::= { hrSWRun 1 } + +hrSWRunTable OBJECT-TYPE + SYNTAX SEQUENCE OF HrSWRunEntry + ACCESS not-accessible + STATUS mandatory + ::= { hrSWRun 2 } + +hrSWRunEntry OBJECT-TYPE + SYNTAX HrSWRunEntry + ACCESS not-accessible + STATUS mandatory + INDEX { hrSWRunIndex } + ::= { hrSWRunTable 1 } + +HrSWRunEntry ::= + SEQUENCE { + hrSWRunIndex + INTEGER, + + hrSWRunName + InternationalDisplayString, + + hrSWRunID + ProductID, + + hrSWRunPath + InternationalDisplayString, + + hrSWRunParameters + InternationalDisplayString, + + hrSWRunType + INTEGER, + + hrSWRunStatus + INTEGER + } + +hrSWRunIndex OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + ::= { hrSWRunEntry 1 } + +hrSWRunName OBJECT-TYPE + SYNTAX InternationalDisplayString + ACCESS read-only + STATUS mandatory + ::= { hrSWRunEntry 2 } + +hrSWRunID OBJECT-TYPE + SYNTAX ProductID + ACCESS read-only + STATUS mandatory + ::= { hrSWRunEntry 3 } + +hrSWRunPath OBJECT-TYPE + SYNTAX InternationalDisplayString + ACCESS read-only + STATUS mandatory + ::= { hrSWRunEntry 4 } + +hrSWRunParameters OBJECT-TYPE + SYNTAX InternationalDisplayString + ACCESS read-only + STATUS mandatory + ::= { hrSWRunEntry 5 } + +hrSWRunType OBJECT-TYPE + SYNTAX INTEGER { + unknown(1), + operatingSystem(2), + deviceDriver(3), + application(4) + } + ACCESS read-only + STATUS mandatory + ::= { hrSWRunEntry 6 } + +hrSWRunStatus OBJECT-TYPE + SYNTAX INTEGER { + running(1), + runnable(2), + notRunnable(3), + invalid(4) + } + ACCESS read-write + STATUS mandatory + ::= { hrSWRunEntry 7 } + +hrSWRunPerfTable OBJECT-TYPE + SYNTAX SEQUENCE OF HrSWRunPerfEntry + ACCESS not-accessible + STATUS mandatory + ::= { hrSWRunPerf 1 } + +hrSWRunPerfEntry OBJECT-TYPE + SYNTAX HrSWRunPerfEntry + ACCESS not-accessible + STATUS mandatory + INDEX { hrSWRunIndex } + ::= { hrSWRunPerfTable 1 } + +HrSWRunPerfEntry ::= + SEQUENCE { + hrSWRunPerfCPU + INTEGER, + + hrSWRunPerfMem + KBytes + } + +hrSWRunPerfCPU OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + ::= { hrSWRunPerfEntry 1 } + +hrSWRunPerfMem OBJECT-TYPE + SYNTAX KBytes + ACCESS read-only + STATUS mandatory + ::= { hrSWRunPerfEntry 2 } + +hrSWInstalledLastChange OBJECT-TYPE + SYNTAX TimeTicks + ACCESS read-only + STATUS mandatory + ::= { hrSWInstalled 1 } + +hrSWInstalledLastUpdateTime OBJECT-TYPE + SYNTAX TimeTicks + ACCESS read-only + STATUS mandatory + ::= { hrSWInstalled 2 } + +hrSWInstalledTable OBJECT-TYPE + SYNTAX SEQUENCE OF HrSWInstalledEntry + ACCESS not-accessible + STATUS mandatory + ::= { hrSWInstalled 3 } + +hrSWInstalledEntry OBJECT-TYPE + SYNTAX HrSWInstalledEntry + ACCESS not-accessible + STATUS mandatory + INDEX { hrSWInstalledIndex } + ::= { hrSWInstalledTable 1 } + +HrSWInstalledEntry ::= + SEQUENCE { + hrSWInstalledIndex + INTEGER, + + hrSWInstalledName + InternationalDisplayString, + + hrSWInstalledID + ProductID, + + hrSWInstalledType + INTEGER, + + hrSWInstalledDate + DateAndTime + } + +hrSWInstalledIndex OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + ::= { hrSWInstalledEntry 1 } + +hrSWInstalledName OBJECT-TYPE + SYNTAX InternationalDisplayString + ACCESS read-only + STATUS mandatory + ::= { hrSWInstalledEntry 2 } + +hrSWInstalledID OBJECT-TYPE + SYNTAX ProductID + ACCESS read-only + STATUS mandatory + ::= { hrSWInstalledEntry 3 } + +hrSWInstalledType OBJECT-TYPE + SYNTAX INTEGER { + unknown(1), + operatingSystem(2), + deviceDriver(3), + application(4) + } + ACCESS read-only + STATUS mandatory + ::= { hrSWInstalledEntry 4 } + +hrSWInstalledDate OBJECT-TYPE + SYNTAX DateAndTime + ACCESS read-only + STATUS mandatory + ::= { hrSWInstalledEntry 5 } + +END diff --git a/release/picobsd/isp/crunch1/mibs/IANAifType-MIB.txt b/release/picobsd/isp/crunch1/mibs/IANAifType-MIB.txt new file mode 100644 index 0000000..2f3a4ec --- /dev/null +++ b/release/picobsd/isp/crunch1/mibs/IANAifType-MIB.txt @@ -0,0 +1,81 @@ +IANAifType-MIB DEFINITIONS ::= BEGIN + +IMPORTS + TEXTUAL-CONVENTION + FROM SNMPv2-TC + mib-2, OBJECT-TYPE, MODULE-IDENTITY + FROM SNMPv2-SMI; + +ianaifType MODULE-IDENTITY + LAST-UPDATED "9311082155Z" + ORGANIZATION "IANA" + CONTACT-INFO + "Internet Assigned Numbers Authority + + Postal: USC/Information Sciences Institute + 4676 Admiralty Way, Marina del Rey, CA 90292 + + Tel: +1 310 822 1511 + E-Mail: iana@isi.edu" + ::= { mib-2 30 } + +IANAifType ::= TEXTUAL-CONVENTION + STATUS current + SYNTAX INTEGER { + other(1), + regular1822(2), + hdh1822(3), + ddnX25(4), + rfc877x25(5), + ethernetCsmacd(6), + iso88023Csmacd(7), + iso88024TokenBus(8), + iso88025TokenRing(9), + iso88026Man(10), + starLan(11), + proteon10Mbit(12), + proteon80Mbit(13), + hyperchannel(14), + fddi(15), + lapb(16), + sdlc(17), + ds1(18), + e1(19), + basicISDN(20), + primaryISDN(21), + propPointToPointSerial(22), + ppp(23), + softwareLoopback(24), + eon(25), + ethernet3Mbit(26), + nsip(27), + slip(28), + ultra(29), + ds3(30), + sip(31), + frameRelay(32), + rs232(33), + para(34), + arcnet(35), + arcnetPlus(36), + atm(37), + miox25(38), + sonet(39), + x25ple(40), + iso88022llc(41), + localTalk(42), + smdsDxi(43), + frameRelayService(44), + v35(45), + hssi(46), + hippi(47), + modem(48), + aal5(49), + sonetPath(50), + sonetVT(51), + smdsIcip(52), + propVirtual(53), + propMultiplexor(54) + } + +END diff --git a/release/picobsd/isp/crunch1/mibs/IF-MIB.txt b/release/picobsd/isp/crunch1/mibs/IF-MIB.txt new file mode 100644 index 0000000..af9aab5 --- /dev/null +++ b/release/picobsd/isp/crunch1/mibs/IF-MIB.txt @@ -0,0 +1,822 @@ +IF-MIB DEFINITIONS ::= BEGIN + +IMPORTS + IANAifType + FROM IANAifType-MIB + snmpTraps + FROM SNMPv2-MIB + OBJECT-GROUP, MODULE-COMPLIANCE + FROM SNMPv2-CONF + TestAndIncr, AutonomousType, RowStatus, TruthValue, PhysAddress, DisplayString, + TEXTUAL-CONVENTION + FROM SNMPv2-TC + NOTIFICATION-TYPE, mib-2, Counter64, TimeTicks, Integer32, Gauge32, Counter32, + OBJECT-TYPE, MODULE-IDENTITY + FROM SNMPv2-SMI; + +interfaces ::= { mib-2 2 } + +ifMIB MODULE-IDENTITY + LAST-UPDATED "9311082155Z" + ORGANIZATION "IETF Interfaces MIB Working Group" + CONTACT-INFO + "Keith McCloghrie + + Postal: Hughes LAN Systems + 1225 Charleston Road, Mountain View, CA 94043 + + Tel: +1 415 966 7934 + E-Mail: kzm@hls.com + + Frank Kastenholz + + Postal: FTP Software + 2 High Street, North Andover, MA 01845 + + Tel: +1 508 685 4000 + E-Mail: kasten@ftp.com" + ::= { mib-2 31 } + +ifMIBObjects ::= { ifMIB 1 } + +OwnerString ::= TEXTUAL-CONVENTION + DISPLAY-HINT "255a" + STATUS current + SYNTAX OCTET STRING + +InterfaceIndex ::= TEXTUAL-CONVENTION + DISPLAY-HINT "d" + STATUS current + SYNTAX Integer32 + +ifNumber OBJECT-TYPE + SYNTAX Integer32 + MAX-ACCESS read-only + STATUS current + ::= { interfaces 1 } + +ifTable OBJECT-TYPE + SYNTAX SEQUENCE OF IfEntry + MAX-ACCESS not-accessible + STATUS current + ::= { interfaces 2 } + +ifEntry OBJECT-TYPE + SYNTAX IfEntry + MAX-ACCESS not-accessible + STATUS current + INDEX { ifIndex } + ::= { ifTable 1 } + +IfEntry ::= + SEQUENCE { + ifIndex + InterfaceIndex, + + ifDescr + DisplayString, + + ifType + IANAifType, + + ifMtu + Integer32, + + ifSpeed + Gauge32, + + ifPhysAddress + PhysAddress, + + ifAdminStatus + INTEGER, + + ifOperStatus + INTEGER, + + ifLastChange + TimeTicks, + + ifInOctets + Counter32, + + ifInUcastPkts + Counter32, + + ifInNUcastPkts + Counter32, + + ifInDiscards + Counter32, + + ifInErrors + Counter32, + + ifInUnknownProtos + Counter32, + + ifOutOctets + Counter32, + + ifOutUcastPkts + Counter32, + + ifOutNUcastPkts + Counter32, + + ifOutDiscards + Counter32, + + ifOutErrors + Counter32, + + ifOutQLen + Gauge32, + + ifSpecific + OBJECT IDENTIFIER + } + +ifIndex OBJECT-TYPE + SYNTAX InterfaceIndex + MAX-ACCESS read-only + STATUS current + ::= { ifEntry 1 } + +ifDescr OBJECT-TYPE + SYNTAX DisplayString + MAX-ACCESS read-only + STATUS current + ::= { ifEntry 2 } + +ifType OBJECT-TYPE + SYNTAX IANAifType + MAX-ACCESS read-only + STATUS current + ::= { ifEntry 3 } + +ifMtu OBJECT-TYPE + SYNTAX Integer32 + MAX-ACCESS read-only + STATUS current + ::= { ifEntry 4 } + +ifSpeed OBJECT-TYPE + SYNTAX Gauge32 + MAX-ACCESS read-only + STATUS current + ::= { ifEntry 5 } + +ifPhysAddress OBJECT-TYPE + SYNTAX PhysAddress + MAX-ACCESS read-only + STATUS current + ::= { ifEntry 6 } + +ifAdminStatus OBJECT-TYPE + SYNTAX INTEGER { + up(1), + down(2), + testing(3) + } + MAX-ACCESS read-write + STATUS current + ::= { ifEntry 7 } + +ifOperStatus OBJECT-TYPE + SYNTAX INTEGER { + up(1), + down(2), + testing(3), + unknown(4), + dormant(5) + } + MAX-ACCESS read-only + STATUS current + ::= { ifEntry 8 } + +ifLastChange OBJECT-TYPE + SYNTAX TimeTicks + MAX-ACCESS read-only + STATUS current + ::= { ifEntry 9 } + +ifInOctets OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { ifEntry 10 } + +ifInUcastPkts OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { ifEntry 11 } + +ifInNUcastPkts OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS deprecated + ::= { ifEntry 12 } + +ifInDiscards OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { ifEntry 13 } + +ifInErrors OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { ifEntry 14 } + +ifInUnknownProtos OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { ifEntry 15 } + +ifOutOctets OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { ifEntry 16 } + +ifOutUcastPkts OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { ifEntry 17 } + +ifOutNUcastPkts OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS deprecated + ::= { ifEntry 18 } + +ifOutDiscards OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { ifEntry 19 } + +ifOutErrors OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { ifEntry 20 } + +ifOutQLen OBJECT-TYPE + SYNTAX Gauge32 + MAX-ACCESS read-only + STATUS deprecated + ::= { ifEntry 21 } + +ifSpecific OBJECT-TYPE + SYNTAX OBJECT IDENTIFIER + MAX-ACCESS read-only + STATUS deprecated + ::= { ifEntry 22 } + +ifXTable OBJECT-TYPE + SYNTAX SEQUENCE OF IfXEntry + MAX-ACCESS not-accessible + STATUS current + ::= { ifMIBObjects 1 } + +ifXEntry OBJECT-TYPE + SYNTAX IfXEntry + MAX-ACCESS not-accessible + STATUS current + AUGMENTS { ifEntry } + ::= { ifXTable 1 } + +IfXEntry ::= + SEQUENCE { + ifName + DisplayString, + + ifInMulticastPkts + Counter32, + + ifInBroadcastPkts + Counter32, + + ifOutMulticastPkts + Counter32, + + ifOutBroadcastPkts + Counter32, + + ifHCInOctets + Counter64, + + ifHCInUcastPkts + Counter64, + + ifHCInMulticastPkts + Counter64, + + ifHCInBroadcastPkts + Counter64, + + ifHCOutOctets + Counter64, + + ifHCOutUcastPkts + Counter64, + + ifHCOutMulticastPkts + Counter64, + + ifHCOutBroadcastPkts + Counter64, + + ifLinkUpDownTrapEnable + INTEGER, + + ifHighSpeed + Gauge32, + + ifPromiscuousMode + TruthValue, + + ifConnectorPresent + TruthValue + } + +ifName OBJECT-TYPE + SYNTAX DisplayString + MAX-ACCESS read-only + STATUS current + ::= { ifXEntry 1 } + +ifInMulticastPkts OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { ifXEntry 2 } + +ifInBroadcastPkts OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { ifXEntry 3 } + +ifOutMulticastPkts OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { ifXEntry 4 } + +ifOutBroadcastPkts OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { ifXEntry 5 } + +ifHCInOctets OBJECT-TYPE + SYNTAX Counter64 + MAX-ACCESS read-only + STATUS current + ::= { ifXEntry 6 } + +ifHCInUcastPkts OBJECT-TYPE + SYNTAX Counter64 + MAX-ACCESS read-only + STATUS current + ::= { ifXEntry 7 } + +ifHCInMulticastPkts OBJECT-TYPE + SYNTAX Counter64 + MAX-ACCESS read-only + STATUS current + ::= { ifXEntry 8 } + +ifHCInBroadcastPkts OBJECT-TYPE + SYNTAX Counter64 + MAX-ACCESS read-only + STATUS current + ::= { ifXEntry 9 } + +ifHCOutOctets OBJECT-TYPE + SYNTAX Counter64 + MAX-ACCESS read-only + STATUS current + ::= { ifXEntry 10 } + +ifHCOutUcastPkts OBJECT-TYPE + SYNTAX Counter64 + MAX-ACCESS read-only + STATUS current + ::= { ifXEntry 11 } + +ifHCOutMulticastPkts OBJECT-TYPE + SYNTAX Counter64 + MAX-ACCESS read-only + STATUS current + ::= { ifXEntry 12 } + +ifHCOutBroadcastPkts OBJECT-TYPE + SYNTAX Counter64 + MAX-ACCESS read-only + STATUS current + ::= { ifXEntry 13 } + +ifLinkUpDownTrapEnable OBJECT-TYPE + SYNTAX INTEGER { + enabled(1), + disabled(2) + } + MAX-ACCESS read-write + STATUS current + ::= { ifXEntry 14 } + +ifHighSpeed OBJECT-TYPE + SYNTAX Gauge32 + MAX-ACCESS read-only + STATUS current + ::= { ifXEntry 15 } + +ifPromiscuousMode OBJECT-TYPE + SYNTAX TruthValue + MAX-ACCESS read-write + STATUS current + ::= { ifXEntry 16 } + +ifConnectorPresent OBJECT-TYPE + SYNTAX TruthValue + MAX-ACCESS read-only + STATUS current + ::= { ifXEntry 17 } + +ifStackTable OBJECT-TYPE + SYNTAX SEQUENCE OF IfStackEntry + MAX-ACCESS not-accessible + STATUS current + ::= { ifMIBObjects 2 } + +ifStackEntry OBJECT-TYPE + SYNTAX IfStackEntry + MAX-ACCESS not-accessible + STATUS current + INDEX { ifStackHigherLayer, ifStackLowerLayer } + ::= { ifStackTable 1 } + +IfStackEntry ::= + SEQUENCE { + ifStackHigherLayer + Integer32, + + ifStackLowerLayer + Integer32, + + ifStackStatus + RowStatus + } + +ifStackHigherLayer OBJECT-TYPE + SYNTAX Integer32 + MAX-ACCESS not-accessible + STATUS current + ::= { ifStackEntry 1 } + +ifStackLowerLayer OBJECT-TYPE + SYNTAX Integer32 + MAX-ACCESS not-accessible + STATUS current + ::= { ifStackEntry 2 } + +ifStackStatus OBJECT-TYPE + SYNTAX RowStatus + MAX-ACCESS read-write + STATUS current + ::= { ifStackEntry 3 } + +ifTestTable OBJECT-TYPE + SYNTAX SEQUENCE OF IfTestEntry + MAX-ACCESS not-accessible + STATUS current + ::= { ifMIBObjects 3 } + +ifTestEntry OBJECT-TYPE + SYNTAX IfTestEntry + MAX-ACCESS not-accessible + STATUS current + AUGMENTS { ifEntry } + ::= { ifTestTable 1 } + +IfTestEntry ::= + SEQUENCE { + ifTestId + TestAndIncr, + + ifTestStatus + INTEGER, + + ifTestType + AutonomousType, + + ifTestResult + INTEGER, + + ifTestCode + OBJECT IDENTIFIER, + + ifTestOwner + OwnerString + } + +ifTestId OBJECT-TYPE + SYNTAX TestAndIncr + MAX-ACCESS read-write + STATUS current + ::= { ifTestEntry 1 } + +ifTestStatus OBJECT-TYPE + SYNTAX INTEGER { + notInUse(1), + inUse(2) + } + MAX-ACCESS read-write + STATUS current + ::= { ifTestEntry 2 } + +ifTestType OBJECT-TYPE + SYNTAX AutonomousType + MAX-ACCESS read-write + STATUS current + ::= { ifTestEntry 3 } + +ifTestResult OBJECT-TYPE + SYNTAX INTEGER { + none(1), + success(2), + inProgress(3), + notSupported(4), + unAbleToRun(5), + aborted(6), + failed(7) + } + MAX-ACCESS read-only + STATUS current + ::= { ifTestEntry 4 } + +ifTestCode OBJECT-TYPE + SYNTAX OBJECT IDENTIFIER + MAX-ACCESS read-only + STATUS current + ::= { ifTestEntry 5 } + +ifTestOwner OBJECT-TYPE + SYNTAX OwnerString + MAX-ACCESS read-write + STATUS current + ::= { ifTestEntry 6 } + +ifRcvAddressTable OBJECT-TYPE + SYNTAX SEQUENCE OF IfRcvAddressEntry + MAX-ACCESS not-accessible + STATUS current + ::= { ifMIBObjects 4 } + +ifRcvAddressEntry OBJECT-TYPE + SYNTAX IfRcvAddressEntry + MAX-ACCESS not-accessible + STATUS current + INDEX { ifIndex, ifRcvAddressAddress } + ::= { ifRcvAddressTable 1 } + +IfRcvAddressEntry ::= + SEQUENCE { + ifRcvAddressAddress + PhysAddress, + + ifRcvAddressStatus + RowStatus, + + ifRcvAddressType + INTEGER + } + +ifRcvAddressAddress OBJECT-TYPE + SYNTAX PhysAddress + MAX-ACCESS read-create + STATUS current + ::= { ifRcvAddressEntry 1 } + +ifRcvAddressStatus OBJECT-TYPE + SYNTAX RowStatus + MAX-ACCESS read-write + STATUS current + ::= { ifRcvAddressEntry 2 } + +ifRcvAddressType OBJECT-TYPE + SYNTAX INTEGER { + other(1), + volatile(2), + nonVolatile(3) + } + MAX-ACCESS read-create + STATUS current + DEFVAL { volatile } + ::= { ifRcvAddressEntry 3 } + +linkDown NOTIFICATION-TYPE + STATUS current + OBJECTS { + ifIndex, + ifAdminStatus, + ifOperStatus + } + ::= { snmpTraps 3 } + +linkUp NOTIFICATION-TYPE + STATUS current + OBJECTS { + ifIndex, + ifAdminStatus, + ifOperStatus + } + ::= { snmpTraps 4 } + +ifConformance ::= { ifMIB 2 } + +ifGroups ::= { ifConformance 1 } + +ifCompliances ::= { ifConformance 2 } + +ifCompliance MODULE-COMPLIANCE + STATUS current + + MANDATORY-GROUPS { ifGeneralGroup, ifStackGroup } + GROUP ifFixedLengthGroup + + GROUP ifHCFixedLengthGroup + + GROUP ifPacketGroup + + GROUP ifHCPacketGroup + + GROUP ifTestGroup + + GROUP ifRcvAddressGroup + + OBJECT ifLinkUpDownTrapEnable + MIN-ACCESS read-only + + OBJECT ifPromiscuousMode + MIN-ACCESS read-only + + OBJECT ifStackStatus + SYNTAX INTEGER { + active(1) + } + MIN-ACCESS read-only + + OBJECT ifAdminStatus + SYNTAX INTEGER { + up(1), + down(2) + } + MIN-ACCESS read-only + ::= { ifCompliances 1 } + +ifGeneralGroup OBJECT-GROUP + OBJECTS { + ifDescr, + ifType, + ifSpeed, + ifPhysAddress, + ifAdminStatus, + ifOperStatus, + ifLastChange, + ifLinkUpDownTrapEnable, + ifConnectorPresent, + ifHighSpeed, + ifName + } + STATUS current + ::= { ifGroups 1 } + +ifFixedLengthGroup OBJECT-GROUP + OBJECTS { + ifInOctets, + ifOutOctets, + ifInUnknownProtos, + ifInErrors, + ifOutErrors + } + STATUS current + ::= { ifGroups 2 } + +ifHCFixedLengthGroup OBJECT-GROUP + OBJECTS { + ifHCInOctets, + ifHCOutOctets, + ifInOctets, + ifOutOctets, + ifInUnknownProtos, + ifInErrors, + ifOutErrors + } + STATUS current + ::= { ifGroups 3 } + +ifPacketGroup OBJECT-GROUP + OBJECTS { + ifInOctets, + ifOutOctets, + ifInUnknownProtos, + ifInErrors, + ifOutErrors, + ifMtu, + ifInUcastPkts, + ifInMulticastPkts, + ifInBroadcastPkts, + ifInDiscards, + ifOutUcastPkts, + ifOutMulticastPkts, + ifOutBroadcastPkts, + ifOutDiscards, + ifPromiscuousMode + } + STATUS current + ::= { ifGroups 4 } + +ifHCPacketGroup OBJECT-GROUP + OBJECTS { + ifHCInOctets, + ifHCOutOctets, + ifInOctets, + ifOutOctets, + ifInUnknownProtos, + ifInErrors, + ifOutErrors, + ifMtu, + ifInUcastPkts, + ifInMulticastPkts, + ifInBroadcastPkts, + ifInDiscards, + ifOutUcastPkts, + ifOutMulticastPkts, + ifOutBroadcastPkts, + ifOutDiscards, + ifPromiscuousMode + } + STATUS current + ::= { ifGroups 5 } + +ifVHCPacketGroup OBJECT-GROUP + OBJECTS { + ifHCInUcastPkts, + ifHCInMulticastPkts, + ifHCInBroadcastPkts, + ifHCOutUcastPkts, + ifHCOutMulticastPkts, + ifHCOutBroadcastPkts, + ifHCInOctets, + ifHCOutOctets, + ifInOctets, + ifOutOctets, + ifInUnknownProtos, + ifInErrors, + ifOutErrors, + ifMtu, + ifInUcastPkts, + ifInMulticastPkts, + ifInBroadcastPkts, + ifInDiscards, + ifOutUcastPkts, + ifOutMulticastPkts, + ifOutBroadcastPkts, + ifOutDiscards, + ifPromiscuousMode + } + STATUS current + ::= { ifGroups 6 } + +ifRcvAddressGroup OBJECT-GROUP + OBJECTS { ifRcvAddressStatus, ifRcvAddressType } + STATUS current + ::= { ifGroups 7 } + +ifTestGroup OBJECT-GROUP + OBJECTS { + ifTestId, + ifTestStatus, + ifTestType, + ifTestResult, + ifTestCode, + ifTestOwner + } + STATUS current + ::= { ifGroups 8 } + +ifStackGroup OBJECT-GROUP + OBJECTS { ifStackStatus } + STATUS current + ::= { ifGroups 9 } + +END diff --git a/release/picobsd/isp/crunch1/mibs/IP-MIB.txt b/release/picobsd/isp/crunch1/mibs/IP-MIB.txt new file mode 100644 index 0000000..59118e7 --- /dev/null +++ b/release/picobsd/isp/crunch1/mibs/IP-MIB.txt @@ -0,0 +1,507 @@ +IP-MIB DEFINITIONS ::= BEGIN + +IMPORTS + OBJECT-GROUP, MODULE-COMPLIANCE + FROM SNMPv2-CONF + PhysAddress + FROM SNMPv2-TC + mib-2, IpAddress, Counter32, Integer32, OBJECT-TYPE, MODULE-IDENTITY + FROM SNMPv2-SMI; + +ipMIB MODULE-IDENTITY + LAST-UPDATED "9411010000Z" + ORGANIZATION "IETF SNMPv2 Working Group" + CONTACT-INFO + "Keith McCloghrie + + Postal: Cisco Systems, Inc. + 170 West Tasman Drive + San Jose, CA 95134-1706 + US + + Phone: +1 408 526 5260 + Email: kzm@cisco.com" + REVISION "9103310000Z" + ::= { mib-2 48 } + +ip ::= { mib-2 4 } + +ipForwarding OBJECT-TYPE + SYNTAX INTEGER { + forwarding(1), + notForwarding(2) + } + MAX-ACCESS read-write + STATUS current + ::= { ip 1 } + +ipDefaultTTL OBJECT-TYPE + SYNTAX INTEGER + MAX-ACCESS read-write + STATUS current + ::= { ip 2 } + +ipInReceives OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { ip 3 } + +ipInHdrErrors OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { ip 4 } + +ipInAddrErrors OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { ip 5 } + +ipForwDatagrams OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { ip 6 } + +ipInUnknownProtos OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { ip 7 } + +ipInDiscards OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { ip 8 } + +ipInDelivers OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { ip 9 } + +ipOutRequests OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { ip 10 } + +ipOutDiscards OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { ip 11 } + +ipOutNoRoutes OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { ip 12 } + +ipReasmTimeout OBJECT-TYPE + SYNTAX Integer32 + MAX-ACCESS read-only + STATUS current + ::= { ip 13 } + +ipReasmReqds OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { ip 14 } + +ipReasmOKs OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { ip 15 } + +ipReasmFails OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { ip 16 } + +ipFragOKs OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { ip 17 } + +ipFragFails OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { ip 18 } + +ipFragCreates OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { ip 19 } + +ipAddrTable OBJECT-TYPE + SYNTAX SEQUENCE OF IpAddrEntry + MAX-ACCESS not-accessible + STATUS current + ::= { ip 20 } + +ipAddrEntry OBJECT-TYPE + SYNTAX IpAddrEntry + MAX-ACCESS not-accessible + STATUS current + INDEX { ipAdEntAddr } + ::= { ipAddrTable 1 } + +IpAddrEntry ::= + SEQUENCE { + ipAdEntAddr + IpAddress, + + ipAdEntIfIndex + INTEGER, + + ipAdEntNetMask + IpAddress, + + ipAdEntBcastAddr + INTEGER, + + ipAdEntReasmMaxSize + INTEGER + } + +ipAdEntAddr OBJECT-TYPE + SYNTAX IpAddress + MAX-ACCESS read-only + STATUS current + ::= { ipAddrEntry 1 } + +ipAdEntIfIndex OBJECT-TYPE + SYNTAX INTEGER + MAX-ACCESS read-only + STATUS current + ::= { ipAddrEntry 2 } + +ipAdEntNetMask OBJECT-TYPE + SYNTAX IpAddress + MAX-ACCESS read-only + STATUS current + ::= { ipAddrEntry 3 } + +ipAdEntBcastAddr OBJECT-TYPE + SYNTAX INTEGER + MAX-ACCESS read-only + STATUS current + ::= { ipAddrEntry 4 } + +ipAdEntReasmMaxSize OBJECT-TYPE + SYNTAX INTEGER + MAX-ACCESS read-only + STATUS current + ::= { ipAddrEntry 5 } + +ipNetToMediaTable OBJECT-TYPE + SYNTAX SEQUENCE OF IpNetToMediaEntry + MAX-ACCESS not-accessible + STATUS current + ::= { ip 22 } + +ipNetToMediaEntry OBJECT-TYPE + SYNTAX IpNetToMediaEntry + MAX-ACCESS not-accessible + STATUS current + INDEX { ipNetToMediaIfIndex, ipNetToMediaNetAddress } + ::= { ipNetToMediaTable 1 } + +IpNetToMediaEntry ::= + SEQUENCE { + ipNetToMediaIfIndex + INTEGER, + + ipNetToMediaPhysAddress + PhysAddress, + + ipNetToMediaNetAddress + IpAddress, + + ipNetToMediaType + INTEGER + } + +ipNetToMediaIfIndex OBJECT-TYPE + SYNTAX INTEGER + MAX-ACCESS read-create + STATUS current + ::= { ipNetToMediaEntry 1 } + +ipNetToMediaPhysAddress OBJECT-TYPE + SYNTAX PhysAddress + MAX-ACCESS read-create + STATUS current + ::= { ipNetToMediaEntry 2 } + +ipNetToMediaNetAddress OBJECT-TYPE + SYNTAX IpAddress + MAX-ACCESS read-create + STATUS current + ::= { ipNetToMediaEntry 3 } + +ipNetToMediaType OBJECT-TYPE + SYNTAX INTEGER { + other(1), + invalid(2), + dynamic(3), + static(4) + } + MAX-ACCESS read-create + STATUS current + ::= { ipNetToMediaEntry 4 } + +ipRoutingDiscards OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { ip 23 } + +icmp ::= { mib-2 5 } + +icmpInMsgs OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { icmp 1 } + +icmpInErrors OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { icmp 2 } + +icmpInDestUnreachs OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { icmp 3 } + +icmpInTimeExcds OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { icmp 4 } + +icmpInParmProbs OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { icmp 5 } + +icmpInSrcQuenchs OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { icmp 6 } + +icmpInRedirects OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { icmp 7 } + +icmpInEchos OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { icmp 8 } + +icmpInEchoReps OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { icmp 9 } + +icmpInTimestamps OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { icmp 10 } + +icmpInTimestampReps OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { icmp 11 } + +icmpInAddrMasks OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { icmp 12 } + +icmpInAddrMaskReps OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { icmp 13 } + +icmpOutMsgs OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { icmp 14 } + +icmpOutErrors OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { icmp 15 } + +icmpOutDestUnreachs OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { icmp 16 } + +icmpOutTimeExcds OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { icmp 17 } + +icmpOutParmProbs OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { icmp 18 } + +icmpOutSrcQuenchs OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { icmp 19 } + +icmpOutRedirects OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { icmp 20 } + +icmpOutEchos OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { icmp 21 } + +icmpOutEchoReps OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { icmp 22 } + +icmpOutTimestamps OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { icmp 23 } + +icmpOutTimestampReps OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { icmp 24 } + +icmpOutAddrMasks OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { icmp 25 } + +icmpOutAddrMaskReps OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { icmp 26 } + +ipMIBConformance ::= { ipMIB 2 } + +ipMIBCompliances ::= { ipMIBConformance 1 } + +ipMIBGroups ::= { ipMIBConformance 2 } + +ipMIBCompliance MODULE-COMPLIANCE + STATUS current + + MANDATORY-GROUPS { ipGroup, icmpGroup } + ::= { ipMIBCompliances 1 } + +ipGroup OBJECT-GROUP + OBJECTS { + ipForwarding, + ipDefaultTTL, + ipInReceives, + ipInHdrErrors, + ipInAddrErrors, + ipForwDatagrams, + ipInUnknownProtos, + ipInDiscards, + ipInDelivers, + ipOutRequests, + ipOutDiscards, + ipOutNoRoutes, + ipReasmTimeout, + ipReasmReqds, + ipReasmOKs, + ipReasmFails, + ipFragOKs, + ipFragFails, + ipFragCreates, + ipAdEntAddr, + ipAdEntIfIndex, + ipAdEntNetMask, + ipAdEntBcastAddr, + ipAdEntReasmMaxSize, + ipNetToMediaIfIndex, + ipNetToMediaPhysAddress, + ipNetToMediaNetAddress, + ipNetToMediaType, + ipRoutingDiscards + } + STATUS current + ::= { ipMIBGroups 1 } + +icmpGroup OBJECT-GROUP + OBJECTS { + icmpInMsgs, + icmpInErrors, + icmpInDestUnreachs, + icmpInTimeExcds, + icmpInParmProbs, + icmpInSrcQuenchs, + icmpInRedirects, + icmpInEchos, + icmpInEchoReps, + icmpInTimestamps, + icmpInTimestampReps, + icmpInAddrMasks, + icmpInAddrMaskReps, + icmpOutMsgs, + icmpOutErrors, + icmpOutDestUnreachs, + icmpOutTimeExcds, + icmpOutParmProbs, + icmpOutSrcQuenchs, + icmpOutRedirects, + icmpOutEchos, + icmpOutEchoReps, + icmpOutTimestamps, + icmpOutTimestampReps, + icmpOutAddrMasks, + icmpOutAddrMaskReps + } + STATUS current + ::= { ipMIBGroups 2 } + +END diff --git a/release/picobsd/isp/crunch1/mibs/RFC1155-SMI.txt b/release/picobsd/isp/crunch1/mibs/RFC1155-SMI.txt new file mode 100644 index 0000000..e59574e --- /dev/null +++ b/release/picobsd/isp/crunch1/mibs/RFC1155-SMI.txt @@ -0,0 +1,9 @@ +RFC1155-SMI DEFINITIONS ::= BEGIN + nullOID OBJECT IDENTIFIER ::= { ccitt 0 } + internet OBJECT IDENTIFIER ::= { iso org(3) dod(6) 1 } + directory OBJECT IDENTIFIER ::= { internet 1 } + mgmt OBJECT IDENTIFIER ::= { internet 2 } + experimental OBJECT IDENTIFIER ::= { internet 3 } + private OBJECT IDENTIFIER ::= { internet 4 } + enterprises OBJECT IDENTIFIER ::= { private 1 } +END diff --git a/release/picobsd/isp/crunch1/mibs/RFC1213-MIB.txt b/release/picobsd/isp/crunch1/mibs/RFC1213-MIB.txt new file mode 100644 index 0000000..1f1f253 --- /dev/null +++ b/release/picobsd/isp/crunch1/mibs/RFC1213-MIB.txt @@ -0,0 +1,1550 @@ +RFC1213-MIB DEFINITIONS ::= BEGIN + + IMPORTS + mgmt, NetworkAddress, IpAddress, Counter, Gauge, + TimeTicks + FROM RFC1155-SMI + OBJECT-TYPE + FROM RFC-1212; + + + + mib-2 OBJECT IDENTIFIER ::= { mgmt 1 } + + + DisplayString ::= + OCTET STRING + + + + PhysAddress ::= + OCTET STRING + + + system OBJECT IDENTIFIER ::= { mib-2 1 } + + interfaces OBJECT IDENTIFIER ::= { mib-2 2 } + + at OBJECT IDENTIFIER ::= { mib-2 3 } + + ip OBJECT IDENTIFIER ::= { mib-2 4 } + + icmp OBJECT IDENTIFIER ::= { mib-2 5 } + + tcp OBJECT IDENTIFIER ::= { mib-2 6 } + + udp OBJECT IDENTIFIER ::= { mib-2 7 } + + egp OBJECT IDENTIFIER ::= { mib-2 8 } + + + transmission OBJECT IDENTIFIER ::= { mib-2 10 } + + snmp OBJECT IDENTIFIER ::= { mib-2 11 } + + + + sysDescr OBJECT-TYPE + SYNTAX DisplayString (SIZE (0..255)) + ACCESS read-only + STATUS mandatory + + + ::= { system 1 } + + sysObjectID OBJECT-TYPE + SYNTAX OBJECT IDENTIFIER + ACCESS read-only + STATUS mandatory + ::= { system 2 } + + sysUpTime OBJECT-TYPE + SYNTAX TimeTicks + ACCESS read-only + STATUS mandatory + ::= { system 3 } + + sysContact OBJECT-TYPE + SYNTAX DisplayString (SIZE (0..255)) + ACCESS read-write + STATUS mandatory + ::= { system 4 } + + sysName OBJECT-TYPE + SYNTAX DisplayString (SIZE (0..255)) + + + ACCESS read-write + STATUS mandatory + ::= { system 5 } + + sysLocation OBJECT-TYPE + SYNTAX DisplayString (SIZE (0..255)) + ACCESS read-write + STATUS mandatory + ::= { system 6 } + + sysServices OBJECT-TYPE + SYNTAX INTEGER (0..127) + ACCESS read-only + STATUS mandatory + ::= { system 7 } + + + + + ifNumber OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + ::= { interfaces 1 } + + + + ifTable OBJECT-TYPE + SYNTAX SEQUENCE OF IfEntry + ACCESS not-accessible + STATUS mandatory + ::= { interfaces 2 } + + ifEntry OBJECT-TYPE + SYNTAX IfEntry + ACCESS not-accessible + STATUS mandatory + INDEX { ifIndex } + ::= { ifTable 1 } + + IfEntry ::= + SEQUENCE { + ifIndex + INTEGER, + + + ifDescr + DisplayString, + ifType + INTEGER, + ifMtu + INTEGER, + ifSpeed + Gauge, + ifPhysAddress + PhysAddress, + ifAdminStatus + INTEGER, + ifOperStatus + INTEGER, + ifLastChange + TimeTicks, + ifInOctets + Counter, + ifInUcastPkts + Counter, + ifInNUcastPkts + Counter, + ifInDiscards + Counter, + ifInErrors + Counter, + ifInUnknownProtos + Counter, + ifOutOctets + Counter, + ifOutUcastPkts + Counter, + ifOutNUcastPkts + Counter, + ifOutDiscards + Counter, + ifOutErrors + Counter, + ifOutQLen + Gauge, + ifSpecific + OBJECT IDENTIFIER + } + + ifIndex OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + + + ::= { ifEntry 1 } + + ifDescr OBJECT-TYPE + SYNTAX DisplayString (SIZE (0..255)) + ACCESS read-only + STATUS mandatory + ::= { ifEntry 2 } + + ifType OBJECT-TYPE + SYNTAX INTEGER { + regular1822(2), + hdh1822(3), + ddn-x25(4), + rfc877-x25(5), + ethernet-csmacd(6), + iso88023-csmacd(7), + iso88024-tokenBus(8), + iso88025-tokenRing(9), + iso88026-man(10), + starLan(11), + proteon-10Mbit(12), + proteon-80Mbit(13), + hyperchannel(14), + fddi(15), + lapb(16), + sdlc(17), + basicISDN(20), + propPointToPointSerial(22), + ppp(23), + softwareLoopback(24), + ethernet-3Mbit(26), + + + frame-relay(32) + } + ACCESS read-only + STATUS mandatory + ::= { ifEntry 3 } + + ifMtu OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + ::= { ifEntry 4 } + + ifSpeed OBJECT-TYPE + SYNTAX Gauge + ACCESS read-only + STATUS mandatory + ::= { ifEntry 5 } + + ifPhysAddress OBJECT-TYPE + SYNTAX PhysAddress + ACCESS read-only + STATUS mandatory + ::= { ifEntry 6 } + + ifAdminStatus OBJECT-TYPE + SYNTAX INTEGER { + down(2), + } + ACCESS read-write + STATUS mandatory + ::= { ifEntry 7 } + + ifOperStatus OBJECT-TYPE + SYNTAX INTEGER { + down(2), + } + ACCESS read-only + STATUS mandatory + ::= { ifEntry 8 } + + ifLastChange OBJECT-TYPE + SYNTAX TimeTicks + ACCESS read-only + STATUS mandatory + ::= { ifEntry 9 } + + ifInOctets OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + + + STATUS mandatory + ::= { ifEntry 10 } + + ifInUcastPkts OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { ifEntry 11 } + + ifInNUcastPkts OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { ifEntry 12 } + + ifInDiscards OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { ifEntry 13 } + + ifInErrors OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { ifEntry 14 } + + + ifInUnknownProtos OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { ifEntry 15 } + + ifOutOctets OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { ifEntry 16 } + + ifOutUcastPkts OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { ifEntry 17 } + + ifOutNUcastPkts OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { ifEntry 18 } + + ifOutDiscards OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { ifEntry 19 } + + ifOutErrors OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { ifEntry 20 } + + ifOutQLen OBJECT-TYPE + SYNTAX Gauge + ACCESS read-only + STATUS mandatory + ::= { ifEntry 21 } + + ifSpecific OBJECT-TYPE + SYNTAX OBJECT IDENTIFIER + ACCESS read-only + STATUS mandatory + ::= { ifEntry 22 } + + + + + + + + atTable OBJECT-TYPE + SYNTAX SEQUENCE OF AtEntry + ACCESS not-accessible + STATUS deprecated + ::= { at 1 } + + atEntry OBJECT-TYPE + SYNTAX AtEntry + ACCESS not-accessible + STATUS deprecated + INDEX { atIfIndex, + atNetAddress } + ::= { atTable 1 } + + AtEntry ::= + SEQUENCE { + atIfIndex + INTEGER, + + + atPhysAddress + PhysAddress, + atNetAddress + NetworkAddress + } + + atIfIndex OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-write + STATUS deprecated + ::= { atEntry 1 } + + atPhysAddress OBJECT-TYPE + SYNTAX PhysAddress + ACCESS read-write + STATUS deprecated + ::= { atEntry 2 } + + atNetAddress OBJECT-TYPE + SYNTAX NetworkAddress + ACCESS read-write + STATUS deprecated + + + ::= { atEntry 3 } + + + + ipForwarding OBJECT-TYPE + SYNTAX INTEGER { + } + ACCESS read-write + STATUS mandatory + ::= { ip 1 } + + ipDefaultTTL OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-write + STATUS mandatory + ::= { ip 2 } + + ipInReceives OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + + + ::= { ip 3 } + + ipInHdrErrors OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { ip 4 } + + ipInAddrErrors OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { ip 5 } + + ipForwDatagrams OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { ip 6 } + + ipInUnknownProtos OBJECT-TYPE + SYNTAX Counter + + + ACCESS read-only + STATUS mandatory + ::= { ip 7 } + + ipInDiscards OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { ip 8 } + + ipInDelivers OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { ip 9 } + + ipOutRequests OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { ip 10 } + + ipOutDiscards OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { ip 11 } + + ipOutNoRoutes OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { ip 12 } + + ipReasmTimeout OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + ::= { ip 13 } + + ipReasmReqds OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { ip 14 } + + ipReasmOKs OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + + + ::= { ip 15 } + + ipReasmFails OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { ip 16 } + + ipFragOKs OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { ip 17 } + + ipFragFails OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { ip 18 } + + ipFragCreates OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { ip 19 } + + + + + ipAddrTable OBJECT-TYPE + SYNTAX SEQUENCE OF IpAddrEntry + ACCESS not-accessible + STATUS mandatory + ::= { ip 20 } + + ipAddrEntry OBJECT-TYPE + SYNTAX IpAddrEntry + ACCESS not-accessible + STATUS mandatory + INDEX { ipAdEntAddr } + ::= { ipAddrTable 1 } + + IpAddrEntry ::= + SEQUENCE { + ipAdEntAddr + IpAddress, + ipAdEntIfIndex + INTEGER, + ipAdEntNetMask + IpAddress, + ipAdEntBcastAddr + INTEGER, + ipAdEntReasmMaxSize + INTEGER (0..65535) + } + + ipAdEntAddr OBJECT-TYPE + SYNTAX IpAddress + ACCESS read-only + STATUS mandatory + ::= { ipAddrEntry 1 } + + + ipAdEntIfIndex OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + ::= { ipAddrEntry 2 } + + ipAdEntNetMask OBJECT-TYPE + SYNTAX IpAddress + ACCESS read-only + STATUS mandatory + ::= { ipAddrEntry 3 } + + ipAdEntBcastAddr OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + ::= { ipAddrEntry 4 } + + ipAdEntReasmMaxSize OBJECT-TYPE + SYNTAX INTEGER (0..65535) + ACCESS read-only + STATUS mandatory + ::= { ipAddrEntry 5 } + + + + + ipRouteTable OBJECT-TYPE + SYNTAX SEQUENCE OF IpRouteEntry + ACCESS not-accessible + STATUS mandatory + ::= { ip 21 } + + ipRouteEntry OBJECT-TYPE + SYNTAX IpRouteEntry + ACCESS not-accessible + STATUS mandatory + INDEX { ipRouteDest } + ::= { ipRouteTable 1 } + + IpRouteEntry ::= + SEQUENCE { + ipRouteDest + IpAddress, + ipRouteIfIndex + INTEGER, + ipRouteMetric1 + INTEGER, + ipRouteMetric2 + INTEGER, + ipRouteMetric3 + INTEGER, + ipRouteMetric4 + INTEGER, + ipRouteNextHop + IpAddress, + ipRouteType + INTEGER, + ipRouteProto + INTEGER, + ipRouteAge + INTEGER, + ipRouteMask + IpAddress, + ipRouteMetric5 + INTEGER, + + + ipRouteInfo + OBJECT IDENTIFIER + } + + ipRouteDest OBJECT-TYPE + SYNTAX IpAddress + ACCESS read-write + STATUS mandatory + ::= { ipRouteEntry 1 } + + ipRouteIfIndex OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-write + STATUS mandatory + ::= { ipRouteEntry 2 } + + ipRouteMetric1 OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-write + STATUS mandatory + ::= { ipRouteEntry 3 } + + ipRouteMetric2 OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-write + STATUS mandatory + ::= { ipRouteEntry 4 } + + ipRouteMetric3 OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-write + STATUS mandatory + ::= { ipRouteEntry 5 } + + ipRouteMetric4 OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-write + STATUS mandatory + ::= { ipRouteEntry 6 } + + ipRouteNextHop OBJECT-TYPE + SYNTAX IpAddress + ACCESS read-write + STATUS mandatory + ::= { ipRouteEntry 7 } + + ipRouteType OBJECT-TYPE + SYNTAX INTEGER { + + + + + } + ACCESS read-write + STATUS mandatory + ::= { ipRouteEntry 8 } + + ipRouteProto OBJECT-TYPE + SYNTAX INTEGER { + + + + + egp(5), + ggp(6), + + + hello(7), + rip(8), + is-is(9), + es-is(10), + ciscoIgrp(11), + bbnSpfIgp(12), + ospf(13), + bgp(14) + } + ACCESS read-only + STATUS mandatory + ::= { ipRouteEntry 9 } + + ipRouteAge OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-write + STATUS mandatory + ::= { ipRouteEntry 10 } + + ipRouteMask OBJECT-TYPE + SYNTAX IpAddress + ACCESS read-write + STATUS mandatory + ::= { ipRouteEntry 11 } + + ipRouteMetric5 OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-write + STATUS mandatory + ::= { ipRouteEntry 12 } + + ipRouteInfo OBJECT-TYPE + SYNTAX OBJECT IDENTIFIER + ACCESS read-only + STATUS mandatory + ::= { ipRouteEntry 13 } + + + + ipNetToMediaTable OBJECT-TYPE + SYNTAX SEQUENCE OF IpNetToMediaEntry + ACCESS not-accessible + STATUS mandatory + + + ::= { ip 22 } + + ipNetToMediaEntry OBJECT-TYPE + SYNTAX IpNetToMediaEntry + ACCESS not-accessible + STATUS mandatory + INDEX { ipNetToMediaIfIndex, + ipNetToMediaNetAddress } + ::= { ipNetToMediaTable 1 } + + IpNetToMediaEntry ::= + SEQUENCE { + ipNetToMediaIfIndex + INTEGER, + ipNetToMediaPhysAddress + PhysAddress, + ipNetToMediaNetAddress + IpAddress, + ipNetToMediaType + INTEGER + } + + ipNetToMediaIfIndex OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-write + STATUS mandatory + ::= { ipNetToMediaEntry 1 } + + ipNetToMediaPhysAddress OBJECT-TYPE + SYNTAX PhysAddress + ACCESS read-write + STATUS mandatory + ::= { ipNetToMediaEntry 2 } + + + ipNetToMediaNetAddress OBJECT-TYPE + SYNTAX IpAddress + ACCESS read-write + STATUS mandatory + ::= { ipNetToMediaEntry 3 } + + ipNetToMediaType OBJECT-TYPE + SYNTAX INTEGER { + dynamic(3), + static(4) + } + ACCESS read-write + STATUS mandatory + ::= { ipNetToMediaEntry 4 } + + + ipRoutingDiscards OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { ip 23 } + + + + icmpInMsgs OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { icmp 1 } + + icmpInErrors OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { icmp 2 } + + icmpInDestUnreachs OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { icmp 3 } + + icmpInTimeExcds OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { icmp 4 } + + + icmpInParmProbs OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { icmp 5 } + + icmpInSrcQuenchs OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { icmp 6 } + + icmpInRedirects OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { icmp 7 } + + icmpInEchos OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { icmp 8 } + + icmpInEchoReps OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { icmp 9 } + + icmpInTimestamps OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { icmp 10 } + + icmpInTimestampReps OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { icmp 11 } + + icmpInAddrMasks OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { icmp 12 } + + icmpInAddrMaskReps OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { icmp 13 } + + icmpOutMsgs OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { icmp 14 } + + icmpOutErrors OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { icmp 15 } + + icmpOutDestUnreachs OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { icmp 16 } + + icmpOutTimeExcds OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { icmp 17 } + + icmpOutParmProbs OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { icmp 18 } + + icmpOutSrcQuenchs OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { icmp 19 } + + icmpOutRedirects OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { icmp 20 } + + icmpOutEchos OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { icmp 21 } + + icmpOutEchoReps OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { icmp 22 } + + icmpOutTimestamps OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { icmp 23 } + + icmpOutTimestampReps OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { icmp 24 } + + icmpOutAddrMasks OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { icmp 25 } + + + icmpOutAddrMaskReps OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { icmp 26 } + + + + + tcpRtoAlgorithm OBJECT-TYPE + SYNTAX INTEGER { + + } + ACCESS read-only + STATUS mandatory + ::= { tcp 1 } + + tcpRtoMin OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + + + ::= { tcp 2 } + + tcpRtoMax OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + ::= { tcp 3 } + + tcpMaxConn OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + ::= { tcp 4 } + + tcpActiveOpens OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { tcp 5 } + + tcpPassiveOpens OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { tcp 6 } + + + tcpAttemptFails OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { tcp 7 } + + tcpEstabResets OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { tcp 8 } + + tcpCurrEstab OBJECT-TYPE + SYNTAX Gauge + ACCESS read-only + STATUS mandatory + ::= { tcp 9 } + + tcpInSegs OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { tcp 10 } + + tcpOutSegs OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + + + ::= { tcp 11 } + + tcpRetransSegs OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { tcp 12 } + + + + tcpConnTable OBJECT-TYPE + SYNTAX SEQUENCE OF TcpConnEntry + ACCESS not-accessible + STATUS mandatory + ::= { tcp 13 } + + tcpConnEntry OBJECT-TYPE + SYNTAX TcpConnEntry + ACCESS not-accessible + STATUS mandatory + INDEX { tcpConnLocalAddress, + tcpConnLocalPort, + tcpConnRemAddress, + tcpConnRemPort } + ::= { tcpConnTable 1 } + + + TcpConnEntry ::= + SEQUENCE { + tcpConnState + INTEGER, + tcpConnLocalAddress + IpAddress, + tcpConnLocalPort + INTEGER (0..65535), + tcpConnRemAddress + IpAddress, + tcpConnRemPort + INTEGER (0..65535) + } + + tcpConnState OBJECT-TYPE + SYNTAX INTEGER { + closed(1), + listen(2), + synSent(3), + synReceived(4), + established(5), + finWait1(6), + finWait2(7), + closeWait(8), + lastAck(9), + closing(10), + timeWait(11), + deleteTCB(12) + } + ACCESS read-write + STATUS mandatory + ::= { tcpConnEntry 1 } + + tcpConnLocalAddress OBJECT-TYPE + SYNTAX IpAddress + ACCESS read-only + STATUS mandatory + ::= { tcpConnEntry 2 } + + tcpConnLocalPort OBJECT-TYPE + SYNTAX INTEGER (0..65535) + ACCESS read-only + STATUS mandatory + ::= { tcpConnEntry 3 } + + tcpConnRemAddress OBJECT-TYPE + SYNTAX IpAddress + ACCESS read-only + STATUS mandatory + ::= { tcpConnEntry 4 } + + tcpConnRemPort OBJECT-TYPE + SYNTAX INTEGER (0..65535) + ACCESS read-only + STATUS mandatory + ::= { tcpConnEntry 5 } + + + tcpInErrs OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + + + ::= { tcp 14 } + + tcpOutRsts OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { tcp 15 } + + + + udpInDatagrams OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { udp 1 } + + udpNoPorts OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { udp 2 } + + udpInErrors OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { udp 3 } + + + udpOutDatagrams OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { udp 4 } + + + + udpTable OBJECT-TYPE + SYNTAX SEQUENCE OF UdpEntry + ACCESS not-accessible + STATUS mandatory + ::= { udp 5 } + + udpEntry OBJECT-TYPE + SYNTAX UdpEntry + ACCESS not-accessible + STATUS mandatory + INDEX { udpLocalAddress, udpLocalPort } + ::= { udpTable 1 } + + UdpEntry ::= + SEQUENCE { + udpLocalAddress + IpAddress, + udpLocalPort + INTEGER (0..65535) + } + + udpLocalAddress OBJECT-TYPE + SYNTAX IpAddress + ACCESS read-only + STATUS mandatory + ::= { udpEntry 1 } + + udpLocalPort OBJECT-TYPE + SYNTAX INTEGER (0..65535) + ACCESS read-only + STATUS mandatory + ::= { udpEntry 2 } + + + + egpInMsgs OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { egp 1 } + + egpInErrors OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { egp 2 } + + egpOutMsgs OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { egp 3 } + + egpOutErrors OBJECT-TYPE + SYNTAX Counter + + + ACCESS read-only + STATUS mandatory + ::= { egp 4 } + + + + egpNeighTable OBJECT-TYPE + SYNTAX SEQUENCE OF EgpNeighEntry + ACCESS not-accessible + STATUS mandatory + ::= { egp 5 } + + egpNeighEntry OBJECT-TYPE + SYNTAX EgpNeighEntry + ACCESS not-accessible + STATUS mandatory + INDEX { egpNeighAddr } + ::= { egpNeighTable 1 } + + EgpNeighEntry ::= + SEQUENCE { + egpNeighState + INTEGER, + egpNeighAddr + IpAddress, + egpNeighAs + INTEGER, + egpNeighInMsgs + Counter, + egpNeighInErrs + Counter, + egpNeighOutMsgs + Counter, + egpNeighOutErrs + Counter, + + + egpNeighInErrMsgs + Counter, + egpNeighOutErrMsgs + Counter, + egpNeighStateUps + Counter, + egpNeighStateDowns + Counter, + egpNeighIntervalHello + INTEGER, + egpNeighIntervalPoll + INTEGER, + egpNeighMode + INTEGER, + egpNeighEventTrigger + INTEGER + } + + egpNeighState OBJECT-TYPE + SYNTAX INTEGER { + idle(1), + acquisition(2), + down(3), + up(4), + cease(5) + } + ACCESS read-only + STATUS mandatory + ::= { egpNeighEntry 1 } + + egpNeighAddr OBJECT-TYPE + SYNTAX IpAddress + ACCESS read-only + STATUS mandatory + ::= { egpNeighEntry 2 } + + egpNeighAs OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + + + ::= { egpNeighEntry 3 } + + egpNeighInMsgs OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { egpNeighEntry 4 } + + egpNeighInErrs OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { egpNeighEntry 5 } + + egpNeighOutMsgs OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { egpNeighEntry 6 } + + egpNeighOutErrs OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { egpNeighEntry 7 } + + egpNeighInErrMsgs OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + + + ::= { egpNeighEntry 8 } + + egpNeighOutErrMsgs OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { egpNeighEntry 9 } + + egpNeighStateUps OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { egpNeighEntry 10 } + + egpNeighStateDowns OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { egpNeighEntry 11 } + + egpNeighIntervalHello OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + ::= { egpNeighEntry 12 } + + egpNeighIntervalPoll OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + ::= { egpNeighEntry 13 } + + egpNeighMode OBJECT-TYPE + SYNTAX INTEGER { active(1), passive(2) } + ACCESS read-only + STATUS mandatory + ::= { egpNeighEntry 14 } + + egpNeighEventTrigger OBJECT-TYPE + SYNTAX INTEGER { start(1), stop(2) } + ACCESS read-write + STATUS mandatory + ::= { egpNeighEntry 15 } + + + egpAs OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + ::= { egp 6 } + + + + + + + + + snmpInPkts OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { snmp 1 } + + snmpOutPkts OBJECT-TYPE + SYNTAX Counter + + + ACCESS read-only + STATUS mandatory + ::= { snmp 2 } + + snmpInBadVersions OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { snmp 3 } + + snmpInBadCommunityNames OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { snmp 4 } + + snmpInBadCommunityUses OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { snmp 5 } + + snmpInASNParseErrs OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { snmp 6 } + + + + snmpInTooBigs OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { snmp 8 } + + snmpInNoSuchNames OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { snmp 9 } + + snmpInBadValues OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { snmp 10 } + + snmpInReadOnlys OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { snmp 11 } + + snmpInGenErrs OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { snmp 12 } + + snmpInTotalReqVars OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { snmp 13 } + + snmpInTotalSetVars OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { snmp 14 } + + snmpInGetRequests OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { snmp 15 } + + snmpInGetNexts OBJECT-TYPE + SYNTAX Counter + + + ACCESS read-only + STATUS mandatory + ::= { snmp 16 } + + snmpInSetRequests OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { snmp 17 } + + snmpInGetResponses OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { snmp 18 } + + snmpInTraps OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { snmp 19 } + + snmpOutTooBigs OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { snmp 20 } + + + snmpOutNoSuchNames OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { snmp 21 } + + snmpOutBadValues OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { snmp 22 } + + + snmpOutGenErrs OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { snmp 24 } + + snmpOutGetRequests OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { snmp 25 } + + snmpOutGetNexts OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + + + ::= { snmp 26 } + + snmpOutSetRequests OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { snmp 27 } + + snmpOutGetResponses OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { snmp 28 } + + snmpOutTraps OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { snmp 29 } + + snmpEnableAuthenTraps OBJECT-TYPE + SYNTAX INTEGER { enabled(1), disabled(2) } + ACCESS read-write + STATUS mandatory + + + ::= { snmp 30 } + +END diff --git a/release/picobsd/isp/crunch1/mibs/RFC1271-MIB.txt b/release/picobsd/isp/crunch1/mibs/RFC1271-MIB.txt new file mode 100644 index 0000000..1c85945 --- /dev/null +++ b/release/picobsd/isp/crunch1/mibs/RFC1271-MIB.txt @@ -0,0 +1,1633 @@ +RFC1271-MIB DEFINITIONS ::= BEGIN + + IMPORTS + Counter FROM RFC1155-SMI + DisplayString FROM RFC1158-MIB + mib-2 FROM RFC1213-MIB + OBJECT-TYPE FROM RFC-1212; + + + + rmon OBJECT IDENTIFIER ::= { mib-2 16 } + + + OwnerString ::= OCTET STRING + + + + EntryStatus ::= INTEGER + { valid(1), + createRequest(2), + underCreation(3), + invalid(4) + } + + + + + statistics OBJECT IDENTIFIER ::= { rmon 1 } + history OBJECT IDENTIFIER ::= { rmon 2 } + alarm OBJECT IDENTIFIER ::= { rmon 3 } + hosts OBJECT IDENTIFIER ::= { rmon 4 } + hostTopN OBJECT IDENTIFIER ::= { rmon 5 } + matrix OBJECT IDENTIFIER ::= { rmon 6 } + filter OBJECT IDENTIFIER ::= { rmon 7 } + capture OBJECT IDENTIFIER ::= { rmon 8 } + event OBJECT IDENTIFIER ::= { rmon 9 } + + + etherStatsTable OBJECT-TYPE + SYNTAX SEQUENCE OF EtherStatsEntry + ACCESS not-accessible + STATUS mandatory + ::= { statistics 1 } + + + etherStatsEntry OBJECT-TYPE + SYNTAX EtherStatsEntry + ACCESS not-accessible + STATUS mandatory + INDEX { etherStatsIndex } + ::= { etherStatsTable 1 } + + EtherStatsEntry ::= SEQUENCE { + etherStatsIndex INTEGER (1..65535), + etherStatsDataSource OBJECT IDENTIFIER, + etherStatsDropEvents Counter, + etherStatsOctets Counter, + etherStatsPkts Counter, + etherStatsBroadcastPkts Counter, + etherStatsMulticastPkts Counter, + etherStatsCRCAlignErrors Counter, + etherStatsUndersizePkts Counter, + etherStatsOversizePkts Counter, + etherStatsFragments Counter, + etherStatsJabbers Counter, + etherStatsCollisions Counter, + etherStatsPkts64Octets Counter, + etherStatsPkts65to127Octets Counter, + etherStatsPkts128to255Octets Counter, + etherStatsPkts256to511Octets Counter, + etherStatsPkts512to1023Octets Counter, + etherStatsPkts1024to1518Octets Counter, + etherStatsOwner OwnerString, + etherStatsStatus INTEGER + } + + etherStatsIndex OBJECT-TYPE + SYNTAX INTEGER (1..65535) + ACCESS read-only + STATUS mandatory + ::= { etherStatsEntry 1 } + + etherStatsDataSource OBJECT-TYPE + SYNTAX OBJECT IDENTIFIER + ACCESS read-write + STATUS mandatory + ::= { etherStatsEntry 2 } + + etherStatsDropEvents OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { etherStatsEntry 3 } + + etherStatsOctets OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { etherStatsEntry 4 } + + etherStatsPkts OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { etherStatsEntry 5 } + + + etherStatsBroadcastPkts OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { etherStatsEntry 6 } + + etherStatsMulticastPkts OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { etherStatsEntry 7 } + + etherStatsCRCAlignErrors OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { etherStatsEntry 8 } + + etherStatsUndersizePkts OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { etherStatsEntry 9 } + + etherStatsOversizePkts OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + + + ::= { etherStatsEntry 10 } + + etherStatsFragments OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { etherStatsEntry 11 } + + etherStatsJabbers OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { etherStatsEntry 12 } + + etherStatsCollisions OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { etherStatsEntry 13 } + + etherStatsPkts64Octets OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + + + ::= { etherStatsEntry 14 } + + etherStatsPkts65to127Octets OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { etherStatsEntry 15 } + + etherStatsPkts128to255Octets OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { etherStatsEntry 16 } + + etherStatsPkts256to511Octets OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { etherStatsEntry 17 } + + etherStatsPkts512to1023Octets OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { etherStatsEntry 18 } + + + etherStatsPkts1024to1518Octets OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { etherStatsEntry 19 } + + etherStatsOwner OBJECT-TYPE + SYNTAX OwnerString + ACCESS read-write + STATUS mandatory + ::= { etherStatsEntry 20 } + + etherStatsStatus OBJECT-TYPE + SYNTAX EntryStatus + ACCESS read-write + STATUS mandatory + ::= { etherStatsEntry 21 } + + + + + + historyControlTable OBJECT-TYPE + SYNTAX SEQUENCE OF HistoryControlEntry + ACCESS not-accessible + STATUS mandatory + ::= { history 1 } + + historyControlEntry OBJECT-TYPE + SYNTAX HistoryControlEntry + ACCESS not-accessible + STATUS mandatory + INDEX { historyControlIndex } + ::= { historyControlTable 1 } + + HistoryControlEntry ::= SEQUENCE { + historyControlIndex INTEGER (1..65535), + historyControlDataSource OBJECT IDENTIFIER, + historyControlBucketsRequested INTEGER (1..65535), + historyControlBucketsGranted INTEGER (1..65535), + historyControlInterval INTEGER (1..3600), + historyControlOwner OwnerString, + historyControlStatus INTEGER + } + + historyControlIndex OBJECT-TYPE + SYNTAX INTEGER (1..65535) + ACCESS read-only + STATUS mandatory + ::= { historyControlEntry 1 } + + + historyControlDataSource OBJECT-TYPE + SYNTAX OBJECT IDENTIFIER + ACCESS read-write + STATUS mandatory + ::= { historyControlEntry 2 } + + historyControlBucketsRequested OBJECT-TYPE + SYNTAX INTEGER (1..65535) + ACCESS read-write + STATUS mandatory + DEFVAL { 50 } + ::= { historyControlEntry 3 } + + historyControlBucketsGranted OBJECT-TYPE + SYNTAX INTEGER (1..65535) + ACCESS read-only + STATUS mandatory + ::= { historyControlEntry 4 } + + historyControlInterval OBJECT-TYPE + SYNTAX INTEGER (1..3600) + ACCESS read-write + STATUS mandatory + DEFVAL { 1800 } + ::= { historyControlEntry 5 } + + historyControlOwner OBJECT-TYPE + SYNTAX OwnerString + ACCESS read-write + STATUS mandatory + ::= { historyControlEntry 6 } + + historyControlStatus OBJECT-TYPE + SYNTAX EntryStatus + ACCESS read-write + STATUS mandatory + ::= { historyControlEntry 7 } + + + etherHistoryTable OBJECT-TYPE + SYNTAX SEQUENCE OF EtherHistoryEntry + + + ACCESS not-accessible + STATUS mandatory + ::= { history 2 } + + etherHistoryEntry OBJECT-TYPE + SYNTAX EtherHistoryEntry + ACCESS not-accessible + STATUS mandatory + INDEX { etherHistoryIndex , etherHistorySampleIndex } + ::= { etherHistoryTable 1 } + + EtherHistoryEntry ::= SEQUENCE { + etherHistoryIndex INTEGER (1..65535), + etherHistorySampleIndex INTEGER, + etherHistoryIntervalStart TimeTicks, + etherHistoryDropEvents Counter, + etherHistoryOctets Counter, + etherHistoryPkts Counter, + etherHistoryBroadcastPkts Counter, + etherHistoryMulticastPkts Counter, + etherHistoryCRCAlignErrors Counter, + etherHistoryUndersizePkts Counter, + etherHistoryOversizePkts Counter, + etherHistoryFragments Counter, + etherHistoryJabbers Counter, + etherHistoryCollisions Counter, + etherHistoryUtilization INTEGER (0..10000) + } + + etherHistoryIndex OBJECT-TYPE + SYNTAX INTEGER (1..65535) + ACCESS read-only + STATUS mandatory + ::= { etherHistoryEntry 1 } + + + etherHistorySampleIndex OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + ::= { etherHistoryEntry 2 } + + etherHistoryIntervalStart OBJECT-TYPE + SYNTAX TimeTicks + ACCESS read-only + STATUS mandatory + ::= { etherHistoryEntry 3 } + + etherHistoryDropEvents OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { etherHistoryEntry 4 } + + etherHistoryOctets OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { etherHistoryEntry 5 } + + etherHistoryPkts OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { etherHistoryEntry 6 } + + etherHistoryBroadcastPkts OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { etherHistoryEntry 7 } + + etherHistoryMulticastPkts OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { etherHistoryEntry 8 } + + etherHistoryCRCAlignErrors OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { etherHistoryEntry 9 } + + + etherHistoryUndersizePkts OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { etherHistoryEntry 10 } + + etherHistoryOversizePkts OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { etherHistoryEntry 11 } + + etherHistoryFragments OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { etherHistoryEntry 12 } + + etherHistoryJabbers OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { etherHistoryEntry 13 } + + + etherHistoryCollisions OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { etherHistoryEntry 14 } + + etherHistoryUtilization OBJECT-TYPE + SYNTAX INTEGER (0..10000) + ACCESS read-only + STATUS mandatory + ::= { etherHistoryEntry 15 } + + + + + + alarmTable OBJECT-TYPE + SYNTAX SEQUENCE OF AlarmEntry + ACCESS not-accessible + STATUS mandatory + ::= { alarm 1 } + + alarmEntry OBJECT-TYPE + SYNTAX AlarmEntry + ACCESS not-accessible + STATUS mandatory + INDEX { alarmIndex } + ::= { alarmTable 1 } + + AlarmEntry ::= SEQUENCE { + alarmIndex INTEGER (1..65535), + alarmInterval INTEGER, + alarmVariable OBJECT IDENTIFIER, + alarmSampleType INTEGER, + alarmValue INTEGER, + alarmStartupAlarm INTEGER, + alarmRisingThreshold INTEGER, + alarmFallingThreshold INTEGER, + alarmRisingEventIndex INTEGER (1..65535), + alarmFallingEventIndex INTEGER (1..65535), + alarmOwner OwnerString, + alarmStatus INTEGER + } + + alarmIndex OBJECT-TYPE + SYNTAX INTEGER (1..65535) + ACCESS read-only + STATUS mandatory + ::= { alarmEntry 1 } + + + alarmInterval OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-write + STATUS mandatory + ::= { alarmEntry 2 } + + alarmVariable OBJECT-TYPE + SYNTAX OBJECT IDENTIFIER + ACCESS read-write + STATUS mandatory + ::= { alarmEntry 3 } + + + alarmSampleType OBJECT-TYPE + SYNTAX INTEGER { + absoluteValue(1), + deltaValue(2) + } + ACCESS read-write + STATUS mandatory + ::= { alarmEntry 4 } + + alarmValue OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + ::= { alarmEntry 5 } + + alarmStartupAlarm OBJECT-TYPE + SYNTAX INTEGER { + risingAlarm(1), + fallingAlarm(2), + risingOrFallingAlarm(3) + } + ACCESS read-write + STATUS mandatory + ::= { alarmEntry 6 } + + alarmRisingThreshold OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-write + STATUS mandatory + ::= { alarmEntry 7 } + + alarmFallingThreshold OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-write + STATUS mandatory + ::= { alarmEntry 8 } + + alarmRisingEventIndex OBJECT-TYPE + SYNTAX INTEGER (0..65535) + ACCESS read-write + STATUS mandatory + ::= { alarmEntry 9 } + + alarmFallingEventIndex OBJECT-TYPE + SYNTAX INTEGER (0..65535) + ACCESS read-write + STATUS mandatory + + + ::= { alarmEntry 10 } + + alarmOwner OBJECT-TYPE + SYNTAX OwnerString + ACCESS read-write + STATUS mandatory + ::= { alarmEntry 11 } + + alarmStatus OBJECT-TYPE + SYNTAX EntryStatus + ACCESS read-write + STATUS mandatory + ::= { alarmEntry 12 } + + + + + + + + + + + hostControlTable OBJECT-TYPE + SYNTAX SEQUENCE OF HostControlEntry + ACCESS not-accessible + STATUS mandatory + ::= { hosts 1 } + + + hostControlEntry OBJECT-TYPE + SYNTAX HostControlEntry + ACCESS not-accessible + STATUS mandatory + INDEX { hostControlIndex } + ::= { hostControlTable 1 } + + HostControlEntry ::= SEQUENCE { + hostControlIndex INTEGER (1..65535), + hostControlDataSource OBJECT IDENTIFIER, + hostControlTableSize INTEGER, + hostControlLastDeleteTime TimeTicks, + hostControlOwner OwnerString, + hostControlStatus INTEGER + } + + hostControlIndex OBJECT-TYPE + SYNTAX INTEGER (1..65535) + ACCESS read-only + STATUS mandatory + ::= { hostControlEntry 1 } + + hostControlDataSource OBJECT-TYPE + SYNTAX OBJECT IDENTIFIER + ACCESS read-write + STATUS mandatory + ::= { hostControlEntry 2 } + + hostControlTableSize OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + ::= { hostControlEntry 3 } + + hostControlLastDeleteTime OBJECT-TYPE + SYNTAX TimeTicks + ACCESS read-only + STATUS mandatory + ::= { hostControlEntry 4 } + + hostControlOwner OBJECT-TYPE + SYNTAX OwnerString + ACCESS read-write + STATUS mandatory + ::= { hostControlEntry 5 } + + hostControlStatus OBJECT-TYPE + SYNTAX EntryStatus + ACCESS read-write + STATUS mandatory + ::= { hostControlEntry 6 } + + + hostTable OBJECT-TYPE + SYNTAX SEQUENCE OF HostEntry + ACCESS not-accessible + STATUS mandatory + ::= { hosts 2 } + + hostEntry OBJECT-TYPE + SYNTAX HostEntry + ACCESS not-accessible + STATUS mandatory + INDEX { hostIndex, hostAddress } + ::= { hostTable 1 } + + HostEntry ::= SEQUENCE { + hostAddress OCTET STRING, + hostCreationOrder INTEGER (1..65535), + hostIndex INTEGER (1..65535), + hostInPkts Counter, + hostOutPkts Counter, + hostInOctets Counter, + hostOutOctets Counter, + hostOutErrors Counter, + hostOutBroadcastPkts Counter, + hostOutMulticastPkts Counter + } + + hostAddress OBJECT-TYPE + SYNTAX OCTET STRING + ACCESS read-only + STATUS mandatory + ::= { hostEntry 1 } + + hostCreationOrder OBJECT-TYPE + SYNTAX INTEGER (1..65535) + ACCESS read-only + STATUS mandatory + ::= { hostEntry 2 } + + hostIndex OBJECT-TYPE + SYNTAX INTEGER (1..65535) + ACCESS read-only + STATUS mandatory + ::= { hostEntry 3 } + + hostInPkts OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { hostEntry 4 } + + hostOutPkts OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + + + ::= { hostEntry 5 } + + hostInOctets OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { hostEntry 6 } + + hostOutOctets OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { hostEntry 7 } + + hostOutErrors OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { hostEntry 8 } + + hostOutBroadcastPkts OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { hostEntry 9 } + + hostOutMulticastPkts OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { hostEntry 10 } + + + hostTimeTable OBJECT-TYPE + SYNTAX SEQUENCE OF HostTimeEntry + ACCESS not-accessible + STATUS mandatory + ::= { hosts 3 } + + hostTimeEntry OBJECT-TYPE + SYNTAX HostTimeEntry + ACCESS not-accessible + STATUS mandatory + INDEX { hostTimeIndex, hostTimeCreationOrder } + ::= { hostTimeTable 1 } + + HostTimeEntry ::= SEQUENCE { + hostTimeAddress OCTET STRING, + hostTimeCreationOrder INTEGER (1..65535), + hostTimeIndex INTEGER (1..65535), + hostTimeInPkts Counter, + hostTimeOutPkts Counter, + hostTimeInOctets Counter, + hostTimeOutOctets Counter, + hostTimeOutErrors Counter, + hostTimeOutBroadcastPkts Counter, + hostTimeOutMulticastPkts Counter + } + + hostTimeAddress OBJECT-TYPE + SYNTAX OCTET STRING + ACCESS read-only + STATUS mandatory + ::= { hostTimeEntry 1 } + + hostTimeCreationOrder OBJECT-TYPE + SYNTAX INTEGER (1..65535) + ACCESS read-only + STATUS mandatory + ::= { hostTimeEntry 2 } + + hostTimeIndex OBJECT-TYPE + SYNTAX INTEGER (1..65535) + ACCESS read-only + STATUS mandatory + ::= { hostTimeEntry 3 } + + + hostTimeInPkts OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { hostTimeEntry 4 } + + hostTimeOutPkts OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { hostTimeEntry 5 } + + hostTimeInOctets OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { hostTimeEntry 6 } + + hostTimeOutOctets OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { hostTimeEntry 7 } + + hostTimeOutErrors OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { hostTimeEntry 8 } + + hostTimeOutBroadcastPkts OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { hostTimeEntry 9 } + + hostTimeOutMulticastPkts OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { hostTimeEntry 10 } + + + + + + + hostTopNControlTable OBJECT-TYPE + SYNTAX SEQUENCE OF HostTopNControlEntry + ACCESS not-accessible + STATUS mandatory + ::= { hostTopN 1 } + + hostTopNControlEntry OBJECT-TYPE + SYNTAX HostTopNControlEntry + ACCESS not-accessible + STATUS mandatory + INDEX { hostTopNControlIndex } + ::= { hostTopNControlTable 1 } + + HostTopNControlEntry ::= SEQUENCE { + hostTopNControlIndex INTEGER (1..65535), + hostTopNHostIndex INTEGER (1..65535), + hostTopNRateBase INTEGER, + hostTopNTimeRemaining INTEGER, + hostTopNDuration INTEGER, + hostTopNRequestedSize INTEGER, + hostTopNGrantedSize INTEGER, + hostTopNStartTime TimeTicks, + hostTopNOwner OwnerString, + hostTopNStatus INTEGER + } + + hostTopNControlIndex OBJECT-TYPE + SYNTAX INTEGER (1..65535) + ACCESS read-only + STATUS mandatory + ::= { hostTopNControlEntry 1 } + + hostTopNHostIndex OBJECT-TYPE + SYNTAX INTEGER (1..65535) + ACCESS read-write + + + STATUS mandatory + ::= { hostTopNControlEntry 2 } + + hostTopNRateBase OBJECT-TYPE + SYNTAX INTEGER { + hostTopNInPkts(1), + hostTopNOutPkts(2), + hostTopNInOctets(3), + hostTopNOutOctets(4), + hostTopNOutErrors(5), + hostTopNOutBroadcastPkts(6), + hostTopNOutMulticastPkts(7) + } + ACCESS read-write + STATUS mandatory + ::= { hostTopNControlEntry 3 } + + hostTopNTimeRemaining OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-write + STATUS mandatory + DEFVAL { 0 } + ::= { hostTopNControlEntry 4 } + + hostTopNDuration OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + DEFVAL { 0 } + ::= { hostTopNControlEntry 5 } + + hostTopNRequestedSize OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-write + STATUS mandatory + DEFVAL { 10 } + ::= { hostTopNControlEntry 6 } + + + hostTopNGrantedSize OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + ::= { hostTopNControlEntry 7 } + + hostTopNStartTime OBJECT-TYPE + SYNTAX TimeTicks + ACCESS read-only + STATUS mandatory + ::= { hostTopNControlEntry 8 } + + hostTopNOwner OBJECT-TYPE + SYNTAX OwnerString + ACCESS read-write + STATUS mandatory + ::= { hostTopNControlEntry 9 } + + hostTopNStatus OBJECT-TYPE + SYNTAX EntryStatus + ACCESS read-write + STATUS mandatory + ::= { hostTopNControlEntry 10 } + + hostTopNTable OBJECT-TYPE + SYNTAX SEQUENCE OF HostTopNEntry + ACCESS not-accessible + STATUS mandatory + ::= { hostTopN 2 } + + hostTopNEntry OBJECT-TYPE + SYNTAX HostTopNEntry + ACCESS not-accessible + STATUS mandatory + INDEX { hostTopNReport, hostTopNIndex } + ::= { hostTopNTable 1 } + + HostTopNEntry ::= SEQUENCE { + hostTopNReport INTEGER (1..65535), + hostTopNIndex INTEGER (1..65535), + hostTopNAddress OCTET STRING, + hostTopNRate INTEGER + } + + hostTopNReport OBJECT-TYPE + SYNTAX INTEGER (1..65535) + ACCESS read-only + STATUS mandatory + ::= { hostTopNEntry 1 } + + hostTopNIndex OBJECT-TYPE + SYNTAX INTEGER (1..65535) + ACCESS read-only + STATUS mandatory + ::= { hostTopNEntry 2 } + + hostTopNAddress OBJECT-TYPE + SYNTAX OCTET STRING + ACCESS read-only + STATUS mandatory + ::= { hostTopNEntry 3 } + + hostTopNRate OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + ::= { hostTopNEntry 4 } + + + + matrixControlTable OBJECT-TYPE + SYNTAX SEQUENCE OF MatrixControlEntry + ACCESS not-accessible + + + STATUS mandatory + ::= { matrix 1 } + + matrixControlEntry OBJECT-TYPE + SYNTAX MatrixControlEntry + ACCESS not-accessible + STATUS mandatory + INDEX { matrixControlIndex } + ::= { matrixControlTable 1 } + + MatrixControlEntry ::= SEQUENCE { + matrixControlIndex INTEGER (1..65535), + matrixControlDataSource OBJECT IDENTIFIER, + matrixControlTableSize INTEGER, + matrixControlLastDeleteTime TimeTicks, + matrixControlOwner OwnerString, + matrixControlStatus INTEGER + } + + matrixControlIndex OBJECT-TYPE + SYNTAX INTEGER (1..65535) + ACCESS read-only + STATUS mandatory + ::= { matrixControlEntry 1 } + + matrixControlDataSource OBJECT-TYPE + SYNTAX OBJECT IDENTIFIER + ACCESS read-write + STATUS mandatory + ::= { matrixControlEntry 2 } + + matrixControlTableSize OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + ::= { matrixControlEntry 3 } + + matrixControlLastDeleteTime OBJECT-TYPE + SYNTAX TimeTicks + ACCESS read-only + STATUS mandatory + ::= { matrixControlEntry 4 } + + matrixControlOwner OBJECT-TYPE + SYNTAX OwnerString + ACCESS read-write + STATUS mandatory + ::= { matrixControlEntry 5 } + + matrixControlStatus OBJECT-TYPE + SYNTAX EntryStatus + ACCESS read-write + + + STATUS mandatory + ::= { matrixControlEntry 6 } + + matrixSDTable OBJECT-TYPE + SYNTAX SEQUENCE OF MatrixSDEntry + ACCESS not-accessible + STATUS mandatory + ::= { matrix 2 } + + matrixSDEntry OBJECT-TYPE + SYNTAX MatrixSDEntry + ACCESS not-accessible + STATUS mandatory + INDEX { matrixSDIndex, + matrixSDSourceAddress, matrixSDDestAddress } + ::= { matrixSDTable 1 } + + MatrixSDEntry ::= SEQUENCE { + matrixSDSourceAddress OCTET STRING, + matrixSDDestAddress OCTET STRING, + matrixSDIndex INTEGER (1..65535), + matrixSDPkts Counter, + matrixSDOctets Counter, + matrixSDErrors Counter + } + + matrixSDSourceAddress OBJECT-TYPE + SYNTAX OCTET STRING + ACCESS read-only + STATUS mandatory + ::= { matrixSDEntry 1 } + + + matrixSDDestAddress OBJECT-TYPE + SYNTAX OCTET STRING + ACCESS read-only + STATUS mandatory + ::= { matrixSDEntry 2 } + + matrixSDIndex OBJECT-TYPE + SYNTAX INTEGER (1..65535) + ACCESS read-only + STATUS mandatory + ::= { matrixSDEntry 3 } + + matrixSDPkts OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { matrixSDEntry 4 } + + matrixSDOctets OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { matrixSDEntry 5 } + + matrixSDErrors OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + + + ::= { matrixSDEntry 6 } + + + matrixDSTable OBJECT-TYPE + SYNTAX SEQUENCE OF MatrixDSEntry + ACCESS not-accessible + STATUS mandatory + ::= { matrix 3 } + + matrixDSEntry OBJECT-TYPE + SYNTAX MatrixDSEntry + ACCESS not-accessible + STATUS mandatory + INDEX { matrixDSIndex, + matrixDSDestAddress, matrixDSSourceAddress } + ::= { matrixDSTable 1 } + + MatrixDSEntry ::= SEQUENCE { + matrixDSSourceAddress OCTET STRING, + matrixDSDestAddress OCTET STRING, + matrixDSIndex INTEGER (1..65535), + matrixDSPkts Counter, + matrixDSOctets Counter, + matrixDSErrors Counter + } + + matrixDSSourceAddress OBJECT-TYPE + SYNTAX OCTET STRING + ACCESS read-only + STATUS mandatory + ::= { matrixDSEntry 1 } + + matrixDSDestAddress OBJECT-TYPE + SYNTAX OCTET STRING + ACCESS read-only + STATUS mandatory + + + ::= { matrixDSEntry 2 } + + matrixDSIndex OBJECT-TYPE + SYNTAX INTEGER (1..65535) + ACCESS read-only + STATUS mandatory + ::= { matrixDSEntry 3 } + + matrixDSPkts OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { matrixDSEntry 4 } + + matrixDSOctets OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { matrixDSEntry 5 } + + matrixDSErrors OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { matrixDSEntry 6 } + + + + + + filterTable OBJECT-TYPE + SYNTAX SEQUENCE OF FilterEntry + ACCESS not-accessible + STATUS mandatory + ::= { filter 1 } + + filterEntry OBJECT-TYPE + SYNTAX FilterEntry + ACCESS not-accessible + STATUS mandatory + INDEX { filterIndex } + ::= { filterTable 1 } + + FilterEntry ::= SEQUENCE { + filterIndex INTEGER (1..65535), + filterChannelIndex INTEGER (1..65535), + filterPktDataOffset INTEGER, + filterPktData OCTET STRING, + filterPktDataMask OCTET STRING, + filterPktDataNotMask OCTET STRING, + filterPktStatus INTEGER, + filterPktStatusMask INTEGER, + filterPktStatusNotMask INTEGER, + filterOwner OwnerString, + filterStatus INTEGER + + + } + + filterIndex OBJECT-TYPE + SYNTAX INTEGER (1..65535) + ACCESS read-only + STATUS mandatory + ::= { filterEntry 1 } + + filterChannelIndex OBJECT-TYPE + SYNTAX INTEGER (1..65535) + ACCESS read-write + STATUS mandatory + ::= { filterEntry 2 } + + filterPktDataOffset OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-write + STATUS mandatory + DEFVAL { 0 } + ::= { filterEntry 3 } + + filterPktData OBJECT-TYPE + SYNTAX OCTET STRING + ACCESS read-write + STATUS mandatory + ::= { filterEntry 4 } + + filterPktDataMask OBJECT-TYPE + SYNTAX OCTET STRING + ACCESS read-write + STATUS mandatory + ::= { filterEntry 5 } + + filterPktDataNotMask OBJECT-TYPE + SYNTAX OCTET STRING + ACCESS read-write + STATUS mandatory + ::= { filterEntry 6 } + + filterPktStatus OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-write + STATUS mandatory + ::= { filterEntry 7 } + + filterPktStatusMask OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-write + + + STATUS mandatory + ::= { filterEntry 8 } + + filterPktStatusNotMask OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-write + STATUS mandatory + ::= { filterEntry 9 } + + filterOwner OBJECT-TYPE + SYNTAX OwnerString + + + ACCESS read-write + STATUS mandatory + ::= { filterEntry 10 } + + filterStatus OBJECT-TYPE + SYNTAX EntryStatus + ACCESS read-write + STATUS mandatory + ::= { filterEntry 11 } + + channelTable OBJECT-TYPE + SYNTAX SEQUENCE OF ChannelEntry + ACCESS not-accessible + STATUS mandatory + ::= { filter 2 } + + channelEntry OBJECT-TYPE + SYNTAX ChannelEntry + ACCESS not-accessible + STATUS mandatory + INDEX { channelIndex } + ::= { channelTable 1 } + + ChannelEntry ::= SEQUENCE { + channelIndex INTEGER (1..65535), + channelIfIndex INTEGER (1..65535), + channelAcceptType INTEGER, + channelDataControl INTEGER, + channelTurnOnEventIndex INTEGER (0..65535), + channelTurnOffEventIndex INTEGER (0..65535), + channelEventIndex INTEGER (0..65535), + channelEventStatus INTEGER, + channelMatches Counter, + channelDescription DisplayString (SIZE (0..127)), + channelOwner OwnerString, + channelStatus INTEGER + } + + + channelIndex OBJECT-TYPE + SYNTAX INTEGER (1..65535) + ACCESS read-only + STATUS mandatory + ::= { channelEntry 1 } + + channelIfIndex OBJECT-TYPE + SYNTAX INTEGER (1..65535) + ACCESS read-write + STATUS mandatory + ::= { channelEntry 2 } + + channelAcceptType OBJECT-TYPE + SYNTAX INTEGER { + acceptMatched(1), + acceptFailed(2) + } + ACCESS read-write + STATUS mandatory + ::= { channelEntry 3 } + + channelDataControl OBJECT-TYPE + SYNTAX INTEGER { + on(1), + off(2) + } + ACCESS read-write + STATUS mandatory + DEFVAL { off } + ::= { channelEntry 4 } + + channelTurnOnEventIndex OBJECT-TYPE + SYNTAX INTEGER (0..65535) + ACCESS read-write + STATUS mandatory + ::= { channelEntry 5 } + + channelTurnOffEventIndex OBJECT-TYPE + SYNTAX INTEGER (0..65535) + ACCESS read-write + STATUS mandatory + ::= { channelEntry 6 } + + channelEventIndex OBJECT-TYPE + SYNTAX INTEGER (0..65535) + ACCESS read-write + STATUS mandatory + ::= { channelEntry 7 } + + channelEventStatus OBJECT-TYPE + SYNTAX INTEGER { + eventReady(1), + eventFired(2), + eventAlwaysReady(3) + } + ACCESS read-write + STATUS mandatory + DEFVAL { eventReady } + ::= { channelEntry 8 } + + channelMatches OBJECT-TYPE + SYNTAX Counter + ACCESS read-only + STATUS mandatory + ::= { channelEntry 9 } + + channelDescription OBJECT-TYPE + SYNTAX DisplayString (SIZE (0..127)) + ACCESS read-write + STATUS mandatory + ::= { channelEntry 10 } + + channelOwner OBJECT-TYPE + SYNTAX OwnerString + ACCESS read-write + STATUS mandatory + ::= { channelEntry 11 } + + channelStatus OBJECT-TYPE + SYNTAX EntryStatus + ACCESS read-write + STATUS mandatory + ::= { channelEntry 12 } + + + + bufferControlTable OBJECT-TYPE + SYNTAX SEQUENCE OF BufferControlEntry + ACCESS not-accessible + STATUS mandatory + ::= { capture 1 } + + bufferControlEntry OBJECT-TYPE + SYNTAX BufferControlEntry + ACCESS not-accessible + STATUS mandatory + INDEX { bufferControlIndex } + ::= { bufferControlTable 1 } + + BufferControlEntry ::= SEQUENCE { + bufferControlIndex INTEGER (1..65535), + bufferControlChannelIndex INTEGER (1..65535), + bufferControlFullStatus INTEGER, + bufferControlFullAction INTEGER, + bufferControlCaptureSliceSize INTEGER, + bufferControlDownloadSliceSize INTEGER, + bufferControlDownloadOffset INTEGER, + bufferControlMaxOctetsRequested INTEGER, + bufferControlMaxOctetsGranted INTEGER, + bufferControlCapturedPackets INTEGER, + + + bufferControlTurnOnTime TimeTicks, + bufferControlOwner OwnerString, + bufferControlStatus INTEGER + } + + bufferControlIndex OBJECT-TYPE + SYNTAX INTEGER (1..65535) + ACCESS read-only + STATUS mandatory + ::= { bufferControlEntry 1 } + + bufferControlChannelIndex OBJECT-TYPE + SYNTAX INTEGER (1..65535) + ACCESS read-write + STATUS mandatory + ::= { bufferControlEntry 2 } + + bufferControlFullStatus OBJECT-TYPE + SYNTAX INTEGER { + spaceAvailable(1), + full(2) + } + ACCESS read-only + STATUS mandatory + ::= { bufferControlEntry 3 } + + bufferControlFullAction OBJECT-TYPE + SYNTAX INTEGER { + lockWhenFull(1), + } + ACCESS read-write + STATUS mandatory + ::= { bufferControlEntry 4 } + + bufferControlCaptureSliceSize OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-write + STATUS mandatory + DEFVAL { 100 } + ::= { bufferControlEntry 5 } + + + bufferControlDownloadSliceSize OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-write + STATUS mandatory + DEFVAL { 100 } + ::= { bufferControlEntry 6 } + + bufferControlDownloadOffset OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-write + STATUS mandatory + DEFVAL { 0 } + ::= { bufferControlEntry 7 } + + bufferControlMaxOctetsRequested OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-write + STATUS mandatory + DEFVAL { -1 } + ::= { bufferControlEntry 8 } + + bufferControlMaxOctetsGranted OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + ::= { bufferControlEntry 9 } + + bufferControlCapturedPackets OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + ::= { bufferControlEntry 10 } + + bufferControlTurnOnTime OBJECT-TYPE + SYNTAX TimeTicks + ACCESS read-only + STATUS mandatory + ::= { bufferControlEntry 11 } + + bufferControlOwner OBJECT-TYPE + SYNTAX OwnerString + ACCESS read-write + STATUS mandatory + ::= { bufferControlEntry 12 } + + bufferControlStatus OBJECT-TYPE + SYNTAX EntryStatus + ACCESS read-write + STATUS mandatory + ::= { bufferControlEntry 13 } + + captureBufferTable OBJECT-TYPE + SYNTAX SEQUENCE OF CaptureBufferEntry + ACCESS not-accessible + + + STATUS mandatory + ::= { capture 2 } + + captureBufferEntry OBJECT-TYPE + SYNTAX CaptureBufferEntry + ACCESS not-accessible + STATUS mandatory + INDEX { captureBufferControlIndex, captureBufferIndex } + ::= { captureBufferTable 1 } + + CaptureBufferEntry ::= SEQUENCE { + captureBufferControlIndex INTEGER (1..65535), + captureBufferIndex INTEGER, + captureBufferPacketID INTEGER, + captureBufferPacketData OCTET STRING, + captureBufferPacketLength INTEGER, + captureBufferPacketTime INTEGER, + captureBufferPacketStatus INTEGER + } + + captureBufferControlIndex OBJECT-TYPE + SYNTAX INTEGER (1..65535) + ACCESS read-only + STATUS mandatory + ::= { captureBufferEntry 1 } + + captureBufferIndex OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + ::= { captureBufferEntry 2 } + + captureBufferPacketID OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + + + STATUS mandatory + ::= { captureBufferEntry 3 } + + captureBufferPacketData OBJECT-TYPE + SYNTAX OCTET STRING + ACCESS read-only + STATUS mandatory + ::= { captureBufferEntry 4 } + + captureBufferPacketLength OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + ::= { captureBufferEntry 5 } + + captureBufferPacketTime OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + ::= { captureBufferEntry 6 } + + + captureBufferPacketStatus OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + ::= { captureBufferEntry 7 } + + + + + + eventTable OBJECT-TYPE + SYNTAX SEQUENCE OF EventEntry + ACCESS not-accessible + STATUS mandatory + ::= { event 1 } + + eventEntry OBJECT-TYPE + SYNTAX EventEntry + ACCESS not-accessible + STATUS mandatory + INDEX { eventIndex } + ::= { eventTable 1 } + + EventEntry ::= SEQUENCE { + eventIndex INTEGER (1..65535), + eventDescription DisplayString (SIZE (0..127)), + eventType INTEGER, + eventCommunity OCTET STRING (SIZE (0..127)), + eventLastTimeSent TimeTicks, + eventOwner OwnerString, + eventStatus INTEGER + } + + eventIndex OBJECT-TYPE + SYNTAX INTEGER (1..65535) + ACCESS read-only + STATUS mandatory + ::= { eventEntry 1 } + + eventDescription OBJECT-TYPE + SYNTAX DisplayString (SIZE (0..127)) + ACCESS read-write + STATUS mandatory + ::= { eventEntry 2 } + + eventType OBJECT-TYPE + SYNTAX INTEGER { + none(1), + log(2), + log-and-trap(4) + } + ACCESS read-write + STATUS mandatory + ::= { eventEntry 3 } + + eventCommunity OBJECT-TYPE + SYNTAX OCTET STRING (SIZE (0..127)) + ACCESS read-write + STATUS mandatory + ::= { eventEntry 4 } + + eventLastTimeSent OBJECT-TYPE + SYNTAX TimeTicks + ACCESS read-only + STATUS mandatory + ::= { eventEntry 5 } + + eventOwner OBJECT-TYPE + SYNTAX OwnerString + ACCESS read-write + STATUS mandatory + ::= { eventEntry 6 } + + eventStatus OBJECT-TYPE + SYNTAX EntryStatus + ACCESS read-write + STATUS mandatory + ::= { eventEntry 7 } + + logTable OBJECT-TYPE + SYNTAX SEQUENCE OF LogEntry + ACCESS not-accessible + STATUS mandatory + ::= { event 2 } + + logEntry OBJECT-TYPE + SYNTAX LogEntry + ACCESS not-accessible + STATUS mandatory + INDEX { logEventIndex, logIndex } + + + ::= { logTable 1 } + + LogEntry ::= SEQUENCE { + logEventIndex INTEGER (1..65535), + logIndex INTEGER, + logTime TimeTicks, + logDescription DisplayString (SIZE (0..255)) + } + + logEventIndex OBJECT-TYPE + SYNTAX INTEGER (1..65535) + ACCESS read-only + STATUS mandatory + ::= { logEntry 1 } + + logIndex OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + ::= { logEntry 2 } + + logTime OBJECT-TYPE + SYNTAX TimeTicks + ACCESS read-only + STATUS mandatory + ::= { logEntry 3 } + + + logDescription OBJECT-TYPE + SYNTAX DisplayString (SIZE (0..255)) + ACCESS read-only + STATUS mandatory + ::= { logEntry 4 } + +END diff --git a/release/picobsd/isp/crunch1/mibs/SNMPv2-CONF.txt b/release/picobsd/isp/crunch1/mibs/SNMPv2-CONF.txt new file mode 100644 index 0000000..7533685 --- /dev/null +++ b/release/picobsd/isp/crunch1/mibs/SNMPv2-CONF.txt @@ -0,0 +1,7 @@ +SNMPv2-CONF DEFINITIONS ::= BEGIN + +IMPORTS iso FROM SNMPv2-SMI; + +dummy ::= { iso 999 } + +END diff --git a/release/picobsd/isp/crunch1/mibs/SNMPv2-M2M-MIB.txt b/release/picobsd/isp/crunch1/mibs/SNMPv2-M2M-MIB.txt new file mode 100644 index 0000000..3ec4719 --- /dev/null +++ b/release/picobsd/isp/crunch1/mibs/SNMPv2-M2M-MIB.txt @@ -0,0 +1,371 @@ +SNMPv2-M2M-MIB DEFINITIONS ::= BEGIN + + IMPORTS + MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE, + Integer32, Counter32, snmpModules + FROM SNMPv2-SMI + DisplayString, InstancePointer, RowStatus, TimeStamp + FROM SNMPv2-TC + MODULE-COMPLIANCE, OBJECT-GROUP + FROM SNMPv2-CONF + contextIdentity + FROM SNMPv2-PARTY-MIB; + + snmpM2M MODULE-IDENTITY + LAST-UPDATED "9304010000Z" + ORGANIZATION "IETF SNMPv2 Working Group" + CONTACT-INFO + " Steven Waldbusser + + Postal: Carnegie Mellon University + 4910 Forbes Ave + Pittsburgh, PA 15213 + + Tel: +1 412 268 6628 + Fax: +1 412 268 4987 + + E-mail: waldbusser@cmu.edu" + ::= { snmpModules 2 } + + snmpM2MObjects OBJECT IDENTIFIER ::= { snmpM2M 1 } + + + + snmpAlarm OBJECT IDENTIFIER ::= { snmpM2MObjects 1 } + + + + snmpAlarmNextIndex OBJECT-TYPE + SYNTAX INTEGER (0..65535) + MAX-ACCESS read-only + STATUS current + ::= { snmpAlarm 1 } + + snmpAlarmTable OBJECT-TYPE + SYNTAX SEQUENCE OF SnmpAlarmEntry + MAX-ACCESS not-accessible + STATUS current + ::= { snmpAlarm 2 } + + snmpAlarmEntry OBJECT-TYPE + SYNTAX SnmpAlarmEntry + MAX-ACCESS not-accessible + STATUS current + INDEX { contextIdentity, snmpAlarmIndex } + ::= { snmpAlarmTable 1 } + + + SnmpAlarmEntry ::= SEQUENCE { + snmpAlarmIndex INTEGER, + snmpAlarmVariable InstancePointer, + snmpAlarmInterval Integer32, + snmpAlarmSampleType INTEGER, + snmpAlarmValue Integer32, + snmpAlarmStartupAlarm INTEGER, + snmpAlarmRisingThreshold Integer32, + snmpAlarmFallingThreshold Integer32, + snmpAlarmRisingEventIndex INTEGER, + snmpAlarmFallingEventIndex INTEGER, + snmpAlarmUnavailableEventIndex INTEGER, + snmpAlarmStatus RowStatus + } + + snmpAlarmIndex OBJECT-TYPE + SYNTAX INTEGER (1..65535) + MAX-ACCESS not-accessible + STATUS current + ::= { snmpAlarmEntry 1 } + + + snmpAlarmVariable OBJECT-TYPE + SYNTAX InstancePointer + MAX-ACCESS read-create + STATUS current + + + ::= { snmpAlarmEntry 2 } + + snmpAlarmInterval OBJECT-TYPE + SYNTAX Integer32 + UNITS "seconds" + MAX-ACCESS read-create + STATUS current + ::= { snmpAlarmEntry 3 } + + + snmpAlarmSampleType OBJECT-TYPE + SYNTAX INTEGER { + absoluteValue(1), + deltaValue(2) + } + MAX-ACCESS read-create + STATUS current + DEFVAL { deltaValue } + ::= { snmpAlarmEntry 4 } + + + snmpAlarmValue OBJECT-TYPE + SYNTAX Integer32 + MAX-ACCESS read-only + STATUS current + ::= { snmpAlarmEntry 5 } + + + snmpAlarmStartupAlarm OBJECT-TYPE + SYNTAX INTEGER { + risingAlarm(1), + fallingAlarm(2), + risingOrFallingAlarm(3) + } + MAX-ACCESS read-create + STATUS current + DEFVAL { risingOrFallingAlarm } + ::= { snmpAlarmEntry 6 } + + + snmpAlarmRisingThreshold OBJECT-TYPE + SYNTAX Integer32 + MAX-ACCESS read-create + STATUS current + ::= { snmpAlarmEntry 7 } + + + snmpAlarmFallingThreshold OBJECT-TYPE + SYNTAX Integer32 + MAX-ACCESS read-create + STATUS current + ::= { snmpAlarmEntry 8 } + + + snmpAlarmRisingEventIndex OBJECT-TYPE + SYNTAX INTEGER (0..65535) + MAX-ACCESS read-create + STATUS current + ::= { snmpAlarmEntry 9 } + + + snmpAlarmFallingEventIndex OBJECT-TYPE + SYNTAX INTEGER (0..65535) + MAX-ACCESS read-create + STATUS current + ::= { snmpAlarmEntry 10 } + + snmpAlarmUnavailableEventIndex OBJECT-TYPE + SYNTAX INTEGER (0..65535) + MAX-ACCESS read-create + STATUS current + ::= { snmpAlarmEntry 11 } + + + snmpAlarmStatus OBJECT-TYPE + SYNTAX RowStatus + MAX-ACCESS read-create + STATUS current + ::= { snmpAlarmEntry 12 } + + + + snmpAlarmNotifications + OBJECT IDENTIFIER ::= { snmpAlarm 3 } + + snmpRisingAlarm NOTIFICATION-TYPE + OBJECTS { snmpAlarmVariable, snmpAlarmSampleType, + snmpAlarmValue, snmpAlarmRisingThreshold } + STATUS current + ::= { snmpAlarmNotifications 1 } + + snmpFallingAlarm NOTIFICATION-TYPE + OBJECTS { snmpAlarmVariable, snmpAlarmSampleType, + snmpAlarmValue, snmpAlarmFallingThreshold } + STATUS current + ::= { snmpAlarmNotifications 2 } + + snmpObjectUnavailableAlarm NOTIFICATION-TYPE + OBJECTS { snmpAlarmVariable } + STATUS current + ::= { snmpAlarmNotifications 3 } + + + + snmpEvent OBJECT IDENTIFIER ::= { snmpM2MObjects 2 } + + + snmpEventNextIndex OBJECT-TYPE + SYNTAX INTEGER (0..65535) + MAX-ACCESS read-only + STATUS current + ::= { snmpEvent 1 } + + + snmpEventTable OBJECT-TYPE + SYNTAX SEQUENCE OF SnmpEventEntry + MAX-ACCESS not-accessible + STATUS current + ::= { snmpEvent 2 } + + snmpEventEntry OBJECT-TYPE + SYNTAX SnmpEventEntry + MAX-ACCESS not-accessible + STATUS current + INDEX { snmpEventIndex } + ::= { snmpEventTable 1 } + + SnmpEventEntry ::= SEQUENCE { + snmpEventIndex INTEGER, + snmpEventID OBJECT IDENTIFIER, + snmpEventDescription DisplayString, + snmpEventEvents Counter32, + snmpEventLastTimeSent TimeStamp, + snmpEventStatus RowStatus + } + + snmpEventIndex OBJECT-TYPE + SYNTAX INTEGER (1..65535) + MAX-ACCESS not-accessible + STATUS current + ::= { snmpEventEntry 1 } + + + snmpEventID OBJECT-TYPE + SYNTAX OBJECT IDENTIFIER + MAX-ACCESS read-create + STATUS current + ::= { snmpEventEntry 2 } + + snmpEventDescription OBJECT-TYPE + SYNTAX DisplayString (SIZE (0..127)) + MAX-ACCESS read-create + STATUS current + ::= { snmpEventEntry 3 } + + snmpEventEvents OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { snmpEventEntry 4 } + + + snmpEventLastTimeSent OBJECT-TYPE + SYNTAX TimeStamp + MAX-ACCESS read-only + STATUS current + DEFVAL { 0 } + ::= { snmpEventEntry 5 } + + snmpEventStatus OBJECT-TYPE + SYNTAX RowStatus + MAX-ACCESS read-create + STATUS current + ::= { snmpEventEntry 6 } + + + snmpEventNotifyMinInterval OBJECT-TYPE + SYNTAX Integer32 + UNITS "seconds" + MAX-ACCESS read-only + STATUS current + ::= { snmpEvent 3 } + + snmpEventNotifyMaxRetransmissions OBJECT-TYPE + SYNTAX Integer32 + MAX-ACCESS read-only + STATUS current + ::= { snmpEvent 4 } + + + + + snmpEventNotifyTable OBJECT-TYPE + SYNTAX SEQUENCE OF SnmpEventNotifyEntry + MAX-ACCESS not-accessible + STATUS current + ::= { snmpEvent 5 } + + snmpEventNotifyEntry OBJECT-TYPE + SYNTAX SnmpEventNotifyEntry + MAX-ACCESS not-accessible + STATUS current + INDEX { snmpEventIndex, contextIdentity } + ::= { snmpEventNotifyTable 1 } + + SnmpEventNotifyEntry ::= SEQUENCE { + snmpEventNotifyIntervalRequested Integer32, + snmpEventNotifyRetransmissionsRequested Integer32, + snmpEventNotifyLifetime Integer32, + snmpEventNotifyStatus RowStatus + } + + + snmpEventNotifyIntervalRequested OBJECT-TYPE + SYNTAX Integer32 + UNITS "seconds" + MAX-ACCESS read-create + STATUS current + DEFVAL { 30 } + ::= { snmpEventNotifyEntry 1 } + + snmpEventNotifyRetransmissionsRequested OBJECT-TYPE + SYNTAX Integer32 + MAX-ACCESS read-create + STATUS current + DEFVAL { 5 } + ::= { snmpEventNotifyEntry 2 } + + + snmpEventNotifyLifetime OBJECT-TYPE + SYNTAX Integer32 + UNITS "seconds" + MAX-ACCESS read-create + STATUS current + DEFVAL { 86400 } + ::= { snmpEventNotifyEntry 3 } + + snmpEventNotifyStatus OBJECT-TYPE + SYNTAX RowStatus + MAX-ACCESS read-create + STATUS current + ::= { snmpEventNotifyEntry 4 } + + + + snmpM2MConformance + OBJECT IDENTIFIER ::= { snmpM2M 2 } + + snmpM2MCompliances + OBJECT IDENTIFIER ::= { snmpM2MConformance 1 } + snmpM2MGroups OBJECT IDENTIFIER ::= { snmpM2MConformance 2 } + + + snmpM2MCompliance MODULE-COMPLIANCE + STATUS current + MANDATORY-GROUPS { snmpAlarmGroup, snmpEventGroup } + ::= { snmpM2MCompliances 1 } + + + snmpAlarmGroup OBJECT-GROUP + OBJECTS { snmpAlarmNextIndex, + snmpAlarmVariable, snmpAlarmInterval, + snmpAlarmSampleType, snmpAlarmValue, + snmpAlarmStartupAlarm, snmpAlarmRisingThreshold, + snmpAlarmFallingThreshold, + snmpAlarmRisingEventIndex, + snmpAlarmFallingEventIndex, + snmpAlarmUnavailableEventIndex, + snmpAlarmStatus } + STATUS current + ::= { snmpM2MGroups 1 } + + + snmpEventGroup OBJECT-GROUP + OBJECTS { snmpEventNextIndex, + snmpEventID, snmpEventDescription, + snmpEventEvents, snmpEventLastTimeSent, + snmpEventStatus, snmpEventNotifyMinInterval, + snmpEventNotifyMaxRetransmissions, + snmpEventNotifyIntervalRequested, + snmpEventNotifyRetransmissionsRequested, + snmpEventNotifyLifetime, snmpEventNotifyStatus } + STATUS current + ::= { snmpM2MGroups 2 } + +END diff --git a/release/picobsd/isp/crunch1/mibs/SNMPv2-MIB.txt b/release/picobsd/isp/crunch1/mibs/SNMPv2-MIB.txt new file mode 100644 index 0000000..303ff9a --- /dev/null +++ b/release/picobsd/isp/crunch1/mibs/SNMPv2-MIB.txt @@ -0,0 +1,440 @@ +SNMPv2-MIB DEFINITIONS ::= BEGIN + +IMPORTS + NOTIFICATION-GROUP, OBJECT-GROUP, MODULE-COMPLIANCE + FROM SNMPv2-CONF + TimeStamp, TestAndIncr, DisplayString + FROM SNMPv2-TC + mib-2, snmpModules, Counter32, TimeTicks, NOTIFICATION-TYPE, OBJECT-TYPE, + MODULE-IDENTITY + FROM SNMPv2-SMI; + +snmpMIB MODULE-IDENTITY + LAST-UPDATED "9511090000Z" + ORGANIZATION "IETF SNMPv2 Working Group" + CONTACT-INFO + "Marshall T. Rose + + Postal: Dover Beach Consulting, Inc. + 420 Whisman Court + Mountain View, CA 94043-2186 + US + + Tel: +1 415 968 1052 + + E-mail: mrose@dbc.mtview.ca.us" + REVISION "9304010000Z" + ::= { snmpModules 1 } + +snmpMIBObjects ::= { snmpMIB 1 } + +system ::= { mib-2 1 } + +sysDescr OBJECT-TYPE + SYNTAX DisplayString + MAX-ACCESS read-only + STATUS current + ::= { system 1 } + +sysObjectID OBJECT-TYPE + SYNTAX OBJECT IDENTIFIER + MAX-ACCESS read-only + STATUS current + ::= { system 2 } + +sysUpTime OBJECT-TYPE + SYNTAX TimeTicks + MAX-ACCESS read-only + STATUS current + ::= { system 3 } + +sysContact OBJECT-TYPE + SYNTAX DisplayString + MAX-ACCESS read-write + STATUS current + ::= { system 4 } + +sysName OBJECT-TYPE + SYNTAX DisplayString + MAX-ACCESS read-write + STATUS current + ::= { system 5 } + +sysLocation OBJECT-TYPE + SYNTAX DisplayString + MAX-ACCESS read-write + STATUS current + ::= { system 6 } + +sysServices OBJECT-TYPE + SYNTAX INTEGER + MAX-ACCESS read-only + STATUS current + ::= { system 7 } + +sysORLastChange OBJECT-TYPE + SYNTAX TimeStamp + MAX-ACCESS read-only + STATUS current + ::= { system 8 } + +sysORTable OBJECT-TYPE + SYNTAX SEQUENCE OF SysOREntry + MAX-ACCESS not-accessible + STATUS current + ::= { system 9 } + +sysOREntry OBJECT-TYPE + SYNTAX SysOREntry + MAX-ACCESS not-accessible + STATUS current + INDEX { sysORIndex } + ::= { sysORTable 1 } + +SysOREntry ::= + SEQUENCE { + sysORIndex + INTEGER, + + sysORID + OBJECT IDENTIFIER, + + sysORDescr + DisplayString, + + sysORUpTime + TimeStamp + } + +sysORIndex OBJECT-TYPE + SYNTAX INTEGER + MAX-ACCESS not-accessible + STATUS current + ::= { sysOREntry 1 } + +sysORID OBJECT-TYPE + SYNTAX OBJECT IDENTIFIER + MAX-ACCESS read-only + STATUS current + ::= { sysOREntry 2 } + +sysORDescr OBJECT-TYPE + SYNTAX DisplayString + MAX-ACCESS read-only + STATUS current + ::= { sysOREntry 3 } + +sysORUpTime OBJECT-TYPE + SYNTAX TimeStamp + MAX-ACCESS read-only + STATUS current + ::= { sysOREntry 4 } + +snmp ::= { mib-2 11 } + +snmpInPkts OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { snmp 1 } + +snmpInBadVersions OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { snmp 3 } + +snmpInBadCommunityNames OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { snmp 4 } + +snmpInBadCommunityUses OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { snmp 5 } + +snmpInASNParseErrs OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { snmp 6 } + +snmpEnableAuthenTraps OBJECT-TYPE + SYNTAX INTEGER { + enabled(1), + disabled(2) + } + MAX-ACCESS read-write + STATUS current + ::= { snmp 30 } + +snmpSilentDrops OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { snmp 31 } + +snmpProxyDrops OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { snmp 32 } + +snmpTrap ::= { snmpMIBObjects 4 } + +snmpTrapOID OBJECT-TYPE + SYNTAX OBJECT IDENTIFIER + MAX-ACCESS accessible-for-notify + STATUS current + ::= { snmpTrap 1 } + +snmpTrapEnterprise OBJECT-TYPE + SYNTAX OBJECT IDENTIFIER + MAX-ACCESS accessible-for-notify + STATUS current + ::= { snmpTrap 3 } + +snmpTraps ::= { snmpMIBObjects 5 } + +coldStart NOTIFICATION-TYPE + STATUS current + ::= { snmpTraps 1 } + +warmStart NOTIFICATION-TYPE + STATUS current + ::= { snmpTraps 2 } + +authenticationFailure NOTIFICATION-TYPE + STATUS current + ::= { snmpTraps 5 } + +snmpSet ::= { snmpMIBObjects 6 } + +snmpSetSerialNo OBJECT-TYPE + SYNTAX TestAndIncr + MAX-ACCESS read-write + STATUS current + ::= { snmpSet 1 } + +snmpMIBConformance ::= { snmpMIB 2 } + +snmpMIBCompliances ::= { snmpMIBConformance 1 } + +snmpMIBGroups ::= { snmpMIBConformance 2 } + +snmpBasicCompliance MODULE-COMPLIANCE + STATUS current + + MANDATORY-GROUPS { + snmpGroup, + snmpSetGroup, + systemGroup, + snmpBasicNotificationsGroup + } + GROUP snmpCommunityGroup + ::= { snmpMIBCompliances 2 } + +snmpGroup OBJECT-GROUP + OBJECTS { + snmpInPkts, + snmpInBadVersions, + snmpInASNParseErrs, + snmpSilentDrops, + snmpProxyDrops, + snmpEnableAuthenTraps + } + STATUS current + ::= { snmpMIBGroups 8 } + +snmpCommunityGroup OBJECT-GROUP + OBJECTS { snmpInBadCommunityNames, snmpInBadCommunityUses } + STATUS current + ::= { snmpMIBGroups 9 } + +snmpSetGroup OBJECT-GROUP + OBJECTS { snmpSetSerialNo } + STATUS current + ::= { snmpMIBGroups 5 } + +systemGroup OBJECT-GROUP + OBJECTS { + sysDescr, + sysObjectID, + sysUpTime, + sysContact, + sysName, + sysLocation, + sysServices, + sysORLastChange, + sysORID, + sysORUpTime, + sysORDescr + } + STATUS current + ::= { snmpMIBGroups 6 } + + +snmpOutPkts OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS obsolete + ::= { snmp 2 } + +snmpInTooBigs OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS obsolete + ::= { snmp 8 } + +snmpInNoSuchNames OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS obsolete + ::= { snmp 9 } + +snmpInBadValues OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS obsolete + ::= { snmp 10 } + +snmpInReadOnlys OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS obsolete + ::= { snmp 11 } + +snmpInGenErrs OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS obsolete + ::= { snmp 12 } + +snmpInTotalReqVars OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS obsolete + ::= { snmp 13 } + +snmpInTotalSetVars OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS obsolete + ::= { snmp 14 } + +snmpInGetRequests OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS obsolete + ::= { snmp 15 } + +snmpInGetNexts OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS obsolete + ::= { snmp 16 } + +snmpInSetRequests OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS obsolete + ::= { snmp 17 } + +snmpInGetResponses OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS obsolete + ::= { snmp 18 } + +snmpInTraps OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS obsolete + ::= { snmp 19 } + +snmpOutTooBigs OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS obsolete + ::= { snmp 20 } + +snmpOutNoSuchNames OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS obsolete + ::= { snmp 21 } + +snmpOutBadValues OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS obsolete + ::= { snmp 22 } + +snmpOutGenErrs OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS obsolete + ::= { snmp 24 } + +snmpOutGetRequests OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS obsolete + ::= { snmp 25 } + +snmpOutGetNexts OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS obsolete + ::= { snmp 26 } + +snmpOutSetRequests OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS obsolete + ::= { snmp 27 } + +snmpOutGetResponses OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS obsolete + ::= { snmp 28 } + +snmpOutTraps OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS obsolete + ::= { snmp 29 } + +snmpObsoleteGroup OBJECT-GROUP + OBJECTS { + snmpOutPkts, + snmpInTooBigs, + snmpInNoSuchNames, + snmpInBadValues, + snmpInReadOnlys, + snmpInGenErrs, + snmpInTotalReqVars, + snmpInTotalSetVars, + snmpInGetRequests, + snmpInGetNexts, + snmpInSetRequests, + snmpInGetResponses, + snmpInTraps, + snmpOutTooBigs, + snmpOutNoSuchNames, + snmpOutBadValues, + snmpOutGenErrs, + snmpOutGetRequests, + snmpOutGetNexts, + snmpOutSetRequests, + snmpOutGetResponses, + snmpOutTraps + } + STATUS obsolete + ::= { snmpMIBGroups 10 } + +END diff --git a/release/picobsd/isp/crunch1/mibs/SNMPv2-PARTY-MIB.txt b/release/picobsd/isp/crunch1/mibs/SNMPv2-PARTY-MIB.txt new file mode 100644 index 0000000..89ef486 --- /dev/null +++ b/release/picobsd/isp/crunch1/mibs/SNMPv2-PARTY-MIB.txt @@ -0,0 +1,586 @@ +SNMPv2-PARTY-MIB DEFINITIONS ::= BEGIN + + IMPORTS + MODULE-IDENTITY, OBJECT-TYPE, snmpModules, + UInteger32 + FROM SNMPv2-SMI + TEXTUAL-CONVENTION, RowStatus, TruthValue + FROM SNMPv2-TC + MODULE-COMPLIANCE, OBJECT-GROUP + FROM SNMPv2-CONF; + + partyMIB MODULE-IDENTITY + LAST-UPDATED "9304010000Z" + ORGANIZATION "IETF SNMP Security Working Group" + CONTACT-INFO + " Keith McCloghrie + + Postal: Hughes LAN Systems + 1225 Charleston Road + Mountain View, CA 94043 + US + + Tel: +1 415 966 7934 + Fax: +1 415 960 3738 + + E-mail: kzm@hls.com" + ::= { snmpModules 3 } + + + + Party ::= TEXTUAL-CONVENTION + STATUS current + SYNTAX OBJECT IDENTIFIER + + TAddress ::= TEXTUAL-CONVENTION + STATUS current + SYNTAX OCTET STRING + + + Clock ::= TEXTUAL-CONVENTION + STATUS current + SYNTAX UInteger32 + + Context ::= TEXTUAL-CONVENTION + STATUS current + SYNTAX OBJECT IDENTIFIER + + + StorageType ::= TEXTUAL-CONVENTION + STATUS current + SYNTAX INTEGER { + } + + + + partyAdmin OBJECT IDENTIFIER ::= { partyMIB 1 } + + + partyProtocols OBJECT IDENTIFIER ::= { partyAdmin 1 } + + noAuth OBJECT IDENTIFIER ::= { partyProtocols 1 } + + noPriv OBJECT IDENTIFIER ::= { partyProtocols 2 } + + desPrivProtocol + OBJECT IDENTIFIER ::= { partyProtocols 3 } + + v2md5AuthProtocol + OBJECT IDENTIFIER ::= { partyProtocols 4 } + + + temporalDomains + OBJECT IDENTIFIER ::= { partyAdmin 2 } + + currentTime OBJECT IDENTIFIER ::= { temporalDomains 1 } + + restartTime OBJECT IDENTIFIER ::= { temporalDomains 2 } + + cacheTime OBJECT IDENTIFIER ::= { temporalDomains 3 } + + + + + initialPartyId OBJECT IDENTIFIER ::= { partyAdmin 3 } + + initialContextId + OBJECT IDENTIFIER ::= { partyAdmin 4 } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + partyMIBObjects + OBJECT IDENTIFIER ::= { partyMIB 2 } + + + snmpParties OBJECT IDENTIFIER ::= { partyMIBObjects 1 } + + partyTable OBJECT-TYPE + SYNTAX SEQUENCE OF PartyEntry + MAX-ACCESS not-accessible + STATUS current + ::= { snmpParties 1 } + + partyEntry OBJECT-TYPE + SYNTAX PartyEntry + MAX-ACCESS not-accessible + STATUS current + INDEX { IMPLIED partyIdentity } + ::= { partyTable 1 } + + + PartyEntry ::= + SEQUENCE { + partyIdentity Party, + partyIndex INTEGER, + partyTDomain OBJECT IDENTIFIER, + partyTAddress TAddress, + partyMaxMessageSize INTEGER, + partyLocal TruthValue, + partyAuthProtocol OBJECT IDENTIFIER, + partyAuthClock Clock, + partyAuthPrivate OCTET STRING, + partyAuthPublic OCTET STRING, + partyAuthLifetime INTEGER, + partyPrivProtocol OBJECT IDENTIFIER, + partyPrivPrivate OCTET STRING, + partyPrivPublic OCTET STRING, + partyCloneFrom Party, + partyStorageType StorageType, + partyStatus RowStatus + } + + partyIdentity OBJECT-TYPE + SYNTAX Party + MAX-ACCESS not-accessible + STATUS current + ::= { partyEntry 1 } + + partyIndex OBJECT-TYPE + SYNTAX INTEGER (1..65535) + MAX-ACCESS read-only + STATUS current + ::= { partyEntry 2 } + + + partyTDomain OBJECT-TYPE + SYNTAX OBJECT IDENTIFIER + MAX-ACCESS read-create + STATUS current + DEFVAL { snmpUDPDomain } + ::= { partyEntry 3 } + + partyTAddress OBJECT-TYPE + SYNTAX TAddress + MAX-ACCESS read-create + STATUS current + DEFVAL { '000000000000'H } + ::= { partyEntry 4 } + + partyMaxMessageSize OBJECT-TYPE + SYNTAX INTEGER (484..65507) + MAX-ACCESS read-create + STATUS current + DEFVAL { 484 } + ::= { partyEntry 5 } + + + partyLocal OBJECT-TYPE + SYNTAX TruthValue + MAX-ACCESS read-create + STATUS current + DEFVAL { false } + ::= { partyEntry 6 } + + partyAuthProtocol OBJECT-TYPE + SYNTAX OBJECT IDENTIFIER + MAX-ACCESS read-create + STATUS current + DEFVAL { v2md5AuthProtocol } + ::= { partyEntry 7 } + + + partyAuthClock OBJECT-TYPE + SYNTAX Clock + MAX-ACCESS read-create + STATUS current + DEFVAL { 0 } + ::= { partyEntry 8 } + + + partyAuthPrivate OBJECT-TYPE + SYNTAX OCTET STRING + MAX-ACCESS read-create + STATUS current + ::= { partyEntry 9 } + + + partyAuthPublic OBJECT-TYPE + SYNTAX OCTET STRING + MAX-ACCESS read-create + STATUS current + ::= { partyEntry 10 } + + + partyAuthLifetime OBJECT-TYPE + SYNTAX INTEGER (0..2147483647) + UNITS "seconds" + MAX-ACCESS read-create + STATUS current + DEFVAL { 300 } + ::= { partyEntry 11 } + + partyPrivProtocol OBJECT-TYPE + SYNTAX OBJECT IDENTIFIER + MAX-ACCESS read-create + STATUS current + DEFVAL { noPriv } + ::= { partyEntry 12 } + + + partyPrivPrivate OBJECT-TYPE + SYNTAX OCTET STRING + MAX-ACCESS read-create + STATUS current + ::= { partyEntry 13 } + + + partyPrivPublic OBJECT-TYPE + SYNTAX OCTET STRING + MAX-ACCESS read-create + STATUS current + ::= { partyEntry 14 } + + + partyCloneFrom OBJECT-TYPE + SYNTAX Party + MAX-ACCESS read-create + STATUS current + ::= { partyEntry 15 } + + + partyStorageType OBJECT-TYPE + SYNTAX StorageType + MAX-ACCESS read-create + STATUS current + DEFVAL { nonVolatile } + ::= { partyEntry 16 } + + partyStatus OBJECT-TYPE + SYNTAX RowStatus + MAX-ACCESS read-create + STATUS current + ::= { partyEntry 17 } + + + + snmpContexts OBJECT IDENTIFIER ::= { partyMIBObjects 2 } + + contextTable OBJECT-TYPE + SYNTAX SEQUENCE OF ContextEntry + MAX-ACCESS not-accessible + STATUS current + ::= { snmpContexts 1 } + + contextEntry OBJECT-TYPE + SYNTAX ContextEntry + MAX-ACCESS not-accessible + STATUS current + INDEX { IMPLIED contextIdentity } + ::= { contextTable 1 } + + ContextEntry ::= + SEQUENCE { + contextIdentity Context, + contextIndex INTEGER, + contextLocal TruthValue, + contextViewIndex INTEGER, + contextLocalEntity OCTET STRING, + contextLocalTime OBJECT IDENTIFIER, + contextProxyDstParty Party, + contextProxySrcParty Party, + contextProxyContext OBJECT IDENTIFIER, + contextStorageType StorageType, + contextStatus RowStatus + } + + + contextIdentity OBJECT-TYPE + SYNTAX Context + MAX-ACCESS not-accessible + STATUS current + ::= { contextEntry 1 } + + contextIndex OBJECT-TYPE + SYNTAX INTEGER (1..65535) + MAX-ACCESS read-only + STATUS current + ::= { contextEntry 2 } + + contextLocal OBJECT-TYPE + SYNTAX TruthValue + MAX-ACCESS read-create + STATUS current + DEFVAL { true } + ::= { contextEntry 3 } + + + contextViewIndex OBJECT-TYPE + SYNTAX INTEGER (0..65535) + MAX-ACCESS read-create + STATUS current + ::= { contextEntry 4 } + + + contextLocalEntity OBJECT-TYPE + SYNTAX OCTET STRING + MAX-ACCESS read-create + STATUS current + ::= { contextEntry 5 } + + contextLocalTime OBJECT-TYPE + SYNTAX OBJECT IDENTIFIER + MAX-ACCESS read-create + STATUS current + DEFVAL { currentTime } + ::= { contextEntry 6 } + + + contextProxyDstParty OBJECT-TYPE + SYNTAX Party + MAX-ACCESS read-create + STATUS current + ::= { contextEntry 7 } + + contextProxySrcParty OBJECT-TYPE + SYNTAX Party + MAX-ACCESS read-create + STATUS current + ::= { contextEntry 8 } + + + contextProxyContext OBJECT-TYPE + SYNTAX OBJECT IDENTIFIER + MAX-ACCESS read-create + STATUS current + ::= { contextEntry 9 } + + contextStorageType OBJECT-TYPE + SYNTAX StorageType + MAX-ACCESS read-create + STATUS current + DEFVAL { nonVolatile } + ::= { contextEntry 10 } + + + contextStatus OBJECT-TYPE + SYNTAX RowStatus + MAX-ACCESS read-create + STATUS current + ::= { contextEntry 11 } + + + + snmpAccess OBJECT IDENTIFIER ::= { partyMIBObjects 3 } + + aclTable OBJECT-TYPE + SYNTAX SEQUENCE OF AclEntry + MAX-ACCESS not-accessible + STATUS current + ::= { snmpAccess 1 } + + aclEntry OBJECT-TYPE + SYNTAX AclEntry + MAX-ACCESS not-accessible + STATUS current + INDEX { aclTarget, aclSubject, aclResources } + ::= { aclTable 1 } + + AclEntry ::= + SEQUENCE { + aclTarget INTEGER, + aclSubject INTEGER, + aclResources INTEGER, + aclPrivileges INTEGER, + aclStorageType StorageType, + aclStatus RowStatus + } + + + aclTarget OBJECT-TYPE + SYNTAX INTEGER (1..65535) + MAX-ACCESS not-accessible + STATUS current + ::= { aclEntry 1 } + + aclSubject OBJECT-TYPE + SYNTAX INTEGER (1..65535) + MAX-ACCESS not-accessible + STATUS current + ::= { aclEntry 2 } + + aclResources OBJECT-TYPE + SYNTAX INTEGER (1..65535) + MAX-ACCESS not-accessible + STATUS current + ::= { aclEntry 3 } + + + aclPrivileges OBJECT-TYPE + SYNTAX INTEGER (0..255) + MAX-ACCESS read-create + STATUS current + ::= { aclEntry 4 } + + aclStorageType OBJECT-TYPE + SYNTAX StorageType + MAX-ACCESS read-create + STATUS current + DEFVAL { nonVolatile } + ::= { aclEntry 5 } + + + aclStatus OBJECT-TYPE + SYNTAX RowStatus + MAX-ACCESS read-create + STATUS current + ::= { aclEntry 6 } + + + + snmpViews OBJECT IDENTIFIER ::= { partyMIBObjects 4 } + + viewTable OBJECT-TYPE + SYNTAX SEQUENCE OF ViewEntry + MAX-ACCESS not-accessible + STATUS current + ::= { snmpViews 1 } + + viewEntry OBJECT-TYPE + SYNTAX ViewEntry + MAX-ACCESS not-accessible + STATUS current + INDEX { viewIndex, IMPLIED viewSubtree } + ::= { viewTable 1 } + + ViewEntry ::= + SEQUENCE { + viewIndex INTEGER, + viewSubtree OBJECT IDENTIFIER, + viewMask OCTET STRING, + viewType INTEGER, + viewStorageType StorageType, + viewStatus RowStatus + } + + + viewIndex OBJECT-TYPE + SYNTAX INTEGER (1..65535) + MAX-ACCESS not-accessible + STATUS current + ::= { viewEntry 1 } + + viewSubtree OBJECT-TYPE + SYNTAX OBJECT IDENTIFIER + MAX-ACCESS not-accessible + STATUS current + ::= { viewEntry 2 } + + viewMask OBJECT-TYPE + SYNTAX OCTET STRING (SIZE (0..16)) + MAX-ACCESS read-create + STATUS current + DEFVAL { ''H } + ::= { viewEntry 3 } + + + viewType OBJECT-TYPE + SYNTAX INTEGER { + included(1), + excluded(2) + } + MAX-ACCESS read-create + STATUS current + DEFVAL { included } + ::= { viewEntry 4 } + + viewStorageType OBJECT-TYPE + SYNTAX StorageType + MAX-ACCESS read-create + STATUS current + DEFVAL { nonVolatile } + ::= { viewEntry 5 } + + viewStatus OBJECT-TYPE + SYNTAX RowStatus + MAX-ACCESS read-create + STATUS current + ::= { viewEntry 6 } + + + + partyMIBConformance + OBJECT IDENTIFIER ::= { partyMIB 3 } + + partyMIBCompliances + OBJECT IDENTIFIER ::= { partyMIBConformance 1 } + partyMIBGroups + OBJECT IDENTIFIER ::= { partyMIBConformance 2 } + + + unSecurableCompliance MODULE-COMPLIANCE + STATUS current + MANDATORY-GROUPS { partyMIBGroup } + ::= { partyMIBCompliances 1 } + + partyNoPrivacyCompliance MODULE-COMPLIANCE + STATUS current + MANDATORY-GROUPS { partyMIBGroup } + ::= { partyMIBCompliances 2 } + + + partyPrivacyCompliance MODULE-COMPLIANCE + STATUS current + MANDATORY-GROUPS { partyMIBGroup } + ::= { partyMIBCompliances 3 } + + + fullPrivacyCompliance MODULE-COMPLIANCE + STATUS current + MANDATORY-GROUPS { partyMIBGroup } + ::= { partyMIBCompliances 4 } + + + partyMIBGroup OBJECT-GROUP + OBJECTS { partyIndex, partyTDomain, partyTAddress, + partyMaxMessageSize, partyLocal, + partyAuthProtocol, partyAuthClock, + partyAuthPrivate, partyAuthPublic, + partyAuthLifetime, partyPrivProtocol, + partyPrivPrivate, partyPrivPublic, + partyStorageType, partyStatus, + partyCloneFrom, + contextIndex, contextLocal, + contextViewIndex, contextLocalEntity, + contextLocalTime, contextStorageType, + contextStatus, aclTarget, aclSubject, + aclPrivileges, aclStorageType, aclStatus, + viewMask, viewType, viewStorageType, viewStatus } + STATUS current + ::= { partyMIBGroups 1 } + +END diff --git a/release/picobsd/isp/crunch1/mibs/SNMPv2-SMI.txt b/release/picobsd/isp/crunch1/mibs/SNMPv2-SMI.txt new file mode 100644 index 0000000..58ca3c3 --- /dev/null +++ b/release/picobsd/isp/crunch1/mibs/SNMPv2-SMI.txt @@ -0,0 +1,54 @@ +SNMPv2-SMI DEFINITIONS ::= BEGIN + +org ::= { iso 3 } + +dod ::= { org 6 } + +internet ::= { dod 1 } + +directory ::= { internet 1 } + +mgmt ::= { internet 2 } + +mib-2 ::= { mgmt 1 } + +transmission ::= { mib-2 10 } + +experimental ::= { internet 3 } + +private ::= { internet 4 } + +enterprises ::= { private 1 } + +security ::= { internet 5 } + +snmpV2 ::= { internet 6 } + +snmpDomains ::= { snmpV2 1 } + +snmpProxys ::= { snmpV2 2 } + +snmpModules ::= { snmpV2 3 } + +ObjectName ::= + OBJECT IDENTIFIER + +NotificationName ::= + OBJECT IDENTIFIER + + + + + + + + + + + + +zeroDotZero OBJECT-IDENTITY + STATUS current + ::= { 0 0 } + +END diff --git a/release/picobsd/isp/crunch1/mibs/SNMPv2-TC.txt b/release/picobsd/isp/crunch1/mibs/SNMPv2-TC.txt new file mode 100644 index 0000000..b95d086 --- /dev/null +++ b/release/picobsd/isp/crunch1/mibs/SNMPv2-TC.txt @@ -0,0 +1,90 @@ +SNMPv2-TC DEFINITIONS ::= BEGIN + +IMPORTS + FROM SNMPv2-SMI; + +DisplayString ::= TEXTUAL-CONVENTION + DISPLAY-HINT "255a" + STATUS current + SYNTAX OCTET STRING + +PhysAddress ::= TEXTUAL-CONVENTION + DISPLAY-HINT "1x:" + STATUS current + SYNTAX OCTET STRING + +MacAddress ::= TEXTUAL-CONVENTION + DISPLAY-HINT "1x:" + STATUS current + SYNTAX OCTET STRING + +TruthValue ::= TEXTUAL-CONVENTION + STATUS current + SYNTAX INTEGER { + true(1), + false(2) + } + +TestAndIncr ::= TEXTUAL-CONVENTION + STATUS current + SYNTAX INTEGER + +AutonomousType ::= TEXTUAL-CONVENTION + STATUS current + SYNTAX OBJECT IDENTIFIER + +InstancePointer ::= TEXTUAL-CONVENTION + STATUS obsolete + SYNTAX OBJECT IDENTIFIER + +VariablePointer ::= TEXTUAL-CONVENTION + STATUS current + SYNTAX OBJECT IDENTIFIER + +RowPointer ::= TEXTUAL-CONVENTION + STATUS current + SYNTAX OBJECT IDENTIFIER + +RowStatus ::= TEXTUAL-CONVENTION + STATUS current + SYNTAX INTEGER { + active(1), + notInService(2), + notReady(3), + createAndGo(4), + createAndWait(5), + destroy(6) + } + +TimeStamp ::= TEXTUAL-CONVENTION + STATUS current + SYNTAX TimeTicks + +TimeInterval ::= TEXTUAL-CONVENTION + STATUS current + SYNTAX INTEGER + +DateAndTime ::= TEXTUAL-CONVENTION + DISPLAY-HINT "2d-1d-1d,1d:1d:1d.1d,1a1d:1d" + STATUS current + SYNTAX OCTET STRING + +StorageType ::= TEXTUAL-CONVENTION + STATUS current + SYNTAX INTEGER { + other(1), + volatile(2), + nonVolatile(3), + permanent(4), + readOnly(5) + } + +TDomain ::= TEXTUAL-CONVENTION + STATUS current + SYNTAX OBJECT IDENTIFIER + +TAddress ::= TEXTUAL-CONVENTION + STATUS current + SYNTAX OCTET STRING + +END diff --git a/release/picobsd/isp/crunch1/mibs/SNMPv2-TM.txt b/release/picobsd/isp/crunch1/mibs/SNMPv2-TM.txt new file mode 100644 index 0000000..afd7d9f --- /dev/null +++ b/release/picobsd/isp/crunch1/mibs/SNMPv2-TM.txt @@ -0,0 +1,54 @@ +SNMPv2-TM DEFINITIONS ::= BEGIN + +IMPORTS + TEXTUAL-CONVENTION + FROM SNMPv2-TC + snmpProxys, snmpDomains, OBJECT-IDENTITY + FROM SNMPv2-SMI; + +snmpUDPDomain OBJECT-IDENTITY + STATUS current + ::= { snmpDomains 1 } + +SnmpUDPAddress ::= TEXTUAL-CONVENTION + DISPLAY-HINT "1d.1d.1d.1d/2d" + STATUS current + SYNTAX OCTET STRING + +snmpCLNSDomain OBJECT-IDENTITY + STATUS current + ::= { snmpDomains 2 } + +snmpCONSDomain OBJECT-IDENTITY + STATUS current + ::= { snmpDomains 3 } + +SnmpOSIAddress ::= TEXTUAL-CONVENTION + DISPLAY-HINT "*1x:/1x:" + STATUS current + SYNTAX OCTET STRING + +snmpDDPDomain OBJECT-IDENTITY + STATUS current + ::= { snmpDomains 4 } + +SnmpNBPAddress ::= TEXTUAL-CONVENTION + STATUS current + SYNTAX OCTET STRING + +snmpIPXDomain OBJECT-IDENTITY + STATUS current + ::= { snmpDomains 5 } + +SnmpIPXAddress ::= TEXTUAL-CONVENTION + DISPLAY-HINT "4x.1x:1x:1x:1x:1x:1x.2d" + STATUS current + SYNTAX OCTET STRING + +rfc1157Proxy ::= { snmpProxys 1 } + +rfc1157Domain OBJECT-IDENTITY + STATUS current + ::= { rfc1157Proxy 1 } + +END diff --git a/release/picobsd/isp/crunch1/mibs/TCP-MIB.txt b/release/picobsd/isp/crunch1/mibs/TCP-MIB.txt new file mode 100644 index 0000000..b6b96c8 --- /dev/null +++ b/release/picobsd/isp/crunch1/mibs/TCP-MIB.txt @@ -0,0 +1,234 @@ +TCP-MIB DEFINITIONS ::= BEGIN + +IMPORTS + OBJECT-GROUP, MODULE-COMPLIANCE + FROM SNMPv2-CONF + mib-2, IpAddress, Counter32, Gauge32, Integer32, OBJECT-TYPE, MODULE-IDENTITY + FROM SNMPv2-SMI; + +tcpMIB MODULE-IDENTITY + LAST-UPDATED "9411010000Z" + ORGANIZATION "IETF SNMPv2 Working Group" + CONTACT-INFO + "Keith McCloghrie + + Postal: Cisco Systems, Inc. + 170 West Tasman Drive + San Jose, CA 95134-1706 + US + + Phone: +1 408 526 5260 + Email: kzm@cisco.com" + REVISION "9103310000Z" + ::= { mib-2 49 } + +tcp ::= { mib-2 6 } + +tcpRtoAlgorithm OBJECT-TYPE + SYNTAX INTEGER { + other(1), + constant(2), + rsre(3), + vanj(4) + } + MAX-ACCESS read-only + STATUS current + ::= { tcp 1 } + +tcpRtoMin OBJECT-TYPE + SYNTAX Integer32 + UNITS "milliseconds" + MAX-ACCESS read-only + STATUS current + ::= { tcp 2 } + +tcpRtoMax OBJECT-TYPE + SYNTAX Integer32 + UNITS "milliseconds" + MAX-ACCESS read-only + STATUS current + ::= { tcp 3 } + +tcpMaxConn OBJECT-TYPE + SYNTAX Integer32 + MAX-ACCESS read-only + STATUS current + ::= { tcp 4 } + +tcpActiveOpens OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { tcp 5 } + +tcpPassiveOpens OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { tcp 6 } + +tcpAttemptFails OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { tcp 7 } + +tcpEstabResets OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { tcp 8 } + +tcpCurrEstab OBJECT-TYPE + SYNTAX Gauge32 + MAX-ACCESS read-only + STATUS current + ::= { tcp 9 } + +tcpInSegs OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { tcp 10 } + +tcpOutSegs OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { tcp 11 } + +tcpRetransSegs OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { tcp 12 } + +tcpConnTable OBJECT-TYPE + SYNTAX SEQUENCE OF TcpConnEntry + MAX-ACCESS not-accessible + STATUS current + ::= { tcp 13 } + +tcpConnEntry OBJECT-TYPE + SYNTAX TcpConnEntry + MAX-ACCESS not-accessible + STATUS current + INDEX { + tcpConnLocalAddress, + tcpConnLocalPort, + tcpConnRemAddress, + tcpConnRemPort + } + ::= { tcpConnTable 1 } + +TcpConnEntry ::= + SEQUENCE { + tcpConnState + INTEGER, + + tcpConnLocalAddress + IpAddress, + + tcpConnLocalPort + INTEGER, + + tcpConnRemAddress + IpAddress, + + tcpConnRemPort + INTEGER + } + +tcpConnState OBJECT-TYPE + SYNTAX INTEGER { + closed(1), + listen(2), + synSent(3), + synReceived(4), + established(5), + finWait1(6), + finWait2(7), + closeWait(8), + lastAck(9), + closing(10), + timeWait(11), + deleteTCB(12) + } + MAX-ACCESS read-write + STATUS current + ::= { tcpConnEntry 1 } + +tcpConnLocalAddress OBJECT-TYPE + SYNTAX IpAddress + MAX-ACCESS read-only + STATUS current + ::= { tcpConnEntry 2 } + +tcpConnLocalPort OBJECT-TYPE + SYNTAX INTEGER + MAX-ACCESS read-only + STATUS current + ::= { tcpConnEntry 3 } + +tcpConnRemAddress OBJECT-TYPE + SYNTAX IpAddress + MAX-ACCESS read-only + STATUS current + ::= { tcpConnEntry 4 } + +tcpConnRemPort OBJECT-TYPE + SYNTAX INTEGER + MAX-ACCESS read-only + STATUS current + ::= { tcpConnEntry 5 } + +tcpInErrs OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { tcp 14 } + +tcpOutRsts OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { tcp 15 } + +tcpMIBConformance ::= { tcpMIB 2 } + +tcpMIBCompliances ::= { tcpMIBConformance 1 } + +tcpMIBGroups ::= { tcpMIBConformance 2 } + +tcpMIBCompliance MODULE-COMPLIANCE + STATUS current + + MANDATORY-GROUPS { tcpGroup } + ::= { tcpMIBCompliances 1 } + +tcpGroup OBJECT-GROUP + OBJECTS { + tcpRtoAlgorithm, + tcpRtoMin, + tcpRtoMax, + tcpMaxConn, + tcpActiveOpens, + tcpPassiveOpens, + tcpAttemptFails, + tcpEstabResets, + tcpCurrEstab, + tcpInSegs, + tcpOutSegs, + tcpRetransSegs, + tcpConnState, + tcpConnLocalAddress, + tcpConnLocalPort, + tcpConnRemAddress, + tcpConnRemPort, + tcpInErrs, + tcpOutRsts + } + STATUS current + ::= { tcpMIBGroups 1 } + +END diff --git a/release/picobsd/isp/crunch1/mibs/UCD-SNMP-MIB.txt b/release/picobsd/isp/crunch1/mibs/UCD-SNMP-MIB.txt new file mode 100644 index 0000000..29277a6 --- /dev/null +++ b/release/picobsd/isp/crunch1/mibs/UCD-SNMP-MIB.txt @@ -0,0 +1,519 @@ +UCD-SNMP-MIB DEFINITIONS ::= BEGIN + + +IMPORTS + enterprises, OBJECT-TYPE + FROM SNMPv2-SMI + DisplayString + FROM SNMPv2-TC; + +ucdavis OBJECT IDENTIFIER ::= { enterprises 2021 } + + +ucdSnmpAgent OBJECT IDENTIFIER ::= { ucdavis 250 } +hpux9 OBJECT IDENTIFIER ::= { ucdSnmpAgent 1 } +hpux10 OBJECT IDENTIFIER ::= { ucdSnmpAgent 6 } +sunos4 OBJECT IDENTIFIER ::= { ucdSnmpAgent 2 } +solaris OBJECT IDENTIFIER ::= { ucdSnmpAgent 3 } +osf OBJECT IDENTIFIER ::= { ucdSnmpAgent 4 } +ultrix OBJECT IDENTIFIER ::= { ucdSnmpAgent 5 } +netbsd1 OBJECT IDENTIFIER ::= { ucdSnmpAgent 7 } +freebsd2 OBJECT IDENTIFIER ::= { ucdSnmpAgent 8 } +irix OBJECT IDENTIFIER ::= { ucdSnmpAgent 9 } +unknown OBJECT IDENTIFIER ::= { ucdSnmpAgent 255 } + + +processes OBJECT-TYPE + SYNTAX Processes + ACCESS not-accessible + STATUS mandatory + INDEX { processIndex } + ::= { ucdavis 1 } + + +Processes ::= SEQUENCE { + processIndex INTEGER, + processNames DisplayString, + processMin INTEGER, + processMax INTEGER, + processCount INTEGER, + processErrorFlag INTEGER, + processErrMessage DisplayString, + processErrFix INTEGER +} + +processIndex OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + ::= { processes 1 } + +processNames OBJECT-TYPE + SYNTAX DisplayString (SIZE (0..255)) + ACCESS read-only + STATUS mandatory + ::= { processes 2 } + +processMin OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + ::= { processes 3 } + +processMax OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + ::= { processes 4 } + +processCount OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + ::= { processes 5 } + +processErrorFlag OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + ::= { processes 100 } + +processErrMessage OBJECT-TYPE + SYNTAX DisplayString (SIZE (0..255)) + ACCESS read-only + STATUS mandatory + ::= { processes 101 } + +processErrFix OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-write + STATUS mandatory + ::= { processes 102 } + +extensible OBJECT-TYPE + SYNTAX Extensible + ACCESS not-accessible + STATUS mandatory + INDEX { extensibleIndex } + ::= { ucdavis 3 } + +Extensible ::= SEQUENCE { + extensibleIndex INTEGER, + extensibleNames DisplayString, + extensibleCommand DisplayString, + extensibleResult INTEGER, + extensibleOutput DisplayString, + extensibleErrFix INTEGER +} + +extensibleIndex OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + ::= { extensible 1 } + +extensibleNames OBJECT-TYPE + SYNTAX DisplayString (SIZE (0..255)) + ACCESS read-only + STATUS mandatory + ::= { extensible 2 } + +extensibleCommand OBJECT-TYPE + SYNTAX DisplayString (SIZE (0..255)) + ACCESS read-only + STATUS mandatory + ::= { extensible 3 } + +extensibleResult OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + ::= { extensible 100 } + +extensibleOutput OBJECT-TYPE + SYNTAX DisplayString (SIZE (0..255)) + ACCESS read-only + STATUS mandatory + ::= { extensible 101 } + +extensibleErrFix OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-write + STATUS mandatory + ::= { extensible 102 } + +memory OBJECT-TYPE + SYNTAX Memory + ACCESS not-accessible + STATUS mandatory + ::= { ucdavis 4 } + +Memory ::= SEQUENCE { + memIndex INTEGER, + memErrorName DisplayString, + memTotalSwap INTEGER, + memAvailSwap INTEGER, + memTotalReal INTEGER, + memAvailReal INTEGER, + memTotalSwapTXT INTEGER, + memAvailSwapTXT INTEGER, + memTotalRealTXT INTEGER, + memAvailRealTXT INTEGER, + memTotalFree INTEGER, + memMinimumSwap INTEGER, + memSwapError DisplayString +} +memIndex OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + ::= { memory 1 } + +memErrorName OBJECT-TYPE + SYNTAX DisplayString + ACCESS read-only + STATUS mandatory + ::= { memory 2 } + +memTotalSwap OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + ::= { memory 3 } + +memAvailSwap OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + ::= { memory 4 } + +memTotalReal OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + ::= { memory 5 } + +memAvailReal OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + ::= { memory 6 } + +memTotalSwapTXT OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + ::= { memory 7 } + +memAvailSwapTXT OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + ::= { memory 8 } + +memTotalRealTXT OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + ::= { memory 9 } + +memAvailRealTXT OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + ::= { memory 10 } + +memTotalFree OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + ::= { memory 11 } + +memMinimumSwap OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + ::= { memory 12 } + +memSwapError OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + ::= { memory 100 } + +memSwapErrorMsg OBJECT-TYPE + SYNTAX DisplayString + ACCESS read-only + STATUS mandatory + ::= { memory 101 } + +lockd OBJECT-TYPE + SYNTAX Lockd + ACCESS not-accessible + STATUS mandatory + INDEX { lockdIndex } + ::= { ucdavis 5 } + +Lockd ::= SEQUENCE { + lockdIndex INTEGER, + lockdError INTEGER, + lockdErrorMsg DisplayString +} + +lockdIndex OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + ::= { lockd 1 } + +lockdError OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + ::= { lockd 100 } + +lockdErrorMsg OBJECT-TYPE + SYNTAX DisplayString (SIZE (0..255)) + ACCESS read-only + STATUS mandatory + ::= { lockd 101 } + +disk OBJECT-TYPE + SYNTAX Disk + ACCESS not-accessible + STATUS mandatory + INDEX { diskIndex } + ::= { ucdavis 6 } + +Disk ::= SEQUENCE { + diskIndex INTEGER, + diskPath DisplayString, + diskDevice DisplayString, + diskMinimum INTEGER, + diskTotal INTEGER, + diskAvail INTEGER, + diskUsed INTEGER, + diskPercent INTEGER, + diskErrorFlag INTEGER, + diskErrorMsg DisplayString +} + +diskIndex OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + ::= { disk 1 } + +diskPath OBJECT-TYPE + SYNTAX DisplayString + ACCESS read-only + STATUS mandatory + ::= { disk 2 } + +diskDevice OBJECT-TYPE + SYNTAX DisplayString + ACCESS read-only + STATUS mandatory + ::= { disk 3 } + +diskMinimum OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + ::= { disk 4 } + +diskTotal OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + ::= { disk 5 } + +diskAvail OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + ::= { disk 6 } + +diskUsed OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + ::= { disk 7 } + +diskPercent OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + ::= { disk 8 } + +diskErrorFlag OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + ::= { disk 100 } + +diskErrorMsg OBJECT-TYPE + SYNTAX DisplayString + ACCESS read-only + STATUS mandatory + ::= { disk 101 } + +loadaves OBJECT-TYPE + SYNTAX Loadaves + ACCESS not-accessible + STATUS mandatory + INDEX { loadaveIndex } + ::= { ucdavis 7 } + + +Loadaves ::= SEQUENCE { + loadaveIndex INTEGER, + loadaveNames DisplayString, + loadaveLoad DisplayString, + loadaveConfig DisplayString, + loadaveErrorFlag INTEGER, + loadaveErrMessage DisplayString +} + +loadaveIndex OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + ::= { loadaves 1 } + +loadaveNames OBJECT-TYPE + SYNTAX DisplayString (SIZE (0..255)) + ACCESS read-only + STATUS mandatory + ::= { loadaves 2 } + +loadaveLoad OBJECT-TYPE + SYNTAX DisplayString + ACCESS read-only + STATUS mandatory + ::= { loadaves 3 } + +loadaveConfig OBJECT-TYPE + SYNTAX DisplayString + ACCESS read-only + STATUS mandatory + ::= { loadaves 4 } + +loadaveErrorFlag OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + ::= { loadaves 100 } + +loadaveErrMessage OBJECT-TYPE + SYNTAX DisplayString (SIZE (0..255)) + ACCESS read-only + STATUS mandatory + ::= { loadaves 101 } + +version OBJECT-TYPE + SYNTAX Version + ACCESS not-accessible + STATUS mandatory + INDEX { versionIndex } + ::= { ucdavis 100 } + +Version ::= SEQUENCE { + versionIndex INTEGER, + versionTag DisplayString, + versionDate DisplayString, + versionCDate DisplayString, + versionIdent DisplayString, + versionClearCache INTEGER, + versionUpdateConfig INTEGER +} + +versionIndex OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + ::= { version 1 } + +versionTag OBJECT-TYPE + SYNTAX DisplayString + ACCESS read-only + STATUS mandatory + ::= { version 2 } + +versionDate OBJECT-TYPE + SYNTAX DisplayString + ACCESS read-only + STATUS mandatory + ::= { version 3 } + +versionCDate OBJECT-TYPE + SYNTAX DisplayString + ACCESS read-only + STATUS mandatory + ::= { version 4 } + +versionIdent OBJECT-TYPE + SYNTAX DisplayString + ACCESS read-only + STATUS mandatory + ::= { version 5 } + +versionClearCache OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-write + STATUS mandatory + ::= { version 10 } + +versionUpdateConfig OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-write + STATUS mandatory + ::= { version 11 } + +versionRestartAgent OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-write + STATUS mandatory + ::= { version 12 } + +snmperrs OBJECT-TYPE + SYNTAX Snmperrs + ACCESS not-accessible + STATUS mandatory + INDEX { snmperrIndex } + ::= { ucdavis 101 } + + +Snmperrs ::= SEQUENCE { + snmperrIndex INTEGER, + snmperrNames DisplayString, + snmperrErrorFlag INTEGER, + snmperrErrMessage DisplayString +} + +snmperrIndex OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + ::= { snmperrs 1 } + +snmperrNames OBJECT-TYPE + SYNTAX DisplayString (SIZE (0..255)) + ACCESS read-only + STATUS mandatory + ::= { snmperrs 2 } + +snmperrErrorFlag OBJECT-TYPE + SYNTAX INTEGER + ACCESS read-only + STATUS mandatory + ::= { snmperrs 100 } + +snmperrErrMessage OBJECT-TYPE + SYNTAX DisplayString (SIZE (0..255)) + ACCESS read-only + STATUS mandatory + ::= { snmperrs 101 } + +END + diff --git a/release/picobsd/isp/crunch1/mibs/UDP-MIB.txt b/release/picobsd/isp/crunch1/mibs/UDP-MIB.txt new file mode 100644 index 0000000..a6288e8 --- /dev/null +++ b/release/picobsd/isp/crunch1/mibs/UDP-MIB.txt @@ -0,0 +1,109 @@ +UDP-MIB DEFINITIONS ::= BEGIN + +IMPORTS + OBJECT-GROUP, MODULE-COMPLIANCE + FROM SNMPv2-CONF + mib-2, IpAddress, Counter32, OBJECT-TYPE, MODULE-IDENTITY + FROM SNMPv2-SMI; + +udpMIB MODULE-IDENTITY + LAST-UPDATED "9411010000Z" + ORGANIZATION "IETF SNMPv2 Working Group" + CONTACT-INFO + "Keith McCloghrie + + Postal: Cisco Systems, Inc. + 170 West Tasman Drive + San Jose, CA 95134-1706 + US + + Phone: +1 408 526 5260 + Email: kzm@cisco.com" + REVISION "9103310000Z" + ::= { mib-2 50 } + +udp ::= { mib-2 7 } + +udpInDatagrams OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { udp 1 } + +udpNoPorts OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { udp 2 } + +udpInErrors OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { udp 3 } + +udpOutDatagrams OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + ::= { udp 4 } + +udpTable OBJECT-TYPE + SYNTAX SEQUENCE OF UdpEntry + MAX-ACCESS not-accessible + STATUS current + ::= { udp 5 } + +udpEntry OBJECT-TYPE + SYNTAX UdpEntry + MAX-ACCESS not-accessible + STATUS current + INDEX { udpLocalAddress, udpLocalPort } + ::= { udpTable 1 } + +UdpEntry ::= + SEQUENCE { + udpLocalAddress + IpAddress, + + udpLocalPort + INTEGER + } + +udpLocalAddress OBJECT-TYPE + SYNTAX IpAddress + MAX-ACCESS read-only + STATUS current + ::= { udpEntry 1 } + +udpLocalPort OBJECT-TYPE + SYNTAX INTEGER + MAX-ACCESS read-only + STATUS current + ::= { udpEntry 2 } + +udpMIBConformance ::= { udpMIB 2 } + +udpMIBCompliances ::= { udpMIBConformance 1 } + +udpMIBGroups ::= { udpMIBConformance 2 } + +udpMIBCompliance MODULE-COMPLIANCE + STATUS current + + MANDATORY-GROUPS { udpGroup } + ::= { udpMIBCompliances 1 } + +udpGroup OBJECT-GROUP + OBJECTS { + udpInDatagrams, + udpNoPorts, + udpInErrors, + udpOutDatagrams, + udpLocalAddress, + udpLocalPort + } + STATUS current + ::= { udpMIBGroups 1 } + +END diff --git a/release/picobsd/isp/crunch1/passwd.diff b/release/picobsd/isp/crunch1/passwd.diff new file mode 100644 index 0000000..1be0059 --- /dev/null +++ b/release/picobsd/isp/crunch1/passwd.diff @@ -0,0 +1,48 @@ +*** Makefile.orig Sat Aug 1 20:39:04 1998 +--- Makefile Sat Aug 1 20:40:38 1998 +*************** +*** 2,24 **** + # $Id: passwd.diff,v 1.1 1998/08/19 06:31:06 abial Exp $ + + PROG= passwd +! SRCS= local_passwd.c passwd.c pw_copy.c pw_util.c pw_yp.c \ +! yp_passwd.c ypxfr_misc.c ${GENSRCS} + GENSRCS=yp.h yp_clnt.c yppasswd.h yppasswd_clnt.c \ + yppasswd_private.h yppasswd_private_clnt.c yppasswd_private_xdr.c + CFLAGS+=-Wall + +! DPADD= ${LIBCRYPT} ${LIBRPCSVC} ${LIBUTIL} +! LDADD= -lcrypt -lrpcsvc -lutil + .PATH: ${.CURDIR}/../../usr.bin/chpass ${.CURDIR}/../../usr.sbin/vipw \ +! ${.CURDIR}/../rlogin ${.CURDIR}/../../libexec/ypxfr \ +! ${.CURDIR}/../../usr.sbin/rpc.yppasswdd + +! CFLAGS+= -DLOGIN_CAP -DCRYPT -DYP -I. -I${.CURDIR} \ + -I${.CURDIR}/../../usr.sbin/vipw \ + -I${.CURDIR}/../../usr.bin/chpass \ +- -I${.CURDIR}/../../libexec/ypxfr \ +- -I${.CURDIR}/../../usr.sbin/rpc.yppasswdd \ + -Dyp_error=warnx -DLOGGING + + CLEANFILES= ${GENSRCS} +--- 2,21 ---- + # $Id: passwd.diff,v 1.1 1998/08/19 06:31:06 abial Exp $ + + PROG= passwd +! SRCS= local_passwd.c passwd.c pw_copy.c pw_util.c +! + GENSRCS=yp.h yp_clnt.c yppasswd.h yppasswd_clnt.c \ + yppasswd_private.h yppasswd_private_clnt.c yppasswd_private_xdr.c + CFLAGS+=-Wall + +! DPADD= ${LIBCRYPT} ${LIBUTIL} +! LDADD= -lcrypt -lutil + .PATH: ${.CURDIR}/../../usr.bin/chpass ${.CURDIR}/../../usr.sbin/vipw \ +! ${.CURDIR}/../rlogin + +! CFLAGS+= -DLOGIN_CAP -DCRYPT -I. -I${.CURDIR} \ + -I${.CURDIR}/../../usr.sbin/vipw \ + -I${.CURDIR}/../../usr.bin/chpass \ + -Dyp_error=warnx -DLOGGING + + CLEANFILES= ${GENSRCS} diff --git a/release/picobsd/isp/crunch1/ppp.diff b/release/picobsd/isp/crunch1/ppp.diff new file mode 100644 index 0000000..238a1c2 --- /dev/null +++ b/release/picobsd/isp/crunch1/ppp.diff @@ -0,0 +1,12 @@ +*** Makefile.orig Sat Jul 4 10:20:02 1998 +--- Makefile Sat Aug 1 20:43:49 1998 +*************** +*** 12,17 **** +--- 12,18 ---- + BINMODE=4554 + BINOWN= root + BINGRP= network ++ NOSECURE=yes + + OPSYS!= uname -s + .if (${OPSYS} == "OpenBSD") diff --git a/release/picobsd/isp/floppy.tree/boot.config b/release/picobsd/isp/floppy.tree/boot.config new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/release/picobsd/isp/floppy.tree/boot.config diff --git a/release/picobsd/isp/floppy.tree/etc/disktab b/release/picobsd/isp/floppy.tree/etc/disktab new file mode 100644 index 0000000..7575ba6 --- /dev/null +++ b/release/picobsd/isp/floppy.tree/etc/disktab @@ -0,0 +1,87 @@ +# +# Floppy formats: +# +# To make a filesystem on a floppy: +# fdformat [-f <size>] fd<drive>[.<size>] +# disklabel -B -r -w fd<drive>[.<size>] fd<size> +# newfs <opts> fd<drive>[.<size>] +# +# with <opts>: +# -t 2 - two heads +# -u 9|15|18 - sectors per track +# (using the default value of 1/4096 is not much useful for floppies) +# -l 1 - interleave 1 (for most floppies) +# -i 65536 - bytes of data per i-node +# (the default -i value will render you with a floppy wasting way +# too much space in i-node areas) +# + +fd360:\ + :ty=floppy:se#512:nt#2:rm#300:ns#9:nc#40:\ + :pa#720:oa#0:ba#4096:fa#512:\ + :pb#720:ob#0:bb#4096:fb#512:\ + :pc#720:oc#0:bc#4096:fc#512: + +fd720:\ + :ty=floppy:se#512:nt#2:rm#300:ns#9:nc#80:\ + :pa#1440:oa#0:ba#4096:fa#512:\ + :pb#1440:ob#0:bb#4096:fb#512:\ + :pc#1440:oc#0:bc#4096:fc#512: + +fd1200|floppy5|5in|5.25in High Density Floppy:\ + :ty=floppy:se#512:nt#2:rm#360:ns#15:nc#80:\ + :pa#2400:oa#0:ba#4096:fa#512:\ + :pb#2400:ob#0:bb#4096:fb#512:\ + :pc#2400:oc#0:bc#4096:fc#512: + +fd1440|floppy|floppy3|3in|3.5in High Density Floppy:\ + :ty=floppy:se#512:nt#2:rm#300:ns#18:nc#80:\ + :pa#2880:oa#0:ba#4096:fa#512:\ + :pb#2880:ob#0:bb#4096:fb#512:\ + :pc#2880:oc#0:bc#4096:fc#512: + +fd1024|floppy0|3.5in Special Density Floppy:\ + :ty=floppy:se#512:nt#2:rm#300:ns#16:nc#64:\ + :pa#2048:oa#0:ba#4096:fa#512:\ + :pb#2048:ob#0:bb#4096:fb#512:\ + :pc#2048:oc#0:bc#4096:fc#512: + +# a == root +# b == swap +# c == d == whole disk +# e == /var +# f == scratch +# h == /usr + +cp3100new|Connor Peripherals 100MB IDE, with a different configuration:\ + :dt=ST506:ty=winchester:se#512:nt#8:ns#33:nc#766: \ + :pa#15840:oa#0:ta=4.2BSD:ba#4096:fa#512: \ + :pb#24288:ob#15840:tb=swap: \ + :pc#202224:oc#0: \ + :pd#202224:od#0: \ + :pe#15840:oe#40128:te=4.2BSD:be#4096:fe#512: \ + :pg#15840:og#55968:tg=4.2BSD:bg#4096:fg#512: \ + :ph#130416:oh#71808:th=4.2BSD:bh#4096:fh#512: + +sony650|Sony 650 MB MOD|\ + :ty=removable:dt=SCSI:se#512:nt#1:ns#31:nc#18600:ts#1:rm#4800:\ + :pc#576600:oc#0:\ + :pa#576600:oa#0:ta=4.2BSD:ba#8192:fa#1024: + +mta3230|mo230|IBM MTA-3230 230 Meg 3.5inch Magneto-Optical:\ + :ty=removeable:dt=SCSI:rm#3600:\ + :se#512:nt#64:ns#32:nc#216:sc#2048:su#444384:\ + :pa#444384:oa#0:ba#4096:fa#0:ta=4.2BSD:\ + :pc#444384:oc#0: + +minimum:ty=mfs:se#512:nt#1:rm#300:\ + :ns#2880:nc#1:\ + :pa#2880:oa#0:ba#4096:fa#512:\ + :pc#2880:oc#0:bc#4096:fc#512: + +zip100|zip 100:\ + :ty=removable:se#512:nc#96:nt#64:ns#32:\ + :pa#196608:oa#0:ba#4096:fa#512:\ + :pb#196608:ob#0:bb#4096:fb#512:\ + :pc#196608:oc#0:bc#4096:fc#512: + diff --git a/release/picobsd/isp/floppy.tree/etc/fstab b/release/picobsd/isp/floppy.tree/etc/fstab new file mode 100644 index 0000000..ca519e8 --- /dev/null +++ b/release/picobsd/isp/floppy.tree/etc/fstab @@ -0,0 +1,4 @@ +proc /proc procfs rw 0 0 +#/dev/fd0c /start_floppy ufs rw 1 1 +#/dev/wd0s1 /dos msdos rw 0 0 +#/dev/wcd0c /cdrom cd9660 ro,noauto 0 0 diff --git a/release/picobsd/isp/floppy.tree/etc/gettytab b/release/picobsd/isp/floppy.tree/etc/gettytab new file mode 100644 index 0000000..90562ac --- /dev/null +++ b/release/picobsd/isp/floppy.tree/etc/gettytab @@ -0,0 +1,40 @@ +# from: @(#)gettytab 5.14 (Berkeley) 3/27/91 +# +default:\ + :cb:ce:ck:lc:fd#1000:cl:im=\r\nPicoBSD (%h) (%t)\r\n\r\n:sp#1200: + +P|Pc|Pc console:\ + :ht:np:sp#115200: + +# +# Fixed speed entries +2|std.9600|9600-baud:\ + :np:sp#9600: +g|std.19200|19200-baud:\ + :np:sp#19200: +std.38400|38400-baud:\ + :np:sp#38400: +std.57600|57600-baud:\ + :np:sp#57600: +std.115200|115200-baud:\ + :np:sp#115200: + +# +# Entry specifying explicit device settings. See termios(4) and +# /usr/include/termios.h, too. The entry forces the tty into +# CLOCAL mode (so no DCD is required), and uses Xon/Xoff flow control. +# +# cflags: CLOCAL | HUPCL | CREAD | CS8 +# oflags: OPOST | ONLCR | OXTABS +# iflags: IXOFF | IXON | ICRNL | IGNPAR +# lflags: IEXTEN | ICANON | ISIG | ECHOCTL | ECHO | ECHOK | ECHOE | ECHOKE +# +# The `0' flags don't have input enabled. The `1' flags don't echo. +# (Echoing is done inside getty itself.) +# +local.9600|CLOCAL tty @ 9600 Bd:\ + :c0#0x0000c300:c1#0x0000cb00:c2#0x0000cb00:\ + :o0#0x00000007:o1#0x00000002:o2#0x00000007:\ + :i0#0x00000704:i1#0x00000000:i2#0x00000704:\ + :l0#0x000005cf:l1#0x00000000:l2#0x000005cf:\ + :sp#9600: diff --git a/release/picobsd/isp/floppy.tree/etc/group b/release/picobsd/isp/floppy.tree/etc/group new file mode 100644 index 0000000..abbd733 --- /dev/null +++ b/release/picobsd/isp/floppy.tree/etc/group @@ -0,0 +1,19 @@ +wheel:*:0:root,user +daemon:*:1:daemon +kmem:*:2:root +sys:*:3:root +tty:*:4:root +operator:*:5:root +mail:*:6: +bin:*:7: +news:*:8: +man:*:9: +games:*:13: +staff:*:20:root,user +guest:*:31:root +uucp:*:66: +xten:*:67:xten +dialer:*:68: +network:*:69: +nogroup:*:65533: +nobody:*:65534: diff --git a/release/picobsd/isp/floppy.tree/etc/host.conf b/release/picobsd/isp/floppy.tree/etc/host.conf new file mode 100644 index 0000000..00fe5a2 --- /dev/null +++ b/release/picobsd/isp/floppy.tree/etc/host.conf @@ -0,0 +1,3 @@ +# $Id: host.conf,v 1.1.1.1 1998/07/14 07:30:45 abial Exp $ +hosts +bind diff --git a/release/picobsd/isp/floppy.tree/etc/hosts b/release/picobsd/isp/floppy.tree/etc/hosts new file mode 100644 index 0000000..994af78 --- /dev/null +++ b/release/picobsd/isp/floppy.tree/etc/hosts @@ -0,0 +1,5 @@ +# $Id: hosts,v 1.5 1998/08/19 07:06:27 abial Exp $ +# This file should contain the addresses and aliases +# for local hosts that share this file. +127.0.0.1 localhost localhost.mydomain.org.pl +127.0.0.1 pico.mydomain.org.pl diff --git a/release/picobsd/isp/floppy.tree/etc/inetd.conf b/release/picobsd/isp/floppy.tree/etc/inetd.conf new file mode 100644 index 0000000..c7c50de --- /dev/null +++ b/release/picobsd/isp/floppy.tree/etc/inetd.conf @@ -0,0 +1,21 @@ +# +# Internet server configuration database +# +# @(#)inetd.conf 5.4 (Berkeley) 6/30/90 +# +telnet stream tcp nowait root /usr/libexec/telnetd telnetd +# +# "Small servers" -- used to be standard on, but we're more conservative +# about things due to Internet security concerns. Only turn on what you +# need. +# +#daytime stream tcp nowait root internal +#daytime dgram udp wait root internal +#time stream tcp nowait root internal +#time dgram udp wait root internal +#echo stream tcp nowait root internal +#echo dgram udp wait root internal +#discard stream tcp nowait root internal +#discard dgram udp wait root internal +#chargen stream tcp nowait root internal +#chargen dgram udp wait root internal diff --git a/release/picobsd/isp/floppy.tree/etc/login.conf b/release/picobsd/isp/floppy.tree/etc/login.conf new file mode 100644 index 0000000..3bfdd8a --- /dev/null +++ b/release/picobsd/isp/floppy.tree/etc/login.conf @@ -0,0 +1,120 @@ +# This file controls resource limits, accounting limits and +# default user environment settings. +# +# $Id: login.conf,v 1.1.1.1 1998/07/14 07:30:45 abial Exp $ +# + + +# Authentication methods + +auth-defaults:\ + :auth=passwd: + +auth-root-defaults:\ + :auth-login=passwd:\ + :auth-rlogin=passwd:\ + +auth-ftp-defaults:\ + :auth=passwd: + +# Example defaults +# These settings are used by login(1) by default for classless users +# Note that entries like "cputime" set both "cputime-cur" and "cputime-max" + +default:\ + :cputime=infinity:\ + :datasize-cur=22M:\ + :stacksize-cur=8M:\ + :memorylocked-cur=10M:\ + :memoryuse-cur=30M:\ + :filesize=infinity:\ + :coredumpsize=infinity:\ + :maxproc-cur=64:\ + :openfiles-cur=64:\ + :priority=0:\ + :requirehome@:\ + :umask=022:\ + :tc=auth-defaults: + + +# +# standard - standard user defaults +# +standard:\ + :copyright=/etc/COPYRIGHT:\ + :welcome=/etc/motd:\ + :setenv=MAIL=/var/mail/$,BLOCKSIZE=K,EDITOR=/usr/bin/ee:\ + :path=~/bin /bin /usr/bin:\ + :nologin=/etc/nologin:\ + :cputime=1h30m:\ + :datasize=8M:\ + :stacksize=2M:\ + :memorylocked=4M:\ + :memoryuse=8M:\ + :filesize=8M:\ + :coredumpsize=8M:\ + :openfiles=24:\ + :maxproc=32:\ + :priority=0:\ + :requirehome:\ + :passwordperiod=90d:\ + :umask=002:\ + :ignoretime@:\ + :tc=default: +# +# Staff users - few restrictions and allow login anytime +# +staff:\ + :ignorenologin:\ + :ignoretime:\ + :requirehome@:\ + :accounted@:\ + :path=~/bin /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin:\ + :umask=022:\ + :tc=standard: + + +# +# root - fallback for root logins +# +root:\ + :path=~/bin /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin:\ + :cputime=infinity:\ + :datasize=infinity:\ + :stacksize=infinity:\ + :memorylocked=infinity:\ + :memoryuse=infinity:\ + :filesize=infinity:\ + :coredumpsize=infinity:\ + :openfiles=infinity:\ + :maxproc=infinity:\ + :memoryuse-cur=32M:\ + :maxproc-cur=64:\ + :openfiles-cur=1024:\ + :priority=0:\ + :requirehome@:\ + :umask=022:\ + :tc=auth-root-defaults:\ +# +# Settings used by /etc/rc +# +daemon:\ + :coredumpsize@:\ + :coredumpsize-cur=0:\ + :datasize=infinity:\ + :datasize-cur@:\ + :maxproc=512:\ + :maxproc-cur@:\ + :memoryuse-cur=64M:\ + :memorylocked-cur=64M:\ + :openfiles=1024:\ + :openfiles-cur@:\ + :stacksize=16M:\ + :stacksize-cur@:\ + :tc=default: +# +# Polish Users Accounts. Setup proper environment variables. +# +polish:Polish Users Accounts:\ + :lang=pl_pl.ISO-8859-2:\ + :tc=default: diff --git a/release/picobsd/isp/floppy.tree/etc/master.passwd b/release/picobsd/isp/floppy.tree/etc/master.passwd new file mode 100644 index 0000000..9d85cdf --- /dev/null +++ b/release/picobsd/isp/floppy.tree/etc/master.passwd @@ -0,0 +1,7 @@ +root:$1$xOOaGnKU$U9QdsCI40XXcCUMBN.7Az.:0:0::0:0:Charlie &:/root:/bin/sh +toor:*:0:0::0:0:Bourne-again Superuser:/root: +daemon:*:1:1::0:0:Owner of many system processes:/root:/nonexistent +operator:*:2:20::0:0:System &:/usr/guest/operator:/bin/csh +bin:*:3:7::0:0:Binaries Commands and Source,,,:/:/nonexistent +nobody:*:65534:65534::0:0:Unprivileged user:/nonexistent:/nonexistent +user:$1$T9q8Coad$WatJttamwr2UAdbfKbWxj.:1002:1002:polish:0:0:user:/home/user:/bin/sh diff --git a/release/picobsd/isp/floppy.tree/etc/motd b/release/picobsd/isp/floppy.tree/etc/motd new file mode 100644 index 0000000..38474d1 --- /dev/null +++ b/release/picobsd/isp/floppy.tree/etc/motd @@ -0,0 +1,12 @@ +======================================================= + [31m)\_)\[37m +PicoBSD 0.4 (ISP-alpha) [31m([37m[1mo,o[m[31m)[37m + [32m__ [31m\~/[37m +Witamy w PicoBSD! [32m-->=[41m===[40m[31m\[37m + [32m~~[37m [31md d[37m +W glownym katalogu w pliku README znajdziesz [35mpico[37m +krotki opis systemu. Mozesz go obejrzec przy pomocy +"more /README". + +Wiecej informacji znajdziesz u autora (abial@nask.pl). + diff --git a/release/picobsd/isp/floppy.tree/etc/ppp/ppp.conf b/release/picobsd/isp/floppy.tree/etc/ppp/ppp.conf new file mode 100644 index 0000000..ed5da5d --- /dev/null +++ b/release/picobsd/isp/floppy.tree/etc/ppp/ppp.conf @@ -0,0 +1,8 @@ +# PPP Sample Configuration File +# Written by Toshiharu OHNO +default: + set device /dev/cuaa1 + set speed 38400 + disable lqr + deny lqr + set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0 OK-AT-OK \\dATDT\\T TIMEOUT 40 CONNECT" diff --git a/release/picobsd/isp/floppy.tree/etc/ppp/ppp.deny b/release/picobsd/isp/floppy.tree/etc/ppp/ppp.deny new file mode 100644 index 0000000..51e1e9b --- /dev/null +++ b/release/picobsd/isp/floppy.tree/etc/ppp/ppp.deny @@ -0,0 +1,15 @@ +# list of users disallowed any pppd access via 'system +# password login'. +# read by pppd(8). +root +toor +daemon +operator +bin +games +news +man +ftp +uucp +xten +ingres diff --git a/release/picobsd/isp/floppy.tree/etc/ppp/ppp.linkup b/release/picobsd/isp/floppy.tree/etc/ppp/ppp.linkup new file mode 100644 index 0000000..05107c6 --- /dev/null +++ b/release/picobsd/isp/floppy.tree/etc/ppp/ppp.linkup @@ -0,0 +1,10 @@ +# Example of ppp.linkup file +# +iij-demand: + delete ALL + add 0 0 HISADDR +# +# Otherwise, simply add peer as default gateway. +# +MYADDR: + add 0 0 HISADDR diff --git a/release/picobsd/isp/floppy.tree/etc/ppp/ppp.secret.sample b/release/picobsd/isp/floppy.tree/etc/ppp/ppp.secret.sample new file mode 100644 index 0000000..25d97d0 --- /dev/null +++ b/release/picobsd/isp/floppy.tree/etc/ppp/ppp.secret.sample @@ -0,0 +1,23 @@ +################################################## +# +# Example of ppp.secret file +# +# This file is used to authenticate incoming connections. +# You must ``enable'' either PAP or CHAP in your ppp.conf file. +# The peer may then use any of the Authname/Authkey pairs listed. +# If an IP address is given, it will be assigned to the peer. +# +# If an entry exists for your local machine (as given by the +# ``hostname -s'' command), the password specified will be +# required for all server socket connections. Refer to the ppp(8) +# and pppctl(8) man pages for further details. +# +# $Id: ppp.secret.sample,v 1.1.1.1 1998/07/14 07:30:46 abial Exp $ +# +################################################## + +# Authname Authkey Peer's IP address + +oscar OurSecretKey 192.244.184.34/24 +BigBird X4dWg9327 192.244.184.33/32 +tama localPasswdForControl diff --git a/release/picobsd/isp/floppy.tree/etc/profile b/release/picobsd/isp/floppy.tree/etc/profile new file mode 100644 index 0000000..babb9333 --- /dev/null +++ b/release/picobsd/isp/floppy.tree/etc/profile @@ -0,0 +1,3 @@ +# System-wide .profile file for sh(1). +BLOCKSIZE=K; export BLOCKSIZE +PATH=/stand:.; export PATH diff --git a/release/picobsd/isp/floppy.tree/etc/protocols b/release/picobsd/isp/floppy.tree/etc/protocols new file mode 100644 index 0000000..c80be39 --- /dev/null +++ b/release/picobsd/isp/floppy.tree/etc/protocols @@ -0,0 +1,7 @@ +# +# Internet (IP) protocols +ip 0 IP # internet protocol, pseudo protocol number +icmp 1 ICMP # internet control message protocol +igmp 2 IGMP # Internet Group Management +tcp 6 TCP # transmission control protocol +udp 17 UDP # user datagram protocol diff --git a/release/picobsd/isp/floppy.tree/etc/rc b/release/picobsd/isp/floppy.tree/etc/rc new file mode 100644 index 0000000..f2b7ad1 --- /dev/null +++ b/release/picobsd/isp/floppy.tree/etc/rc @@ -0,0 +1,62 @@ +#!/bin/sh +# $Id: rc,v 1.5 1998/08/19 07:06:27 abial Exp $ +############################################ +### Special setup for one floppy PICOBSD ### +### THIS IS NOT THE NORMAL /etc/rc !!!!! ### +############################################ +mount -a -t nonfs +if [ -f /etc/rc.conf ]; then + . /etc/rc.conf +fi +rm -f /var/run/* +if [ "x$swapfile" != "xNO" -a -w "$swapfile" -a -b /dev/vn0b ]; then + echo "Dodaje $swapfile jako dodatkowy swap." + vnconfig /dev/vn0b $swapfile && swapon /dev/vn0b +fi +# configure serial devices +if [ -f /etc/rc.serial ]; then + . /etc/rc.serial +fi +# start up the initial network configuration. +if [ -f /etc/rc.network ]; then + . /etc/rc.network + network_pass1 +fi +mount -a -t nfs +# clean up left-over files +(cd /var/run && { cp /dev/null utmp; chmod 644 utmp; }) +if [ -n "$network_pass1_done" ]; then + network_pass2 +fi +if [ -n "$network_pass2_done" ]; then + network_pass3 +fi +if [ "X${inetd_enable}" = X"YES" ]; then + echo "Uruchamiam inetd."; inetd ${inetd_flags} +fi +if [ "X${snmpd_enable}" = X"YES" ]; then + echo "Uruchamiam snmpd."; snmpd ${snmpd_flags} +fi + +dev_mkdb + +echo '' +if [ "x$swapfile" = "xNO" ]; then + echo "UWAGA: brak swapu!" + echo "Nie uruchamiaj zbyt wielu programow na raz..." +fi +echo '' +echo '' +echo '+------------ PicoBSD 0.4 (ISP) ---------------+' +echo '| |' +echo '| Zaloguj sie jako "root" (haslo "setup"). |' +echo '| |' +echo '| Ta wersja PicoBSD w pelni podlega |' +echo '| licencji BSD. Po wiecej szczegolow zajrzyj |' +echo '| na http://www.freebsd.org/~picobsd, lub |' +echo '| skontaktuj sie z autorem. |' +echo '| |' +echo '| abial@nask.pl |' +echo '| |' +echo '+----------------------------------------------+' +exit 0 diff --git a/release/picobsd/isp/floppy.tree/etc/rc.conf b/release/picobsd/isp/floppy.tree/etc/rc.conf new file mode 100644 index 0000000..515bf61 --- /dev/null +++ b/release/picobsd/isp/floppy.tree/etc/rc.conf @@ -0,0 +1,25 @@ +#!/bin/sh +# $Id: rc.conf,v 1.5 1998/08/19 07:06:27 abial Exp $ +swapfile="NO" # Set to name of swapfile if aux swapfile desired. +### Network configuration sub-section ###################### +### Basic network options: ### +hostname="pico.mydomain.org.pl" # Set this! +firewall="NO" # firewall type (see /etc/rc.firewall) or NO +tcp_extensions="NO" # Allow RFC1323 & RFC1644 extensions (or NO). +network_interfaces="lo0" # List of network interfaces (lo0 is loopback). +ifconfig_lo0="inet 127.0.0.1" # default loopback device configuration. +#ifconfig_lo0_alias0="inet 127.0.0.254 netmask 0xffffffff" # Sample alias entry. +### Network daemons options: ### +inetd_enable="YES" # Run the network daemon dispatcher (or NO) +inetd_flags="" # Optional flags to inetd +snmpd_enable="YES" # Run the SNMP daemon (or NO) +snmpd_flags="-C -c /etc/snmpd.conf" # Optional flags to snmpd +### Network routing options: ### +defaultrouter="NO" # Set to default gateway (or NO). +static_routes="" # Set to static route list (or leave empty). +gateway_enable="NO" # Set to YES if this host will be a gateway. +arpproxy_all="" # replaces obsolete kernel option ARP_PROXYALL. +### Allow local configuration override at the very end here ## +if [ -f /etc/rc.conf.local ]; then + . /etc/rc.conf.local +fi diff --git a/release/picobsd/isp/floppy.tree/etc/rc.firewall b/release/picobsd/isp/floppy.tree/etc/rc.firewall new file mode 100644 index 0000000..4ba5d30 --- /dev/null +++ b/release/picobsd/isp/floppy.tree/etc/rc.firewall @@ -0,0 +1,172 @@ +############ +# Setup system for firewall service. +# $Id: rc.firewall,v 1.1.1.1 1998/07/14 07:30:45 abial Exp $ + +############ +# Define the firewall type in /etc/rc.conf. Valid values are: +# open - will allow anyone in +# client - will try to protect just this machine +# simple - will try to protect a whole network +# closed - totally disables IP services except via lo0 interface +# UNKNOWN - disables the loading of firewall rules. +# filename - will load the rules in the given filename (full path required) +# +# For ``client'' and ``simple'' the entries below should be customized +# appropriately. + +############ +# +# If you don't know enough about packet filtering, we suggest that you +# take time to read this book: +# +# Building Internet Firewalls +# Brent Chapman and Elizabeth Zwicky +# +# O'Reilly & Associates, Inc +# ISBN 1-56592-124-0 +# http://www.ora.com/ +# +# For a more advanced treatment of Internet Security read: +# +# Firewalls & Internet Security +# Repelling the wily hacker +# William R. Cheswick, Steven M. Bellowin +# +# Addison-Wesley +# ISBN 0-201-6337-4 +# http://www.awl.com/ +# + +if [ "x$1" != "x" ]; then + firewall_type=$1 +fi + +############ +# Set quiet mode if requested +if [ "x$firewall_quiet" = "xYES" ]; then + fwcmd="/sbin/ipfw -q" +else + fwcmd="/sbin/ipfw" +fi + +############ +# Flush out the list before we begin. +$fwcmd -f flush + +############ +# If you just configured ipfw in the kernel as a tool to solve network +# problems or you just want to disallow some particular kinds of traffic +# they you will want to change the default policy to open. You can also +# do this as your only action by setting the firewall_type to ``open''. + +# $fwcmd add 65000 pass all from any to any + +############ +# Only in rare cases do you want to change these rules +$fwcmd add 1000 pass all from any to any via lo0 +$fwcmd add 1010 deny all from 127.0.0.0/8 to 127.0.0.0/8 + + +# Prototype setups. +if [ "${firewall_type}" = "open" -o "${firewall_type}" = "OPEN" ]; then + + $fwcmd add 65000 pass all from any to any + +elif [ "${firewall_type}" = "client" ]; then + + ############ + # This is a prototype setup that will protect your system somewhat against + # people from outside your own network. + ############ + + # set these to your network and netmask and ip + net="192.168.4.0" + mask="255.255.255.0" + ip="192.168.4.17" + + # Allow any traffic to or from my own net. + $fwcmd add pass all from ${ip} to ${net}:${mask} + $fwcmd add pass all from ${net}:${mask} to ${ip} + + # Allow TCP through if setup succeeded + $fwcmd add pass tcp from any to any established + + # Allow setup of incoming email + $fwcmd add pass tcp from any to ${ip} 25 setup + + # Allow setup of outgoing TCP connections only + $fwcmd add pass tcp from ${ip} to any setup + + # Disallow setup of all other TCP connections + $fwcmd add deny tcp from any to any setup + + # Allow DNS queries out in the world + $fwcmd add pass udp from any 53 to ${ip} + $fwcmd add pass udp from ${ip} to any 53 + + # Allow NTP queries out in the world + $fwcmd add pass udp from any 123 to ${ip} + $fwcmd add pass udp from ${ip} to any 123 + + # Everything else is denied as default. + +elif [ "${firewall_type}" = "simple" ]; then + + ############ + # This is a prototype setup for a simple firewall. Configure this machine + # as a named server and ntp server, and point all the machines on the inside + # at this machine for those services. + ############ + + # set these to your outside interface network and netmask and ip + oif="ed0" + onet="192.168.4.0" + omask="255.255.255.0" + oip="192.168.4.17" + + # set these to your inside interface network and netmask and ip + iif="ed1" + inet="192.168.3.0" + imask="255.255.255.0" + iip="192.168.3.17" + + # Stop spoofing + $fwcmd add deny all from ${inet}:${imask} to any in via ${oif} + $fwcmd add deny all from ${onet}:${omask} to any in via ${iif} + + # Stop RFC1918 nets on the outside interface + $fwcmd add deny all from 192.168.0.0:255.255.0.0 to any via ${oif} + $fwcmd add deny all from 172.16.0.0:255.240.0.0 to any via ${oif} + $fwcmd add deny all from 10.0.0.0:255.0.0.0 to any via ${oif} + + # Allow TCP through if setup succeeded + $fwcmd add pass tcp from any to any established + + # Allow setup of incoming email + $fwcmd add pass tcp from any to ${oip} 25 setup + + # Allow access to our DNS + $fwcmd add pass tcp from any to ${oip} 53 setup + + # Allow access to our WWW + $fwcmd add pass tcp from any to ${oip} 80 setup + + # Reject&Log all setup of incoming connections from the outside + $fwcmd add deny log tcp from any to any in via ${oif} setup + + # Allow setup of any other TCP connection + $fwcmd add pass tcp from any to any setup + + # Allow DNS queries out in the world + $fwcmd add pass udp from any 53 to ${oip} + $fwcmd add pass udp from ${oip} to any 53 + + # Allow NTP queries out in the world + $fwcmd add pass udp from any 123 to ${oip} + $fwcmd add pass udp from ${oip} to any 123 + + # Everything else is denied as default. + +elif [ "${firewall_type}" != "UNKNOWN" -a -r "${firewall_type}" ]; then + $fwcmd ${firewall_type} +fi diff --git a/release/picobsd/isp/floppy.tree/etc/rc.network b/release/picobsd/isp/floppy.tree/etc/rc.network new file mode 100644 index 0000000..dbb6de0 --- /dev/null +++ b/release/picobsd/isp/floppy.tree/etc/rc.network @@ -0,0 +1,80 @@ +#!/bin/sh - +# $Id: rc.network,v 1.5 1998/08/19 07:06:27 abial Exp $ +network_pass1() { + echo -n 'Wstepna konfiguracja sieci:' + # Set the host name if it is not already set + if [ -z "`hostname -s`" ] ; then + hostname $hostname + echo ' hostname' + fi + # Set up all the network interfaces, calling startup scripts if needed + for ifn in ${network_interfaces}; do + if [ -e /etc/start_if.${ifn} ]; then + . /etc/start_if.${ifn} + fi + # Do the primary ifconfig if specified + eval ifconfig_args=\$ifconfig_${ifn} + if [ -n "${ifconfig_args}" ] ; then + ifconfig ${ifn} ${ifconfig_args} + fi + # Check to see if aliases need to be added + alias=0 + while : + do + eval ifconfig_args=\$ifconfig_${ifn}_alias${alias} + if [ -n "${ifconfig_args}" ]; then + ifconfig ${ifn} ${ifconfig_args} alias + alias=`expr ${alias} + 1` + else + break; + fi + done + ifconfig ${ifn} + done + # Load the filters if required + if [ -n "$firewall_enable" -a -f /etc/rc.firewall -a \ + "x$firewall_enable" = "xYES" ] ; then + . /etc/rc.firewall + echo "Zaladowano reguly filtrujace do firewalla." + else + echo "UWAGA: system posiada wbudowany modul firewalla, ale zadne reguly" + echo " filtrujace nie zostaly zaladowane." + echo " Wszystkie rodzaje ruchu IP sa dozwolone." + fi + # Configure routing + if [ "x$defaultrouter" != "xNO" ] ; then + static_routes="default ${static_routes}" + route_default="default ${defaultrouter}" + fi + # Set up any static routes. This should be done before router discovery. + if [ "x${static_routes}" != "x" ]; then + for i in ${static_routes}; do + eval route_args=\$route_${i} + route add ${route_args} + done + fi + echo -n 'Dodatkowe opcje routingu:' + if [ -n "$tcp_extensions" -a "x$tcp_extensions" != "xYES" ] ; then + echo -n ' tcp_extensions=NO' + sysctl -w net.inet.tcp.rfc1323=0 >/dev/null 2>&1 + sysctl -w net.inet.tcp.rfc1644=0 >/dev/null 2>&1 + fi + if [ "X$gateway_enable" = X"YES" ]; then + echo -n ' IP_gateway=YES' + sysctl -w net.inet.ip.forwarding=1 >/dev/null 2>&1 + fi + if [ "X$arpproxy_all" = X"YES" ]; then + echo -n ' wlaczam ARP_PROXY_ALL: ' + sysctl -w net.link.ether.inet.proxyall=1 2>&1 + fi + echo '.' + network_pass1_done=YES # Let future generations know we made it. +} + +network_pass2() { + network_pass2_done=YES +} + +network_pass3() { + network_pass3_done=YES +} diff --git a/release/picobsd/isp/floppy.tree/etc/rc.serial b/release/picobsd/isp/floppy.tree/etc/rc.serial new file mode 100644 index 0000000..840377b --- /dev/null +++ b/release/picobsd/isp/floppy.tree/etc/rc.serial @@ -0,0 +1,127 @@ +#!/bin/sh +# $Id: rc.serial,v 1.1.1.1 1998/07/14 07:30:45 abial Exp $ + +# Change some defaults for serial devices. +# Standard defaults are: +# dtrwait 300 drainwait 0 +# initial cflag from <sys/ttydefaults.h> = cread cs8 hupcl +# initial iflag, lflag and oflag all 0 +# speed 9600 +# special chars from <sys/ttydefaults.h> +# nothing locked +# except for serial consoles the initial iflag, lflag and oflag are from +# <sys/ttydefaults.h> and clocal is locked on. + +default() { + # Reset everything changed by the other functions to initial defaults. + + ci=$1; shift # call in device identifier + co=$1; shift # call out device identifier + + for i in $* + do + comcontrol /dev/tty$ci$i dtrwait 300 drainwait 0 + stty </dev/ttyi$ci$i -clocal crtscts hupcl 9600 reprint ^R + stty </dev/ttyl$ci$i -clocal -crtscts -hupcl 0 + stty </dev/cuai$co$i -clocal crtscts hupcl 9600 reprint ^R + stty </dev/cual$co$i -clocal -crtscts -hupcl 0 + done +} + +maybe() { + # Special settings. + + ci=$1; shift + co=$1; shift + + for i in $* + do + # Don't use ^R; it breaks bash's ^R when typed ahead. + stty </dev/ttyi$ci$i reprint undef + stty </dev/cuai$co$i reprint undef + # Lock clocal off on dialin device for security. + stty </dev/ttyl$ci$i clocal + # Lock the speeds to use old binaries that don't support them. + # Any legal speed works to lock the initial speed. + stty </dev/ttyl$ci$i 300 + stty </dev/cual$co$i 300 + done +} + +modem() { + # Modem that supports CTS and perhaps RTS handshaking. + + ci=$1; shift + co=$1; shift + + for i in $* + do + # may depend on modem + comcontrol /dev/tty$ci$i dtrwait 100 drainwait 180 + # Lock crtscts on. + # Speed reasonable for V42bis. + stty </dev/ttyi$ci$i crtscts 57600 + stty </dev/ttyl$ci$i crtscts + stty </dev/cuai$co$i crtscts 57600 + stty </dev/cual$co$i crtscts + done +} + +mouse() { + # Mouse on either callin or callout port. + + ci=$1; shift + co=$1; shift + + for i in $* + do + # Lock clocal on, hupcl off. + # Standard speed for Microsoft mouse. + stty </dev/ttyi$ci$i clocal -hupcl 1200 + stty </dev/ttyl$ci$i clocal hupcl + stty </dev/cuai$co$i clocal -hupcl 1200 + stty </dev/cual$co$i clocal hupcl + done +} + +terminal() { + # Terminal that supports CTS and perhaps RTS handshaking + # with the cable or terminal arranged so that DCD is on + # at least while the terminal is on. + # Also works for bidirectional communications to another pc + # provided at most one side runs getty. + # Same as modem() except we want a faster speed and no dtrwait. + + ci=$1; shift + co=$1; shift + + modem $ci $co $* + for i in $* + do + comcontrol /dev/tty$ci$i dtrwait 0 + stty </dev/ttyi$ci$i 115200 + stty </dev/cuai$co$i 115200 + done +} + +# Don't use anything from this file unless you have some buggy programs +# that require it. + +# Edit the functions and the examples to suit your system. +# $1 is the call in device identifier, $2 is the call out device identifier +# and the remainder of the line lists the device numbers. + +# Initialize assorted 8250-16550 (sio) ports. +# maybe d a 0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t u v +# mouse d a 2 +# modem d a 1 +# terminal d a 0 + +# Initialize all ports on a Cyclades-8yo. +# modem c c 00 01 02 03 04 05 06 07 + +# Initialize all ports on a Cyclades-16ye. +# modem c c 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f + +# Initialize all ports on a Digiboard 8. +# modem D D 00 01 02 03 04 05 06 07 diff --git a/release/picobsd/isp/floppy.tree/etc/remote b/release/picobsd/isp/floppy.tree/etc/remote new file mode 100644 index 0000000..6f9fcaf --- /dev/null +++ b/release/picobsd/isp/floppy.tree/etc/remote @@ -0,0 +1,50 @@ +# @(#)remote 5.2 (Berkeley) 6/30/90 +# +# remote -- remote host description file +# see tip(1), remote(5) +# +# dv device to use for the tty +# el EOL marks (default is NULL) +# du make a call flag (dial up) +# pn phone numbers (@ =>'s search phones file; possibly taken from +# PHONES environment variable) +# at ACU type +# ie input EOF marks (default is NULL) +# oe output EOF string (default is NULL) +# cu call unit (default is dv) +# br baud rate (defaults to 300) +# fs frame size (default is BUFSIZ) -- used in buffering writes on +# receive operations +# tc to continue a capability + +# Systems definitions +netcom|Netcom Unix Access:\ + :pn=\@:tc=unix1200: +omen|Omen BBS:\ + :pn=\@:tc=dos1200: + +# UNIX system definitions +unix1200|1200 Baud dial-out to a UNIX system:\ + :el=^U^C^R^O^D^S^Q:ie=%$:oe=^D:tc=dial1200: +unix300|300 Baud dial-out to a UNIX system:\ + :el=^U^C^R^O^D^S^Q:ie=%$:oe=^D:tc=dial300: + +# DOS system definitions +dos1200|1200 Baud dial-out to a DOS system:\ + :el=^U^C^R^O^D^S^Q:ie=%$:oe=^Z:pa=none:tc=dial1200: + +# General dialer definitions used below +# +# COURIER switch settings: +# switch: 1 2 3 4 5 6 7 8 9 10 +# setting: D U D U D D U D U U +# Rackmount: U U D U D U D D U D +# +dial2400|2400 Baud Hayes attributes:\ + :dv=/dev/cuaa0:br#2400:cu=/dev/cuaa0:at=hayes:du: +dial1200|1200 Baud Hayes attributes:\ + :dv=/dev/cuaa0:br#1200:cu=/dev/cuaa0:at=hayes:du: + +# Hardwired line +cuaa0b|cua0b:dv=/dev/cuaa0:br#2400 +cuaa0c|cua0c:dv=/dev/cuaa0:br#9600 diff --git a/release/picobsd/isp/floppy.tree/etc/resolv.conf b/release/picobsd/isp/floppy.tree/etc/resolv.conf new file mode 100644 index 0000000..42374ad --- /dev/null +++ b/release/picobsd/isp/floppy.tree/etc/resolv.conf @@ -0,0 +1,3 @@ +# $Id: resolv.conf,v 1.5 1998/08/19 07:06:27 abial Exp $ +domain mydomain.org.pl +nameserver 148.81.16.51 diff --git a/release/picobsd/isp/floppy.tree/etc/services b/release/picobsd/isp/floppy.tree/etc/services new file mode 100644 index 0000000..817b6d3 --- /dev/null +++ b/release/picobsd/isp/floppy.tree/etc/services @@ -0,0 +1,93 @@ +echo 4/ddp +echo 7/tcp +echo 7/udp +discard 9/tcp +discard 9/udp +systat 11/tcp +systat 11/udp +daytime 13/tcp +daytime 13/udp +qotd 17/tcp +qotd 17/udp +chargen 19/tcp +chargen 19/udp +ftp-data 20/tcp +ftp-data 20/udp +ftp 21/tcp +ftp 21/udp +ssh 22/tcp +ssh 22/udp +telnet 23/tcp +telnet 23/udp +smtp 25/tcp +smtp 25/udp +time 37/tcp +time 37/udp +domain 53/tcp +domain 53/udp +tacacs-ds 65/tcp +tacacs-ds 65/udp +bootps 67/tcp +bootps 67/udp +bootpc 68/tcp +bootpc 68/udp +tftp 69/tcp +tftp 69/udp +gopher 70/tcp +gopher 70/udp +finger 79/tcp +finger 79/udp +http 80/tcp +http 80/udp +pop2 109/tcp +pop2 109/udp +pop3 110/tcp +pop3 110/udp +uucp-path 117/tcp +uucp-path 117/udp +nntp 119/tcp +nntp 119/udp +netbios-ns 137/tcp +netbios-ns 137/udp +netbios-dgm 138/tcp +netbios-dgm 138/udp +netbios-ssn 139/tcp +netbios-ssn 139/udp +imap 143/tcp +imap 143/udp +snmp 161/tcp +snmp 161/udp +snmptrap 162/tcp +snmptrap 162/udp +bgp 179/tcp +bgp 179/udp +irc 194/tcp +irc 194/udp +ipx 213/tcp +ipx 213/udp +imap3 220/tcp +imap3 220/udp +ldap 389/tcp +ldap 389/udp +netware-ip 396/tcp +netware-ip 396/udp +https 443/tcp +https 443/udp +exec 512/tcp +biff 512/udp +login 513/tcp +who 513/udp +cmd 514/tcp +syslog 514/udp +printer 515/tcp +printer 515/udp +talk 517/tcp +talk 517/udp +ntalk 518/tcp +ntalk 518/udp +timed 525/tcp +timed 525/udp +uucp 540/tcp +uucp 540/udp +uucp-rlogin 541/tcp +uucp-rlogin 541/udp diff --git a/release/picobsd/isp/floppy.tree/etc/shells b/release/picobsd/isp/floppy.tree/etc/shells new file mode 100644 index 0000000..df377f1 --- /dev/null +++ b/release/picobsd/isp/floppy.tree/etc/shells @@ -0,0 +1,6 @@ +# List of acceptable shells for chpass(1). +# Ftpd will not allow users to connect who are not using +# one of these shells. + +/bin/sh +/bin/csh diff --git a/release/picobsd/isp/floppy.tree/etc/snmpd.conf b/release/picobsd/isp/floppy.tree/etc/snmpd.conf new file mode 100644 index 0000000..be141f3 --- /dev/null +++ b/release/picobsd/isp/floppy.tree/etc/snmpd.conf @@ -0,0 +1,43 @@ +# Read-only (1) and read-write (2) communities +community 1 public +community 2 private +# Process checks. +# +# The following are examples of how to use the agent to check for +# processes running on the host. The syntax looks something like: +# +# proc NAME [MAX=0] [MIN=0] +# +# NAME: the name of the process to check for. It must match +# exactly (ie, http will not find httpd processes). +# MAX: the maximum number allowed to be running. Defaults to 0. +# MIN: the minimum number to be running. Defaults to 0. +# % snmpwalk -v 1 localhost public .1.3.6.1.4.1.2021.1 +proc inetd +proc snmpd +# ---------------------------------------------------------------------- +# disk checks +# The agent can check the amount of available disk space, and make +# sure it is above a set limit. +# +# disk PATH [MIN= 100000] +# +# PATH: mount path to the disk in question. +# MIN: Disks with space below this value will have the Mib's errorFlag set. +# Default value = 100000. +# % snmpwalk -v 1 localhost public .1.3.6.1.4.1.2021.6 +#disk /dos 10 +# ---------------------------------------------------------------------- +# load average checks +# +# load [1MAX= 12.0] [5MAX= 12.0] [15MAX= 12.0] +# 1MAX: If the 1 minute load average is above this limit at query +# time, the errorFlag will be set. +# 5MAX: Similar, but for 5 min average. +# 15MAX: Similar, but for 15 min average. +# % snmpwalk -v 1 localhost public .1.3.6.1.4.1.2021.7 +load 5 5 5 +# +# ---------------------------------------------------------------------- +#syslocation Right here, right now. +#syscontact Me <me@somewhere.org> diff --git a/release/picobsd/isp/floppy.tree/etc/termcap b/release/picobsd/isp/floppy.tree/etc/termcap new file mode 100644 index 0000000..5a9316a --- /dev/null +++ b/release/picobsd/isp/floppy.tree/etc/termcap @@ -0,0 +1,123 @@ +# Copyright (c) 1980, 1985, 1989 The Regents of the University of California. +# All rights reserved. +# @(#)termcap.src 5.88 (Berkeley) 4/30/91 +# +# +# for syscons +# common entry without semigraphics +cons25w|ansiw|ansi80x25-raw:\ + :al=\E[L:am:bs:NP:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:co#80:\ + :dc=\E[P:dl=\E[M:do=\E[B:bt=\E[Z:ho=\E[H:ic=\E[@:li#25:cb=\E[1K:\ + :ms:nd=\E[C:pt:rs=\E[x\E[m\Ec:so=\E[7m:se=\E[m:up=\E[A:\ + :pa#64:Co#8:Sf=\E[3%dm:Sb=\E[4%dm:op=\E[37;40m:\ + :k1=\E[M:k2=\E[N:k3=\E[O:k4=\E[P:k5=\E[Q:k6=\E[R:k7=\E[S:k8=\E[T:\ + :k9=\E[U:k;=\E[V:F1=\E[W:F2=\E[X:K2=\E[E:nw=\E[E:ec=\E[%dX:\ + :kb=^H:kh=\E[H:ku=\E[A:kd=\E[B:kl=\E[D:kr=\E[C:le=^H:eo:sf=\E[S:sr=\E[T:\ + :kN=\E[G:kP=\E[I:@7=\E[F:kI=\E[L:kD=\E[K:kB=\E[Z:\ + :IC=\E[%d@:DC=\E[%dP:SF=\E[%dS:SR=\E[%dT:AL=\E[%dL:DL=\E[%dM:\ + :DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:cv=\E[%i%dd:ch=\E[%i%d`:bw:\ + :mb=\E[5m:md=\E[1m:mh=\E[30;1m:mr=\E[7m:me=\E[m:bl=^G:ut:it#8: +cons25|ansis|ansi80x25:\ + :ac=l\332m\300k\277j\331u\264t\303v\301w\302q\304x\263n\305`^Da\260f\370g\361~\371.^Y-^Xh\261I^U0\333y\363z\362:\ + :tc=cons25w: +cons25-m|ansis-mono|ansi80x25-mono:\ + :pa@:Co@:Sf@:Sb@:op@:us=\E[4m:ue=\E[m:md@:mh@:tc=cons25: +cons50|ansil|ansi80x50:\ + :li#50:tc=cons25: +cons50-m|ansil-mono|ansi80x50-mono:\ + :li#50:tc=cons25-m: +# 80x25 ISO 8859-1 FreeBSD console +cons25l1|cons25-iso8859-1:\ + :ac=l\215m\216k\214j\213u\226t\225v\227w\230q\222x\231n\217o\220s\224p\221r\223`\201a\202f\207g\210~\237.^Y-^X+\253,\273I\247y\232z\233:\ + :tc=cons25w: +cons25l1-m|cons25-iso8859-1-mono:\ + :pa@:Co@:Sf@:Sb@:op@:us=\E[4m:ue=\E[m:md@:mh@:tc=cons25l1: +# 80x50 ISO 8859-1 FreeBSD console +cons50l1|cons50-iso8859-1:\ + :li#50:tc=cons25l1: +cons50l1-m|cons50-iso8859-1-mono:\ + :li#50:tc=cons25l1-m: +dosansi|ANSI.SYS standard crt|ansi:\ + :am:bs:ce=\E[K:cl=\E[2J:cm=\E[%i%d;%dH:co#80:\ + :do=\E[B:li#25:mi:nd=\E[C:\ + :se=\E[m:so=\E[7m:up=\E[A:us=\E[4m:ue=\E[m:\ + :md=\E[1m:mh=\E[m:mb=\E[5m:me=\E[m:\ + :kh=\EG:kb=^h:ku=\EH:kd=\EP:kl=\EK:kr=\EM:\ + :k1=\E;:k2=\E<:k3=\E=:k4=\E>:k5=\E?:\ + :k6=\E@:k7=\EA:k8=\EB:k9=\EC:k0=\ED: + +# Note: this entry describes the "native" +# capabilities of the PC monochrome display, without ANY emulation; most +# communications packages (but NOT PC/IX connect) do some kind of emulation. +pc|ibmpc|ibm pc PC/IX:\ + :li#24:co#80:am:bs:bw:eo:\ + :cd=\E[J:ce=\E[K:cl=\Ec:cm=\E[%i%2;%2H:do=\E[B:ho=\E[;H:\ + :nd=\E[C:up=\E[A:so=\E[7m:se=\E[0m:us=\E[4m:ue=\E[0m: +pc3mono|IBM PC 386BSD Console with monochrome monitor:\ + :so=\E[0;1r\E[m:tc=pc3: +pc3|ibmpc3|IBM PC 386BSD Console:\ + :Co#8:\ + :DO=\E[%dB:\ + :F1=\E[W:\ + :F2=\E[X:\ + :K1=\E[H:\ + :K2=\E[I:\ + :K3=\E[E:\ + :K4=\E[F:\ + :K5=\E[G:\ + :LE=\E[%dD:\ + :RI=\E[%dC:\ + :Sb=\E[1;%dx:\ + :Sf=\E[2;%dx:\ + :UP=\E[%dA:\ + :ac=l\332m\300k\277j\331u\264t\303v\301w\302q\304x\263n\305`^Da\260f\370g\361~\371.^Y-^Xh\261I^U0\333y\363z\362:\ + :am:\ + :bl=^G:\ + :bs:\ + :cb=\E[1K:\ + :cd=\E[J:\ + :ce=\E[K:\ + :cl=\E[H\E[J:\ + :cm=\E[%i%d;%dH:\ + :co#80:\ + :cr=^M:\ + :do=\E[B:\ + :ho=\E[H:\ + :is=\E[m:\ + :it#8:\ + :k;=\E[V:\ + :k1=\E[M:\ + :k2=\E[N:\ + :k3=\E[O:\ + :k4=\E[P:\ + :k5=\E[Q:\ + :k6=\E[R:\ + :k7=\E[S:\ + :k8=\E[T:\ + :k9=\E[U:\ + :kD=\177:\ + :@7=\E[F:\ + :kN=\E[G:\ + :kP=\E[I:\ + :kb=\177:\ + :kd=\E[B:\ + :kh=\E[H:\ + :kl=\E[D:\ + :kr=\E[C:\ + :ku=\E[A:\ + :le=^H:\ + :li#25:\ + :ms:\ + :nd=\E[C:\ + :op=\E[x:\ + :pa#64:\ + :rs=\E[m:\ + :se=\E[m:\ + :sf=\E[S:\ + :so=\E[7;1r\E[7m:\ + :sr=\E[T:\ + :ta=^I:\ + :te=\E[m:\ + :ti=\E[m:\ + :up=\E[A:\ + :ut: diff --git a/release/picobsd/isp/floppy.tree/etc/ttys b/release/picobsd/isp/floppy.tree/etc/ttys new file mode 100644 index 0000000..90a7b0a --- /dev/null +++ b/release/picobsd/isp/floppy.tree/etc/ttys @@ -0,0 +1,31 @@ +# +# @(#)ttys 5.1 (Berkeley) 4/17/89 +# +# name getty type status comments +# +# This entry needed for asking password when init goes to single-user mode +# If you want to be asked for password, change "secure" to "insecure" here +vga none cons25 off secure +# +ttyv0 "/usr/libexec/getty Pc" cons25 on secure +# Virtual terminals +ttyv1 "/usr/libexec/getty Pc" cons25 on secure +#ttyv2 "/usr/libexec/getty Pc" cons25 on secure +#ttyv3 "/usr/libexec/getty Pc" cons25 on secure +#ttyv4 "/usr/libexec/getty Pc" cons25 on secure +#ttyv5 "/usr/libexec/getty Pc" cons25 on secure +#ttyv6 "/usr/libexec/getty Pc" cons25 on secure +#ttyv7 "/usr/libexec/getty Pc" cons25 on secure +#ttyv8 "/usr/libexec/getty Pc" cons25 on secure +#ttyv9 "/usr/libexec/getty Pc" cons25 on secure +# Pseudo terminals +ttyp0 none network secure +ttyp1 none network secure +ttyp2 none network secure +ttyp3 none network +ttyp4 none network +ttyp5 none network +ttyp6 none network +ttyp7 none network +ttyp8 none network +ttyp9 none network diff --git a/release/picobsd/isp/floppy.tree/kernel.config b/release/picobsd/isp/floppy.tree/kernel.config new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/release/picobsd/isp/floppy.tree/kernel.config diff --git a/release/picobsd/isp/lang/README.en b/release/picobsd/isp/lang/README.en new file mode 100644 index 0000000..0dbebfc --- /dev/null +++ b/release/picobsd/isp/lang/README.en @@ -0,0 +1,33 @@ +1998.07.20, Warsaw, Poland + + PicoBSD 0.4 + ----------- + + +What is PicoBSD? +---------------- + +It's a one floppy version of FreeBSD (please see http://www.freebsd.org), +configured mainly for networking applications. It can be used as a router or +firewall, or kind of a fixit floppy (or all of them). + +What are minimal requirements? +------------------------------ + +* 386SX CPU or better (there is an FPU emulator in kernel) +* 10MB RAM - the more the better. If you have an HDD, you can make a + swap partition or swap file (using vnode driver and vnconfig). Then you + probably will be able to run with ca. 6MB only. But RAM is cheap... +* Modem sitting on COM1-COM4 (default is to use COM2), if you want to have + a PPP connection. +* Network card: compatible with NE2000, or PCI cards with DEC chipsets + (ed and de drivers). The kernel supports two of them (i.e. four total) plus + two PPP connections (tun interfaces). So you can easily build something like + router with as many as 6 outlets :-) + + +I'll be glad hearing from you about your experiences with PicoBSD. Thanks. + +Have fun! + +Andrzej Bialecki <abial@nask.pl> diff --git a/release/picobsd/isp/lang/README.pl b/release/picobsd/isp/lang/README.pl new file mode 100644 index 0000000..9f32dfb --- /dev/null +++ b/release/picobsd/isp/lang/README.pl @@ -0,0 +1,33 @@ +1998.07.29, Warszawa + + PicoBSD 0.4 + ----------- + +Co to jest PicoBSD? +------------------- + +Jest to jednodyskietkowa wersja FreeBSD skonfigurowana glownie pod katem +zastosowania jako klient/serwer uslug sieciowych (takich jak routing, +firewall, NFS). W celu zapoznania sie z pelnym systemem zajrzyj na +http://www.freebsd.org + +Jakie sa minimalne wymagania? +----------------------------- + +* Procesor 386SX lub lepszy (jadro posiada emulator FPU) +* 10MB pamieci - jest to absolutnie nieprzekraczalne minimum. Oczywiscie im + wiecej, tym lepiej - ograniczenie jest glownie spowodowane brakiem swapu. Po + zapoznaniu sie z systemem mozesz sobie skonfigurowac tzw. swap-file na dysku + twardym, np. na partycji DOS-owej. Wowczas prawdopodobnie wystarczy 6MB + pamieci. +* Modem, skonfigurowany na COM1-COM4 (standardowo system wykorzystuje COM2), + jesli bedzie wykorzystywany dostep przez PPP. +* Karta sieciowa: kompatybilna z NE2000, niektore typy 3Com, lub wersje PCI z + chipsetem DEC21040 (drivery ed i de). Jadro jest skonfigurowane tak, zeby + moc obsluzyc po dwie karty ed i de (czyli w sumie cztery) oraz dwa + polaczenia PPP rownoczesnie. Mozna wiec zbudowac router z 6 interfejsami. + + +Milej zabawy! + +Andrzej Bialecki <abial@nask.pl> diff --git a/release/picobsd/isp/lang/boot.help.en b/release/picobsd/isp/lang/boot.help.en new file mode 100644 index 0000000..7cbce13 --- /dev/null +++ b/release/picobsd/isp/lang/boot.help.en @@ -0,0 +1,18 @@ +Usage: bios_drive:interface(unit,partition)kernel_name options + bios_drive 0, 1, ... + interface fd, wd or sd + unit 0, 1, ... + partition a, c, ... + kernel_name name of kernel, or ? for list of files in root directory + options -a (ask name) -C (cdrom) -c (userconfig) -D (dual consoles) + -d (debug early) -g (gdb) -h (serial console) -P (probe kbd) + -r (default root) -s (single user) -v (verbose) +Examples: + 1:sd(0,a)mykernel boot `mykernel' on the first SCSI drive when one IDE + drive is present + 1:wd(2,a) boot from the second (secondary master) IDE drive + 1:sd(0,a)? list the files in the root directory on the specified + drive/unit/partition, and set the default bios_drive, + interface, unit and partition + -cv boot with the defaults, then run UserConfig to modify + hardware parameters (c), and print verbose messages (v) diff --git a/release/picobsd/isp/lang/boot.help.pl b/release/picobsd/isp/lang/boot.help.pl new file mode 100644 index 0000000..d60601f --- /dev/null +++ b/release/picobsd/isp/lang/boot.help.pl @@ -0,0 +1,16 @@ +Opcje: dysk_bios:kontroler(dysk,partycja)nazwa_kernela opcje + dysk_bios 0, 1, ... + kontroler fd (dyskietka), wd (dysk IDE) lub sd (dysk SCSI) + dysk 0, 1, ... (numer dysku w kontrolerze) + partycja a, c, e, f ... (wedlug nazewnictwa BSD) + nazwa_kernela nazwa pliku kernela, lub ? zeby dostac liste plikow + opcje -a (pytaj o rootdev) -C (cdrom) -c (userconf.) -D (podwojna konsola) + -d (uruchom debugger) -g (gdb) -h (konsola szeregowa) + -P (probkuj klawiature) -r (domyslny rootdev) -s (tryb single user) + -v (verbose - szczegolowe komunikaty) +Np: 1:sd(0,a)mykernel startuj `mykernel' z 1 dysku SCSI gdy jest tez 1 dysk + IDE, i jednoczesnie ustaw go jako domyslny dysk_bios, + kontroler, dysk i partycja + -cv startuj z parametrami domyslnymi, potem uruchom + konfiguracje param. sprzetowych (-c), i podawaj + szczegolowe komunikaty w trakcie bootowania (-v). diff --git a/release/picobsd/isp/lang/hosts.en b/release/picobsd/isp/lang/hosts.en new file mode 100644 index 0000000..e4afb80 --- /dev/null +++ b/release/picobsd/isp/lang/hosts.en @@ -0,0 +1,5 @@ +# $Id: hosts.en,v 1.1.1.1 1998/07/14 07:30:46 abial Exp $ +# This file should contain the addresses and aliases +# for local hosts that share this file. +127.0.0.1 localhost localhost.mydomain.edu +127.0.0.1 pico.mydomain.edu diff --git a/release/picobsd/isp/lang/hosts.pl b/release/picobsd/isp/lang/hosts.pl new file mode 100644 index 0000000..39973af --- /dev/null +++ b/release/picobsd/isp/lang/hosts.pl @@ -0,0 +1,5 @@ +# $Id: hosts.pl,v 1.1.1.1 1998/07/14 07:30:46 abial Exp $ +# This file should contain the addresses and aliases +# for local hosts that share this file. +127.0.0.1 localhost localhost.mydomain.org.pl +127.0.0.1 pico.mydomain.org.pl diff --git a/release/picobsd/isp/lang/m.en b/release/picobsd/isp/lang/m.en new file mode 100644 index 0000000..077a3b5 --- /dev/null +++ b/release/picobsd/isp/lang/m.en @@ -0,0 +1,11 @@ + +PicoBSD 0.32 (ISP-alpha) + +Welcome to PicoBSD! + +You can find a short description of the +system in file /README. You can view it using +"more /README". + +For more info contact the author (abial@nask.pl). + diff --git a/release/picobsd/isp/lang/m.pl b/release/picobsd/isp/lang/m.pl new file mode 100644 index 0000000..8870e1e --- /dev/null +++ b/release/picobsd/isp/lang/m.pl @@ -0,0 +1,11 @@ + +PicoBSD 0.32 (ISP-alpha) + +Witamy w PicoBSD! + +W glownym katalogu w pliku README znajdziesz +krotki opis systemu. Mozesz go obejrzec przy pomocy +"more /README". + +Wiecej informacji znajdziesz u autora (abial@nask.pl). + diff --git a/release/picobsd/isp/lang/mfs.rc.en b/release/picobsd/isp/lang/mfs.rc.en new file mode 100644 index 0000000..718345a --- /dev/null +++ b/release/picobsd/isp/lang/mfs.rc.en @@ -0,0 +1,34 @@ +#!/bin/sh +# $Id: mfs.rc.en,v 1.3 1998/08/10 19:16:42 abial Exp $ + +# System startup script run by init on autoboot +# or after single-user. + +stty status '^T' + +trap : 2 +trap : 3 # shouldn't be needed + +HOME=/; export HOME +PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin +export PATH + +trap "echo 'Reboot interrupted'; exit 1" 3 + +### Special setup for one floppy PICOBSD ### +echo "" +echo "-------------------------------------------" +echo " Please wait. The system is coming up..." +echo "-------------------------------------------" +echo "" +echo "Reading /etc from startup floppy..." +mount -o rdonly /dev/fd0a /start_floppy +cd /start_floppy/etc +cp -Rp . /etc/ +cd /etc +pwd_mkdb -p ./master.passwd +umount /start_floppy +echo "Ok. (Now you may remove floppy if you like)" +echo "" +. rc +exit 0 diff --git a/release/picobsd/isp/lang/mfs.rc.pl b/release/picobsd/isp/lang/mfs.rc.pl new file mode 100644 index 0000000..d369093 --- /dev/null +++ b/release/picobsd/isp/lang/mfs.rc.pl @@ -0,0 +1,36 @@ +#!/bin/sh +# $Id: mfs.rc.pl,v 1.3 1998/08/10 19:16:43 abial Exp $ + +# System startup script run by init on autoboot +# or after single-user. + +stty status '^T' + +trap : 2 +trap : 3 # shouldn't be needed + +HOME=/; export HOME +PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin +export PATH + +trap "echo 'Reboot zostal przerwany'; exit 1" 3 + +############################################ +### Special setup for one floppy PICOBSD ### +############################################ +echo "" +echo "-----------------------------------------------" +echo " Prosze czekac. Trwa uruchamianie systemu..." +echo "-----------------------------------------------" +echo "" +echo "Wczytuje konfiguracje /etc z dyskietki..." +mount -o rdonly /dev/fd0a /start_floppy +cd /start_floppy/etc +cp -Rp . /etc/ +cd /etc +pwd_mkdb -p ./master.passwd +umount /dev/fd0a +echo "Ok. (Jesli chcesz, mozesz juz wyjac dyskietke)" +echo "" +. rc +exit 0 diff --git a/release/picobsd/isp/lang/motd.en b/release/picobsd/isp/lang/motd.en new file mode 100644 index 0000000..620028b --- /dev/null +++ b/release/picobsd/isp/lang/motd.en @@ -0,0 +1,12 @@ +================================================== + [31m)\_)\[37m +PicoBSD 0.4 (ISP-alpha) [31m([37m[1mo,o[m[31m)[37m + [32m__ [31m\~/[37m +Welcome to PicoBSD! [32m-->=[41m===[40m[31m\[37m + [32m~~[37m [31md d[37m +You can find a short description of the [35mpico[37m +system in file /README. You can view it using +"more /README". + +For more info contact the author (abial@nask.pl). + diff --git a/release/picobsd/isp/lang/motd.pl b/release/picobsd/isp/lang/motd.pl new file mode 100644 index 0000000..38474d1 --- /dev/null +++ b/release/picobsd/isp/lang/motd.pl @@ -0,0 +1,12 @@ +======================================================= + [31m)\_)\[37m +PicoBSD 0.4 (ISP-alpha) [31m([37m[1mo,o[m[31m)[37m + [32m__ [31m\~/[37m +Witamy w PicoBSD! [32m-->=[41m===[40m[31m\[37m + [32m~~[37m [31md d[37m +W glownym katalogu w pliku README znajdziesz [35mpico[37m +krotki opis systemu. Mozesz go obejrzec przy pomocy +"more /README". + +Wiecej informacji znajdziesz u autora (abial@nask.pl). + diff --git a/release/picobsd/isp/lang/rc.conf.en b/release/picobsd/isp/lang/rc.conf.en new file mode 100644 index 0000000..036f6c5 --- /dev/null +++ b/release/picobsd/isp/lang/rc.conf.en @@ -0,0 +1,25 @@ +#!/bin/sh +# $Id: rc.conf.en,v 1.1.1.1 1998/07/14 07:30:46 abial Exp $ +swapfile="NO" # Set to name of swapfile if aux swapfile desired. +### Network configuration sub-section ###################### +### Basic network options: ### +hostname="pico.mydomain.edu" # Set this! +firewall="NO" # firewall type (see /etc/rc.firewall) or NO +tcp_extensions="NO" # Allow RFC1323 & RFC1644 extensions (or NO). +network_interfaces="lo0" # List of network interfaces (lo0 is loopback). +ifconfig_lo0="inet 127.0.0.1" # default loopback device configuration. +#ifconfig_lo0_alias0="inet 127.0.0.254 netmask 0xffffffff" # Sample alias entry. +### Network daemons options: ### +inetd_enable="YES" # Run the network daemon dispatcher (or NO) +inetd_flags="" # Optional flags to inetd +snmpd_enable="YES" # Run the SNMP daemon (or NO) +snmpd_flags="-C -c /etc/snmpd.conf" # Optional flags to snmpd +### Network routing options: ### +defaultrouter="NO" # Set to default gateway (or NO). +static_routes="" # Set to static route list (or leave empty). +gateway_enable="NO" # Set to YES if this host will be a gateway. +arpproxy_all="" # replaces obsolete kernel option ARP_PROXYALL. +### Allow local configuration override at the very end here ## +if [ -f /etc/rc.conf.local ]; then + . /etc/rc.conf.local +fi diff --git a/release/picobsd/isp/lang/rc.conf.pl b/release/picobsd/isp/lang/rc.conf.pl new file mode 100644 index 0000000..28ef398 --- /dev/null +++ b/release/picobsd/isp/lang/rc.conf.pl @@ -0,0 +1,25 @@ +#!/bin/sh +# $Id: rc.conf.pl,v 1.1.1.1 1998/07/14 07:30:46 abial Exp $ +swapfile="NO" # Set to name of swapfile if aux swapfile desired. +### Network configuration sub-section ###################### +### Basic network options: ### +hostname="pico.mydomain.org.pl" # Set this! +firewall="NO" # firewall type (see /etc/rc.firewall) or NO +tcp_extensions="NO" # Allow RFC1323 & RFC1644 extensions (or NO). +network_interfaces="lo0" # List of network interfaces (lo0 is loopback). +ifconfig_lo0="inet 127.0.0.1" # default loopback device configuration. +#ifconfig_lo0_alias0="inet 127.0.0.254 netmask 0xffffffff" # Sample alias entry. +### Network daemons options: ### +inetd_enable="YES" # Run the network daemon dispatcher (or NO) +inetd_flags="" # Optional flags to inetd +snmpd_enable="YES" # Run the SNMP daemon (or NO) +snmpd_flags="-C -c /etc/snmpd.conf" # Optional flags to snmpd +### Network routing options: ### +defaultrouter="NO" # Set to default gateway (or NO). +static_routes="" # Set to static route list (or leave empty). +gateway_enable="NO" # Set to YES if this host will be a gateway. +arpproxy_all="" # replaces obsolete kernel option ARP_PROXYALL. +### Allow local configuration override at the very end here ## +if [ -f /etc/rc.conf.local ]; then + . /etc/rc.conf.local +fi diff --git a/release/picobsd/isp/lang/rc.en b/release/picobsd/isp/lang/rc.en new file mode 100644 index 0000000..6cac739 --- /dev/null +++ b/release/picobsd/isp/lang/rc.en @@ -0,0 +1,64 @@ +#!/bin/sh +# $Id: rc.en,v 1.3 1998/08/10 19:16:43 abial Exp $ +############################################ +### Special setup for one floppy PICOBSD ### +### THIS IS NOT THE NORMAL /etc/rc !!!!! ### +############################################ +mount -a -t nonfs +if [ -f /etc/rc.conf ]; then + . /etc/rc.conf +fi +rm -f /var/run/* +if [ "x$swapfile" != "xNO" -a -w "$swapfile" -a -b /dev/vn0b ]; then + echo "Adding $swapfile as additional swap." + vnconfig /dev/vn0b $swapfile && swapon /dev/vn0b +fi +# configure serial devices +if [ -f /etc/rc.serial ]; then + . /etc/rc.serial +fi +# start up the initial network configuration. +if [ -f /etc/rc.network ]; then + . /etc/rc.network + network_pass1 +fi +mount -a -t nfs +chmod 666 /dev/tty[pqrsPQRS]* +# clean up left-over files +rm -f /etc/nologin +(cd /var/run && { cp /dev/null utmp; chmod 644 utmp; }) +if [ -n "$network_pass1_done" ]; then + network_pass2 +fi +if [ -n "$network_pass2_done" ]; then + network_pass3 +fi +if [ "X${inetd_enable}" = X"YES" ]; then + echo "Starting inetd."; inetd ${inetd_flags} +fi +if [ "X${snmpd_enable}" = X"YES" ]; then + echo "Starting snmpd."; snmpd ${snmpd_flags} +fi + +dev_mkdb + +echo '' +if [ "x$swapfile" = "xNO" ]; then + echo "WARNING: no swap partition!" + echo "Don't run too many programs at the same time..." +fi +echo '' +echo '' +echo '+----------- PicoBSD 0.4 (ISP) ----------------+' +echo '| |' +echo '| Log in as "root" (password "setup"). |' +echo '| |' +echo '| This version of PicoBSD is fully under |' +echo '| BSD license. For more details see |' +echo '| http://www.freebsd.org/~picobsd, or contact |' +echo '| the author. |' +echo '| |' +echo '| abial@nask.pl |' +echo '| |' +echo '+----------------------------------------------+' +exit 0 diff --git a/release/picobsd/isp/lang/rc.network.en b/release/picobsd/isp/lang/rc.network.en new file mode 100644 index 0000000..e0abec2 --- /dev/null +++ b/release/picobsd/isp/lang/rc.network.en @@ -0,0 +1,79 @@ +#!/bin/sh - +# $Id: rc.network.en,v 1.1.1.1 1998/07/14 07:30:46 abial Exp $ +network_pass1() { + echo -n 'Doing initial network setup:' + # Set the host name if it is not already set + if [ -z "`hostname -s`" ] ; then + hostname $hostname + echo ' hostname' + fi + # Set up all the network interfaces, calling startup scripts if needed + for ifn in ${network_interfaces}; do + if [ -e /etc/start_if.${ifn} ]; then + . /etc/start_if.${ifn} + fi + # Do the primary ifconfig if specified + eval ifconfig_args=\$ifconfig_${ifn} + if [ -n "${ifconfig_args}" ] ; then + ifconfig ${ifn} ${ifconfig_args} + fi + # Check to see if aliases need to be added + alias=0 + while : + do + eval ifconfig_args=\$ifconfig_${ifn}_alias${alias} + if [ -n "${ifconfig_args}" ]; then + ifconfig ${ifn} ${ifconfig_args} alias + alias=`expr ${alias} + 1` + else + break; + fi + done + ifconfig ${ifn} + done + # Load the filters if required + if [ -n "$firewall_enable" -a -f /etc/rc.firewall -a \ + "x$firewall_enable" = "xYES" ] ; then + . /etc/rc.firewall + echo "Firewall rules loaded." + else + echo "Warning: kernel has firewall functionality, but firewall rules weren't loaded." + echo " All ip services are ENABLED by default." + fi + # Configure routing + if [ "x$defaultrouter" != "xNO" ] ; then + static_routes="default ${static_routes}" + route_default="default ${defaultrouter}" + fi + # Set up any static routes. This should be done before router discovery. + if [ "x${static_routes}" != "x" ]; then + for i in ${static_routes}; do + eval route_args=\$route_${i} + route add ${route_args} + done + fi + echo -n 'Additional routing options:' + if [ -n "$tcp_extensions" -a "x$tcp_extensions" != "xYES" ] ; then + echo -n ' tcp_extensions=NO' + sysctl -w net.inet.tcp.rfc1323=0 >/dev/null 2>&1 + sysctl -w net.inet.tcp.rfc1644=0 >/dev/null 2>&1 + fi + if [ "X$gateway_enable" = X"YES" ]; then + echo -n ' IP_gateway=YES' + sysctl -w net.inet.ip.forwarding=1 >/dev/null 2>&1 + fi + if [ "X$arpproxy_all" = X"YES" ]; then + echo -n ' turning on ARP_PROXY_ALL: ' + sysctl -w net.link.ether.inet.proxyall=1 2>&1 + fi + echo '.' + network_pass1_done=YES # Let future generations know we made it. +} + +network_pass2() { + network_pass2_done=YES +} + +network_pass3() { + network_pass3_done=YES +} diff --git a/release/picobsd/isp/lang/rc.network.pl b/release/picobsd/isp/lang/rc.network.pl new file mode 100644 index 0000000..3aa476b --- /dev/null +++ b/release/picobsd/isp/lang/rc.network.pl @@ -0,0 +1,80 @@ +#!/bin/sh - +# $Id: rc.network.pl,v 1.1.1.1 1998/07/14 07:30:46 abial Exp $ +network_pass1() { + echo -n 'Wstepna konfiguracja sieci:' + # Set the host name if it is not already set + if [ -z "`hostname -s`" ] ; then + hostname $hostname + echo ' hostname' + fi + # Set up all the network interfaces, calling startup scripts if needed + for ifn in ${network_interfaces}; do + if [ -e /etc/start_if.${ifn} ]; then + . /etc/start_if.${ifn} + fi + # Do the primary ifconfig if specified + eval ifconfig_args=\$ifconfig_${ifn} + if [ -n "${ifconfig_args}" ] ; then + ifconfig ${ifn} ${ifconfig_args} + fi + # Check to see if aliases need to be added + alias=0 + while : + do + eval ifconfig_args=\$ifconfig_${ifn}_alias${alias} + if [ -n "${ifconfig_args}" ]; then + ifconfig ${ifn} ${ifconfig_args} alias + alias=`expr ${alias} + 1` + else + break; + fi + done + ifconfig ${ifn} + done + # Load the filters if required + if [ -n "$firewall_enable" -a -f /etc/rc.firewall -a \ + "x$firewall_enable" = "xYES" ] ; then + . /etc/rc.firewall + echo "Zaladowano reguly filtrujace do firewalla." + else + echo "UWAGA: system posiada wbudowany modul firewalla, ale zadne reguly" + echo " filtrujace nie zostaly zaladowane." + echo " Wszystkie rodzaje ruchu IP sa dozwolone." + fi + # Configure routing + if [ "x$defaultrouter" != "xNO" ] ; then + static_routes="default ${static_routes}" + route_default="default ${defaultrouter}" + fi + # Set up any static routes. This should be done before router discovery. + if [ "x${static_routes}" != "x" ]; then + for i in ${static_routes}; do + eval route_args=\$route_${i} + route add ${route_args} + done + fi + echo -n 'Dodatkowe opcje routingu:' + if [ -n "$tcp_extensions" -a "x$tcp_extensions" != "xYES" ] ; then + echo -n ' tcp_extensions=NO' + sysctl -w net.inet.tcp.rfc1323=0 >/dev/null 2>&1 + sysctl -w net.inet.tcp.rfc1644=0 >/dev/null 2>&1 + fi + if [ "X$gateway_enable" = X"YES" ]; then + echo -n ' IP_gateway=YES' + sysctl -w net.inet.ip.forwarding=1 >/dev/null 2>&1 + fi + if [ "X$arpproxy_all" = X"YES" ]; then + echo -n ' wlaczam ARP_PROXY_ALL: ' + sysctl -w net.link.ether.inet.proxyall=1 2>&1 + fi + echo '.' + network_pass1_done=YES # Let future generations know we made it. +} + +network_pass2() { + network_pass2_done=YES +} + +network_pass3() { + network_pass3_done=YES +} diff --git a/release/picobsd/isp/lang/rc.pl b/release/picobsd/isp/lang/rc.pl new file mode 100644 index 0000000..a504d14 --- /dev/null +++ b/release/picobsd/isp/lang/rc.pl @@ -0,0 +1,62 @@ +#!/bin/sh +# $Id: rc.pl,v 1.3 1998/08/10 19:16:43 abial Exp $ +############################################ +### Special setup for one floppy PICOBSD ### +### THIS IS NOT THE NORMAL /etc/rc !!!!! ### +############################################ +mount -a -t nonfs +if [ -f /etc/rc.conf ]; then + . /etc/rc.conf +fi +rm -f /var/run/* +if [ "x$swapfile" != "xNO" -a -w "$swapfile" -a -b /dev/vn0b ]; then + echo "Dodaje $swapfile jako dodatkowy swap." + vnconfig /dev/vn0b $swapfile && swapon /dev/vn0b +fi +# configure serial devices +if [ -f /etc/rc.serial ]; then + . /etc/rc.serial +fi +# start up the initial network configuration. +if [ -f /etc/rc.network ]; then + . /etc/rc.network + network_pass1 +fi +mount -a -t nfs +# clean up left-over files +(cd /var/run && { cp /dev/null utmp; chmod 644 utmp; }) +if [ -n "$network_pass1_done" ]; then + network_pass2 +fi +if [ -n "$network_pass2_done" ]; then + network_pass3 +fi +if [ "X${inetd_enable}" = X"YES" ]; then + echo "Uruchamiam inetd."; inetd ${inetd_flags} +fi +if [ "X${snmpd_enable}" = X"YES" ]; then + echo "Uruchamiam snmpd."; snmpd ${snmpd_flags} +fi + +dev_mkdb + +echo '' +if [ "x$swapfile" = "xNO" ]; then + echo "UWAGA: brak swapu!" + echo "Nie uruchamiaj zbyt wielu programow na raz..." +fi +echo '' +echo '' +echo '+------------ PicoBSD 0.4 (ISP) ---------------+' +echo '| |' +echo '| Zaloguj sie jako "root" (haslo "setup"). |' +echo '| |' +echo '| Ta wersja PicoBSD w pelni podlega |' +echo '| licencji BSD. Po wiecej szczegolow zajrzyj |' +echo '| na http://www.freebsd.org/~picobsd, lub |' +echo '| skontaktuj sie z autorem. |' +echo '| |' +echo '| abial@nask.pl |' +echo '| |' +echo '+----------------------------------------------+' +exit 0 diff --git a/release/picobsd/isp/lang/reboot.en b/release/picobsd/isp/lang/reboot.en new file mode 100755 index 0000000..4601bb8 --- /dev/null +++ b/release/picobsd/isp/lang/reboot.en @@ -0,0 +1,2 @@ +#!/bin/sh +exec /sbin/echo "Press Ctrl-Alt-Del instead of $0" diff --git a/release/picobsd/isp/lang/reboot.pl b/release/picobsd/isp/lang/reboot.pl new file mode 100755 index 0000000..8181ced --- /dev/null +++ b/release/picobsd/isp/lang/reboot.pl @@ -0,0 +1,2 @@ +#!/bin/sh +exec /sbin/echo "Zamiast $0 nacisnij Ctrl-Alt-Del" diff --git a/release/picobsd/isp/lang/resolv.conf.en b/release/picobsd/isp/lang/resolv.conf.en new file mode 100644 index 0000000..0002d88 --- /dev/null +++ b/release/picobsd/isp/lang/resolv.conf.en @@ -0,0 +1,3 @@ +# $Id: resolv.conf.en,v 1.1.1.1 1998/07/14 07:30:46 abial Exp $ +domain mydomain.edu +nameserver 192.33.4.12 diff --git a/release/picobsd/isp/lang/resolv.conf.pl b/release/picobsd/isp/lang/resolv.conf.pl new file mode 100644 index 0000000..ed0a3f6 --- /dev/null +++ b/release/picobsd/isp/lang/resolv.conf.pl @@ -0,0 +1,3 @@ +# $Id: resolv.conf.pl,v 1.1.1.1 1998/07/14 07:30:47 abial Exp $ +domain mydomain.org.pl +nameserver 148.81.16.51 diff --git a/release/picobsd/isp/lang/update.en b/release/picobsd/isp/lang/update.en new file mode 100755 index 0000000..acbd0de --- /dev/null +++ b/release/picobsd/isp/lang/update.en @@ -0,0 +1,23 @@ +#!/bin/sh +# $Id: update.en,v 1.3 1998/08/10 19:16:43 abial Exp $ +pwd=`pwd` +echo -n "Updating /etc contents on startup floppy... " +mount /dev/fd0a /start_floppy +if [ "X$?" != "X0" ] +then + echo "" + echo "Cannot mount the floppy read-write!" + echo "Check the write-protection..." + exit 1 +fi +cd /etc +rm *.db +rm passwd +cp -Rp . /start_floppy/etc/ +pwd_mkdb master.passwd +echo " Done." +echo -n "Updating kernel parameters... " +kget -incore /start_floppy/kernel.config /stand/vanilla +umount /dev/fd0a +cd ${pwd} +echo " Done." diff --git a/release/picobsd/isp/lang/update.pl b/release/picobsd/isp/lang/update.pl new file mode 100755 index 0000000..3a95e00 --- /dev/null +++ b/release/picobsd/isp/lang/update.pl @@ -0,0 +1,23 @@ +#!/bin/sh +# $Id: update.pl,v 1.3 1998/08/10 19:16:43 abial Exp $ +pwd=`pwd` +echo -n "Uaktualniam katalog /etc na dyskietce... " +mount /dev/fd0a /start_floppy +if [ "X$?" != "X0" ] +then + echo "" + echo "Blad podczas montowania read/write dyskietki!" + echo "Sprawdz, czy nie jest zabezpieczona przed zapisem..." + exit 1 +fi +cd /etc +rm *.db +rm passwd +cp -Rp . /start_floppy/etc/ +pwd_mkdb master.passwd +echo " Zrobione." +echo -n "Uaktualniam parametry jadra..." +kget -incore /start_floppy/kernel.config /stand/vanilla +umount /dev/fd0a +cd ${pwd} +echo " Zrobione." diff --git a/release/picobsd/isp/mfs.tree/MAKEDEV b/release/picobsd/isp/mfs.tree/MAKEDEV new file mode 100755 index 0000000..639ffae --- /dev/null +++ b/release/picobsd/isp/mfs.tree/MAKEDEV @@ -0,0 +1,1167 @@ +#!/bin/sh - +# +# Copyright (c) 1990 The Regents of the University of California. +# All rights reserved. +# +# Written and contributed by W. Jolitz 12/90 +# +# Redistribution and use in source and binary forms are permitted provided +# that: (1) source distributions retain this entire copyright notice and +# comment, and (2) distributions including binaries display the following +# acknowledgement: ``This product includes software developed by the +# University of California, Berkeley and its contributors'' in the +# documentation or other materials provided with the distribution and in +# all advertising materials mentioning features or use of this software. +# Neither the name of the University 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 ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +# +# @(#)MAKEDEV 5.2 (Berkeley) 6/22/90 +# +# Device "make" file. Valid arguments: +# all makes all known devices, standard number of units (or close) +# std standard devices +# local configuration specific devices +# mach-4 mach4&lites+devices for Mach's XFree86 distribution +# (see http://www.cs.hut.fi/lites.html for more info on LITES) +# +# Tapes: +# wt* QIC-interfaced (e.g. not SCSI) 3M cartridge tape +# st* "NEW type scsi tapes" (old driver uses the +# block devices of the disks to get access) +# ft* QIC-40/QIC-80 3M cartridge tape (interfaced +# via the floppy disk controller) +# +# Disks: +# wd* "Winchester" disk drives (ST506,IDE,ESDI,RLL,...) +# wfd* "IDE floppy" disk drives (LS-120) +# fd* "floppy" disk drives (3 1/2", 5 1/4") +# sd* "SCSI disks" +# cd* "SCSI CD-ROM disks" +# mcd* "Mitsumi CD-ROM disks" +# scd* "Sony CD-ROM disks" +# matcd* "Matsushita (Panasonic) CD-ROM disks" +# wcd* "IDE CD-ROM disks" +# vn* "vnode disks" +# od* "optical disks" +# +# Console ports: +# vty* virtual console devices for syscons/pcvt/codrv +# +# Pointing devices: +# mse* Logitech and ATI Inport bus mouse +# psm* PS/2 mouse +# sysmouse Mousesystems mouse emulator for syscons +# +# Time devices: +# refclock-* serial ports used by xntpd parse refclocks +# +# Terminal ports: +# tty* general purpose serial ports +# cua* dialout serial ports +# ttyA* Specialix SI/XIO dialin ports ('*' = number of devices) +# cuaA* Specialix SI/XIO dialout ports +# ttyD* Digiboard - 16 dialin ports +# cuaD* Digiboard - 16 dialout ports +# ttyR* Rocketport dialin ports +# cuaR* Rocketport dialout ports +# +# Pseudo terminals: +# pty* set of 32 master and slave pseudo terminals +# vty* virtual terminals using syscons/pcvt/codrv console +# +# Printers: +# lpt* stock lp +# +# SCSI devices (other than CD-ROM, tape and disk): +# ssc The ``super scsi'' device +# uk* "unknown" device (supports ioctl calls only) +# worm* WORM driver +# pt* Processor Type (HP scanner, as one example) +# +# PC-CARD (previously called PCMCIA) support +# card* PC-CARD slots +# +# Special purpose devices: +# apm Advanced Power Management BIOS +# bpf* packet filter +# speaker pc speaker +# tw* xten power controller +# snd* various sound cards +# pcaudio PCM audio driver +# socksys iBCS2 socket system driver +# vat VAT compatibility audio driver (requires snd*) +# gsc Genius GS-4500 hand scanner +# joy pc joystick +# tun* Tunneling IP device +# snp* tty snoop devices +# spigot Video Spigot video acquisition card +# ctx* Cortex-I video acquisition card +# meteor* Matrox Meteor video acquisition card (pci) +# bktr* Bt848 based video acquisition card (pci) +# labpc* National Instrument's Lab-PC and LAB-PC+ +# perfmon CPU performance-monitoring counters +# pci PCI configuration-space access from user mode +# ipl ipfilter control devices (ipl, ipnat, ipstate, ipauth) +# +# $Id: MAKEDEV,v 1.1.1.1 1998/07/14 07:30:47 abial Exp $ +# + +PATH=/sbin:/bin/:/usr/bin:/usr/sbin:$PATH +umask 77 + +# Usage: die exitcode msg +die() { + echo $2 + exit $1 +} + +# Convert integer to partition name +dkitop() { + local p + + case $1 in + 0) p=a;; 1) p=b;; 2) p=c;; 3) p=d;; 4) p=e;; 5) p=f;; 6) p=g;; 7) p=h;; + *) p="?";; + esac + echo $p +} + +# Convert integer to slice name +dkitos() { + local s + + case $1 in + 0) s="";; + 1) s="";; + *) s=s$(($1-1));; + esac + echo $s +} + +# Convert disk (type, unit, slice, partition) to minor number +dkminor() +{ + echo $(($1 << 25 | ($2 / 32) << 21 | ($2 % 32) << 3 | $3 << 16 | $4)) +} + +# Override mknod(2) to add extra handling to it. +mknod() { + rm -f "$1" || exit 1 + /sbin/mknod "$@" || die 2 "/sbin/mknod $@ failed" + chown root.wheel "$1" || exit 1 +} + +# Convert the last character of a tty name to a minor number. +ttyminor() +{ + case $unit in + [0-9]) m=$unit;; + a) m=10;; b) m=11;; c) m=12;; d) m=13;; e) m=14;; f) m=15;; g) m=16;; + h) m=17;; i) m=18;; j) m=19;; k) m=20;; l) m=21;; m) m=22;; n) m=23;; + o) m=24;; p) m=25;; q) m=26;; r) m=27;; s) m=28;; t) m=29;; u) m=30;; + v) m=31;; + *) m="?";; + esac + echo $m +} + +# Raw partition for disks +dkrawpart=2 + +# Compatibility slice for disks +dkcompatslice=0 + +# Raw slice for disks +dkrawslice=1 + +# Control bit for SCSI +scsictl=$((1 << 29)) + +# Standard umasks +disk_umask=037 # allow group operator to read disks +tape_umask=017 # allow group operator to read/write tapes + +for i in $*; do +case $i in + +all) + sh MAKEDEV std # standard + sh MAKEDEV fd0 fd1 # bdev, floppy disk + sh MAKEDEV sd0 sd1 sd2 sd3 wd0 wd1 wd2 wd3 # bdev, ordinary disk + sh MAKEDEV od0 # bdev, optical disk + sh MAKEDEV wfd0 # bdev, LS-120 floppy + sh MAKEDEV vn0 # bdev, virtual disk + sh MAKEDEV cd0 matcd0 mcd0 scd0 wcd0 # bdev, cdrom + sh MAKEDEV ft0 st0 wt0 # bdev, tape + sh MAKEDEV vty4 # cdev, virtual tty + sh MAKEDEV cuaa0 cuaa1 cuaa2 cuaa3 # cdev, serial tty + sh MAKEDEV pty0 # cdev, pseudo tty + sh MAKEDEV ttyd0 ttyd1 ttyd2 ttyd3 # cdev, serial tty + sh MAKEDEV mse0 psm0 sysmouse # cdev, mouse + sh MAKEDEV pcaudio speaker # cdev, noise + sh MAKEDEV lpt0 lpt1 lpt2 # cdev, printer + sh MAKEDEV bpf0 ipl tun0 # cdev, network + sh MAKEDEV ch0 perfmon tw0 # cdev, miscellaneous + sh MAKEDEV apm card0 card1 # cdev, laptop + ;; +std) + mknod console c 0 0; chmod 600 console + mknod drum c 4 0; chmod 640 drum; chgrp kmem drum + mknod kmem c 2 1; chmod 640 kmem; chgrp kmem kmem + mknod mem c 2 0; chmod 640 mem; chgrp kmem mem + mknod null c 2 2; chmod 666 null + mknod random c 2 3; chmod 644 random + mknod urandom c 2 4; chmod 644 urandom + mknod zero c 2 12; chmod 666 zero + mknod io c 2 14; chmod 600 io + mknod tty c 1 0; chmod 666 tty + mknod klog c 7 0; chmod 600 klog + mknod stdin c 22 0; chmod 666 stdin + mknod stdout c 22 1; chmod 666 stdout + mknod stderr c 22 2; chmod 666 stderr + mknod lkm c 32 0; chmod 644 lkm + mknod pci c 78 0; chmod 644 pci + mkdir -p fd + (cd fd && eval `echo "" | awk ' BEGIN { \ + for (i = 0; i < 64; i++) \ + printf("mknod %d c 22 %d;", i, i)}'`) + chown -R bin.bin fd + chmod 555 fd + chmod 666 fd/* + ;; + +mach-4) + mknod iopl c 22 0 + mknod kbd c 23 0 + mknod mouse c 24 0 + mknod time c 25 0 + mknod timezone c 26 0 + ;; + +# Create device files for new Archive/Wangtek QIC-02 tape driver (vak) +wt*) + umask $tape_umask + u=`expr $i : '..\(.*\)'` + if [ x$u = x ]; then u=0; fi + mknod rwt${u} c 10 `expr 0 + $u` # default density, 512b blocks + mknod nrwt${u} c 10 `expr 4 + $u` +# mknod rWt${u} c 10 `expr 64 + $u` # default density, 1024b blocks +# mknod nrWt${u} c 10 `expr 68 + $u` + mknod rwt${u}b c 10 `expr 16 + $u` # 60 megabytes + mknod nrwt${u}b c 10 `expr 20 + $u` + mknod rwt${u}c c 10 `expr 24 + $u` # 120 megabytes + mknod nrwt${u}c c 10 `expr 28 + $u` + mknod rwt${u}d c 10 `expr 32 + $u` # 150 megabytes + mknod nrwt${u}d c 10 `expr 36 + $u` +# mknod rwt${u}e c 10 `expr 40 + $u` # 300 megabytes? +# mknod nrwt${u}e c 10 `expr 44 + $u` +# mknod rwt${u}f c 10 `expr 48 + $u` # 600 megabytes? +# mknod nrwt${u}f c 10 `expr 52 + $u` + chgrp operator r[Ww]t$u nr[Ww]t$u r[Ww]t$u[a-f] nr[Ww]t$u[a-f] + umask 77 + ;; + +# Individual slices. +od*s*|sd*s*|vn*s*|wd*s*|wfd*s*) + umask $disk_umask + case $i in + od*s*) name=od; blk=20; chr=70;; + sd*s*) name=sd; blk=4; chr=13;; + wd*s*) name=wd; blk=0; chr=3;; + vn*s*) name=vn; blk=15; chr=43;; + wfd*s*) name=wfd; blk=1; chr=87;; + esac + case $i in + wfd*s*) + unit=`expr $i : '...\([0-9]*\)s'` + slice=`expr $i : '...[0-9]*s\([0-9]*\)'` + part=`expr $i : '...[0-9]*s[0-9]*\(.*\)'` + ;; + *) + unit=`expr $i : '..\([0-9]*\)s'` + slice=`expr $i : '..[0-9]*s\([0-9]*\)'` + part=`expr $i : '..[0-9]*s[0-9]*\(.*\)'` + ;; + esac + case $unit in + [0-9]|[0-9][0-9]|[0-4][0-9][0-9]|50[0-9]|51[0-1]) + case $slice in + [0-9]|[1-2][0-9]|30) + oldslice=$slice + slice=$(($slice+1)) + slicename=`dkitos $slice` + minor=`dkminor 0 $unit $slice $dkrawpart` + mknod $name$unit$slicename b $blk $minor + mknod r$name$unit$slicename c $chr $minor + case $part in + [a-h]) + case $oldslice in + 0) slice=$oldslice ;; + esac + for part in 0 1 2 3 4 5 6 7 + do + minor=`dkminor 0 $unit $slice $part` + partname=`dkitop $part` + mknod $name$unit$slicename$partname \ + b $blk $minor + mknod r$name$unit$slicename$partname \ + c $chr $minor + done + ;; + "") + ;; + *) + echo bad partition for disk in: $i + ;; + esac + chgrp operator $name$unit$slicename* \ + r$name$unit$slicename* + ;; + *) + echo bad slice for disk in: $i + ;; + esac + ;; + *) + echo bad unit for disk in: $i "(unit=$unit, slice=$slice, part=$part)" + ;; + esac + umask 77 + ;; + +fd*) + umask $disk_umask + unit=`expr $i : '..\(.*\)'` + name=fd; blk=2; chr=9 + case $unit in + 0|1|2|3) + mknod ${name}${unit} b $blk `expr $unit '*' 64` + mknod r${name}${unit} c $chr `expr $unit '*' 64` + # Fake BSD partitions + for i in a b c d e f g h + do + ln ${name}${unit} ${name}${unit}$i + ln r${name}${unit} r${name}${unit}$i + done + # User-readable and programmer-readable name sets + + mknod ${name}${unit}.1720 b $blk `expr $unit '*' 64 + 1` + mknod r${name}${unit}.1720 c $chr `expr $unit '*' 64 + 1` + # ln ${name}${unit}.1720 ${name}${unit}135hs21 + # ln r${name}${unit}.1720 r${name}${unit}135hs21 + + mknod ${name}${unit}.1480 b $blk `expr $unit '*' 64 + 2` + mknod r${name}${unit}.1480 c $chr `expr $unit '*' 64 + 2` + # ln ${name}${unit}.1480 ${name}${unit}135hs18 + # ln r${name}${unit}.1480 r${name}${unit}135hs18 + # ln ${name}${unit}.1480 ${name}${unit}96hs18 + # ln r${name}${unit}.1480 r${name}${unit}96hs18 + + mknod ${name}${unit}.1440 b $blk `expr $unit '*' 64 + 3` + mknod r${name}${unit}.1440 c $chr `expr $unit '*' 64 + 3` + # ln ${name}${unit}.1440 ${name}${unit}135 + # ln r${name}${unit}.1440 r${name}${unit}135 + # ln ${name}${unit}.1440 ${name}${unit}135ds18 + # ln r${name}${unit}.1440 r${name}${unit}135ds18 + # ln ${name}${unit}.1440 ${name}${unit}96ds18 + # ln r${name}${unit}.1440 r${name}${unit}96ds18 + + mknod ${name}${unit}.1200 b $blk `expr $unit '*' 64 + 4` + mknod r${name}${unit}.1200 c $chr `expr $unit '*' 64 + 4` + # ln ${name}${unit}.1200 ${name}${unit}96 + # ln r${name}${unit}.1200 r${name}${unit}96 + # ln ${name}${unit}.1200 ${name}${unit}96ds15 + # ln r${name}${unit}.1200 r${name}${unit}96ds15 + # ln ${name}${unit}.1200 ${name}${unit}135ds15 + # ln r${name}${unit}.1200 r${name}${unit}135ds15 + + mknod ${name}${unit}.820 b $blk `expr $unit '*' 64 + 5` + mknod r${name}${unit}.820 c $chr `expr $unit '*' 64 + 5` + # ln ${name}${unit}.820 ${name}${unit}96hs10 + # ln r${name}${unit}.820 r${name}${unit}96hs10 + # ln ${name}${unit}.820 ${name}${unit}135hs10 + # ln r${name}${unit}.820 r${name}${unit}135hs10 + + mknod ${name}${unit}.800 b $blk `expr $unit '*' 64 + 6` + mknod r${name}${unit}.800 c $chr `expr $unit '*' 64 + 6` + # ln ${name}${unit}.800 ${name}${unit}96ds10 + # ln r${name}${unit}.800 r${name}${unit}96ds10 + # ln ${name}${unit}.800 ${name}${unit}135ds10 + # ln r${name}${unit}.800 r${name}${unit}135ds10 + + mknod ${name}${unit}.720 b $blk `expr $unit '*' 64 + 7` + mknod r${name}${unit}.720 c $chr `expr $unit '*' 64 + 7` + # ln ${name}${unit}.720 ${name}${unit}96ds9 + # ln r${name}${unit}.720 r${name}${unit}96ds9 + # ln ${name}${unit}.720 ${name}${unit}135ds9 + # ln r${name}${unit}.720 r${name}${unit}135ds9 + + mknod ${name}${unit}.360 b $blk `expr $unit '*' 64 + 8` + mknod r${name}${unit}.360 c $chr `expr $unit '*' 64 + 8` + # ln ${name}${unit}.360 ${name}${unit}48 + # ln r${name}${unit}.360 r${name}${unit}48 + # ln ${name}${unit}.360 ${name}${unit}48ds9 + # ln r${name}${unit}.360 r${name}${unit}48ds9 + + chgrp operator ${name}${unit}* r${name}${unit}* + ;; + *) + echo bad unit for disk in: $i + ;; + esac + umask 77 + ;; + +ft*) + umask $tape_umask + unit=`expr $i : '..\(.*\)'` + name=ft; blk=2; chr=9 + case $unit in + 0|1|2|3) + mknod ${name}${unit} b $blk `expr $unit '*' 64 + 32` + mknod r${name}${unit} c $chr `expr $unit '*' 64 + 32` + ln ${name}${unit} ${name}${unit}a + ln r${name}${unit} r${name}${unit}a + chgrp operator ${name}${unit}* r${name}${unit}* + ;; + *) + echo bad unit for tape in: $i + ;; + esac + umask 77 + ;; + +od*|sd*|vn*|wd*|wfd*) + umask $disk_umask + case $i in + od*) name=od; blk=20; chr=70;; + sd*) name=sd; blk=4; chr=13;; + vn*) name=vn; blk=15; chr=43;; + wd*) name=wd; blk=0; chr=3;; + wfd*) name=wfd; blk=1; chr=87;; + esac + case $i in + wfd*) + unit=`expr $i : '...\(.*\)'` + ;; + *) + unit=`expr $i : '..\(.*\)'` + ;; + esac + case $unit in + [0-9]|[0-9][0-9]|[0-4][0-9][0-9]|50[0-9]|51[0-1]) + for slicepartname in s0h s1 s2 s3 s4 + do + sh MAKEDEV $name$unit$slicepartname + done + case $name in + od|sd) + minor=`dkminor 0 $unit 0 0` + mknod r${name}${unit}.ctl c $chr $(($minor | $scsictl)) + chmod 600 r${name}${unit}.ctl + ;; + esac + ;; + *) + echo bad unit for disk in: $i + ;; + esac + umask 77 + ;; + +ccd*) + umask $disk_umask + name=ccd + blk=21; chr=74 + unit=`expr $i : '...\(.*\)'` + case $unit in + [0-9]|[0-9][0-9]|[0-4][0-9][0-9]|50[0-9]|51[0-1]) + for part in 0 1 2 3 4 5 6 7 + do + minor=`dkminor 0 $unit 0 $part` + partname=`dkitop $part` + mknod $name$unit$partname b $blk $minor + mknod r$name$unit$partname c $chr $minor + done + chgrp operator ${name}${unit}[a-h] r${name}${unit}[a-h] + ;; + *) + echo bad unit for disk in: $i + ;; + esac + umask 77 + ;; + +ssc*) + mknod ssc c 49 0 + ;; + +uk*) + unit=`expr $i : 'uk\(.*\)'` + mknod uk$unit c 31 $unit + ;; + +worm*) + umask $disk_umask + unit=`expr $i : 'worm\(.*\)'` + if [ "X${unit}" = "X" ]; then + unit=0 + fi + chr=62 + blk=23 + name=worm + mknod ${name}${unit} b $blk ${unit} + mknod r${name}${unit} c $chr ${unit} + chgrp operator ${name}${unit} r${name}${unit} + umask 077 + mknod r${name}${unit}.ctl c $chr `expr $unit + $scsictl ` + ;; + +# SCSI processor type driver +pt[0-9]*) + chr=61 + name=pt + unit=`expr $i : 'pt\([0-9][0-9]*\)'` + if [ "X${unit}" = "X" ]; then + unit=0 + fi + unit=`expr $unit + 1 - 1` + mknod ${name}${unit} c $chr $unit + mknod ${name}${unit}.ctl c $chr `expr $unit + $scsictl ` + ;; + +pty*) + class=`expr $i : 'pty\(.*\)'` + case $class in + 0) offset=0 name=p;; + 1) offset=32 name=q;; + 2) offset=64 name=r;; + 3) offset=96 name=s;; +# Note that xterm (at least) only look at p-s. + 4) offset=128 name=P;; + 5) offset=160 name=Q;; + 6) offset=192 name=R;; + 7) offset=224 name=S;; + # This still leaves [tuTU]. + *) echo bad unit for pty in: $i;; + esac + case $class in + 0|1|2|3|4|5|6|7) + umask 0 + eval `echo $offset $name | awk ' { b=$1; n=$2 } END { \ + for (i = 0; i < 32; i++) { + c = substr("0123456789abcdefghijklmnopqrstuv", i + 1, 1); \ + printf("mknod tty%s%s c 5 %d; \ + mknod pty%s%s c 6 %d;", \ + n, c, b+i, \ + n, c, b+i); \ + } \ + }'` + umask 77 + ;; + esac + ;; + +st*) + umask $tape_umask + unit=`expr $i : '..\(.*\)'` + chr=14 + + case $unit in + 0|1|2|3|4|5|6) + for mode in 0 1 2 3 + do + mknod rst${unit}.${mode} c $chr `expr $unit '*' 16 + $mode '*' 4 + 0` + mknod nrst${unit}.${mode} c $chr `expr $unit '*' 16 + $mode '*' 4 + 1` + mknod erst${unit}.${mode} c $chr `expr $unit '*' 16 + $mode '*' 4 + 2` + mknod st${unit}ctl.${mode} c $chr `expr $unit '*' 16 + $mode '*' 4 + 3` + chgrp operator rst${unit}.${mode}\ + nrst${unit}.${mode} \ + erst${unit}.${mode} \ + st${unit}ctl.${mode} + chmod 600 st${unit}ctl.${mode} + done + mknod rst${unit}.ctl c $chr `expr $unit '*' 16 + $scsictl ` + chmod 600 rst${unit}.ctl + + ln rst${unit}.0 rst${unit} + ln nrst${unit}.0 nrst${unit} + ln erst${unit}.0 erst${unit} + ;; + *) + echo bad unit for tape in: $i + ;; + esac + umask 77 + ;; + +ch*) + umask 37 + unit=`expr $i : '..\(.*\)'` + case $i in + ch*) name=ch; chr=17;; + esac + case $unit in + 0|1|2|3|4|5|6) + mknod ${name}${unit} c $chr `expr $unit '*' 16 + 0` + chgrp operator ${name}${unit} + mknod r${name}${unit}.ctl c $chr `expr $unit '*' 16 + $scsictl ` + chmod 600 r${name}${unit}.ctl + ;; + *) + echo bad unit for media changer in: $i + ;; + esac + umask 77 + ;; + +cd*|mcd*|scd*) + umask $disk_umask + case $i in + cd*) unit=`expr $i : '..\(.*\)'`; name=cd; blk=6; chr=15;; + mcd*) unit=`expr $i : '...\(.*\)'`; name=mcd; blk=7; chr=29;; + scd*) unit=`expr $i : '...\(.*\)'`; name=scd; blk=16; chr=45;; + esac + case $unit in + 0|1|2|3|4|5|6) + mknod ${name}${unit}a b $blk `expr $unit '*' 8 + 0` + mknod ${name}${unit}c b $blk `expr $unit '*' 8 + 2` + mknod r${name}${unit}a c $chr `expr $unit '*' 8 + 0` + mknod r${name}${unit}c c $chr `expr $unit '*' 8 + 2` + chgrp operator ${name}${unit}[a-h] r${name}${unit}[a-h] + case $name in + cd) + mknod r${name}${unit}.ctl c $chr `expr $unit '*' 8 + $scsictl ` + chmod 600 r${name}${unit}.ctl + ;; + esac + ;; + *) + echo bad unit for disk in: $i + ;; + esac + umask 77 + ;; + +matcd*) + umask 2 + case $i in + matcd*) unit=`expr $i : '.....\(.*\)'`; name=matcd; blk=17; chr=46;; + esac + case $unit in + 0|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15) + mknod ${name}${unit}a b $blk `expr $unit '*' 8 + 0` + mknod ${name}${unit}c b $blk `expr $unit '*' 8 + 2` + mknod r${name}${unit}a c $chr `expr $unit '*' 8 + 0` + mknod r${name}${unit}c c $chr `expr $unit '*' 8 + 2` + chgrp operator ${name}${unit}[a-h] r${name}${unit}[a-h] + chmod 640 ${name}${unit}[a-h] r${name}${unit}[a-h] + + mknod ${name}${unit}la b $blk `expr $unit '*' 8 + 128` + mknod ${name}${unit}lc b $blk `expr $unit '*' 8 + 130` + mknod r${name}${unit}la c $chr `expr $unit '*' 8 + 128` + mknod r${name}${unit}lc c $chr `expr $unit '*' 8 + 130` + chgrp operator ${name}${unit}l[a-h] r${name}${unit}l[a-h] + chmod 640 ${name}${unit}l[a-h] r${name}${unit}l[a-h] + ;; + *) + echo bad unit for disk in: $i + ;; + esac + umask 77 + ;; + +wcd*) + umask 2 ; + unit=`expr $i : '...\(.*\)'` + blk=19 + chr=69 + case $unit in + 0|1|2|3) + mknod wcd${unit}a b $blk `expr $unit '*' 8 + 0` + mknod rwcd${unit}a c $chr `expr $unit '*' 8 + 0` + mknod wcd${unit}c b $blk `expr $unit '*' 8 + 2` + mknod rwcd${unit}c c $chr `expr $unit '*' 8 + 2` + chgrp operator wcd${unit}[a-h] rwcd${unit}[a-h] + chmod 640 wcd${unit}[a-h] rwcd${unit}[a-h] + ;; + *) + echo bad unit for disk in: $i + ;; + esac + umask 77 + ;; + +lpt*) + unit=`expr $i : 'lpt\(.*\)'` + mknod lpt$unit c 16 $unit + mknod lpctl$unit c 16 `expr $unit + 128` + ;; + +tw*) + unit=`expr $i : 'tw\(.*\)'` + mknod tw$unit c 19 $unit + chgrp operator tw$unit + ;; + +# Use this to create virtual consoles for syscons, pcvt or codrv +# ttyv0-b +# use as MAKEDEV vtyNN to create NN entries +vty*) + chr=12 + units=`expr $i : 'vty\(.*\)'` + eval `echo ${chr} ${units} | awk ' { c=$1; n=$2 } END { + for (i = 0; i < n; i++) + printf("mknod ttyv%01x c %d %d;", i, c, i); }'` + ln -fs ttyv0 vga # XXX X still needs this pccons relic + ;; + +bpf*) + unit=`expr $i : 'bpf\(.*\)'` + mknod bpf$unit c 23 $unit + ;; + +speaker) + mknod speaker c 26 0 + ;; + +cuaa?|cua?) + umask 7 + unit=`expr $i : 'cua.*\(.\)$'` + m=`ttyminor $unit` + mknod cuaa$unit c 28 `expr $m + 128` + mknod cuaia$unit c 28 `expr $m + 32 + 128` + mknod cuala$unit c 28 `expr $m + 64 + 128` + chown uucp.dialer cua*a$unit + umask 77 + ;; + +tty0?|ttyd?|tty?) + unit=`expr $i : 'tty.*\(.\)$'` + m=`ttyminor $unit` + mknod ttyd$unit c 28 $m + mknod ttyid$unit c 28 `expr $m + 32` + mknod ttyld$unit c 28 `expr $m + 64` + ;; + +cuac?) + umask 7 + portlist="0 1 2 3 4 5 6 7 8 9 a b c d e f + g h i j k l m n o p q r s t u v" + major=48 + card=`expr $i : 'cua.*\(.\)$'` + for unit in $portlist + do + minor=`ttyminor $unit` + minor=`expr $card \* 65536 + $minor` + name=$card$unit + mknod cuac$name c $major `expr $minor + 128` + mknod cuaic$name c $major `expr $minor + 32 + 128` + mknod cualc$name c $major `expr $minor + 64 + 128` + chown uucp.dialer cuac$name cuaic$name cualc$name + done + umask 77 + ;; + +ttyc?) + portlist="0 1 2 3 4 5 6 7 8 9 a b c d e f + g h i j k l m n o p q r s t u v" + major=48 + card=`expr $i : 'tty.*\(.\)$'` + for unit in $portlist + do + minor=`ttyminor $unit` + minor=`expr $card \* 65536 + $minor` + name=$card$unit + mknod ttyc$name c $major $minor + mknod ttyic$name c $major `expr $minor + 32` + mknod ttylc$name c $major `expr $minor + 64` + done + ;; + +# RISCom8 'rc' driver entries + +cuam?) + umask 7 + unit=`expr $i : 'cua.*\(.\)$'` + m=`ttyminor $unit` + mknod cuam$unit c 63 `expr $m + 128` + chown uucp.dialer cuam$unit + umask 77 + ;; + +ttym?) + unit=`expr $i : 'tty.*\(.\)$'` + m=`ttyminor $unit` + mknod ttym$unit c 63 $m + ;; + +# Specialix SI/XIO. +# Note: these are 'base 1' to match the numbers on the panels, and to match +# the manual that comes with the system. +ttyA*) + major=68 + nports=`expr $i : 'ttyA\(.*\)$'` + port=1 + while [ $port -le $nports ]; do + minor=`expr $port - 1` + name=`expr $port + 1000 | cut -c 3-4` + mknod ttyA$name c $major $minor + mknod ttyiA$name c $major `expr $minor + 65536` + mknod ttylA$name c $major `expr $minor + 131072` + port=`expr $port + 1` + done + # For the user-mode control program, 'sicontrol' + mknod si_control c 68 262144 + ;; + +cuaA*) + umask 7 + major=68 + nports=`expr $i : 'cuaA\(.*\)$'` + port=1 + while [ $port -le $nports ]; do + minor=`expr $port - 1` + name=`expr $port + 1000 | cut -c 3-4` + mknod cuaA$name c $major `expr $minor + 128` + mknod cuaiA$name c $major `expr $minor + 128 + 65536` + mknod cualA$name c $major `expr $minor + 128 + 131072` + chown uucp.dialer cuaA$name cuaiA$name cualA$name + port=`expr $port + 1` + done + umask 77 + ;; + +# Digiboard PC/?? 16 port card. +# The current scheme of minor numbering is: +# +# unused{14} CARD{2} major{8} CALLOUT{1} LOCK{1} INIT{1} PORT{5} +# +# CARD bitfield in future versions may be extended to 3 bits. +# +# See dgb(4) +# +ttyD?) + portlist="0 1 2 3 4 5 6 7 8 9 a b c d e f" + major=58 + card=`expr $i : 'tty.*\(.\)$'` + for unit in $portlist + do + minor=`ttyminor $unit` + minor=`expr $card \* 65536 + $minor` + name=$card$unit + mknod ttyD$name c $major $minor + mknod ttyiD$name c $major `expr $minor + 32` + mknod ttylD$name c $major `expr $minor + 64` + done + ;; + +cuaD?) + umask 7 + portlist="0 1 2 3 4 5 6 7 8 9 a b c d e f" + major=58 + card=`expr $i : 'cua.*\(.\)$'` + for unit in $portlist + do + minor=`ttyminor $unit` + minor=`expr $card \* 65536 + $minor` + name=$card$unit + mknod cuaD$name c $major `expr $minor + 128` + mknod cuaiD$name c $major `expr $minor + 32 + 128` + mknod cualD$name c $major `expr $minor + 64 + 128` + chown uucp.dialer cua*D$name + done + umask 77 + ;; + +ttyR?) + major=81 + BOARD=1; MINOR=65536; Rnum=0 + MINOR=`expr $BOARD \* 65536` + dmesg | grep ^RocketPort[0-4] > /tmp/rp_list + controllers=`awk '{print $1}' < /tmp/rp_list` + rm -f /dev/ttyR*; rm -f /dev/ttyiR*; rm -f /dev/ttylR* + for i in $controllers;do + ndevices=`grep ^$i /tmp/rp_list | sed -e 's/.* \([0-9]*\) ports/\1/'` + echo -n "Creating $ndevices devices for $i: " + for dev in `jot $ndevices 0`;do + mknod /dev/ttyR$Rnum c $major $MINOR + mknod /dev/ttylR$Rnum c $major `expr $MINOR + 32` + mknod /dev/ttyiR$Rnum c $major `expr $MINOR + 64` + Rnum=`expr $Rnum + 1` + MINOR=`expr $MINOR + 1` + done + BOARD=`expr $BOARD + 1` + MINOR=`expr $BOARD \* 65536` + echo " " + done + ;; + +cuaR?) + major=81 + BOARD=1; MINOR=65536; Rnum=0 + MINOR=`expr $BOARD \* 65536` + dmesg | grep ^RocketPort[0-4] > /tmp/rp_list + controllers=`awk '{print $1}' < /tmp/rp_list` + rm -f /dev/cuaR*; rm -f /dev/cuaiR*; rm -f /dev/cualR* + for i in $controllers;do + ndevices=`grep ^$i /tmp/rp_list | sed -e 's/.* \([0-9]*\) ports/\1/'` + echo -n "Creating $ndevices devices for $i: " + for dev in `jot $ndevices 0`;do + mknod /dev/cuaR$Rnum c $major `expr $MINOR + 128` + mknod /dev/cualR$Rnum c $major `expr $MINOR + 128 + 32` + mknod /dev/cuaiR$Rnum c $major `expr $MINOR + 128 + 64` + Rnum=`expr $Rnum + 1` + MINOR=`expr $MINOR + 1` + done + BOARD=`expr $BOARD + 1` + MINOR=`expr $BOARD \* 65536` + echo " " + done + chown uucp.dialer /dev/cuaR* + ;; + +mse*) + unit=`expr $i : 'mse\(.*\)'` + chr=27 + mknod mse$unit c $chr `expr $unit '*' 2 + 1` # non-blocking for X11 + ;; + +psm*) + unit=`expr $i : 'psm\(.*\)'` + chr=21 + mknod psm$unit c $chr `expr $unit '*' 2 + 1` # non-blocking for X11 + ;; + +mouse*) + name=`expr $i : 'mouse\(.*\)'` + if [ ! -c $name ]; then + $0 $name # make the appropriate device + fi + ln -fs $name mouse + ;; + +pcaudio) + mknod pcaudio c 24 0 + mknod pcaudioctl c 24 128 + ;; + +socksys) + mknod socksys c 41 0 + mknod spx c 41 1 + ln -fs socksys nfsd + chmod 666 socksys nfsd spx + ;; + +snd*) +# +# changes from Linux voxware +# minor Linux FreeBSD +# 8 sequencer2 (aka music0) music0 +# 17 patmgr0 sequencer1 +# 33 patmgr1 sequencer2 +# + + unit=`expr $i : 'snd\(.*\)'` + chr=30 + + # XXX write this less verbosely, like std + snd_security_hole=0 # XXX + umask $snd_security_hole + + if [ $unit = "0" ] ; then + ln -fs mixer$unit mixer + ln -fs sequencer$unit sequencer + ln -fs dsp$unit dsp + ln -fs audio$unit audio + ln -fs dspW$unit dspW + ln -fs music$unit music + ln -fs pss$unit pss + fi + + mknod mixer$unit c $chr `expr $unit '*' 16 + 0` + mknod sequencer$unit c $chr `expr $unit '*' 16 + 1` + mknod midi$unit c $chr `expr $unit '*' 16 + 2` + mknod dsp$unit c $chr `expr $unit '*' 16 + 3` + mknod audio$unit c $chr `expr $unit '*' 16 + 4` + mknod dspW$unit c $chr `expr $unit '*' 16 + 5` + mknod sndstat c $chr 6 + # minor number 7 is unused + mknod music$unit c $chr `expr $unit '*' 16 + 8` + mknod pss$unit c $chr `expr $unit '*' 16 + 9` + # minor numbers 10-15 are unused + umask 77 + ;; + +vat) + mknod vatio c 25 128 + chmod 660 vatio + ;; + +gsc*) + unit=`expr $i : 'gsc\(.*\)'` + mknod gsc${unit} c 47 $unit + mknod gsc${unit}p c 47 $(($unit + 8)) + mknod gsc${unit}d c 47 $(($unit + 32)) + mknod gsc${unit}pd c 47 $(($unit + 40)) + chmod 666 gsc${unit}* + ;; + +apm*) + chr=39 + mknod apm c $chr 0 + chgrp operator apm + chmod 660 apm + ;; + +card*) + unit=`expr $i : 'card\(.*\)'` + chr=50 + mknod card$unit c $chr $unit + chmod 644 card$unit + ;; + +ttyx?|ttyy?|ttyz?) + case $i in + *0) unit=0;; *1) unit=1;; *2) unit=2;; *3) unit=3;; + *4) unit=4;; *5) unit=5;; *6) unit=6;; *7) unit=7;; + *8) unit=8;; *9) unit=9;; *a) unit=10;; *b) unit=11;; + *c) unit=12;; *d) unit=13;; *e) unit=14;; *f) unit=15;; + esac + case $i in + ttyy?) unit=`expr $unit \+ 16`;; + ttyz?) unit=`expr $unit \+ 32`;; + esac + mknod $i c 42 $unit + chown uucp.wheel $i + ;; + +cronyx) + mknod cronyx c 42 63 + ;; + +joy) + mknod joy0 c 51 0 + mknod joy1 c 51 1 + chgrp operator joy0 joy1 + chmod 640 joy0 joy1 + ;; + +spigot) + mknod spigot c 11 0 + chmod 444 spigot + ;; + +ctx?) + unit=`expr $i : 'ctx\(.*\)'` + mknod ctx$unit c 40 $unit + chmod 444 ctx$unit + ;; + +meteor?) + unit=`expr $i : 'meteor\(.*\)'` + mknod meteor$unit c 67 $unit + chmod 444 meteor$unit + ;; + +bktr?) + unit=`expr $i : 'bktr\(.*\)'` + mknod bktr$unit c 92 $unit + mknod tuner$unit c 92 $((16 + $unit )) + chmod 444 bktr$unit tuner$unit + ;; + +tun*) + ntun=`expr $i : 'tun\(.*\)$'` + unit=0 + while [ $unit -le $ntun ]; do + mknod tun$unit c 52 $unit + chown uucp.dialer tun$unit + unit=`expr $unit + 1` + done + ;; + +sysmouse) + mknod sysmouse c 12 128 + mknod consolectl c 12 255 + ;; + +snp?) + unit=`expr $i : 'snp\(.*\)'` + mknod snp$unit c 53 $unit + ;; + +# dufault@hda.com: If I do much more work on other A-D boards +# then eventually we'll have a "ad" and "dio" interface and some of these +# "labpcaio" ones will be gone. +# labpcaio: D-A and A-D. +# labpcdio: Digital in and Digital out. +# +labpc*) + umask 7 + case $i in + labpcaio*) + name=labpcaio + unit=`expr $i : 'labpcaio\(.*\)'` + all="0 1 2 3 4 5 6 7" + offset=0 + ;; + labpcdio*) + name=labpcdio + unit=`expr $i : 'labpcdio\(.*\)'` + all="0 1 2 3" + offset=8 + ;; + *) + die 3 "Don't know LabPC type $i" + ;; + esac + if [ "X${unit}" = "X" ]; then + unit=all + fi + case $unit in + 0|1|2|3|4|5|6|7) + mknod $name$unit c 66 `expr $offset + $unit ` + ;; + all) + for i in $all + do + mknod $name$i c 66 `expr $offset + $i ` + done + ;; + *) + echo "No such LabPC unit: $unit" + ;; + esac + umask 77 + ;; + +perfmon) + mknod perfmon c 2 32 + chgrp kmem perfmon + chmod 640 perfmon + ;; + +ipl) + mknod ipl c 79 0 + mknod ipnat c 79 1 + mknod ipstate c 79 2 + mknod ipauth c 79 3 + ;; + +local) + umask 0 # XXX should be elsewhere + sh MAKEDEV.local + umask 77 + ;; + +*) + echo $i - no such device name + ;; + +esac +done diff --git a/release/picobsd/isp/mfs.tree/Makefile b/release/picobsd/isp/mfs.tree/Makefile new file mode 100644 index 0000000..3e9344f --- /dev/null +++ b/release/picobsd/isp/mfs.tree/Makefile @@ -0,0 +1,41 @@ +# +# $Id: Makefile,v 1.1.1.1 1998/07/14 07:30:47 abial Exp $ +# + +DESTDIR?=/mnt + +STAND_LINKS= bin sbin +USR_LINKS= bin sbin libexec +PL_LOCALE_LINKS= pl polish + +all: tree links + +tree: + mtree -deU -f mfs.mtree -p ${DESTDIR} + +links: tree + (cd ${DESTDIR}; \ + for i in ${STAND_LINKS}; \ + do \ + ln -s /stand $${i}; \ + done; \ + cd var/run; \ + ln -s /dev/null log; \ + cd ../../usr; \ + for i in ${USR_LINKS}; \ + do \ + ln -s /stand $${i}; \ + done; \ + cd share/misc;\ + ln -s /etc/termcap termcap; ) + + +# We don't do it under 'all' because it's needed only on non-DEVFS systems +devnodes: tree + (cp MAKEDEV ${DESTDIR}/dev/; \ + cd ${DESTDIR}/dev; \ + ./MAKEDEV std tun2 vty10 fd0 wd0 wd0s1h pty0 vn0; \ + ./MAKEDEV rp0 rp1 cy0 cy1; \ + ./MAKEDEV cuaa0 cuaa1 cuaa2 cuaa3 cuaa4; \ + ./MAKEDEV cuaa5 cuaa6 cuaa7 cuaa8 cuaa9; \ + rm MAKEDEV;) diff --git a/release/picobsd/isp/mfs.tree/mfs.mtree b/release/picobsd/isp/mfs.tree/mfs.mtree new file mode 100644 index 0000000..1703df5 --- /dev/null +++ b/release/picobsd/isp/mfs.tree/mfs.mtree @@ -0,0 +1,56 @@ +# +# $Id: mfs.mtree,v 1.1.1.1 1998/07/14 07:30:47 abial Exp $ +# +/set type=dir uname=root gname=wheel mode=0755 +. + dev + .. + dos + .. + etc + .. + home + user + .. + .. + mnt + .. + mnt1 + .. + mnt2 + .. + proc + .. + root + .. + stand + .. + start_floppy + .. + tftpboot + .. + tmp + .. + usr + local + lib + snmp + .. + .. + .. + share + misc + .. + .. + .. + var + db + .. + run + .. + spool + lock + .. + .. + .. +.. |