1. 29 Apr, 2001 1 commit
    • Damien Lucas's avatar
      . Added COPYING file (GPL license) · 8df2f3cd
      Damien Lucas authored
      . Added AUTHORS file
      . Added ChangeLog file (currently empty)
      
      . Use of VS_sleep is now just in case of debugging
      . Compilation of VS_sleep just in case of debugging
      . Moved mem.c/mem.h/sleep.c/sleep.h in a debug directory
      
      . Added header in each file with
         -a CVS tag $Id$
         -the name of the file and a summary of it does
         -a copyrigth information
         -a word to say this file is GPL
         -the name of the author
      
      
      
      PLEASE, check AUTHORS and your files (I wasn't sure of the author of each)
      8df2f3cd
  2. 28 Apr, 2001 1 commit
  3. 25 Apr, 2001 1 commit
  4. 24 Apr, 2001 1 commit
  5. 23 Apr, 2001 1 commit
  6. 22 Apr, 2001 1 commit
  7. 20 Apr, 2001 1 commit
    • Damien Lucas's avatar
      . Added an option in .fl in order to avoid the gcc warning · 523c4511
      Damien Lucas authored
      . Changed DEBUG option in DEBUG for logs and MEM_DEBUG for memory purpose
      
      . Removed *vs argument (vs is now a global variable) in each function
      
      . Updated vlanserver.conf.sample
      
      . snmp time out is yet implemented
      
      . so switches are not polled the same way:
         no second init, just reasking 5 times aborting after
      
      . Added the good #includes in order not to have to put the snmp prototypes
        in our code
      
      . Removed a segfault in snmp when using traps
      
      All this seems to work well.
      BUT there is always the current segfault.
       I think now that it relies on double use of libsnmp
         I mean call to snmp_create_pdu inside one of our function which is itself
         called by snmp_read. Seems not to be allowed.
         I'm gonna try not to resend anything in callback.c but pushing requests
         to main loop in order to execute snmp functions outside snmp_read.
      523c4511
  8. 16 Apr, 2001 1 commit
    • Damien Lucas's avatar
      1. Added return values of sscanf in order to prevent from bad messages · 6399328b
      Damien Lucas authored
         and added few comments (request_handler.c)
      
      2. In section doc, wrote about the way of using
            . unit (cf support of matrixed switches)
            . logfile, logmethod (see below)
      
      3. Changed the LogMethod:
            . logmethod can be NONE, FILE_ONLY, SCREEN_ONLY, BOTH
            . we are now able to change the logmethod in runtime
            . At the beginning we use SCREEN_ONLY
            . After parsing the config file, we take cfg->logmethod into account
            . Todo: do the same thing with loglevels
      6399328b
  9. 01 Apr, 2001 1 commit
    • Damien Lucas's avatar
      · 49e25f05
      Damien Lucas authored
      . Don't print logs with LOGDEBUG level when compiling without the -DDEBUG
        option
      
      . Wait the end of the snmp init before starting sending requests to it
      
      . New function inside telnetd: reload forces to flush the database
      
      . Support for matrixed switched
         config (need to enter the unit) default is 1
         snmp changed in port-vlan and port-mac
         added a 3COM specific kludge
      49e25f05
  10. 08 Feb, 2001 1 commit
  11. 15 Jan, 2001 2 commits
  12. 12 Jan, 2001 1 commit
  13. 11 Jan, 2001 1 commit
    • Damien Lucas's avatar
      . First part of a new way to logg messages · 8f210a93
      Damien Lucas authored
      . VS_log_debug, Vs_log_info, work still but should not be used any more
      . config/ db/ and snmp/ are now clear.
      
      . The new debug function is
       ERR_CODE VS_log(LOG_LEVELS level, LOG_LODULES module, char* msg...);
       where level can be LOGDEBUG, LOGINFO, LOGWARNING, LOGERROR or LOGFATAL
             module can be CFG, DB, SERVER or SNMP
       last arguments work jsut like a printf.
      8f210a93
  14. 07 Dec, 2000 1 commit
  15. 06 Dec, 2000 1 commit
    • Brieuc Jeunhomme's avatar
      Small bugfixes, cosmetic modifications. · 1f7b3976
      Brieuc Jeunhomme authored
      Note that as far as the configuration part of the vlanserver is concerned,
      every structure or array containing ports uses decremented pointers so that
      ports are numbered from 1 to n.
      1f7b3976
  16. 01 Dec, 2000 2 commits