debian/0000755000000000000000000000000012234706041007165 5ustar debian/manpages0000644000000000000000000000016012234706041010700 0ustar debian/snmpsimd.1 debian/snmprec.1 debian/snmpsim-datafile.1 debian/snmpsim-mib2dev.1 debian/snmpsim-pcap2dev.1 debian/examples0000644000000000000000000000000512234706041010721 0ustar data debian/snmpsimd.10000644000000000000000000000131412234706041011100 0ustar .Dd $Mdocdate: July 28 2013 $ .Dt SNMPSIMD 1 .Os .Sh NAME .Nm snmpsimd .Nd SNMP Agents Simulation tool .Sh SYNOPSIS .Nm .Op Fl -help .Op ... .Sh DESCRIPTION .Nm responds to SNMP requests, variate responses based on transport addresses, SNMP community name or SNMPv3 context name. It needs to be feeded with data files that could be generated by either .Xr snmprec 1 or .Xr snmpsim-mib2dev 1 . .Nm can implement highly complex behavior through variation modules. .Sh SEE ALSO .Xr snmprec 1 , .Xr snmpsim-datafile 1 , .Xr snmpsim-mib2dev 1 . .Pp For more documentation about .Nm , have a look at .Pa /usr/share/doc/snmpsim/README.txt and .Lk http://snmpsim.sourceforge.net/simulating-agents.html "Simulating agents" . debian/source/0000755000000000000000000000000012234706041010465 5ustar debian/source/format0000644000000000000000000000001412234706041011673 0ustar 3.0 (quilt) debian/copyright0000644000000000000000000000317712234706041011130 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Ilya Etingof Upstream-Contact: ilya@glas.net Source: http://snmpsim.sourceforge.net/ Files: * Copyright: Copyright (c) 2005-2013, Ilya Etingof License: BSD-2-clause Files: debian/* Copyright: 2013, Vincent Bernat License: BSD-2-clause License: BSD-2-clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. . * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. debian/rules0000755000000000000000000000074712234706041010255 0ustar #!/usr/bin/make -f # -*- makefile -*- %: dh --with=python2 $@ override_dh_install: dh_install # Rename .py files to extension-less files for f in debian/snmpsim/usr/bin/*.py; do mv $$f $${f%.py} ; done # Rename datafile and mib2dev with a prefix for f in datafile mib2dev pcap2dev; do mv debian/snmpsim/usr/bin/$$f debian/snmpsim/usr/bin/snmpsim-$$f ; done # Remove /usr/snmpsim rm -rf debian/snmpsim/usr/snmpsim override_dh_installchangelog: dh_installchangelog CHANGES.txt debian/README.Debian0000644000000000000000000000047712234706041011236 0ustar Executables have been renamed to remove `.py` suffix. Generic names have also been prefixed by `snmpsim-` to avoid name clash. snmpsimd.py → snmpsimd snmprec.py → snmprec datafile.py → snmpsim-datafile mib2dev.py → snmpsim-mib2dev -- Vincent Bernat , Sun, 28 Jul 2013 14:53:33 +0200 debian/snmpsim-mib2dev.10000644000000000000000000000134112234706041012262 0ustar .Dd $Mdocdate: July 28 2013 $ .Dt SNMPSIM-MIB2DEV 1 .Os .Sh NAME .Nm snmpsim-mib2dev .Nd converts MIB modules into SNMP Simulator data files .Sh SYNOPSIS .Nm .Op Fl -help .Op ... .Sh DESCRIPTION .Nm takes MIB module in PySNMP format and produces data file for SNMP Simulator to playback. It chooses random values or can ask for them interactively. It is able to fill SNMP conceptual tables with consistent indices. The produced data files can then be used with .Xr snmpsimd 1 .Sh SEE ALSO .Xr snmpsimd 1 , .Xr snmprec 1 , .Xr snmpsim-datafile 1 . .Pp For more documentation about .Nm , have a look at .Pa /usr/share/doc/snmpsim/README.txt or .Lk http://snmpsim.sourceforge.net/simulation-based-on-mibs.html "Simulation based on MIBs" . debian/snmpsim-pcap2dev.10000644000000000000000000000136512234706041012444 0ustar .Dd $Mdocdate: July 28 2013 $ .Dt SNMPSIM-PCAP2DEV 1 .Os .Sh NAME .Nm snmpsim-pcap2dev .Nd converts PCAP captures into SNMP Simulator data files .Sh SYNOPSIS .Nm .Op Fl -help .Op ... .Sh DESCRIPTION .Nm takes a PCAP file containing a capture of SNMP traffic between a manager and an agent and produces data file for SNMP Simulator to playback. It is also able to do a live capture on a chosen interface. The produced data files can then be used with .Xr snmpsimd 1 .Sh SEE ALSO .Xr snmpsimd 1 , .Xr snmprec 1 , .Xr snmpsim-datafile 1 . .Pp For more documentation about .Nm , have a look at .Pa /usr/share/doc/snmpsim/README.txt or .Lk http://snmpsim.sourceforge.net/simulation-based-on-captured-traffic.html "Simulation based on captured network traffic" . debian/snmpsim-datafile.10000644000000000000000000000077612234706041012516 0ustar .Dd $Mdocdate: July 28 2013 $ .Dt SNMPSIM-DATAFILE 1 .Os .Sh NAME .Nm snmpsim-datafile .Nd SNMP simulator data files management and repair tool .Sh SYNOPSIS .Nm .Op Fl -help .Op ... .Sh DESCRIPTION .Nm manages data files. It can sort records, deduplicates them or converts between formats. Those data files can then be used with .Xr snmpsimd 1 . .Sh SEE ALSO .Xr snmpsimd 1 , .Xr snmprec 1 , .Xr snmpsim-mib2dev 1 . .Pp For more documentation about .Nm , have a look at .Pa /usr/share/doc/snmpsim/README.txt . debian/compat0000644000000000000000000000000212234706041010363 0ustar 7 debian/install0000644000000000000000000000003412234706041010553 0ustar variation usr/share/snmpsim debian/snmprec.10000644000000000000000000000107612234706041010722 0ustar .Dd $Mdocdate: July 28 2013 $ .Dt SNMPREC 1 .Os .Sh NAME .Nm snmpsimd .Nd SNMP Agents Recording tool .Sh SYNOPSIS .Nm .Op Fl -help .Op ... .Sh DESCRIPTION .Nm queries specified agent, stores response data in data files for subsequent playback by .Xr snmpsimd 1 . .Nm can store a series of recordings for a more dynamic playback. .Sh SEE ALSO .Xr snmpsimd 1 , .Xr snmpsim-datafile 1 , .Xr snmpsim-mib2dev 1 . .Pp For more documentation about .Nm , have a look at .Pa /usr/share/doc/snmpsim/README.txt and .Lk http://snmpsim.sourceforge.net/snapshotting.html "Snapshotting" . debian/watch0000644000000000000000000000012412234706041010213 0ustar version=3 http://pypi.python.org/packages/source/s/snmpsim/ snmpsim-([\d.]+).tar.gz debian/changelog0000644000000000000000000000052312234706041011037 0ustar snmpsim (0.2.4-1) unstable; urgency=low * New upstream release. * Add a manual page for `snmpsim-pcap2dev`. -- Vincent Bernat Fri, 01 Nov 2013 11:20:58 +0100 snmpsim (0.2.3-1) unstable; urgency=low * Initial release. Closes: #717935. -- Vincent Bernat Sun, 28 Jul 2013 15:36:53 +0200 debian/control0000644000000000000000000000236612234706041010577 0ustar Source: snmpsim Section: net Priority: optional Maintainer: Vincent Bernat Build-Depends: debhelper (>= 7.0.50~), python-all (>= 2.6.6-3~) Standards-Version: 3.9.4 Homepage: http://snmpsim.sourceforge.net/ Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/snmpsim.git Vcs-Git: git://anonscm.debian.org/collab-maint/snmpsim.git Package: snmpsim Architecture: all Depends: ${python:Depends}, ${misc:Depends}, python-pysnmp4 (>= 4.2.4), python-pyasn1 Description: SNMP agent simulator SNMP Simulator is a software that would act like a multitude of real physical devices from SNMP Manager's point of view. Simulator builds and uses a database of physical devices' SNMP footprints to respond like their real counterparts do. . Typical use case for this software starts with recording a snapshot of SNMP objects of donor agents into text files. Once you have your snapshots at hand, a simulator script could be run over the snapshots responding to SNMP queries in the same way as donor SNMP agents did at the time of recording. . Technically, SNMP Simulator is a multi-context SNMP agent. That means that it handles multiple sets of managed object all at once. Each device is simulated within a dedicated SNMP context. debian/docs0000644000000000000000000000001312234706041010032 0ustar README.txt