From cvs at videolan.org Sun Jul 1 04:02:52 2001 From: cvs at videolan.org (cvs at videolan.org) Date: Sun, 1 Jul 2001 04:02:52 +0200 (CEST) Subject: CVS Commit: network Message-ID: <20010701020252.CAE062341E@brahma.via.ecp.fr> Update of /cvs/videolan/network/VLANserver Modified Files: types.c Update of /cvs/videolan/network/VLANserver/db Modified Files: db.c db.h Update of /cvs/videolan/network/VLANserver/snmp Modified Files: callback.c if_snmp.c Log Message: . Added the LinkDown Trap Management (for example, when someone switches off his computer) -- tooney From cvs at videolan.org Mon Jul 2 06:07:52 2001 From: cvs at videolan.org (cvs at videolan.org) Date: Mon, 2 Jul 2001 06:07:52 +0200 (CEST) Subject: CVS Commit: network Message-ID: <20010702040752.D4CC523429@brahma.via.ecp.fr> Update of /cvs/videolan/network/VLANserver Modified Files: Makefile Update of /cvs/videolan/network/VLANserver/interface Modified Files: telnet.c Update of /cvs/videolan/network/VLANserver/server Modified Files: connect.c request_handler.c send.c server.c Log Message: Few changes in order to make the vlanserver compiling on Solaris some things to be carefull: 1. bzero is in both string.h and strings.h on debian but it's better using strings.h as far as bzero isn't in string.h on Solaris 2. Try not to use h convertor in scanf (%hhu for example) gcc on solaris doesn't understand it. 3. errno.h should be find like #include no need to write #include To compile on Solaris you have to set SYS = solaris in Makefile in order to link with all the necessary libraries. I didn't test it that much but it seems to work well. -- nitrox From bbp at via.ecp.fr Mon Jul 2 12:19:53 2001 From: bbp at via.ecp.fr (Brieuc Jeunhomme) Date: Mon, 2 Jul 2001 12:19:53 +0200 Subject: CVS Commit: network In-Reply-To: <20010702040752.D4CC523429@brahma.via.ecp.fr>; from cvs@videolan.org on Mon, Jul 02, 2001 at 06:07:52AM +0200 References: <20010702040752.D4CC523429@brahma.via.ecp.fr> Message-ID: <20010702121953.A5707@via.ecp.fr> > 1. bzero is in both string.h and strings.h on debian but > it's better using strings.h as far as bzero isn't in > string.h on Solaris Don't use bzero at all, it's obsolete. prefer memset. -- BBP From nitrox at via.ecp.fr Thu Jul 12 14:17:05 2001 From: nitrox at via.ecp.fr (Damien Lucas) Date: Thu, 12 Jul 2001 14:17:05 +0200 Subject: =?iso-8859-1?Q?=5BLo=EFc_Minier_=3Clool=40via=2Eecp=2Efr=3E=5D_Nouvelle_?= =?iso-8859-1?Q?lib_SNMP?= Message-ID: <20010712141705.B19952@via.ecp.fr> ----- Forwarded message from Lo?c Minier ----- From: Lo?c Minier Date: Thu, 12 Jul 2001 02:34:17 +0200 Subject: Nouvelle lib SNMP libsnmpkit1 et libsnmpkit-dev sont apparues aujourd'hui dans ma sid. Ca a l'air un peu mortel d'apr?s la courte doc. En tous cas c'est fait pour ?tre multithread et pour pouvoir faire gras de requ?tes. Enfin un remplacement ? libsnmp ? -- Lool ----- End forwarded message ----- From nitrox at via.ecp.fr Thu Jul 12 18:20:02 2001 From: nitrox at via.ecp.fr (Damien Lucas) Date: Thu, 12 Jul 2001 18:20:02 +0200 Subject: =?iso-8859-1?Q?=5BLo=EFc_Minier_=3Clool=40via=2Eecp=2Efr=3E=5D_Nouvelle_?= =?iso-8859-1?Q?lib_SNMP?= In-Reply-To: <20010712141705.B19952@via.ecp.fr>; from nitrox@via.ecp.fr on Thu, Jul 12, 2001 at 02:17:05PM +0200 References: <20010712141705.B19952@via.ecp.fr> Message-ID: <20010712182002.A11707@via.ecp.fr> Sorry about forwarding the previous mail in french. The question is about the libsnmpkit that is just new in the debian (sid). I had a look very quickly to this library and I don't think it will be something really good for us. Yes, the lib supports multiple threads. Yes, this lib could be quicker than the UC Davis one But, it has been written for a completely different purpose: administrating printers. So, we would have some problems: 1- It isn't able to catch traps 2- It's an early developpement lib with known segmentation faults 3- It opens one thread per session, it means for us, some at least one thread per switch (50 threads, is it a good idea ?) 4- It's a C++ library. We may have some difficulties to include it inside our code 5- It is not more documented than UCD's one 6- There are not softwares using it for something else than printers So we don't have any examples to begin with. The only things that it could make easier for us are: + faster for a lot of request (initialization) + multithread support I don't think it is really what we need and our solution seems to be better than the use of this lib. But, I will try to test it further this week. -- nitrox