Hallo,

zur Info, falls sich einer mal daran versucht, mit Flowlabels auf Linux 
rumzuspielen...besser mal warten...da schlummern paar üble Bugs (wohl 
schon länger...und keiner hat's gemerkt bisher).

Servus,
        Peter, grad ziemlich leidgeplagt

-------- Original-Nachricht --------
Betreff: [Bug 583985] traceroute don't like -l flowlabel option
Datum: Thu, 22 Apr 2010 01:29:28 -0400
Von: bugzi...@redhat.com
An: p...@bieringer.de

Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=583985

--- Comment #6 from Peter Bieringer <p...@bieringer.de> 2010-04-22 
01:29:25 EDT ---
Applied patch to traceroute 2.0.13 and rebuilt RPM on F12, option now works,
but result is imho very buggy:

Flow label (decimal, using -l): tcpdump IPv6 header (first 64 bits)

0:    (0x0000): 0x0000:  6000 0000 0028 1110
1:    (0x0001): 0x0000:  6100 0000 0028 1110
2:    (0x0002): 0x0000:  6200 0000 0028 1110
15:   (0x000f): 0x0000:  6f00 0000 0028 1110
16:   (0x0010): 0x0000:  6000 0000 0028 1110
31:   (0x001f): 0x0000:  6f00 0000 0028 1110
32:   (0x0020): 0x0000:  6000 0000 0028 1110
127   (0x007f): 0x0000:  6f00 0000 0028 1110
4095  (0x0fff): connect: Invalid argument
16383 (0x3fff): connect: Invalid argument
16384 (0x4000): 0x0000:  6040 0000 0028 1110
65535 (0xffff): connect: Invalid argument
12345 (0x3039): 0x0000:  6930 0000 0028 1110


=> flow label is not stored in IPv6 header as expected, looks like is 
stored in
completly wrong manner according to latest definition of IPv6 header.

 From left:
Bit 0-3: Protocol (0x6) => ok
Bit 4-11: Traffic Class => buggy, part of flow level found, where only 
Traffic
Class is expected (0x00)
Bit 12-31: Flow label => buggy, only part of flow level found

The "connect: Invalid argument" is also very strange

Is this a library, traceroute or a kernel bug??

Kernel is: 2.6.32.9-70.fc12.i686

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You reported the bug.
-- 
ipv6 mailing list
ipv6@listserv.uni-muenster.de
http://listserv.uni-muenster.de/mailman/listinfo/ipv6

Antwort per Email an