1. 06 Mar, 2009 1 commit
  2. 02 Mar, 2009 1 commit
  3. 12 Feb, 2009 1 commit
  4. 07 Nov, 2008 2 commits
  5. 12 Mar, 2008 1 commit
  6. 11 Feb, 2008 1 commit
  7. 29 Jan, 2008 1 commit
  8. 26 Oct, 2007 1 commit
  9. 25 Oct, 2007 1 commit
  10. 04 Oct, 2007 1 commit
  11. 22 Sep, 2007 1 commit
  12. 17 Sep, 2007 1 commit
  13. 16 Sep, 2007 1 commit
  14. 22 Aug, 2007 1 commit
    • 's avatar
      Logging Mechanism Updated. Now MAPI supports logging to files and syslog. · b27d4c0f
      authored
      In order to log messages to syslog, mapid and/or mapicommd should be executed
      with the flag -s (mapid -s and/or mapicommd -s). 
      Two different types of messages are sent to syslog, debug messages and
      general information messages. In /usr/local/etc/mapi/mapi.conf the syslog
      level can be configured.
      
      syslog_level=0 : Log only general information and not debugging messages
      syslog_level=1 : Log general information plus debugging information (debug messages are printed to stdout and syslog)
      syslog_level=2 : Log general information plus debugging information (debug messages are printed only to syslog)
      
      The default level is 2 (temporary the default level is 1).
      
      In order to log debug messages and general information messages to separate log files,
      syslog daemon must be configured as follows:
      
      File /etc/syslog.conf should have the following two entries:
      
      local1.info;local1.!=debug				/var/tmp/info.syslog
      local1.debug;local1.!=info				/var/tmp/debug.syslog
      
      /var/tmp/info.syslog & /var/tmp/debug.syslog are indicative names of files, where debug and information messages are appended.
      The /var/tmp/info.syslog & /var/tmp/debug.syslog files must exist before the syslogd daemon re-reads the /etc/syslog.conf
      configuration file, in order for the syslogd daemon to log messages to these files. To create these files, issue the following commands:
      
      touch /var/tmp/info.syslog
      touch /var/tmp/debug.syslog
      
      Then issue the following command to force the syslogd daemon to re-read its configuration file: kill -HUP <syslogd's process id>
      
      Define DEBUG is default enabled. In the future mapi configuration will have an extra flag (--enable-debug), thus a MAPI
      user might select if MAPI prints debug messages or no.
      
      
      git-svn-id: file:///home/svn/mapi/trunk@1292 8d5bb341-7cf1-0310-8cf6-ba355fef3186
      b27d4c0f
  15. 14 Aug, 2007 1 commit
  16. 10 Aug, 2007 1 commit
  17. 06 Aug, 2007 1 commit
    • 's avatar
      The dagflib's PKT_COUNTER extended to use the DSM hardware counters in the · bf0032f6
      authored
      DAG cards. Function must be applied after DSM BPF_FILTER.
       
      Load balacing parameter dsm_load_balancing of mapi.conf for DSM (based on
      crc32, parity and interface), influences the generated XML configuration.
      
      New disable_dsm_xml_remove=0|1 debugging parameter to mapi.conf. Generated
      XML config in /tmp will not be removed.                                   
      
      Some bugfixes.
      
      Update of appropriate manpages, see details there.
      
      
      
      git-svn-id: file:///home/svn/mapi/trunk@1266 8d5bb341-7cf1-0310-8cf6-ba355fef3186
      bf0032f6
  18. 23 Jul, 2007 1 commit
  19. 19 Jul, 2007 1 commit
  20. 29 Jun, 2007 1 commit
  21. 26 Jun, 2007 1 commit
  22. 11 Jun, 2007 1 commit
  23. 08 Jun, 2007 1 commit
  24. 01 Jun, 2007 1 commit
  25. 30 May, 2007 1 commit
  26. 30 Apr, 2007 1 commit
  27. 24 Apr, 2007 1 commit
    • 's avatar
      Added a generalized bpfcompiler library designed for building static · 71e07938
      authored
      (non-algoritmic) filters.
      
      Added the hardware DSM filtering/preclassification support for DAG cards.
      BPF_FILTER function is now able to probram the hardware capturer to only
      send interesting packets and thus lower the main CPU heating.
      
      dagflib's PKT_COUNTER and BYTE_COUNTER are fixed for more DAG models.
      
      Argument `internal' of mapid_apply_function() changed to bitwise `flags',
      so mapidagdrv can instruct the dagflib's BPF_FILTER instance to give up
      when it is needed.
      
      For more info see updated mapi_dagflib(1) and bpf2dagdsm(1) manpages.
      
      Fixed some apparent bugs and/or warnings in the code.
      
      
      git-svn-id: file:///home/svn/mapi/trunk@1212 8d5bb341-7cf1-0310-8cf6-ba355fef3186
      71e07938
  28. 19 Apr, 2007 1 commit
  29. 12 Apr, 2007 1 commit
  30. 13 Mar, 2007 2 commits
  31. 12 Mar, 2007 4 commits
  32. 24 Feb, 2007 1 commit
  33. 20 Dec, 2006 1 commit
  34. 06 Dec, 2006 1 commit
  35. 05 Dec, 2006 1 commit
    • 's avatar
      MAPIRES_IPC introduced, uses shared memory space as MAPIRES_SHM does. Call · 417c18d9
      authored
      to daemon's result getting function is performed every time.
                                                           
      DAGIPF_BPF_FILTER, PKT_COUNTER, BYTE_COUNTER, PKTBYTE_COUNTER functions
      added to dagflib. See the new manpage mapi_dagflib for details.
      
      dagflib's INTERFACE function enhanced: It cannot be applied twice to one
      flow, cleanup routine added.
      
      Fixed some omissions in other man pages.
      
      Fixed and lined up the function template (etc/funct_template.c).
      
      
      git-svn-id: file:///home/svn/mapi/trunk@1037 8d5bb341-7cf1-0310-8cf6-ba355fef3186
      417c18d9