[X] The "/vmpk/vmpk-0.2.5-setup.exe" file could not be found or is not available. Please select another file.

FAIN SNAP provides an active network programming language and interpreter. It allows finite state machines to be operated over a number of network elements. Its main use is to program firewalls and raise alerts. It is a native Debian distribution.


http://fain-snap.sourceforge.net





Separate each tag with a space.

Ratings and Reviews

Be the first to post a text review of FAIN SNMP Activator. Rate and review a project by clicking thumbs up or thumbs down in the right column.

Project Feed

  • Debian Woody Release

    This is release 0.9-15 for fain-snap. It builds and runs on the Debian woody release. fain-snap_0.9-15 builds the i386 executables. This includes the SNAP daemon and client programs. The library contains linkage for Java applications. jsnapan-0.8-4 is the Java component. It contians examples Java applications (no applets) to send SNAP packets using the native interface provided by fain-snap. mibs-0.1_7 is an SNMP MIB implementation. It provides something like the SNMP script facility. Using this you can execute arbitrary scripts on an SNMP agent host using SNMP access control. Each of these three source collections builds to give a set of Debian packages which can be easily distributed and installed.

    posted by eepgwde 1854 days ago

  • fain-snap woody file released: mibs_0.1-7.tar.gz

    2003-10-14 Walter Eaves <weaves@ee.ucl.ac.uk> * src/mib/TSG-UCL-MIB.txt: I've had to remove this from the SNAP installation because it is now needed by another package (mibs). 2003-01-14 Walter Eaves <weaves@ee.ucl.ac.uk> * src/lib/snap_asm.c (snap_assemble): This is strange. I've changed the memory management calls to use those in zmemory.h and I've had add bzero() calls. The packets are still not the same after assembly. 2003-01-12 Walter Eaves <weaves@ee.ucl.ac.uk> * src/ctl/collector.c (print_packet): This no longer puts control characters into the output and flushes. * src/lib/thrd_mng.c (snap_thread_init): The thread sub-system is now initialised indirectly by a global snap_init(). * src/ctl/snapd.c (main): Managed to get all of the data processing code into the library. The daemon is now just a CLI and config file parser that initialises sub-systems. 2003-01-09 Walter Eaves <weaves@ee.ucl.ac.uk> * src/lib/services.c (svc_var_clear): This method clears all of the variables. It should be used with care. * test/injectping-smux-05.sh: This is a checkpoint test for epoch control under 0.9-7. 2003-01-08 Walter Eaves <weaves@ee.ucl.ac.uk> * src/ctl/vas.c (snmp_set_registers): This method updates the registers after the snmp() call has done its stuff. 2003-01-07 Walter Eaves <weaves@ee.ucl.ac.uk> * src/mib/mib2c.conf: This has been changed to use two methods to get the enterprise object identifier and the length of it. The original object identifier now has a length function. * src/lib/smux_addr.c (smux_setowner): This allows the object identifier that the machine registers under to be changed. Associated with the --smux option's username. 2003-01-03 Walter Eaves <weaves@ee.ucl.ac.uk> * src/lib/snap0_bind.c (patch_table): A lot of code from the MIB compiler can be re-used. This patches the dispatch table. The whole file snap0_bind.c makes a lot of use of static globals. * src/lib/services.c (svc_register_pair_fv): This is the method that associates a service with a variable. 2003-01-02 Walter Eaves <weaves@ee.ucl.ac.uk> * src/lib/smux.c (smux_header_simple_table): I added this to support snap0_bind.c. * include/hashtable.h: Enhanced version of part that now has some accounting information attached. Including the index for the SMUX table support. * src/ctl/svcd.c: This now initializes with the new methods assigns indexes. * src/lib/snap0_bind.c (snap0_fetcher): This now supports tables. Each table has a list associated with it. It includes a file generated in src/mib. * test/injectping-smux-01.sh: This tests the new SMUX MIB binding by returning two of the stash variables. 2002-12-31 Walter Eaves <weaves@ee.ucl.ac.uk> * src/ctl/vas.c (snmpget): This uses the new method. * src/lib/snmp_helper.c (snmp_parm_set): Much tidier management of the SNMP methods. * src/ctl/vas.c (snmp): This is the new method for servicing SNMP calls. It uses one string rather than all those registers. 2002-12-30 Walter Eaves <weaves@ee.ucl.ac.uk> * src/lib/snmp_helper.c (snap_snmp_session_start): Added some structure re-use. 2002-12-29 Walter Eaves <weaves@ee.ucl.ac.uk> * test/vas5.sas: This tests the SNMP trap service. * src/lib/smux.c (smux_setpassword): SMUX password works. * src/mib/SNAPv0-MIB.txt: Added some traps and simplified the names of the variables. Integrated into snap_snmp.c. Started on a second version that has a table for the services, traps, SNMP calls and many others. This is now a specification of the control interface. 2002-12-28 Walter Eaves <weaves@ee.ucl.ac.uk> * test/injectping-smux.sh: This is a test of the heap usage reporting. * src/lib/svc_heap.c (svc_heap_status): This reports the amount of heap in an unsafe manner. * test/snap-smux-02.sh (hostD): This is the test for fain-snap_0.9-3.tar.gz. It's an implemented experimental MIB. No linkage to the daemon. 2002-12-27 Walter Eaves <weaves@ee.ucl.ac.uk> * include/smux.h: Kunihiro may have used an old NET-SNMP. He had custom data types, rather than those from NET-SNMP. Deleted these and modified smux.c. * src/lib/smux.c (smux_init): SMUX implemented. Thanks to Kunihiro Ishiguro for the code from Zebra that provides this. * src/ctl/snapsend.c: And all the other final executables. Thesse now need to include the header file snap-app.h to make sure that progname and master are instantiated. 2002-12-26 Walter Eaves <weaves@ee.ucl.ac.uk> * src/lib/smux.c: Pillaged the zebra code for an smux implementation. * debian/rules: The documentation is now built in the debian tree and copied over. * src/ctl/Makefile.am (snapd_LDADD): I had wanted to put snap-ipt.c into the library, but automake and libtool can't handle conditional compilation. * src/lib/dispatch.c: Added a dispatcher for select(). This is intended to support SMUX. 2002-12-25 Walter Eaves <weaves@ee.ucl.ac.uk> * src/lib/udpnet.c: I'm changing over to a select() dispatcher. I've had to remove a loop from the get_packet() code. 2002-12-24 Walter Eaves <weaves@ee.ucl.ac.uk> * man/snap.en.sgml: I've changed to using the debiandoc SGML format for producing the documentation. These aren't integrated into the documentation yet. 2002-12-23 Walter Eaves <weaves@ee.ucl.ac.uk> * src/lib/udpnet.c: Changed an important piece of trace code in the startup. * bin/init-dev.sh (location): Added this script for use by package maintainer. Should be run before test/snap-ipt-03.sh as root. 2002-12-22 Walter Eaves <weaves@ee.ucl.ac.uk> * doc/snap-ipt.mail (Subject): Documentation about the new test set-up for REDIRECT under OUTPUT.nat. * test/ipt-01.conf (snapan.address): This is the base configuration for the iptables REDIRECT tests. * src/ctl/snapd.c: Big rewrite to support more command-line switches and configuration file reading. 2002-12-18 Walter Eaves <weaves@ee.ucl.ac.uk> * include/config.h (CONFIG_SNAP_USE_TIMERS_LOWOVERHEAD): Added this to the build as well. By default LOW_OVERHEAD is undefined. * include/d_printf.h (SNAP_DBG_SERV): Added constants for trace generation. 25 is a useful level. 2002-12-15 Walter Eaves <weaves@ee.ucl.ac.uk> * include/defs.h: Major header file change. config.h is overwritten in the configure process, so I've made the config file defs.h. 2002-11-21 Walter Eaves <weaves@ee.ucl.ac.uk> * src/lib/d_printf.c: Added trace level indicator. * include/d_printf.h (SNAP_IPT_PACKETS): Added definition of a trace level. 2002-11-05 Walter Eaves <weaves@ee.ucl.ac.uk> * doc/passtest: This is an example file for testing the snmpset feature with a net-snmp SNMP daemon. * debian/snapan/usr/share/doc/snapan/examples/test/vas4.sas (main): New test file for snmpset. * src/ctl/snmp_helper.c: Changed the failures to return -1. Added snmp_setter(). Changes to headers and vas.c, svcd.c. 2002-08-06 Walter Eaves <Walter.Eaves@bigfoot.com> * src/java/tuples/sample.lex: Has a PACKETEOF token for \000 in packets. * src/java/tuples/parser.sh: This now tests the parser using data captured from jinjectping-test.sh. * src/ctl/vas.c: Made a minor change to the output of tuple2string so that it adds a semi-colon to match the needs of the Java parser. 2002-08-05 Walter Eaves <weaves@ee.ucl.ac.uk> * src/lib/bytecode.c: I had to make the behaviour of sprintf_value switchable at runtime. It needed an extra parameter, but I used a wrapping function. * src/ctl/vas.c: I now have to quote strings so that they get through the Java parser. I didn't do this very well. 2002-07-28 Walter Eaves <weaves@ee.ucl.ac.uk> * test/ping2.sas (move): This is a copy of ping1.sas that performs an SNMP get of the system uptime. I was hoping to get more timing information. The heap is starting to fail on long test runs. I should add a reset heap service variable. * test/ping1.sas (finish): Now resets the protocol when finished. This will still not quite work, but it is better than before. * src/lib/stash.c: svc_stash_epoch now accepts a reset operation. If you pass an exception to it, it will reset itself to undefined. This allows an asynchronous ping to work quite well. * test/ping1.sas (main): This gives a fairly good impersonation of ping now. It uses the timer registers of the SNAP daemon to record packets departing and arriving. It doesn't work if packets overlap, so don't run it too fast. * src/ctl/snapping.c: Minor change to trap a SIGSEGV if the receive socket is in use. * src/lib/stash.c: Added support for time variables, see also services.c and stash.h. 2002-07-27 Walter Eaves <weaves@ee.ucl.ac.uk> * src/lib/timers.c: Added a function to get the clock rate from the /proc filesystem. * test/ping.sas (main): This is the ping program that can be injected. * src/ctl/collector.c: Protocols can be separated into injectors and collectors. This is a collector that collects bytes written to sockets. It is very similar to snaprecv.c. 2002-07-17 Walter Eaves <Walter.Eaves@bigfoot.com> * src/ctl/snapping.c: Made a mistake re-using this code. Jonathan added a sequence number to the packet. I'd corrupted this. Works now. * src/ctl/snap-ipt.c: Finally worked out the headers. It appears to work. snapping doesn't report it has received all the packets. The IPQ subsystem is told that the packet is to be dropped, because SNAP sends the packet. * src/lib/interp.c: Changed the FORW behaviour as well. 2002-07-16 Walter Eaves <Walter.Eaves@bigfoot.com> * src/ctl/snapd.c: Added a command line switch to choose the packet processor. This gets invoked correctly, but crashes. * src/lib/interp.c: Changed the FORWTO behaviour to always send back to the header destination. This is the first time I've used SNAP across a network. 2002-04-05 Walter Eaves <weaves@ee.ucl.ac.uk> * test/Makefile: tuplesend.sas doesn't behave when built for differently from usual. * include/type_macros.h: Modified to build for !SMALL_VALUES and !SMALL_INSTRUCTIONS. 2002-03-28 Walter Eaves <weaves@ee.ucl.ac.uk> * src/ctl/snmp_helper.c: snmp_getter now does an SNMP get. * src/lib/stash.c: debug statements passed wrong parameters subsequent intermittent memory faults. * include/dyncheck.h: Found some more dynamic checking macros. 2002-03-21 Walter Eaves <weaves@ee.ucl.ac.uk> * include/exception.h (E_VALUE_NTSV): Added another exception "not a valid Top Stack Variable." This has a special status in that it is sourced by to the SNAP service component. You could not store this in a service variable. * test/Makefile: Unfortunately, if you change machine the magic number changes: on john it's 10118. * src/lib/stash.c: The registers are now in here. Still just one for each type. The implementation now supports copying from one variable to another. This works packet to service, and probably service to service, but service to packet probably won't work and shouldn't be allowed. * src/lib/svc_heap.c: Services.c is now JM and SH's code with minor mods by me. 2002-03-20 Walter Eaves <weaves@ee.ucl.ac.uk> * src/lib/interp.c: This illustrates how to leave dynamic checking to the configuration. * src/lib/services.c: This illustrates how to dynamic checking off locally. This is a good idea for services because they use a different heap. * include/io.h: one of many header file re-organised because bytecode.h has had type_macros.h removed from it. Most source files needed header files flattening and reorganising. Please note: the order is unchanged in the __KERNEL__ defined sections. Best practice for header files is config, bytecode, packet, io and others then if needed dyncheck, type_macros. 2002-03-19 Walter Eaves <weaves@ee.ucl.ac.uk> * include/config.h.in: Put DYNCHECK under config control. This necessitated changes in defs.h (NDYNCHECK) subsequently dyncheck.h and type_macros.h. * include/type_macros.h: This file contains all of the data type manipulation. * include/bytecode.h: Restructured this. Types are defined in the first part and then type_macros.h is included. These are the GET and SET commands for the SNAP data types. Lot of comments about the conditionaly builds. * src/lib/sizes.c: Now includes bytecode.h, which is the file in which all the typing is done. Useful analysis. * test/Makefile (all-local): Added this rule to reduce the noise on the build. 8913 is the current sum of the disassembled files. * include/defs.h: I took a good look at the logic for the build. Jonathan has three configuration choices: only half are valid and I don't usually test any other than one. I've put the logic into this file. I put some pragmas in, but I'll never use them. I've put a warning in about the default build. Don't forget to use gcc -E -dD <file> to see the pragmas and the default definitions. * test/Makefile (%.sasu): and others, found the -o switch. Output appended to a log file. * src/ctl/vas.c: This provides value-added services definitions. In particular, tuple2string and namelookup. Also SNMP. * doc/bytecode.cpp: added some text files in doc to explain how the memory management works (using offset and heap_min). Also added bytecode.cpp. A run of gcc -E -dN ../include/bytecode.h that shows the macro definitions in the default build. * include/services.h: started using my _DECL macro for header files. Haven't made use of the #if _DECL == extern feature yet, some pre-processors complain about this. Hope no-one minds.

    posted 1854 days ago

  • fain-snap woody file released: jsnapan_0.8-4.tar.gz

    2003-10-14 Walter Eaves <weaves@ee.ucl.ac.uk> * src/mib/TSG-UCL-MIB.txt: I've had to remove this from the SNAP installation because it is now needed by another package (mibs). 2003-01-14 Walter Eaves <weaves@ee.ucl.ac.uk> * src/lib/snap_asm.c (snap_assemble): This is strange. I've changed the memory management calls to use those in zmemory.h and I've had add bzero() calls. The packets are still not the same after assembly. 2003-01-12 Walter Eaves <weaves@ee.ucl.ac.uk> * src/ctl/collector.c (print_packet): This no longer puts control characters into the output and flushes. * src/lib/thrd_mng.c (snap_thread_init): The thread sub-system is now initialised indirectly by a global snap_init(). * src/ctl/snapd.c (main): Managed to get all of the data processing code into the library. The daemon is now just a CLI and config file parser that initialises sub-systems. 2003-01-09 Walter Eaves <weaves@ee.ucl.ac.uk> * src/lib/services.c (svc_var_clear): This method clears all of the variables. It should be used with care. * test/injectping-smux-05.sh: This is a checkpoint test for epoch control under 0.9-7. 2003-01-08 Walter Eaves <weaves@ee.ucl.ac.uk> * src/ctl/vas.c (snmp_set_registers): This method updates the registers after the snmp() call has done its stuff. 2003-01-07 Walter Eaves <weaves@ee.ucl.ac.uk> * src/mib/mib2c.conf: This has been changed to use two methods to get the enterprise object identifier and the length of it. The original object identifier now has a length function. * src/lib/smux_addr.c (smux_setowner): This allows the object identifier that the machine registers under to be changed. Associated with the --smux option's username. 2003-01-03 Walter Eaves <weaves@ee.ucl.ac.uk> * src/lib/snap0_bind.c (patch_table): A lot of code from the MIB compiler can be re-used. This patches the dispatch table. The whole file snap0_bind.c makes a lot of use of static globals. * src/lib/services.c (svc_register_pair_fv): This is the method that associates a service with a variable. 2003-01-02 Walter Eaves <weaves@ee.ucl.ac.uk> * src/lib/smux.c (smux_header_simple_table): I added this to support snap0_bind.c. * include/hashtable.h: Enhanced version of part that now has some accounting information attached. Including the index for the SMUX table support. * src/ctl/svcd.c: This now initializes with the new methods assigns indexes. * src/lib/snap0_bind.c (snap0_fetcher): This now supports tables. Each table has a list associated with it. It includes a file generated in src/mib. * test/injectping-smux-01.sh: This tests the new SMUX MIB binding by returning two of the stash variables. 2002-12-31 Walter Eaves <weaves@ee.ucl.ac.uk> * src/ctl/vas.c (snmpget): This uses the new method. * src/lib/snmp_helper.c (snmp_parm_set): Much tidier management of the SNMP methods. * src/ctl/vas.c (snmp): This is the new method for servicing SNMP calls. It uses one string rather than all those registers. 2002-12-30 Walter Eaves <weaves@ee.ucl.ac.uk> * src/lib/snmp_helper.c (snap_snmp_session_start): Added some structure re-use. 2002-12-29 Walter Eaves <weaves@ee.ucl.ac.uk> * test/vas5.sas: This tests the SNMP trap service. * src/lib/smux.c (smux_setpassword): SMUX password works. * src/mib/SNAPv0-MIB.txt: Added some traps and simplified the names of the variables. Integrated into snap_snmp.c. Started on a second version that has a table for the services, traps, SNMP calls and many others. This is now a specification of the control interface. 2002-12-28 Walter Eaves <weaves@ee.ucl.ac.uk> * test/injectping-smux.sh: This is a test of the heap usage reporting. * src/lib/svc_heap.c (svc_heap_status): This reports the amount of heap in an unsafe manner. * test/snap-smux-02.sh (hostD): This is the test for fain-snap_0.9-3.tar.gz. It's an implemented experimental MIB. No linkage to the daemon. 2002-12-27 Walter Eaves <weaves@ee.ucl.ac.uk> * include/smux.h: Kunihiro may have used an old NET-SNMP. He had custom data types, rather than those from NET-SNMP. Deleted these and modified smux.c. * src/lib/smux.c (smux_init): SMUX implemented. Thanks to Kunihiro Ishiguro for the code from Zebra that provides this. * src/ctl/snapsend.c: And all the other final executables. Thesse now need to include the header file snap-app.h to make sure that progname and master are instantiated. 2002-12-26 Walter Eaves <weaves@ee.ucl.ac.uk> * src/lib/smux.c: Pillaged the zebra code for an smux implementation. * debian/rules: The documentation is now built in the debian tree and copied over. * src/ctl/Makefile.am (snapd_LDADD): I had wanted to put snap-ipt.c into the library, but automake and libtool can't handle conditional compilation. * src/lib/dispatch.c: Added a dispatcher for select(). This is intended to support SMUX. 2002-12-25 Walter Eaves <weaves@ee.ucl.ac.uk> * src/lib/udpnet.c: I'm changing over to a select() dispatcher. I've had to remove a loop from the get_packet() code. 2002-12-24 Walter Eaves <weaves@ee.ucl.ac.uk> * man/snap.en.sgml: I've changed to using the debiandoc SGML format for producing the documentation. These aren't integrated into the documentation yet. 2002-12-23 Walter Eaves <weaves@ee.ucl.ac.uk> * src/lib/udpnet.c: Changed an important piece of trace code in the startup. * bin/init-dev.sh (location): Added this script for use by package maintainer. Should be run before test/snap-ipt-03.sh as root. 2002-12-22 Walter Eaves <weaves@ee.ucl.ac.uk> * doc/snap-ipt.mail (Subject): Documentation about the new test set-up for REDIRECT under OUTPUT.nat. * test/ipt-01.conf (snapan.address): This is the base configuration for the iptables REDIRECT tests. * src/ctl/snapd.c: Big rewrite to support more command-line switches and configuration file reading. 2002-12-18 Walter Eaves <weaves@ee.ucl.ac.uk> * include/config.h (CONFIG_SNAP_USE_TIMERS_LOWOVERHEAD): Added this to the build as well. By default LOW_OVERHEAD is undefined. * include/d_printf.h (SNAP_DBG_SERV): Added constants for trace generation. 25 is a useful level. 2002-12-15 Walter Eaves <weaves@ee.ucl.ac.uk> * include/defs.h: Major header file change. config.h is overwritten in the configure process, so I've made the config file defs.h. 2002-11-21 Walter Eaves <weaves@ee.ucl.ac.uk> * src/lib/d_printf.c: Added trace level indicator. * include/d_printf.h (SNAP_IPT_PACKETS): Added definition of a trace level. 2002-11-05 Walter Eaves <weaves@ee.ucl.ac.uk> * doc/passtest: This is an example file for testing the snmpset feature with a net-snmp SNMP daemon. * debian/snapan/usr/share/doc/snapan/examples/test/vas4.sas (main): New test file for snmpset. * src/ctl/snmp_helper.c: Changed the failures to return -1. Added snmp_setter(). Changes to headers and vas.c, svcd.c. 2002-08-06 Walter Eaves <Walter.Eaves@bigfoot.com> * src/java/tuples/sample.lex: Has a PACKETEOF token for \000 in packets. * src/java/tuples/parser.sh: This now tests the parser using data captured from jinjectping-test.sh. * src/ctl/vas.c: Made a minor change to the output of tuple2string so that it adds a semi-colon to match the needs of the Java parser. 2002-08-05 Walter Eaves <weaves@ee.ucl.ac.uk> * src/lib/bytecode.c: I had to make the behaviour of sprintf_value switchable at runtime. It needed an extra parameter, but I used a wrapping function. * src/ctl/vas.c: I now have to quote strings so that they get through the Java parser. I didn't do this very well. 2002-07-28 Walter Eaves <weaves@ee.ucl.ac.uk> * test/ping2.sas (move): This is a copy of ping1.sas that performs an SNMP get of the system uptime. I was hoping to get more timing information. The heap is starting to fail on long test runs. I should add a reset heap service variable. * test/ping1.sas (finish): Now resets the protocol when finished. This will still not quite work, but it is better than before. * src/lib/stash.c: svc_stash_epoch now accepts a reset operation. If you pass an exception to it, it will reset itself to undefined. This allows an asynchronous ping to work quite well. * test/ping1.sas (main): This gives a fairly good impersonation of ping now. It uses the timer registers of the SNAP daemon to record packets departing and arriving. It doesn't work if packets overlap, so don't run it too fast. * src/ctl/snapping.c: Minor change to trap a SIGSEGV if the receive socket is in use. * src/lib/stash.c: Added support for time variables, see also services.c and stash.h. 2002-07-27 Walter Eaves <weaves@ee.ucl.ac.uk> * src/lib/timers.c: Added a function to get the clock rate from the /proc filesystem. * test/ping.sas (main): This is the ping program that can be injected. * src/ctl/collector.c: Protocols can be separated into injectors and collectors. This is a collector that collects bytes written to sockets. It is very similar to snaprecv.c. 2002-07-17 Walter Eaves <Walter.Eaves@bigfoot.com> * src/ctl/snapping.c: Made a mistake re-using this code. Jonathan added a sequence number to the packet. I'd corrupted this. Works now. * src/ctl/snap-ipt.c: Finally worked out the headers. It appears to work. snapping doesn't report it has received all the packets. The IPQ subsystem is told that the packet is to be dropped, because SNAP sends the packet. * src/lib/interp.c: Changed the FORW behaviour as well. 2002-07-16 Walter Eaves <Walter.Eaves@bigfoot.com> * src/ctl/snapd.c: Added a command line switch to choose the packet processor. This gets invoked correctly, but crashes. * src/lib/interp.c: Changed the FORWTO behaviour to always send back to the header destination. This is the first time I've used SNAP across a network. 2002-04-05 Walter Eaves <weaves@ee.ucl.ac.uk> * test/Makefile: tuplesend.sas doesn't behave when built for differently from usual. * include/type_macros.h: Modified to build for !SMALL_VALUES and !SMALL_INSTRUCTIONS. 2002-03-28 Walter Eaves <weaves@ee.ucl.ac.uk> * src/ctl/snmp_helper.c: snmp_getter now does an SNMP get. * src/lib/stash.c: debug statements passed wrong parameters subsequent intermittent memory faults. * include/dyncheck.h: Found some more dynamic checking macros. 2002-03-21 Walter Eaves <weaves@ee.ucl.ac.uk> * include/exception.h (E_VALUE_NTSV): Added another exception "not a valid Top Stack Variable." This has a special status in that it is sourced by to the SNAP service component. You could not store this in a service variable. * test/Makefile: Unfortunately, if you change machine the magic number changes: on john it's 10118. * src/lib/stash.c: The registers are now in here. Still just one for each type. The implementation now supports copying from one variable to another. This works packet to service, and probably service to service, but service to packet probably won't work and shouldn't be allowed. * src/lib/svc_heap.c: Services.c is now JM and SH's code with minor mods by me. 2002-03-20 Walter Eaves <weaves@ee.ucl.ac.uk> * src/lib/interp.c: This illustrates how to leave dynamic checking to the configuration. * src/lib/services.c: This illustrates how to dynamic checking off locally. This is a good idea for services because they use a different heap. * include/io.h: one of many header file re-organised because bytecode.h has had type_macros.h removed from it. Most source files needed header files flattening and reorganising. Please note: the order is unchanged in the __KERNEL__ defined sections. Best practice for header files is config, bytecode, packet, io and others then if needed dyncheck, type_macros. 2002-03-19 Walter Eaves <weaves@ee.ucl.ac.uk> * include/config.h.in: Put DYNCHECK under config control. This necessitated changes in defs.h (NDYNCHECK) subsequently dyncheck.h and type_macros.h. * include/type_macros.h: This file contains all of the data type manipulation. * include/bytecode.h: Restructured this. Types are defined in the first part and then type_macros.h is included. These are the GET and SET commands for the SNAP data types. Lot of comments about the conditionaly builds. * src/lib/sizes.c: Now includes bytecode.h, which is the file in which all the typing is done. Useful analysis. * test/Makefile (all-local): Added this rule to reduce the noise on the build. 8913 is the current sum of the disassembled files. * include/defs.h: I took a good look at the logic for the build. Jonathan has three configuration choices: only half are valid and I don't usually test any other than one. I've put the logic into this file. I put some pragmas in, but I'll never use them. I've put a warning in about the default build. Don't forget to use gcc -E -dD <file> to see the pragmas and the default definitions. * test/Makefile (%.sasu): and others, found the -o switch. Output appended to a log file. * src/ctl/vas.c: This provides value-added services definitions. In particular, tuple2string and namelookup. Also SNMP. * doc/bytecode.cpp: added some text files in doc to explain how the memory management works (using offset and heap_min). Also added bytecode.cpp. A run of gcc -E -dN ../include/bytecode.h that shows the macro definitions in the default build. * include/services.h: started using my _DECL macro for header files. Haven't made use of the #if _DECL == extern feature yet, some pre-processors complain about this. Hope no-one minds.

    posted 1854 days ago

  • fain-snap woody file released: fain-snap_0.9-15.tar.gz

    2003-10-14 Walter Eaves <weaves@ee.ucl.ac.uk> * src/mib/TSG-UCL-MIB.txt: I've had to remove this from the SNAP installation because it is now needed by another package (mibs). 2003-01-14 Walter Eaves <weaves@ee.ucl.ac.uk> * src/lib/snap_asm.c (snap_assemble): This is strange. I've changed the memory management calls to use those in zmemory.h and I've had add bzero() calls. The packets are still not the same after assembly. 2003-01-12 Walter Eaves <weaves@ee.ucl.ac.uk> * src/ctl/collector.c (print_packet): This no longer puts control characters into the output and flushes. * src/lib/thrd_mng.c (snap_thread_init): The thread sub-system is now initialised indirectly by a global snap_init(). * src/ctl/snapd.c (main): Managed to get all of the data processing code into the library. The daemon is now just a CLI and config file parser that initialises sub-systems. 2003-01-09 Walter Eaves <weaves@ee.ucl.ac.uk> * src/lib/services.c (svc_var_clear): This method clears all of the variables. It should be used with care. * test/injectping-smux-05.sh: This is a checkpoint test for epoch control under 0.9-7. 2003-01-08 Walter Eaves <weaves@ee.ucl.ac.uk> * src/ctl/vas.c (snmp_set_registers): This method updates the registers after the snmp() call has done its stuff. 2003-01-07 Walter Eaves <weaves@ee.ucl.ac.uk> * src/mib/mib2c.conf: This has been changed to use two methods to get the enterprise object identifier and the length of it. The original object identifier now has a length function. * src/lib/smux_addr.c (smux_setowner): This allows the object identifier that the machine registers under to be changed. Associated with the --smux option's username. 2003-01-03 Walter Eaves <weaves@ee.ucl.ac.uk> * src/lib/snap0_bind.c (patch_table): A lot of code from the MIB compiler can be re-used. This patches the dispatch table. The whole file snap0_bind.c makes a lot of use of static globals. * src/lib/services.c (svc_register_pair_fv): This is the method that associates a service with a variable. 2003-01-02 Walter Eaves <weaves@ee.ucl.ac.uk> * src/lib/smux.c (smux_header_simple_table): I added this to support snap0_bind.c. * include/hashtable.h: Enhanced version of part that now has some accounting information attached. Including the index for the SMUX table support. * src/ctl/svcd.c: This now initializes with the new methods assigns indexes. * src/lib/snap0_bind.c (snap0_fetcher): This now supports tables. Each table has a list associated with it. It includes a file generated in src/mib. * test/injectping-smux-01.sh: This tests the new SMUX MIB binding by returning two of the stash variables. 2002-12-31 Walter Eaves <weaves@ee.ucl.ac.uk> * src/ctl/vas.c (snmpget): This uses the new method. * src/lib/snmp_helper.c (snmp_parm_set): Much tidier management of the SNMP methods. * src/ctl/vas.c (snmp): This is the new method for servicing SNMP calls. It uses one string rather than all those registers. 2002-12-30 Walter Eaves <weaves@ee.ucl.ac.uk> * src/lib/snmp_helper.c (snap_snmp_session_start): Added some structure re-use. 2002-12-29 Walter Eaves <weaves@ee.ucl.ac.uk> * test/vas5.sas: This tests the SNMP trap service. * src/lib/smux.c (smux_setpassword): SMUX password works. * src/mib/SNAPv0-MIB.txt: Added some traps and simplified the names of the variables. Integrated into snap_snmp.c. Started on a second version that has a table for the services, traps, SNMP calls and many others. This is now a specification of the control interface. 2002-12-28 Walter Eaves <weaves@ee.ucl.ac.uk> * test/injectping-smux.sh: This is a test of the heap usage reporting. * src/lib/svc_heap.c (svc_heap_status): This reports the amount of heap in an unsafe manner. * test/snap-smux-02.sh (hostD): This is the test for fain-snap_0.9-3.tar.gz. It's an implemented experimental MIB. No linkage to the daemon. 2002-12-27 Walter Eaves <weaves@ee.ucl.ac.uk> * include/smux.h: Kunihiro may have used an old NET-SNMP. He had custom data types, rather than those from NET-SNMP. Deleted these and modified smux.c. * src/lib/smux.c (smux_init): SMUX implemented. Thanks to Kunihiro Ishiguro for the code from Zebra that provides this. * src/ctl/snapsend.c: And all the other final executables. Thesse now need to include the header file snap-app.h to make sure that progname and master are instantiated. 2002-12-26 Walter Eaves <weaves@ee.ucl.ac.uk> * src/lib/smux.c: Pillaged the zebra code for an smux implementation. * debian/rules: The documentation is now built in the debian tree and copied over. * src/ctl/Makefile.am (snapd_LDADD): I had wanted to put snap-ipt.c into the library, but automake and libtool can't handle conditional compilation. * src/lib/dispatch.c: Added a dispatcher for select(). This is intended to support SMUX. 2002-12-25 Walter Eaves <weaves@ee.ucl.ac.uk> * src/lib/udpnet.c: I'm changing over to a select() dispatcher. I've had to remove a loop from the get_packet() code. 2002-12-24 Walter Eaves <weaves@ee.ucl.ac.uk> * man/snap.en.sgml: I've changed to using the debiandoc SGML format for producing the documentation. These aren't integrated into the documentation yet. 2002-12-23 Walter Eaves <weaves@ee.ucl.ac.uk> * src/lib/udpnet.c: Changed an important piece of trace code in the startup. * bin/init-dev.sh (location): Added this script for use by package maintainer. Should be run before test/snap-ipt-03.sh as root. 2002-12-22 Walter Eaves <weaves@ee.ucl.ac.uk> * doc/snap-ipt.mail (Subject): Documentation about the new test set-up for REDIRECT under OUTPUT.nat. * test/ipt-01.conf (snapan.address): This is the base configuration for the iptables REDIRECT tests. * src/ctl/snapd.c: Big rewrite to support more command-line switches and configuration file reading. 2002-12-18 Walter Eaves <weaves@ee.ucl.ac.uk> * include/config.h (CONFIG_SNAP_USE_TIMERS_LOWOVERHEAD): Added this to the build as well. By default LOW_OVERHEAD is undefined. * include/d_printf.h (SNAP_DBG_SERV): Added constants for trace generation. 25 is a useful level. 2002-12-15 Walter Eaves <weaves@ee.ucl.ac.uk> * include/defs.h: Major header file change. config.h is overwritten in the configure process, so I've made the config file defs.h. 2002-11-21 Walter Eaves <weaves@ee.ucl.ac.uk> * src/lib/d_printf.c: Added trace level indicator. * include/d_printf.h (SNAP_IPT_PACKETS): Added definition of a trace level. 2002-11-05 Walter Eaves <weaves@ee.ucl.ac.uk> * doc/passtest: This is an example file for testing the snmpset feature with a net-snmp SNMP daemon. * debian/snapan/usr/share/doc/snapan/examples/test/vas4.sas (main): New test file for snmpset. * src/ctl/snmp_helper.c: Changed the failures to return -1. Added snmp_setter(). Changes to headers and vas.c, svcd.c. 2002-08-06 Walter Eaves <Walter.Eaves@bigfoot.com> * src/java/tuples/sample.lex: Has a PACKETEOF token for \000 in packets. * src/java/tuples/parser.sh: This now tests the parser using data captured from jinjectping-test.sh. * src/ctl/vas.c: Made a minor change to the output of tuple2string so that it adds a semi-colon to match the needs of the Java parser. 2002-08-05 Walter Eaves <weaves@ee.ucl.ac.uk> * src/lib/bytecode.c: I had to make the behaviour of sprintf_value switchable at runtime. It needed an extra parameter, but I used a wrapping function. * src/ctl/vas.c: I now have to quote strings so that they get through the Java parser. I didn't do this very well. 2002-07-28 Walter Eaves <weaves@ee.ucl.ac.uk> * test/ping2.sas (move): This is a copy of ping1.sas that performs an SNMP get of the system uptime. I was hoping to get more timing information. The heap is starting to fail on long test runs. I should add a reset heap service variable. * test/ping1.sas (finish): Now resets the protocol when finished. This will still not quite work, but it is better than before. * src/lib/stash.c: svc_stash_epoch now accepts a reset operation. If you pass an exception to it, it will reset itself to undefined. This allows an asynchronous ping to work quite well. * test/ping1.sas (main): This gives a fairly good impersonation of ping now. It uses the timer registers of the SNAP daemon to record packets departing and arriving. It doesn't work if packets overlap, so don't run it too fast. * src/ctl/snapping.c: Minor change to trap a SIGSEGV if the receive socket is in use. * src/lib/stash.c: Added support for time variables, see also services.c and stash.h. 2002-07-27 Walter Eaves <weaves@ee.ucl.ac.uk> * src/lib/timers.c: Added a function to get the clock rate from the /proc filesystem. * test/ping.sas (main): This is the ping program that can be injected. * src/ctl/collector.c: Protocols can be separated into injectors and collectors. This is a collector that collects bytes written to sockets. It is very similar to snaprecv.c. 2002-07-17 Walter Eaves <Walter.Eaves@bigfoot.com> * src/ctl/snapping.c: Made a mistake re-using this code. Jonathan added a sequence number to the packet. I'd corrupted this. Works now. * src/ctl/snap-ipt.c: Finally worked out the headers. It appears to work. snapping doesn't report it has received all the packets. The IPQ subsystem is told that the packet is to be dropped, because SNAP sends the packet. * src/lib/interp.c: Changed the FORW behaviour as well. 2002-07-16 Walter Eaves <Walter.Eaves@bigfoot.com> * src/ctl/snapd.c: Added a command line switch to choose the packet processor. This gets invoked correctly, but crashes. * src/lib/interp.c: Changed the FORWTO behaviour to always send back to the header destination. This is the first time I've used SNAP across a network. 2002-04-05 Walter Eaves <weaves@ee.ucl.ac.uk> * test/Makefile: tuplesend.sas doesn't behave when built for differently from usual. * include/type_macros.h: Modified to build for !SMALL_VALUES and !SMALL_INSTRUCTIONS. 2002-03-28 Walter Eaves <weaves@ee.ucl.ac.uk> * src/ctl/snmp_helper.c: snmp_getter now does an SNMP get. * src/lib/stash.c: debug statements passed wrong parameters subsequent intermittent memory faults. * include/dyncheck.h: Found some more dynamic checking macros. 2002-03-21 Walter Eaves <weaves@ee.ucl.ac.uk> * include/exception.h (E_VALUE_NTSV): Added another exception "not a valid Top Stack Variable." This has a special status in that it is sourced by to the SNAP service component. You could not store this in a service variable. * test/Makefile: Unfortunately, if you change machine the magic number changes: on john it's 10118. * src/lib/stash.c: The registers are now in here. Still just one for each type. The implementation now supports copying from one variable to another. This works packet to service, and probably service to service, but service to packet probably won't work and shouldn't be allowed. * src/lib/svc_heap.c: Services.c is now JM and SH's code with minor mods by me. 2002-03-20 Walter Eaves <weaves@ee.ucl.ac.uk> * src/lib/interp.c: This illustrates how to leave dynamic checking to the configuration. * src/lib/services.c: This illustrates how to dynamic checking off locally. This is a good idea for services because they use a different heap. * include/io.h: one of many header file re-organised because bytecode.h has had type_macros.h removed from it. Most source files needed header files flattening and reorganising. Please note: the order is unchanged in the __KERNEL__ defined sections. Best practice for header files is config, bytecode, packet, io and others then if needed dyncheck, type_macros. 2002-03-19 Walter Eaves <weaves@ee.ucl.ac.uk> * include/config.h.in: Put DYNCHECK under config control. This necessitated changes in defs.h (NDYNCHECK) subsequently dyncheck.h and type_macros.h. * include/type_macros.h: This file contains all of the data type manipulation. * include/bytecode.h: Restructured this. Types are defined in the first part and then type_macros.h is included. These are the GET and SET commands for the SNAP data types. Lot of comments about the conditionaly builds. * src/lib/sizes.c: Now includes bytecode.h, which is the file in which all the typing is done. Useful analysis. * test/Makefile (all-local): Added this rule to reduce the noise on the build. 8913 is the current sum of the disassembled files. * include/defs.h: I took a good look at the logic for the build. Jonathan has three configuration choices: only half are valid and I don't usually test any other than one. I've put the logic into this file. I put some pragmas in, but I'll never use them. I've put a warning in about the default build. Don't forget to use gcc -E -dD <file> to see the pragmas and the default definitions. * test/Makefile (%.sasu): and others, found the -o switch. Output appended to a log file. * src/ctl/vas.c: This provides value-added services definitions. In particular, tuple2string and namelookup. Also SNMP. * doc/bytecode.cpp: added some text files in doc to explain how the memory management works (using offset and heap_min). Also added bytecode.cpp. A run of gcc -E -dN ../include/bytecode.h that shows the macro definitions in the default build. * include/services.h: started using my _DECL macro for header files. Haven't made use of the #if _DECL == extern feature yet, some pre-processors complain about this. Hope no-one minds.

    posted 1854 days ago

  • File released: /fain-snap/woody/mibs_0.1-7.tar.gz

    posted 1854 days ago

  • File released: /fain-snap/woody/fain-snap_0.9-15.tar.gz

    posted 1854 days ago

  • File released: /fain-snap/woody/jsnapan_0.8-4.tar.gz

    posted 1854 days ago

  • Debian Source Release

    A source release of the current Debian build system is available.

    posted by eepgwde 2280 days ago

  • fain-snap 0.9 file released: fain-snap_0.9-13.tar.gz

    posted 2280 days ago

  • File released: /fain-snap/0.9/fain-snap_0.9-13.tar.gz

    posted 2280 days ago

Rate and Review

Be the first person to add a text review.

Would you recommend this project?






<

Related Projects

FAIN SNMP Activator Actions

Thanks for your rating!

Would you also like to write a review?





Skip Review