Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revocation failed, when running bwtestclient #18

Closed
juagargi opened this issue Nov 22, 2018 · 2 comments
Closed

Revocation failed, when running bwtestclient #18

juagargi opened this issue Nov 22, 2018 · 2 comments
Labels

Comments

@juagargi
Copy link
Member

Leopold has observed these errors when running bwtestclient -s 19-ffaa:1:143,[141.44.25.148]:30102 -c 17-ffaa:1:125,[10.0.2.15]:30100 -cs 10,1472,?,32Mbps -sc 10,1472,?,32Mbps:

EROR[11-21|16:47:16] Revocation failed, unable to parse signed revocation info raw=000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 err="capnp panic panic=\"capnp: address out of bounds\""
EROR[11-21|16:47:16] Revocation failed, unable to parse signed revocation info raw=000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 err="capnp panic panic=\"capnp: address out of bounds\""
EROR[11-21|16:47:16] Revocation failed, unable to parse signed revocation info raw=000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 err="capnp panic panic=\"capnp: address out of bounds\""
EROR[11-21|16:47:16] Revocation failed, unable to parse signed revocation info raw=000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 err="capnp panic panic=\"capnp: address out of bounds\""
EROR[11-21|16:47:16] Revocation failed, unable to parse signed revocation info raw=000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 err="capnp panic panic=\"capnp: address out of bounds\""
EROR[11-21|16:47:16] Revocation failed, unable to parse signed revocation info raw=000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 err="capnp panic panic=\"capnp: address out of bounds\""

This is what I get:
$ ./bwtestclient -s 19-ffaa:1:143,[141.44.25.148]:30102 -c 17-ffaa:1:a,[10.0.8.116]:30100 -cs 10,1472,?,32Mbps -sc 10,1472,?,32Mbps
INFO[11-21|16:46:38] Started id=34e60d76 goroutine=dispatcher_bck
Available paths to 19-ffaa:1:143
[ 0] Hops: [17-ffaa:1:a 1>147 17-ffaa:0:1107 1>4 17-ffaa:0:1102 2>2 17-ffaa:0:1103 4>8 17-ffaa:0:1101 2>1 16-ffaa:0:1002 2>2 19-ffaa:0:1301 5>1 19-ffaa:0:1303 43>1 19-ffaa:1:143] Mtu: 1472
[ 1] Hops: [17-ffaa:1:a 1>147 17-ffaa:0:1107 1>4 17-ffaa:0:1102 2>2 17-ffaa:0:1103 4>8 17-ffaa:0:1101 5>4 18-ffaa:0:1201 5>3 19-ffaa:0:1301 5>1 19-ffaa:0:1303 43>1 19-ffaa:1:143] Mtu: 1472
[ 2] Hops: [17-ffaa:1:a 1>147 17-ffaa:0:1107 1>4 17-ffaa:0:1102 2>2 17-ffaa:0:1103 4>8 17-ffaa:0:1101 1>1 16-ffaa:0:1001 2>1 19-ffaa:0:1301 5>1 19-ffaa:0:1303 43>1 19-ffaa:1:143] Mtu: 1472
[ 3] Hops: [17-ffaa:1:a 1>147 17-ffaa:0:1107 1>4 17-ffaa:0:1102 2>2 17-ffaa:0:1103 4>8 17-ffaa:0:1101 6>4 19-ffaa:0:1301 5>1 19-ffaa:0:1303 43>1 19-ffaa:1:143] Mtu: 1472
[ 4] Hops: [17-ffaa:1:a 1>147 17-ffaa:0:1107 1>4 17-ffaa:0:1102 2>2 17-ffaa:0:1103 4>8 17-ffaa:0:1101 11>2 19-ffaa:0:1302 1>7 19-ffaa:0:1301 5>1 19-ffaa:0:1303 43>1 19-ffaa:1:143] Mtu: 1472
DBUG[11-21|16:46:38] Path selection algorithm choice path="Hops: [17-ffaa:1:a 1>147 17-ffaa:0:1107 1>4 17-ffaa:0:1102 2>2 17-ffaa:0:1103 4>8 17-ffaa:0:1101 1>1 16-ffaa:0:1001 2>1 19-ffaa:0:1301 5>1 19-ffaa:0:1303 43>1 19-ffaa:1:143] Mtu: 1472" score=0.472
Using path:
Hops: [17-ffaa:1:a 1>147 17-ffaa:0:1107 1>4 17-ffaa:0:1102 2>2 17-ffaa:0:1103 4>8 17-ffaa:0:1101 1>1 16-ffaa:0:1001 2>1 19-ffaa:0:1301 5>1 19-ffaa:0:1303 43>1 19-ffaa:1:143] Mtu: 1472
INFO[11-21|16:46:38] Registered with dispatcher ia=17-ffaa:1:a host=10.0.8.116 port=30100
Client DC Next Hop 127.0.0.1 Server Host 141.44.25.148 Server Port 30103
INFO[11-21|16:46:38] Registered with dispatcher ia=17-ffaa:1:a host=10.0.8.116 port=30101
Test parameters:
clientDCAddr -> serverDCAddr 17-ffaa:1:a,[10.0.8.116]:30101 -> 19-ffaa:1:143,[141.44.25.148]:30103
client->server: 10 seconds, 1472 bytes, 27173 packets
server->client: 10 seconds, 1472 bytes, 27173 packets
S->C results
Attempted bandwidth: 31998924 bps / 32.00 Mbps
Achieved bandwidth: 11355596 bps / 11.36 Mbps
Loss rate: 64 %
Interarrival time variance: 193ms, average interarrival time: 0ms
Interarrival time min: 0ms, interarrival time max: 194ms
INFO[11-21|16:46:50] Received SCMP revocation header="Class=PATH(3) Type=REVOKED_IF(4) TotalLen=344B Checksum=4b28 Timestamp=2018-11-21 16:46:50.878976 +0100 CET" payload="Meta: Info=21 CmnHdr=1 AddrHdr=3 PathHdr=14 ExtHdrs=0 L4Hdr=1 L4Proto=UDP\nInfo: InfoF=4 HopF=5 IfID=1 Ingress=false RawSRev=101740021105a2510c0202ff100510040101750a0101aaff111102140f0fea7df55b01010fea7df55b3105420131150202ff44454641554c543a0c2049413a2031372d666661613a313a6120434841494e3a2031205452433a20314d5aa27c08d99db4cd09e305530b46f6afd737c3083cc86aefcc2bc0f365623ce84468ef59b1826c8387713344a04644af2b484f4702db0673b8d56b85e10e070000000000\nCmnHdr: 004100a912040511\nAddrHdr: 0013ffaa000101430011ffaa0001000a8d2c19940a000874\nPathHdr: 005bf57dd4001105004000100085a2ca004000109365378500400020045a1e5a00400040028c92c7014000000894aee0005bf57dbc00130301400010002a85780040002001553cb501400000019bfac7015bf57543001303014000000504c3da004000102b040e44004000100015d8fb\nExtHdrs: \nL4Hdr: 7594759600195d8e\n"
INFO[11-21|16:46:50] Received SCMP revocation header="Class=PATH(3) Type=REVOKED_IF(4) TotalLen=344B Checksum=49d0 Timestamp=2018-11-21 16:46:50.87932 +0100 CET" payload="Meta: Info=21 CmnHdr=1 AddrHdr=3 PathHdr=14 ExtHdrs=0 L4Hdr=1 L4Proto=UDP\nInfo: InfoF=4 HopF=5 IfID=1 Ingress=false RawSRev=101740021105a2510c0202ff100510040101750a0101aaff111102140f0fea7df55b01010fea7df55b3105420131150202ff44454641554c543a0c2049413a2031372d666661613a313a6120434841494e3a2031205452433a20314d5aa27c08d99db4cd09e305530b46f6afd737c3083cc86aefcc2bc0f365623ce84468ef59b1826c8387713344a04644af2b484f4702db0673b8d56b85e10e070000000000\nCmnHdr: 004100a912040511\nAddrHdr: 0013ffaa000101430011ffaa0001000a8d2c19940a000874\nPathHdr: 005bf57dd4001105004000100085a2ca004000109365378500400020045a1e5a00400040028c92c7014000000894aee0005bf57dbc00130301400010002a85780040002001553cb501400000019bfac7015bf57543001303014000000504c3da004000102b040e44004000100015d8fb\nExtHdrs: \nL4Hdr: 7594759600195d8e\n"
INFO[11-21|16:46:50] Started id=250098bb goroutine=dispatcher_bck
INFO[11-21|16:46:50] Received SCMP revocation header="Class=PATH(3) Type=REVOKED_IF(4) TotalLen=344B Checksum=48cd Timestamp=2018-11-21 16:46:50.879579 +0100 CET" payload="Meta: Info=21 CmnHdr=1 AddrHdr=3 PathHdr=14 ExtHdrs=0 L4Hdr=1 L4Proto=UDP\nInfo: InfoF=4 HopF=5 IfID=1 Ingress=false RawSRev=101740021105a2510c0202ff100510040101750a0101aaff111102140f0fea7df55b01010fea7df55b3105420131150202ff44454641554c543a0c2049413a2031372d666661613a313a6120434841494e3a2031205452433a20314d5aa27c08d99db4cd09e305530b46f6afd737c3083cc86aefcc2bc0f365623ce84468ef59b1826c8387713344a04644af2b484f4702db0673b8d56b85e10e070000000000\nCmnHdr: 004100a912040511\nAddrHdr: 0013ffaa000101430011ffaa0001000a8d2c19940a000874\nPathHdr: 005bf57dd4001105004000100085a2ca004000109365378500400020045a1e5a00400040028c92c7014000000894aee0005bf57dbc00130301400010002a85780040002001553cb501400000019bfac7015bf57543001303014000000504c3da004000102b040e44004000100015d8fb\nExtHdrs: \nL4Hdr: 7594759600195d8e\n"
INFO[11-21|16:46:50] Received SCMP revocation header="Class=PATH(3) Type=REVOKED_IF(4) TotalLen=344B Checksum=47ea Timestamp=2018-11-21 16:46:50.879806 +0100 CET" payload="Meta: Info=21 CmnHdr=1 AddrHdr=3 PathHdr=14 ExtHdrs=0 L4Hdr=1 L4Proto=UDP\nInfo: InfoF=4 HopF=5 IfID=1 Ingress=false RawSRev=101740021105a2510c0202ff100510040101750a0101aaff111102140f0fea7df55b01010fea7df55b3105420131150202ff44454641554c543a0c2049413a2031372d666661613a313a6120434841494e3a2031205452433a20314d5aa27c08d99db4cd09e305530b46f6afd737c3083cc86aefcc2bc0f365623ce84468ef59b1826c8387713344a04644af2b484f4702db0673b8d56b85e10e070000000000\nCmnHdr: 004100a912040511\nAddrHdr: 0013ffaa000101430011ffaa0001000a8d2c19940a000874\nPathHdr: 005bf57dd4001105004000100085a2ca004000109365378500400020045a1e5a00400040028c92c7014000000894aee0005bf57dbc00130301400010002a85780040002001553cb501400000019bfac7015bf57543001303014000000504c3da004000102b040e44004000100015d8fb\nExtHdrs: \nL4Hdr: 7594759600195d8e\n"
INFO[11-21|16:46:50] Received SCMP revocation header="Class=PATH(3) Type=REVOKED_IF(4) TotalLen=344B Checksum=4730 Timestamp=2018-11-21 16:46:50.879992 +0100 CET" payload="Meta: Info=21 CmnHdr=1 AddrHdr=3 PathHdr=14 ExtHdrs=0 L4Hdr=1 L4Proto=UDP\nInfo: InfoF=4 HopF=5 IfID=1 Ingress=false RawSRev=101740021105a2510c0202ff100510040101750a0101aaff111102140f0fea7df55b01010fea7df55b3105420131150202ff44454641554c543a0c2049413a2031372d666661613a313a6120434841494e3a2031205452433a20314d5aa27c08d99db4cd09e305530b46f6afd737c3083cc86aefcc2bc0f365623ce84468ef59b1826c8387713344a04644af2b484f4702db0673b8d56b85e10e070000000000\nCmnHdr: 004100a912040511\nAddrHdr: 0013ffaa000101430011ffaa0001000a8d2c19940a000874\nPathHdr: 005bf57dd4001105004000100085a2ca004000109365378500400020045a1e5a00400040028c92c7014000000894aee0005bf57dbc00130301400010002a85780040002001553cb501400000019bfac7015bf57543001303014000000504c3da004000102b040e44004000100015d8fb\nExtHdrs: \nL4Hdr: 7594759600195d8e\n"
Error, could not fetch server results, MaxTries attempted without success.

To do:

  • Investigate, try to reproduce
  • Does it happen with new versions of scionproto?
@juagargi juagargi added the bug label Nov 22, 2018
@juagargi
Copy link
Member Author

Original issue: netsec-ethz/scion-coord#292

@matzf
Copy link

matzf commented Apr 7, 2020

Closing, this is an application bug related issue in scion-apps).

@matzf matzf closed this as completed Apr 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants