1. 23 Jun, 2005 1 commit
  2. 20 Nov, 2001 1 commit
    • Laurent Rossier's avatar
      * Fix a bug int he snmp · 3608746b
      Laurent Rossier authored
        * Change littles things in the interface
      There is a memory leak. It may be when we flush the db or when a switch
  3. 24 Oct, 2001 2 commits
  4. 08 Oct, 2001 1 commit
    • Laurent Rossier's avatar
      - Remove send.c and send.h because it was useless · 6fb369bf
      Laurent Rossier authored
      - Change the TODO list
      - Add VS_VLAN_TYPE to define the different type of VLAN and the
        VS_vlan structure to handle the fact that one port could be in
        differents VLANs.
      - Change the callback in order to right initialize the switchs. The
        vlcs gets all the Ids of the differents flags of the differents
      - Add the right initialization of the switchs with the right flag in
      - Change the server.c and the request_handler.c in order to be able to
        call them from the interface. Cleaning (a bit) the code. Now the vlcs
        is able to handle the ports which are in differents VLAN with
        differents flags.
      - Add SNMP_unset_vlan function.
      - Add a new function in the interface, setVlan, in order to put a port
        in a VLAN.
      - Cosmetics changes in client.c
      My english is not very good so please be nice with me.
      If there is any "latte" please mailto: segfault@videolan.org
  5. 27 Sep, 2001 2 commits
  6. 25 Sep, 2001 1 commit
    • Laurent Rossier's avatar
      - Fix bugs in the IF_info function in the interface : · 7d2f649e
      Laurent Rossier authored
          add DB_switchs_port_unlock
          remove segfault when you wanted to have info on a MAC
      - Fix the bug when you wanted to logout and to reconnect
      - Add some return values in reinit_switch.c -> TODO modified
      - Remove the struct IF_telnet
      Nitrox could you see if the comment in the logger.c for the VS_R_NUMBER is
      good ?
  7. 13 Sep, 2001 1 commit
    • Damien Lucas's avatar
      . Bug fix in telnet · 7514c6be
      Damien Lucas authored
        -> Info and log commands should work back within few days
      . change session.localport to SNMP_DEFAULT_PORT+3000 (see in vlcs@videolan.org)
      . The vlcs does now send the raw_data to the client.
        -> Sam is going to do the changes in the vlc
  8. 04 Sep, 2001 1 commit
    • Damien Lucas's avatar
      * Few changes in Makefile · 7460ffbd
      Damien Lucas authored
      * ChangeLog updated
      * removed bzero occurence -> memset
      * many changes in telnet:
         -new menu structure with directory (in interface)
         -telnet.c contains now only telnet protocol relative functions
         -vlcs functions are in interface.c
         -not finished ('info' is not implemented)
  9. 29 May, 2001 1 commit
    • Damien Lucas's avatar
      · 7b804e47
      Damien Lucas authored
      . Added the close of snmp sessions after the walks
      . Updated ChangeLog and TODO
  10. 28 May, 2001 1 commit
  11. 20 May, 2001 1 commit
    • Marc Ariberti's avatar
      Done a new logging system (easily adaptable to the new vlcs) · bc038ca1
      Marc Ariberti authored
      * logmethod has been removed
      * logs are sent to a list of outputs (with a type for each)
      * only one logfile can be used because of the way config is managed now
      * log outputs are referenced by their FILE* (for removing for eg)
      * it allows telnetd to draw logs on its ouput using FIFOs
  12. 16 May, 2001 1 commit
  13. 30 Apr, 2001 1 commit
  14. 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)
  15. 28 Apr, 2001 1 commit
  16. 25 Apr, 2001 1 commit
  17. 24 Apr, 2001 1 commit
  18. 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.
  19. 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
  20. 21 Jan, 2001 1 commit
    • Damien Lucas's avatar
      . Added first part of the interface · b44429ae
      Damien Lucas authored
        ie beginning of a telnetd interface (working but no login check ...
        no buffer overflow known in the telnet
      . Changed few things in snmp (but did not correct the desktop bug)
      . Splited functions the snmp.c file, creating callback.c.
  21. 15 Jan, 2001 1 commit
  22. 14 Jan, 2001 1 commit
  23. 01 Dec, 2000 1 commit
    • Damien Lucas's avatar
      Cleaned netork directory: only VLANbridge and VLANserver · 8eea2855
      Damien Lucas authored
      VLANbridge is unchanged.
      Subdirectoriesof VLANserver are:
      db/        The database
      doc/       Few config sample files
      config/    Parser of the config file
      old-tools/ Just mini-vlanserver and soon commandline vlanclient
      server/    The client-server part
      snmp/      snmp interface
      Sorry, second cvs commit because a community string was committed.