From lool at via.ecp.fr Wed Oct 3 09:47:43 2001 From: lool at via.ecp.fr (=?iso-8859-1?Q?Lo=EFc_Minier?=) Date: Wed, 3 Oct 2001 09:47:43 +0200 Subject: =?iso-8859-1?Q?VLCS_-_Cr=E9ation_de_repository_=3F?= Message-ID: <20011003094743.B7420@via.ecp.fr> J'ai un peu avanc? le d?but d'architecture du vlcs. En gros j'ai ?crit le main et une focntion pour cr?er les threads db et net et j'ai fait une petite architecture pour avoir les fichiers o? qu'il faut. J'ai commenc? ? mettre gras de log. J'ai ?crit le pthread_join() qu'il faut pour terminer le programme proprement, bref l? c'est propre. J'ai ?crit le Makefile qui va bien pour compiler tout ?a en foutant les .o dans un r?pertoire ? part. Il reste ? faire : . un Makefile qui g?re les d?pendences automatiques . des variables pour que les threads sachent quand ils doivent mourir . peut-?tre un timer pour tuer les threads qui voudraient pas se fermer tous seuls ? . r?adapter les anciennes fonctions de LOG (ils me semblent que Marcari les avaient pr?vues ? portables ? ?) . beh ?crire le VLCS ;^) Je cr?erais bien la repository lorsqu'on aura discut? des structures exactes et de la formule pour les d?marrages/arr?ts de threads. Si vous voulez regarder ce que j'ai fait, c'est dans : videolan at joule:~lool/vlcs/ Je sais que c'est pas beaucoup mais quant on conna?t rien aux pthreads et aux options de compil automatique des makefile ben ?a prend du temps d'apprendre, j'esp?re qu'au moins c'est pas trop mal fait. -- Lool From marcari at via.ecp.fr Mon Oct 8 11:03:52 2001 From: marcari at via.ecp.fr (Marc ARIBERTI) Date: Mon, 8 Oct 2001 11:03:52 +0200 Subject: Network team meeting this week Message-ID: <20011008110352.A12465@via.ecp.fr> As the year is beginning, it would be a good idea to meet together in order to : - evaluate the state of the VLANserver and of the new vlcs - decide what is to be done for the coming year The meeting will probably be at the Ecole Centrale Paris at the VIAlabs. I propose two dates that should be convenient : - tuesday night (after the RdB VIA, about 10pm) - wednesay night (after the network formation) I waiting for your opinion about the dates and i am opened to any suggestion. -- Marc ARIBERTI marcari at via.ecp.fr From gunther at via.ecp.fr Mon Oct 8 13:20:52 2001 From: gunther at via.ecp.fr (Laurent Rossier) Date: Mon, 8 Oct 2001 13:20:52 +0200 Subject: Network team meeting this week In-Reply-To: <20011008110352.A12465@via.ecp.fr>; from marcari@via.ecp.fr on Mon, Oct 08, 2001 at 11:03:52AM +0200 References: <20011008110352.A12465@via.ecp.fr> Message-ID: <20011008132052.A25101@via.ecp.fr> On Mon, Oct 08, 2001, Marc ARIBERTI wrote: > I propose two dates that should be convenient : > - tuesday night (after the RdB VIA, about 10pm) > - wednesay night (after the network formation) Well ... Tomorrow I won't be there because I have a coktail in Paris ;p About wednesday, it depends on the network formation because I won't go to bed at 4:00 am like the last year ... What about friday night ? -- Gunther From marcari at via.ecp.fr Mon Oct 8 13:23:50 2001 From: marcari at via.ecp.fr (Marc ARIBERTI) Date: Mon, 8 Oct 2001 13:23:50 +0200 Subject: Network team meeting this week In-Reply-To: <20011008132052.A25101@via.ecp.fr>; from gunther@via.ecp.fr on Mon, Oct 08, 2001 at 01:20:52PM +0200 References: <20011008110352.A12465@via.ecp.fr> <20011008132052.A25101@via.ecp.fr> Message-ID: <20011008132350.A26265@via.ecp.fr> On Mon, Oct 08, 2001, Laurent Rossier wrote: > What about friday night ? because I go back home. Maybe tonite ? -- Marc ARIBERTI marcari at via.ecp.fr From lool at via.ecp.fr Mon Oct 8 13:37:47 2001 From: lool at via.ecp.fr (=?iso-8859-1?Q?Lo=EFc_Minier?=) Date: Mon, 8 Oct 2001 13:37:47 +0200 Subject: Network team meeting this week In-Reply-To: <20011008132350.A26265@via.ecp.fr>; from marcari@via.ecp.fr on Mon, Oct 08, 2001 at 01:23:50PM +0200 References: <20011008110352.A12465@via.ecp.fr> <20011008132052.A25101@via.ecp.fr> <20011008132350.A26265@via.ecp.fr> Message-ID: <20011008133747.U6217@via.ecp.fr> I suppose we won't go to bed at 4:00 am thursday, even if we start only after the network presentation. I think wednesday evening or (like in the past year) thursday evening are the best choice. -- Lool From tooney at via.ecp.fr Mon Oct 8 14:32:06 2001 From: tooney at via.ecp.fr (Tristan Leteurtre) Date: Mon, 8 Oct 2001 14:32:06 +0200 Subject: Network team meeting this week In-Reply-To: <20011008133747.U6217@via.ecp.fr>; from lool@via.ecp.fr on Mon, Oct 08, 2001 at 01:37:47PM +0200 References: <20011008110352.A12465@via.ecp.fr> <20011008132052.A25101@via.ecp.fr> <20011008132350.A26265@via.ecp.fr> <20011008133747.U6217@via.ecp.fr> Message-ID: <20011008143206.A1136@via.ecp.fr> It's ok for me on wednesday morning, and not on thursdays because there is NX super Big Mag on thursday evening.... -- Tooney On Mon, Oct 08, 2001, Lo?c Minier wrote: > I suppose we won't go to bed at 4:00 am thursday, even if we start only > after the network presentation. I think wednesday evening or (like in > the past year) thursday evening are the best choice. > > -- > Lool > > From lool at via.ecp.fr Mon Oct 8 15:07:44 2001 From: lool at via.ecp.fr (=?iso-8859-1?Q?Lo=EFc_Minier?=) Date: Mon, 8 Oct 2001 15:07:44 +0200 Subject: Network team meeting this week In-Reply-To: <20011008143206.A1136@via.ecp.fr>; from tooney@via.ecp.fr on Mon, Oct 08, 2001 at 02:32:06PM +0200 References: <20011008110352.A12465@via.ecp.fr> <20011008132052.A25101@via.ecp.fr> <20011008132350.A26265@via.ecp.fr> <20011008133747.U6217@via.ecp.fr> <20011008143206.A1136@via.ecp.fr> Message-ID: <20011008150744.X6217@via.ecp.fr> On Mon, Oct 08, 2001, Tristan Leteurtre wrote: > It's ok for me on wednesday morning, and not on thursdays because there > is NX super Big Mag on thursday evening.... And the VTHR meeting I think. -- Lool From cvs at videolan.org Mon Oct 8 18:37:57 2001 From: cvs at videolan.org (cvs at videolan.org) Date: Mon, 8 Oct 2001 18:37:57 +0200 (CEST) Subject: CVS Commit: network Message-ID: <20011008163757.6A78A233D3@brahma.via.ecp.fr> Update of /cvs/videolan/network/VLANserver Modified Files: Makefile TODO types.h Update of /cvs/videolan/network/VLANserver/interface Modified Files: interface.c interface.h Update of /cvs/videolan/network/VLANserver/server Modified Files: client.c poll_switch.c reinit_switchs.c request_handler.c request_handler.h server.c server.h Removed Files: send.c send.h Update of /cvs/videolan/network/VLANserver/snmp Modified Files: callback.c if_snmp.c if_snmp.h snmp.c snmp_switch.h Log Message: - Remove send.c and send.h because it was useless - 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 VLANs. - Add the right initialization of the switchs with the right flag in poll_switch.c - 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 at videolan.org -- gunther From calabrc4 at cti.ecp.fr Tue Oct 9 00:05:06 2001 From: calabrc4 at cti.ecp.fr (Carlo Calabro') Date: Tue, 9 Oct 2001 00:05:06 +0200 (MET DST) Subject: Network team meeting this week In-Reply-To: <20011008150744.X6217@via.ecp.fr> Message-ID: I can't be there tuesday night; maybe wednesday after all the network formation stuff, or thursday night. It depends on how long it is supposed to last: if it's more than one hour / one hour and a half maximum, it would be better to fix it for thursday. Please remember that Bernardo and I, although GPAs, are quite "motiv?s" to participate strongly at the development of the new vlcs. So please give us the chance to contribute at our best to the project. Bye, Carlo From marcari at via.ecp.fr Wed Oct 10 14:43:35 2001 From: marcari at via.ecp.fr (Marc ARIBERTI) Date: Wed, 10 Oct 2001 14:43:35 +0200 Subject: Network team meeting this week In-Reply-To: <20011008110352.A12465@via.ecp.fr>; from marcari@via.ecp.fr on Mon, Oct 08, 2001 at 11:03:52AM +0200 References: <20011008110352.A12465@via.ecp.fr> Message-ID: <20011010144335.A26615@via.ecp.fr> On Mon, Oct 08, 2001, Marc ARIBERTI wrote: > I propose two dates that should be convenient : > - tuesday night (after the RdB VIA, about 10pm) > - wednesay night (after the network formation) As Mr Cl?ment is coming this evening it cannot be possible. So the LAST solution for this week is to meet thursday night, 8 p.m. would be a good time. Waiting for your opinion... -- Marc ARIBERTI marcari at via.ecp.fr From stef at via.ecp.fr Wed Oct 10 16:17:16 2001 From: stef at via.ecp.fr (=?iso-8859-1?Q?St=E9phane_Borel?=) Date: Wed, 10 Oct 2001 16:17:16 +0200 Subject: Network team meeting this week In-Reply-To: <20011010144335.A26615@via.ecp.fr>; from marcari@via.ecp.fr on Wed, Oct 10, 2001 at 02:43:35PM +0200 References: <20011008110352.A12465@via.ecp.fr> <20011010144335.A26615@via.ecp.fr> Message-ID: <20011010161716.D19392@via.ecp.fr> On Wed, Oct 10, 2001 at 02:43:35PM +0200, Marc ARIBERTI wrote: > As Mr Cl?ment is coming this evening it cannot be possible. > So the LAST solution for this week is to meet thursday night, 8 p.m. > would be a good time. Philippe Climent has accepted to delay tonight's meeting. -- Stef From babal at via.ecp.fr Wed Oct 10 16:23:12 2001 From: babal at via.ecp.fr (=?iso-8859-1?Q?Boris_Dor=E8s?=) Date: Wed, 10 Oct 2001 16:23:12 +0200 Subject: Network team meeting this week In-Reply-To: <20011010144335.A26615@via.ecp.fr> Message-ID: > As Mr Cl?ment is coming this evening it cannot be possible. > So the LAST solution for this week is to meet thursday night, 8 p.m. > would be a good time. Well, err, finally, I will see Mr Cl?ment this evening in order to find another appointment. Therefore, both dates are valid. -- Babal From sam at zoy.org Wed Oct 10 16:26:46 2001 From: sam at zoy.org (Samuel Hocevar) Date: Wed, 10 Oct 2001 16:26:46 +0200 Subject: Network team meeting this week In-Reply-To: ; from babal@via.ecp.fr on Wed, Oct 10, 2001 at 04:23:12PM +0200 References: <20011010144335.A26615@via.ecp.fr> Message-ID: <20011010162646.A22561@zoy.org> On Wed, Oct 10, 2001, Boris Dor?s wrote: > Well, err, finally, I will see Mr Cl?ment this evening in order to find > another appointment. Therefore, both dates are valid. His name is Climent. Philippe Climent. -- Sam ? ah bon et il a pas d'pr?nom ? ? From babal at via.ecp.fr Wed Oct 10 16:27:38 2001 From: babal at via.ecp.fr (=?iso-8859-1?Q?Boris_Dor=E8s?=) Date: Wed, 10 Oct 2001 16:27:38 +0200 Subject: Network team meeting this week In-Reply-To: <20011010161716.D19392@via.ecp.fr> Message-ID: > Philippe Climent has accepted to delay tonight's meeting. Thanks to Stef. So thank you. -- Babal From marcari at via.ecp.fr Wed Oct 10 19:21:35 2001 From: marcari at via.ecp.fr (Marc ARIBERTI) Date: Wed, 10 Oct 2001 19:21:35 +0200 Subject: Network team meeting this week In-Reply-To: ; from babal@via.ecp.fr on Wed, Oct 10, 2001 at 04:23:12PM +0200 References: <20011010144335.A26615@via.ecp.fr> Message-ID: <20011010192135.A3473@via.ecp.fr> On Wed, Oct 10, 2001, Boris Dor?s wrote: > Well, err, finally, I will see Mr Cl?ment this evening in order to find > another appointment. Therefore, both dates are valid. We must decide now ! I suggest Thursday at 8 pm. If someone have a better idea, say it ! -- Marc ARIBERTI marcari at via.ecp.fr From gunther at via.ecp.fr Wed Oct 10 19:59:49 2001 From: gunther at via.ecp.fr (Laurent Rossier) Date: Wed, 10 Oct 2001 19:59:49 +0200 Subject: Network team meeting this week In-Reply-To: <20011010192135.A3473@via.ecp.fr>; from marcari@via.ecp.fr on Wed, Oct 10, 2001 at 07:21:35PM +0200 References: <20011010144335.A26615@via.ecp.fr> <20011010192135.A3473@via.ecp.fr> Message-ID: <20011010195949.A25630@via.ecp.fr> On Wed, Oct 10, 2001, Marc ARIBERTI wrote: > I suggest Thursday at 8 pm. I won't be there. -- Gunther From marcari at via.ecp.fr Wed Oct 10 20:33:59 2001 From: marcari at via.ecp.fr (Marc ARIBERTI) Date: Wed, 10 Oct 2001 20:33:59 +0200 Subject: Network team meeting this week In-Reply-To: <20011010195949.A25630@via.ecp.fr>; from gunther@via.ecp.fr on Wed, Oct 10, 2001 at 07:59:49PM +0200 References: <20011010144335.A26615@via.ecp.fr> <20011010192135.A3473@via.ecp.fr> <20011010195949.A25630@via.ecp.fr> Message-ID: <20011010203359.A3426@via.ecp.fr> On Wed, Oct 10, 2001, Laurent Rossier wrote: > I won't be there. Ok, it seems that tonight would be the best at 11pm maybe. I don't think that it will be very long. -- Marc ARIBERTI marcari at via.ecp.fr From marcari at via.ecp.fr Thu Oct 11 01:42:13 2001 From: marcari at via.ecp.fr (Marc ARIBERTI) Date: Thu, 11 Oct 2001 01:42:13 +0200 Subject: Network team meeting this week In-Reply-To: <20011010203359.A3426@via.ecp.fr>; from marcari@via.ecp.fr on Wed, Oct 10, 2001 at 08:33:59PM +0200 References: <20011010144335.A26615@via.ecp.fr> <20011010192135.A3473@via.ecp.fr> <20011010195949.A25630@via.ecp.fr> <20011010203359.A3426@via.ecp.fr> Message-ID: <20011011014213.A18880@via.ecp.fr> On Wed, Oct 10, 2001, Marc ARIBERTI wrote: > On Wed, Oct 10, 2001, Laurent Rossier wrote: > > I won't be there. > Ok, it seems that tonight would be the best at 11pm maybe. I don't > think that it will be very long. It cannot have been possible wednesday, so the meeting will be thursday at 8pm at the VIALABs. I remind that the aim is : 1- the state of the VLANserver 2- decide the goal of the new channel server (political and few technical) -- Marc ARIBERTI marcari at via.ecp.fr From cvs at videolan.org Wed Oct 24 17:03:16 2001 From: cvs at videolan.org (cvs at videolan.org) Date: Wed, 24 Oct 2001 17:03:16 +0200 (CEST) Subject: CVS Commit: network Message-ID: <20011024150316.69DB1233C9@brahma.via.ecp.fr> Update of /cvs/videolan/network/VLANserver Modified Files: logger.c Update of /cvs/videolan/network/VLANserver/server Modified Files: poll_switch.c request_handler.c Log Message: Fix a bug when a port is in no vlan which could be possible. At the initialisation a warning is logged in this case. Add a great :) color for the warning log. -- gunther From xav at via.ecp.fr Wed Oct 24 17:10:02 2001 From: xav at via.ecp.fr (Xavier Marchesini) Date: Wed, 24 Oct 2001 17:10:02 +0200 Subject: [NOISE] Re: CVS Commit: network In-Reply-To: <20011024150316.69DB1233C9@brahma.via.ecp.fr>; from cvs@videolan.org on Wed, Oct 24, 2001 at 05:03:16PM +0200 References: <20011024150316.69DB1233C9@brahma.via.ecp.fr> Message-ID: <20011024171002.A1152@via.ecp.fr> On Wed, Oct 24, 2001, cvs at videolan.org wrote: > Add a great :) color for the warning log. Color #42 ? -- xav From gunther at via.ecp.fr Wed Oct 24 17:18:34 2001 From: gunther at via.ecp.fr (Laurent Rossier) Date: Wed, 24 Oct 2001 17:18:34 +0200 Subject: [NOISE] Re: CVS Commit: network In-Reply-To: <20011024171002.A1152@via.ecp.fr>; from xav@via.ecp.fr on Wed, Oct 24, 2001 at 05:10:02PM +0200 References: <20011024150316.69DB1233C9@brahma.via.ecp.fr> <20011024171002.A1152@via.ecp.fr> Message-ID: <20011024171834.A18772@via.ecp.fr> On Wed, Oct 24, 2001, Xavier Marchesini wrote: > Color #42 ? MM no but this is a GREAT idee I will test it ! :) -- Gunther From cvs at videolan.org Wed Oct 24 19:59:18 2001 From: cvs at videolan.org (cvs at videolan.org) Date: Wed, 24 Oct 2001 19:59:18 +0200 (CEST) Subject: CVS Commit: network Message-ID: <20011024175918.F3EFB233C9@brahma.via.ecp.fr> Update of /cvs/videolan/network/VLANserver Modified Files: ChangeLog Makefile TODO common.h config.h types.c vlanserver.h Update of /cvs/videolan/network/VLANserver/config Modified Files: config.fl config.h Update of /cvs/videolan/network/VLANserver/doc Modified Files: vlanserver.conf.sample Update of /cvs/videolan/network/VLANserver/server Modified Files: request_handler.c server.c Removed Files: connect.c connect.h Log Message: Removed everything around the vlanbridge I hope that I have not broken/forgotten anything. (the tests will say it) -- marcari From gunther at via.ecp.fr Wed Oct 24 20:33:07 2001 From: gunther at via.ecp.fr (Laurent Rossier) Date: Wed, 24 Oct 2001 20:33:07 +0200 Subject: CVS Commit: network In-Reply-To: <20011024175918.F3EFB233C9@brahma.via.ecp.fr>; from cvs@videolan.org on Wed, Oct 24, 2001 at 07:59:18PM +0200 References: <20011024175918.F3EFB233C9@brahma.via.ecp.fr> Message-ID: <20011024203307.B4483@via.ecp.fr> Euuhh ..... I think that it is a bit "VIOLENT" is'nt it ? M'enfin ... I would have keep all and just comment the lines because we are not sur that the vlb is working. I would have made some ifdef in the code in order to keep the software solution. -- Gunther From marcari at via.ecp.fr Wed Oct 24 20:36:53 2001 From: marcari at via.ecp.fr (Marc ARIBERTI) Date: Wed, 24 Oct 2001 20:36:53 +0200 Subject: CVS Commit: network In-Reply-To: <20011024203307.B4483@via.ecp.fr>; from gunther@via.ecp.fr on Wed, Oct 24, 2001 at 08:33:07PM +0200 References: <20011024175918.F3EFB233C9@brahma.via.ecp.fr> <20011024203307.B4483@via.ecp.fr> Message-ID: <20011024203653.B4188@via.ecp.fr> On Wed, Oct 24, 2001, Laurent Rossier wrote: > Euuhh ..... I think that it is a bit "VIOLENT" is'nt it ? > M'enfin ... I would have keep all and just comment the lines because we > are not sur that the vlb is working. > I would have made some ifdef in the code in order to keep the software > solution. 1- the new vlanbridge is working good enough 2- at worst, it is not lost, CVS is a great software -- Marc ARIBERTI marcari at via.ecp.fr From gunther at via.ecp.fr Wed Oct 24 20:42:20 2001 From: gunther at via.ecp.fr (Laurent Rossier) Date: Wed, 24 Oct 2001 20:42:20 +0200 Subject: CVS Commit: network In-Reply-To: <20011024203653.B4188@via.ecp.fr>; from marcari@via.ecp.fr on Wed, Oct 24, 2001 at 08:36:53PM +0200 References: <20011024175918.F3EFB233C9@brahma.via.ecp.fr> <20011024203307.B4483@via.ecp.fr> <20011024203653.B4188@via.ecp.fr> Message-ID: <20011024204220.B6311@via.ecp.fr> On Wed, Oct 24, 2001, Marc ARIBERTI wrote: > 1- the new vlanbridge is working good enough Not sur but if you say so ... > 2- at worst, it is not lost, CVS is a great software Noo ?! I thank you for this I didn't know ! I was speaking about thefact that I think that it would have been better if we had keeped the code in the VLANserver and not just in the cvs. We have two solutions to make a vlb. Why can't we keep the both ?! -- Gunther From marcari at via.ecp.fr Wed Oct 24 20:48:59 2001 From: marcari at via.ecp.fr (Marc ARIBERTI) Date: Wed, 24 Oct 2001 20:48:59 +0200 Subject: CVS Commit: network In-Reply-To: <20011024204220.B6311@via.ecp.fr>; from gunther@via.ecp.fr on Wed, Oct 24, 2001 at 08:42:20PM +0200 References: <20011024175918.F3EFB233C9@brahma.via.ecp.fr> <20011024203307.B4483@via.ecp.fr> <20011024203653.B4188@via.ecp.fr> <20011024204220.B6311@via.ecp.fr> Message-ID: <20011024204859.D4188@via.ecp.fr> On Wed, Oct 24, 2001, Laurent Rossier wrote: > Noo ?! I thank you for this I didn't know ! > I was speaking about thefact that I think that it would have been better > if we had keeped the code in the VLANserver and not just in the cvs. > We have two solutions to make a vlb. Why can't we keep the both ?! Where would the older vlanbridge be better than the newer one ? The second one works quite well (I had no problem since sunday, I even played quake3), and you don't have the 'satellisation' problem. The older solution has been designed because there was no choice at that time to do else. Losing compatibility with an obsolete software (that has not really worked well and hadn't spread all over the world) is not a problem for me. I'm interesting in having other people opinion... -- Marc ARIBERTI marcari at via.ecp.fr From lool at via.ecp.fr Wed Oct 24 21:37:54 2001 From: lool at via.ecp.fr (=?iso-8859-1?Q?Lo=EFc_Minier?=) Date: Wed, 24 Oct 2001 21:37:54 +0200 Subject: CVS Commit: network In-Reply-To: <20011024204859.D4188@via.ecp.fr>; from marcari@via.ecp.fr on Wed, Oct 24, 2001 at 08:48:59PM +0200 References: <20011024175918.F3EFB233C9@brahma.via.ecp.fr> <20011024203307.B4483@via.ecp.fr> <20011024203653.B4188@via.ecp.fr> <20011024204220.B6311@via.ecp.fr> <20011024204859.D4188@via.ecp.fr> Message-ID: <20011024213754.T8319@via.ecp.fr> On Wed, Oct 24, 2001, Marc Ariberti wrote: > I'm interesting in having other people opinion... Well if you ask :) Actually I think Gunther is right : the VLANBridge compatibility doesn't NEED to be deleted, a command line option or an #ifdef would be fine. The (old) VLANBridge did not request users to make specific kernel changes to get it to work. The new one works only on a specific kernel version, requires hand changes in kernel config and kernel-recompilation, this is not packageable for example. So why suppress the existing solution ? Why should we remove emacs of the debian mirror ? -- Lool From cvs at videolan.org Wed Oct 24 22:35:17 2001 From: cvs at videolan.org (cvs at videolan.org) Date: Wed, 24 Oct 2001 22:35:17 +0200 (CEST) Subject: CVS Commit: network Message-ID: <20011024203517.1F1C6233C9@brahma.via.ecp.fr> Update of /cvs/videolan/network/VLANserver Modified Files: ChangeLog Makefile TODO common.h config.h types.c vlanserver.h Update of /cvs/videolan/network/VLANserver/config Modified Files: config.fl config.h Update of /cvs/videolan/network/VLANserver/doc Modified Files: Makefile.options.sample Update of /cvs/videolan/network/VLANserver/server Modified Files: request_handler.c server.c Added Files: connect.c connect.h Log Message: * As some people asked, I added back code relative to vlanbridge * added an option in Makefile.options to (de)activate it -- marcari From murray at roy.via.ecp.fr Thu Oct 25 04:32:00 2001 From: murray at roy.via.ecp.fr (Carlo Calabro') Date: Thu, 25 Oct 2001 04:32:00 +0200 Subject: [NOISE] Re: CVS Commit: network In-Reply-To: <20011024213754.T8319@via.ecp.fr> References: <20011024175918.F3EFB233C9@brahma.via.ecp.fr> <20011024203307.B4483@via.ecp.fr> <20011024203653.B4188@via.ecp.fr> <20011024204220.B6311@via.ecp.fr> <20011024204859.D4188@via.ecp.fr> <20011024213754.T8319@via.ecp.fr> Message-ID: <20011025043200.G12033@roy.via.ecp.fr> > Why should we remove emacs of > the debian mirror ? remove WHAT???? just try... -- murray (very proud emacs user) From xav at via.ecp.fr Fri Oct 26 02:28:55 2001 From: xav at via.ecp.fr (Xavier Marchesini) Date: Fri, 26 Oct 2001 02:28:55 +0200 Subject: [NOISE] Re: CVS Commit: network In-Reply-To: <20011025043200.G12033@roy.via.ecp.fr>; from murray@roy.via.ecp.fr on Thu, Oct 25, 2001 at 04:32:00AM +0200 References: <20011024175918.F3EFB233C9@brahma.via.ecp.fr> <20011024203307.B4483@via.ecp.fr> <20011024203653.B4188@via.ecp.fr> <20011024204220.B6311@via.ecp.fr> <20011024204859.D4188@via.ecp.fr> <20011024213754.T8319@via.ecp.fr> <20011025043200.G12033@roy.via.ecp.fr> Message-ID: <20011026022855.A15654@via.ecp.fr> On Thu, Oct 25, 2001, Carlo Calabro' wrote: > > Why should we remove emacs of > > the debian mirror ? > remove WHAT???? > just try... I just wonder why there's a package for an other OS under Linux. Hey, most of the debian users DO NOT want to control their coffee machine ! -- Xav From cvs at videolan.org Fri Oct 26 15:57:12 2001 From: cvs at videolan.org (cvs at videolan.org) Date: Fri, 26 Oct 2001 15:57:12 +0200 (CEST) Subject: CVS Commit: network Message-ID: <20011026135712.8336F233C9@brahma.via.ecp.fr> Update of /cvs/videolan/network/VLANserver/server Modified Files: server.c Log Message: added a #ifdef VLB in server.c -- marcari From cvs at videolan.org Sat Oct 27 01:16:10 2001 From: cvs at videolan.org (cvs at videolan.org) Date: Sat, 27 Oct 2001 01:16:10 +0200 (CEST) Subject: CVS Commit: network Message-ID: <20011026231610.E554F233C9@brahma.via.ecp.fr> Update of /cvs/videolan/network/VLANserver/config Modified Files: config.fl Update of /cvs/videolan/network/VLANserver/db Modified Files: db.c Update of /cvs/videolan/network/VLANserver/doc Modified Files: FAQ Update of /cvs/videolan/network/VLANserver/interface Modified Files: interface.c Update of /cvs/videolan/network/VLANserver/server Modified Files: connect.c poll_switch.c request_handler.c Update of /cvs/videolan/network/VLANserver/snmp Modified Files: callback.c Log Message: Corrected some mistakes about channels (those were segfaults roots) Corrected a few spelling mistakes -- marcari From cvs at videolan.org Sat Oct 27 14:41:10 2001 From: cvs at videolan.org (cvs at videolan.org) Date: Sat, 27 Oct 2001 14:41:10 +0200 (CEST) Subject: CVS Commit: network Message-ID: <20011027124110.60C9E233C9@brahma.via.ecp.fr> Update of /cvs/videolan/network/VLANserver/interface Modified Files: telnet.c Log Message: Changed select-timeout in telnet thread from 0sec to 1sec. This caused the thread to take 99% CPU time. Now the telnet thread does take only 0% CPU and answers perfectly to connection requests. -- marcari From bbp at via.ecp.fr Sat Oct 27 17:16:11 2001 From: bbp at via.ecp.fr (Brieuc Jeunhomme) Date: Sat, 27 Oct 2001 17:16:11 +0200 Subject: CVS Commit: network In-Reply-To: <20011027124110.60C9E233C9@brahma.via.ecp.fr>; from cvs@videolan.org on Sat, Oct 27, 2001 at 02:41:10PM +0200 References: <20011027124110.60C9E233C9@brahma.via.ecp.fr> Message-ID: <20011027171611.A423@via.ecp.fr> > Changed select-timeout in telnet thread from 0sec to 1sec. > This caused the thread to take 99% CPU time. > Now the telnet thread does take only 0% CPU and answers perfectly > to connection requests. In order to avoid 100% cpu consumption, NULL could be used instead of &select_timeout. This way, the select won't be uselessly interrupted and the thread won't be awaken each second just to see it has nothing to do. I also suggest, for portability, that memset(&(addr.sin_zero),0,8); at the beginning be replaced by memset(&(addr.sin_zero),0,sizeof(addr.sin_zero)); and of course called before initialization of addr.sin_zero so that there will be no problem if sizeof(addr.sin_zero) changes someday. One more thing... I see a call to socket() in the main routine of the telnet interface and no call to close() I can however see some calls to return... :) Nitroooooooooox ? And one more : strlen(WELCOME) could be replaced by sizeof(WELCOME)-sizeof(char), right ? -- BBP From marcari at via.ecp.fr Sat Oct 27 19:06:10 2001 From: marcari at via.ecp.fr (Marc ARIBERTI) Date: Sat, 27 Oct 2001 19:06:10 +0200 Subject: CVS Commit: network In-Reply-To: <20011027171611.A423@via.ecp.fr>; from bbp@via.ecp.fr on Sat, Oct 27, 2001 at 05:16:11PM +0200 References: <20011027124110.60C9E233C9@brahma.via.ecp.fr> <20011027171611.A423@via.ecp.fr> Message-ID: <20011027190610.B1202@via.ecp.fr> On Sat, Oct 27, 2001, Brieuc Jeunhomme wrote: > In order to avoid 100% cpu consumption, NULL could be used instead of > &select_timeout. This way, the select won't be uselessly interrupted > and the thread won't be awaken each second just to see it has nothing > to do. It works with a NULL without problem. But I wonder about one thing : * If no one alls the telnet interface : the condition while(!module->uDie) will never be reached * then the only way to kill the telnet module is to press ctrl+C > I also suggest, for portability, that memset(&(addr.sin_zero),0,8); at > the beginning be replaced by > memset(&(addr.sin_zero),0,sizeof(addr.sin_zero)); and of course called When I see the definition of sin_zero, it is a wise advice. > One more thing... I see a call to socket() in the main routine of the > telnet interface and no call to close() I can however see some calls to > return... :) Nitroooooooooox ? fixed ! > And one more : strlen(WELCOME) could be replaced by > sizeof(WELCOME)-sizeof(char), right ? No, then the \n is not sent to the client (and it is quite ugly) -- Marc ARIBERTI marcari at via.ecp.fr From sam at zoy.org Sun Oct 28 12:27:49 2001 From: sam at zoy.org (Samuel Hocevar) Date: Sun, 28 Oct 2001 12:27:49 +0100 Subject: CVS Commit: network In-Reply-To: <20011027171611.A423@via.ecp.fr>; from bbp@via.ecp.fr on Sat, Oct 27, 2001 at 05:16:11PM +0200 References: <20011027124110.60C9E233C9@brahma.via.ecp.fr> <20011027171611.A423@via.ecp.fr> Message-ID: <20011028122749.A23965@zoy.org> On Sat, Oct 27, 2001, Brieuc Jeunhomme wrote: > And one more : strlen(WELCOME) could be replaced by > sizeof(WELCOME)-sizeof(char), right ? I find strlen(WELCOME) to be a lot clearer. And it gets inlined with any optimization directive. -- Sam. From bbp at via.ecp.fr Sun Oct 28 13:29:22 2001 From: bbp at via.ecp.fr (Brieuc Jeunhomme) Date: Sun, 28 Oct 2001 13:29:22 +0100 Subject: CVS Commit: network In-Reply-To: <20011027190610.B1202@via.ecp.fr>; from marcari@via.ecp.fr on Sat, Oct 27, 2001 at 07:06:10PM +0200 References: <20011027124110.60C9E233C9@brahma.via.ecp.fr> <20011027171611.A423@via.ecp.fr> <20011027190610.B1202@via.ecp.fr> Message-ID: <20011028132922.B24800@via.ecp.fr> > * If no one alls the telnet interface : the condition while(!module->uDie) > will never be reached > * then the only way to kill the telnet module is to press ctrl+C Right. But a select() can also be interrupted when certain signals (say SIGPIPE) are sent to the process. I know many use timeouts for this purpose, but it's a kludge. First because when someone wants to stop a server they want to stop it _now_, not in one second. Second because threads are often awaken for nothing. -- BBP