Mailing List Archive

[Bug 385] Quagga - Foundry route-reflector-client error
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug
report.

http://bugzilla.quagga.net/show_bug.cgi?id=385





------- Additional Comments From samh@he.net 2007-07-18 01:15 -------
Created an attachment (id=232)
--> (http://bugzilla.quagga.net/attachment.cgi?id=232&action=view)
tcpdump PCAP from the quagga box durring the update cycle

This is a pcap file from a tcpdump running on the quagga box durring the BGP
update cycle I used the command:

tcpdump -n -c 1000 -w test.pcap ip6

And stopped it after several cycles of the BGP daemon bringing the session up
and dropping it. If you need a more specific output let me know the commands
you want run and I will oblige.

------- Additional Comments From xbmodder@gmail.com 2007-09-03 19:42 -------
I'm experiencing this too. Not as a route-reflector client, just as a standard
neighbor. I attached my dump too. Dealing with a Foundry. Trying to run a native
IPv6 session with Quagga 0.99.8 on CentOS (Linux). Native link. Same log errors.





------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
Quagga-bugs mailing list
Quagga-bugs@lists.quagga.net
http://lists.quagga.net/mailman/listinfo/quagga-bugs
[Bug 385] Quagga - Foundry route-reflector-client error [ In reply to ]
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug
report.

http://bugzilla.quagga.net/show_bug.cgi?id=385





------- Additional Comments From xbmodder@gmail.com 2007-09-03 19:48 -------
Created an attachment (id=247)
--> (http://bugzilla.quagga.net/attachment.cgi?id=247&action=view)
IPv6 BGP pcap dump with Foundry router




------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
Quagga-bugs mailing list
Quagga-bugs@lists.quagga.net
http://lists.quagga.net/mailman/listinfo/quagga-bugs
[Bug 385] Quagga - Foundry route-reflector-client error [ In reply to ]
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug
report.

http://bugzilla.quagga.net/show_bug.cgi?id=385





------- Additional Comments From paul@dishone.st 2007-09-03 23:31 -------
On reflection, this may well be realted to the bug #354 changes.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
Quagga-bugs mailing list
Quagga-bugs@lists.quagga.net
http://lists.quagga.net/mailman/listinfo/quagga-bugs
[Bug 385] Quagga - Foundry route-reflector-client error [ In reply to ]
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug
report.

http://bugzilla.quagga.net/show_bug.cgi?id=385





------- Additional Comments From xbmodder@gmail.com 2007-09-03 23:42 -------
I'm offering a bounty for this bug. I will paypal anyone money who can fix it.
Fixed meaning:
1) Code compiles without any excessive work
2) Performance does not degrade unreasonably
3) Stability is not effected
4) My router works.


Prices:
Before 12:00 PST8PDT 9/5/2007:
$50
Before 12:00 PST8PDT 9/10/2007:
$30
Other:
$10




------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
Quagga-bugs mailing list
Quagga-bugs@lists.quagga.net
http://lists.quagga.net/mailman/listinfo/quagga-bugs
[Bug 385] Quagga - Foundry route-reflector-client error [ In reply to ]
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug
report.

http://bugzilla.quagga.net/show_bug.cgi?id=385





------- Additional Comments From paul@dishone.st 2007-09-04 14:46 -------
Ok. The first tcpdump attachment isn't very useful, as all the packets are
truncated. Dumps need to be made with '-s 0' as argument to tcpdump/snoop in
order to get the full packets.

The second dump, I can't find the bad attribute, as yet.

Does this occur only with Foundry peers?

Could someone reproduce the problem with attached patch applied and with 'debug
bgp update in' set.





------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
Quagga-bugs mailing list
Quagga-bugs@lists.quagga.net
http://lists.quagga.net/mailman/listinfo/quagga-bugs
[Bug 385] Quagga - Foundry route-reflector-client error [ In reply to ]
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug
report.

http://bugzilla.quagga.net/show_bug.cgi?id=385





------- Additional Comments From paul@dishone.st 2007-09-04 15:09 -------
Created an attachment (id=248)
--> (http://bugzilla.quagga.net/attachment.cgi?id=248&action=view)
Add more debug to mp_reach_nlri parsing




------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
Quagga-bugs mailing list
Quagga-bugs@lists.quagga.net
http://lists.quagga.net/mailman/listinfo/quagga-bugs
[Bug 385] Quagga - Foundry route-reflector-client error [ In reply to ]
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug
report.

http://bugzilla.quagga.net/show_bug.cgi?id=385





------- Additional Comments From paul@dishone.st 2007-09-04 15:13 -------
(From update of attachment 232)
This dump unfortuntately has truncated packets. The '-s 0' parameter should be
passed to tcpdump/snoop when dumping..




------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
Quagga-bugs mailing list
Quagga-bugs@lists.quagga.net
http://lists.quagga.net/mailman/listinfo/quagga-bugs
[Bug 385] Quagga - Foundry route-reflector-client error [ In reply to ]
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug
report.

http://bugzilla.quagga.net/show_bug.cgi?id=385





------- Additional Comments From xbmodder@gmail.com 2007-09-04 16:26 -------
Log data:


2007/09/04 08:24:29 BGP: 2001:470:1:6::1 rcvd 2001:740::/32
2007/09/04 08:24:29 BGP: 2001:470:1:6::1 rcvd 2001:14b0::/32
2007/09/04 08:24:29 BGP: 2001:470:1:6::1 rcvd 2001:14f8::/32
2007/09/04 08:24:29 BGP: 2001:470:1:6::1 rcvd UPDATE w/ attr: , origin i,
mp_nexthop 2001:470:1:6::1(fe80::20c:dbff:fefe:eb00), path 6939 21385
2007/09/04 08:24:29 BGP: 2001:470:1:6::1 rcvd 2001:1b18::/32
2007/09/04 08:24:29 BGP: 2001:470:1:6::1 rcvd UPDATE w/ attr: , origin i,
mp_nexthop 2001:470:1:6::1(fe80::20c:dbff:fefe:eb00), path 6939 3257 24776
2007/09/04 08:24:29 BGP: 2001:470:1:6::1 rcvd 2001:1650::/32
2007/09/04 08:24:29 BGP: 2001:470:1:6::1 rcvd UPDATE w/ attr: , origin i,
mp_nexthop 2001:470:1:6::1(fe80::20c:dbff:fefe:eb00), path 6939 25358 29402
2007/09/04 08:24:29 BGP: 2001:470:1:6::1 rcvd 2001:1668:102::/48
2007/09/04 08:24:29 BGP: 2001:470:1:6::1: Attribute MP_REACH_NLRI, parse error




------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
Quagga-bugs mailing list
Quagga-bugs@lists.quagga.net
http://lists.quagga.net/mailman/listinfo/quagga-bugs
[Bug 385] Quagga - Foundry route-reflector-client error [ In reply to ]
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug
report.

http://bugzilla.quagga.net/show_bug.cgi?id=385





------- Additional Comments From xbmodder@gmail.com 2007-09-04 16:45 -------
With your patch:
2007/09/04 08:44:19 BGP: 2001:470:1:6::1 rcvd 2001:740::/32
2007/09/04 08:44:19 BGP: 2001:470:1:6::1 rcvd 2001:14b0::/32
2007/09/04 08:44:19 BGP: 2001:470:1:6::1 rcvd 2001:14f8::/32
2007/09/04 08:44:19 BGP: 2001:470:1:6::1 rcvd UPDATE w/ attr: , origin i,
mp_nexthop 2001:470:1:6::1(fe80::20c:dbff:fefe:eb00), path 6939 21385
2007/09/04 08:44:19 BGP: 2001:470:1:6::1 rcvd 2001:1b18::/32
2007/09/04 08:44:19 BGP: 2001:470:1:6::1 rcvd UPDATE w/ attr: , origin i,
mp_nexthop 2001:470:1:6::1(fe80::20c:dbff:fefe:eb00), path 6939 3257 24776
2007/09/04 08:44:19 BGP: 2001:470:1:6::1 rcvd 2001:1650::/32
2007/09/04 08:44:19 BGP: 2001:470:1:6::1 rcvd UPDATE w/ attr: , origin i,
mp_nexthop 2001:470:1:6::1(fe80::20c:dbff:fefe:eb00), path 6939 25358 29402
2007/09/04 08:44:19 BGP: 2001:470:1:6::1 rcvd 2001:1668:102::/48
2007/09/04 08:44:19 BGP: 2001:470:1:6::1 stream data (0l) < nrli_len (0l)
2007/09/04 08:44:19 BGP: message index 14 [MP_REACH_NLRI] found in position 13
(max is 16)
2007/09/04 08:44:19 BGP: 2001:470:1:6::1: Attribute MP_REACH_NLRI, parse error
2007/09/04 08:44:19 BGP: Unknown attribute type 17 length 6 is received




------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
Quagga-bugs mailing list
Quagga-bugs@lists.quagga.net
http://lists.quagga.net/mailman/listinfo/quagga-bugs
[Bug 385] Quagga - Foundry route-reflector-client error [ In reply to ]
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug
report.

http://bugzilla.quagga.net/show_bug.cgi?id=385


paul@dishone.st changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1




------- Additional Comments From xbmodder@gmail.com 2007-09-05 14:24 -------
Created an attachment (id=249)
--> (http://bugzilla.quagga.net/attachment.cgi?id=249&action=view)
More PCAP dumps bunzipped2


------- Additional Comments From paul@dishone.st 2007-09-10 00:41 -------
Ok, so it's this:

Update Message (2), length: 96
Origin (1), length: 1, Flags [T]: IGP
0x0000: 00
AS Path (2), length: 26, Flags [T]: 6939 6175 17715 6435 278 18592 277
50 19401 20080 11537 3549 1273
0x0000: 020c 1b1b 181f 4533 1923 0116 48a0 6c66
0x0010: 4bc9 4e70 2d11 0ddd 04f9
Multi-Protocol Reach NLRI (14), length: 37, Flags [O]:
AFI: IPv6 (2), SAFI: Unicast (1)
nexthop: 2001:470:1:6::1fe80::20c:dbff:fefe:eb00, nh-length: 32, no
SNPA
0x0000: 0002 0120 2001 0470 0001 0006 0000 0000
0x0010: 0000 0001 fe80 0000 0000 0000 020c dbff
0x0020: fefe eb00 00

That Update is preceded by the Update for 2001:1668:102::/48, precedes the
NOTIFY Quaggga sends and, just as the updated logging patch says, has a 0-length
NLRI.

In being ultra-zealous about length checking, I managed to forget that 0/0
prefixes are of course quite valid..

The fix should be simple and I'll cook it up tomorrow.




------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
Quagga-bugs mailing list
Quagga-bugs@lists.quagga.net
http://lists.quagga.net/mailman/listinfo/quagga-bugs
[Bug 385] Quagga - Foundry route-reflector-client error [ In reply to ]
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug
report.

http://bugzilla.quagga.net/show_bug.cgi?id=385


paul@dishone.st changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED






------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
Quagga-bugs mailing list
Quagga-bugs@lists.quagga.net
http://lists.quagga.net/mailman/listinfo/quagga-bugs
[Bug 385] Quagga - Foundry route-reflector-client error [ In reply to ]
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug
report.

http://bugzilla.quagga.net/show_bug.cgi?id=385


paul@dishone.st changed:

What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|maintainers@quagga.net |paul@dishone.st




------- Additional Comments From paul@dishone.st 2007-09-10 10:41 -------
(taking bug)

Does anyone know if versions prior to 0.99.8 were capable of correctly receiving
an IPv6 default route?

Looking at the code, it seems like such simply would never be parsed, so old
versions of bgpd are buggy too I think. The #355 fix does not change any
assumptions in bgpd, so it doesn't introduce this bug - it just was the first to
get it noticed (by sending NOTIFY instead of, I think, ignoring v6 default).





------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
Quagga-bugs mailing list
Quagga-bugs@lists.quagga.net
http://lists.quagga.net/mailman/listinfo/quagga-bugs