Hello, It seems that the auth type message field is not correctly send. bird send it in host order but other routers (like cisco) wants it in network order. So it is necessary to change the file auth.c (in proto/rip/) at line 132 : block->authtype = P_CF->authtype; become : block->authtype = htons(P_CF->authtype); This was tested with 1.0.4 but the rip related files have not changed in 1.0.5. BR, -- Eric Leblond <eleblond@init-sys.com> Init-Sys
Hello!
It seems that the auth type message field is not correctly send. bird send it in host order but other routers (like cisco) wants it in network order. So it is necessary to change the file auth.c (in proto/rip/) at line 132 : block->authtype = P_CF->authtype; become : block->authtype = htons(P_CF->authtype);
You're right, I'll fix that. (Actually, the bug is probably on some more places because otherwise Bird wouldn't talk to itself.) I hope I'll roll out a new release in two weeks to get the things at least crawling if not moving :) Have a nice fortnight -- Martin `MJ' Mares <mj@ucw.cz> http://atrey.karlin.mff.cuni.cz/~mj/ Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth American patent law: two monkeys, fourteen days.
I hope I'll roll out a new release in two weeks to get the things at least crawling if not moving :)
That will be nice, I've had some problems with the BGP protocol in Bird. It's working good most of the time, but sometimes when the BGP connection fails, and Bird tries to reestablish the connection it will corrupt its settings (I think).. Look at the following log: 02-04-2003 12:23:52 <RMT> UUNET: Error: Hold timer expired 02-04-2003 12:23:52 <TRACE> UUNET: State changed to flush 02-04-2003 12:23:52 <TRACE> UUNET: State changed to down 02-04-2003 12:56:18 <TRACE> UUNET: Starting 02-04-2003 12:56:18 <TRACE> UUNET: State changed to start 02-04-2003 12:56:18 <ERR> UUNET: Invalid next hop 0.10.182.0 The BGP config is: protocol bgp UUNET { debug { states, events }; local as 16333; source address 217.16.69.57; multihop 40 via 146.188.54.185; neighbor 146.188.54.185 as 702; ... Are there any fixes about this?? -- Damjan Georgievski
Hello!
I've had some problems with the BGP protocol in Bird. It's working good most of the time, but sometimes when the BGP connection fails, and Bird tries to reestablish the connection it will corrupt its settings (I think)..
I've been unable to reproduce the problem. Could you please turn on all the debugging switches and also change #undef LOCAL_DEBUG to #define LOCAL_DEBUG in proto/bgp/* and send me the output? Have a nice fortnight -- Martin `MJ' Mares <mj@ucw.cz> http://atrey.karlin.mff.cuni.cz/~mj/ Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth COBOL -- Compiles Only Because Of Luck
I've had some problems with the BGP protocol in Bird. It's working good most of the time, but sometimes when the BGP connection fails, and Bird tries to reestablish the connection it will corrupt its settings (I think)..
I've been unable to reproduce the problem. Could you please turn on all the debugging switches and also change #undef LOCAL_DEBUG to #define LOCAL_DEBUG in proto/bgp/* and send me the output?
well this is a production environment so I can't do much testing :( I'm using bird to anounce my AS to the world. I've tried also with bird-1.0.6 now, but I can't make it to work at all, and I'm using the same configuration - which is very strange. To complicate the matters more, my peer is sending me the whole BGP table... so debuging is much, much harder. I'll try to make a test case between two PC's, these days. -- Damjan Georgievski
On Tue, 2003-04-01 at 21:35, Martin Mares wrote:
Hello!
You're right, I'll fix that. (Actually, the bug is probably on some more places because otherwise Bird wouldn't talk to itself.)
Well, I've got a customer who needs badly to have a working bird realy fast. Have you already work on the source or can I work on 1.0.5 source without problem to fix this ?
I hope I'll roll out a new release in two weeks to get the things at least crawling if not moving :)
BR, -- Eric Leblond <eleblond@init-sys.com> Init-Sys
Hi!
You're right, I'll fix that. (Actually, the bug is probably on some more places because otherwise Bird wouldn't talk to itself.)
Well, I've got a customer who needs badly to have a working bird realy fast. Have you already work on the source or can I work on 1.0.5 source without problem to fix this ?
There's a CVS, and I believe martin already fixed it there. If you eally need it *now*, I guess I can get you a copy of cvs.... -- Horseback riding is like software... ...vgf orggre jura vgf serr.
Hi, I've modified the code to make RIP V2 with auth (passsword and md5) work. There were netowrk to host order problems and some offset that were not good. BR, -- Eric Leblond <eleblond@init-sys.com> Init-Sys
participants (4)
-
Damjan -
Eric Leblond -
Martin Mares -
Pavel Machek