Menu

#67 openwrt mips issues?

Linux
open
nobody
HIP daemon (45)
5
2014-10-26
2012-04-01
Anonymous
No

I have just built a copy of openhip for openwrt (Cerowrt, which is a mips arch) and put a preliminary package in the ceropackages repository.

https://github.com/dtaht/ceropackages/tree/master/net/openhip

Sadly it doesn't seem to work. I've tried opening up the relevant ports via iptables and ip6tables, to no effect.

Also wanted to try using proto 139 instead of the nat stuff, not sure how to try that.

root@europa:/etc/hip# ping6 2001:14:4dcd:2a09:74a:caee:2a0:ec4a
PING 2001:14:4dcd:2a09:74a:caee:2a0:ec4a (2001:14:4dcd:2a09:74a:caee:2a0:ec4a): 56 data bytes
Sun Apr 1 22:47:46 2012 (1) Received ACQUIRE for LSI 2001:14:4dcd:2a09:74a:caee:2a0:ec4a creating new association.
Adding address 172.29.1.1 to association.
Adding address 149.20.63.19 to association.
Adding address 172.29.1.65 to association.
Adding address 172.29.1.224 to association.
Adding address 172.29.1.129 to association.
Adding address 172.29.1.97 to association.
Adding address 172.29.1.224 to association.
Adding address 172.29.1.161 to association.
Adding address 2001:4f8:fff8💯:1 to association.
Adding address 2001:4f8:3:203::13 to association.
Adding address 2001:4f8:fff8:110::1 to association.
Adding address 2001:4f8:fff8:180::1 to association.
Adding address 2001:4f8:fff8:120::1 to association.
Adding address 2001:4f8:fff8:190::1 to association.
Sun Apr 1 22:47:46 2012 (4) Base exchange initiated from
2001:11:bf83:2e82:a43e:eafb:9e51:7a3c / 149.20.63.19 / 1.81.122.60 to
2001:14:4dcd:2a09:74a:caee:2a0:ec4a / 130.76.43.74 / 1.230.120.200
20010014 4dcd2a09 074acaee 02a0ec4aSending HIT corresponding to 130.76.43.74.
Sun Apr 1 22:47:46 2012 (1) Sending HIP_I1 packet (40 bytes)...
Sun Apr 1 22:47:46 2012 (1) Sending HIP packet on UDP socket
Sun Apr 1 22:47:46 2012 (1) Received HIP_R1 packet from 130.76.43.74 on udp socket length 664
R1 TLV type = 128 length = 12
R1 TLV type = 257 length = 12
R1 TLV type = 513 length = 195
R1 TLV type = 577 length = 12
R1 TLV type = 705 length = 175
Found RSA HI with public modulus: 0x b198ca73 2d0fab4b d195d536 5e962940
803ac1d9 36e60f4b c249888b a5f5a6f9
2f1bd442 38195df0 faac0f57 2e8d5282
bb25c2bf e46e4afb cec6f441 4449d41e
0bf3d1b0 1f7973de 0c63992d 0edc9cf7
5ebe826b 278a8df6 fd3fa8da 6ac06acc
7d198bd6 a0c3a3f3 91ae1abb 9143ddb5
afb1234e 0b519555 2df687dd d0625c51
HI has name: hipserver.mct.phantomworks.org-1024 length: 35
HI in R1 validates the sender's HIT.
R1 TLV type = 4095 length = 14
R1 TLV type = 61633 length = 129
SHA1: 2b33eb16 c3f385f3 3c9b2ec8 ed9cc63a 64a04580
RSA HIP signature is good.
R1 TLV type = 128 length = 12
R1 TLV type = 257 length = 12
Got the R1 cookie: (k=10 lifetime=39 (128 seconds) opaque=0 I=0x56a3ca89d499fddc)
R1 TLV type = 513 length = 195
Got DH public value of len 192: 0x e56a2ed0 a42fc14a 6528ab5f c75383aa
a85c936d 402d0b73 88fa7d6e 67a5506f
5ff767f3 dc12dd65 ee583636 52a41c74
4cfb8b36 abe9b9e4 d7461281 042ad88d
647c2089 6ebbec10 13d8e79e aa2d31d0
4dd18376 a27addd8 3dc30976 c1fe0455
102799ad e6aafeaa 8d3ba32d be1886de
adcad0c5 350b7eb7 2df0a275 b64edb7d
9d6880f3 d13ea6ec 330eb0dd b8d67886
313940ba 457940cb fef013ee 0427e159
d688a4c1 424cf8f4 c85e6c93 1a1212dc
fdfa37a4 8fb8eceb eba01dfe 6757b85f
PKCS#3 DH Parameters: (1536 bit)
prime:
00:ff:ff:ff:ff:ff:ff:ff:ff:c9:0f:da:a2:21:68:
c2:34:c4:c6:62:8b:80:dc:1c:d1:29:02:4e:08:8a:
67:cc:74:02:0b:be:a6:3b:13:9b:22:51:4a:08:79:
8e:34:04:dd:ef:95:19:b3:cd:3a:43:1b:30:2b:0a:
6d:f2:5f:14:37:4f:e1:35:6d:6d:51:c2:45:e4:85:
b5:76:62:5e:7e:c6:f4:4c:42:e9:a6:37:ed:6b:0b:
ff:5c:b6:f4:06:b7:ed:ee:38:6b:fb:5a:89:9f:a5:
ae:9f:24:11:7c:4b:1f:e6:49:28:66:51:ec:e4:5b:
3d:c2:00:7c:b8:a1:63:bf:05:98:da:48:36:1c:55:
d3:9a:69:16:3f:a8:fd:24:cf:5f:83:65:5d:23:dc:
a3:ad:96:1c:62:f3:56:20:85:52:bb:9e:d5:29:07:
70:96:96:6d:67:0c:35:4e:4a:bc:98:04:f1:74:6c:
08:ca:23:73:27:ff:ff:ff:ff:ff:ff:ff:ff
generator: 2 (0x2)
************
DH secret key set to:
0x f470be08 46ce6391 b821752a 3238bcee
9df8af50 f65cc630 061eebf6 3cb2eb76
7e6ea468 993f45e0 fbb666d7 a17ac44f
9e36926a a2072452 8496d543 25520c60
98cd6e75 a2e95c36 44fd0c35 6bc22021
4c74390b d580c355 492c7939 3a97257f
6a340151 57e5ef8e 3cd20452 d619afb8
49b045cd f7c3d969 7f76c259 188edecc
a1041a30 7d436999 66e842ea 4e60f2e7
bcc93e7a 0498acff d7cea061 b2e7e92f
6c60d036 6b5369ec 6cc93487 4bef44ca
1fa2c918 19726ffd 0d9d6411 d6647b09
***********
R1 TLV type = 577 length = 12
R1 TLV type = 705 length = 175
R1 TLV type = 4095 length = 14
R1 TLV type = 61633 length = 129
Using cookie from R1: (k=10 lifetime=39 (128 seconds) opaque=0 I=0x56a3ca89d499fddc)
Calculating Ltrunc(SHA1(I|Rand),K)...found match in 450 tries (~0 seconds).
MD= a425013f d07f4a1b aee7e95b 1be29000 a1490df5
IJ= 56a3ca89 d499fddc 20010011 bf832e82
a43eeafb 9e517a3c 20010014 4dcd2a09
074acaee 02a0ec4a 8cedbe92 03a3a8fa
Sending the I2 cookie: (k=10 lifetime=39 (128 seconds) opaque=0 I=0x56a3ca89d499fddc)
solution: 0x8cedbe9203a3a8fa
Using HIP transform of 1.
Drawing new HIP encryption/integrity keys:
Key 0 (1,16) keymat[ 0] 0x 115db7dd 3709b2e7 dba86427 0cc81adf
Key 1 (1,20) keymat[ 16] 0x 2e0c2527 396e879c 813b457b 3723d9a0 3804a5cc
Key 2 (1,16) keymat[ 36] 0x 2340006c d5957a07 8180808a bf24fbb6
Key 3 (1,20) keymat[ 52] 0x 9c23a192 9ca73758 d8516de3 cbcedc0a ffd33aac
Using DH public value of len 192: 0x bc2b3c0b 0088f3a8 6f85faf9 0d37c086
652f109d 37126e45 3b6e9afd 8156398d
2ed82cae 13c2f560 06ff5af9 53dd786f
24a403cf c20ff1c1 5fab6589 40ae9d31
4eb35bef 1d028afc cebf3110 89e334b2
574be7f1 c6ccd76c 9a5843f2 577b4abd
ec44fff3 79363403 7f74b65f 66dc42e5
617b2a28 b4ad46ef 3732bbca a8deae3d
e1c74bae d59ceb53 34d8739b ea4fbd93
a4018e95 327b4d90 16c32282 9408fffa
60486a07 9d0fd29a 22e50513 fee7b121
e33911f6 c6c1682d c9c872ac 3fce5ef0
AES encryption key: 0x 2340006c d5957a07 8180808a bf24fbb6
Encrypting 176 bytes using AES.
HMAC computed over 512 bytes hdr length=63
SHA1: efdb291b 3467ce28 c867153e 3a9dd81a a0692515
Signature: 93486dbe 41db1b2b 3ce2ac45 8a912108
94b77db1 3249c0f9 b2f504c6 f45402f8
0fbc93b1 42f2768f 13c3a478 25744095
c104fcb8 8a2f3189 3f42eab9 c3ac67c6
c34d2e11 e6fd4434 dd6f42a9 b5e25746
731b054d e3091c62 d803abab 730efb3f
86656f4f f370d841 f5d0d606 9fde169c
4cbf4bbb 7a384b36 6a62cc1f 9ad88497
Sun Apr 1 22:47:47 2012 (1) Sending HIP_I2 packet (672 bytes)...
Sun Apr 1 22:47:47 2012 (1) Sending HIP packet on UDP socket
Sun Apr 1 22:47:47 2012 (1) Sent I2 (684 bytes)

Sun Apr 1 22:47:58 2012 (1) Retransmitting HIP_I2 packet from 149.20.63.19 to 130.76.43.74 (attempt 1 of 5)...
Sun Apr 1 22:48:09 2012 (1) Retransmitting HIP_I2 packet from 149.20.63.19 to 130.76.43.74 (attempt 2 of 5)...
Sun Apr 1 22:48:20 2012 (1) Retransmitting HIP_I2 packet from 149.20.63.19 to 130.76.43.74 (attempt 3 of 5)...
Sun Apr 1 22:48:31 2012 (1) Retransmitting HIP_I2 packet from 149.20.63.19 to 130.76.43.74 (attempt 4 of 5)...
Sun Apr 1 22:48:42 2012 (1) Retransmitting HIP_I2 packet from 149.20.63.19 to 130.76.43.74 (attempt 5 of 5)...
Sun Apr 1 22:49:44 2012 (1) HIP association 0 moved from E_FAILED=>UNASSOCIATED
Sun Apr 1 22:49:47 2012 (1) Received ACQUIRE for LSI 2001:14:4dcd:2a09:74a:caee:2a0:ec4a creating new association.
Adding address 172.29.1.1 to association.
Adding address 149.20.63.19 to association.
Adding address 172.29.1.65 to association.
Adding address 172.29.1.224 to association.
Adding address 172.29.1.129 to association.
Adding address 172.29.1.97 to association.
Adding address 172.29.1.224 to association.
Adding address 172.29.1.161 to association.
Adding address 2001:4f8:fff8💯:1 to association.
Adding address 2001:4f8:3:203::13 to association.
Adding address 2001:4f8:fff8:110::1 to association.
Adding address 2001:4f8:fff8:180::1 to association.
Adding address 2001:4f8:fff8:120::1 to association.
Adding address 2001:4f8:fff8:190::1 to association.
Sun Apr 1 22:49:47 2012 (4) Base exchange initiated from
2001:11:bf83:2e82:a43e:eafb:9e51:7a3c / 149.20.63.19 / 1.81.122.60 to
2001:14:4dcd:2a09:74a:caee:2a0:ec4a / 130.76.43.74 / 1.230.120.200
20010014 4dcd2a09 074acaee 02a0ec4aSending HIT corresponding to 130.76.43.74.
Sun Apr 1 22:49:47 2012 (1) Sending HIP_I1 packet (40 bytes)...
Sun Apr 1 22:49:47 2012 (1) Sending HIP packet on UDP socket
Sun Apr 1 22:49:47 2012 (1) Received HIP_R1 packet from 130.76.43.74 on udp socket length 664
R1 TLV type = 128 length = 12
R1 TLV type = 257 length = 12
R1 TLV type = 513 length = 195
R1 TLV type = 577 length = 12
R1 TLV type = 705 length = 175
Found RSA HI with public modulus: 0x b198ca73 2d0fab4b d195d536 5e962940
803ac1d9 36e60f4b c249888b a5f5a6f9
2f1bd442 38195df0 faac0f57 2e8d5282
bb25c2bf e46e4afb cec6f441 4449d41e
0bf3d1b0 1f7973de 0c63992d 0edc9cf7
5ebe826b 278a8df6 fd3fa8da 6ac06acc
7d198bd6 a0c3a3f3 91ae1abb 9143ddb5
afb1234e 0b519555 2df687dd d0625c51
HI has name: hipserver.mct.phantomworks.org-1024 length: 35
HI in R1 validates the sender's HIT.
R1 TLV type = 4095 length = 14
R1 TLV type = 61633 length = 129
SHA1: 2b33eb16 c3f385f3 3c9b2ec8 ed9cc63a 64a04580
RSA HIP signature is good.
R1 TLV type = 128 length = 12
R1 TLV type = 257 length = 12
Got the R1 cookie: (k=10 lifetime=39 (128 seconds) opaque=0 I=0x56a3ca89d499fddc)
R1 TLV type = 513 length = 195
Got DH public value of len 192: 0x e56a2ed0 a42fc14a 6528ab5f c75383aa
a85c936d 402d0b73 88fa7d6e 67a5506f
5ff767f3 dc12dd65 ee583636 52a41c74
4cfb8b36 abe9b9e4 d7461281 042ad88d
647c2089 6ebbec10 13d8e79e aa2d31d0
4dd18376 a27addd8 3dc30976 c1fe0455
102799ad e6aafeaa 8d3ba32d be1886de
adcad0c5 350b7eb7 2df0a275 b64edb7d
9d6880f3 d13ea6ec 330eb0dd b8d67886
313940ba 457940cb fef013ee 0427e159
d688a4c1 424cf8f4 c85e6c93 1a1212dc
fdfa37a4 8fb8eceb eba01dfe 6757b85f
PKCS#3 DH Parameters: (1536 bit)
prime:
00:ff:ff:ff:ff:ff:ff:ff:ff:c9:0f:da:a2:21:68:
c2:34:c4:c6:62:8b:80:dc:1c:d1:29:02:4e:08:8a:
67:cc:74:02:0b:be:a6:3b:13:9b:22:51:4a:08:79:
8e:34:04:dd:ef:95:19:b3:cd:3a:43:1b:30:2b:0a:
6d:f2:5f:14:37:4f:e1:35:6d:6d:51:c2:45:e4:85:
b5:76:62:5e:7e:c6:f4:4c:42:e9:a6:37:ed:6b:0b:
ff:5c:b6:f4:06:b7:ed:ee:38:6b:fb:5a:89:9f:a5:
ae:9f:24:11:7c:4b:1f:e6:49:28:66:51:ec:e4:5b:
3d:c2:00:7c:b8:a1:63:bf:05:98:da:48:36:1c:55:
d3:9a:69:16:3f:a8:fd:24:cf:5f:83:65:5d:23:dc:
a3:ad:96:1c:62:f3:56:20:85:52:bb:9e:d5:29:07:
70:96:96:6d:67:0c:35:4e:4a:bc:98:04:f1:74:6c:
08:ca:23:73:27:ff:ff:ff:ff:ff:ff:ff:ff
generator: 2 (0x2)
************
DH secret key set to:
0x f470be08 46ce6391 b821752a 3238bcee
9df8af50 f65cc630 061eebf6 3cb2eb76
7e6ea468 993f45e0 fbb666d7 a17ac44f
9e36926a a2072452 8496d543 25520c60
98cd6e75 a2e95c36 44fd0c35 6bc22021
4c74390b d580c355 492c7939 3a97257f
6a340151 57e5ef8e 3cd20452 d619afb8
49b045cd f7c3d969 7f76c259 188edecc
a1041a30 7d436999 66e842ea 4e60f2e7
bcc93e7a 0498acff d7cea061 b2e7e92f
6c60d036 6b5369ec 6cc93487 4bef44ca
1fa2c918 19726ffd 0d9d6411 d6647b09
***********
R1 TLV type = 577 length = 12
R1 TLV type = 705 length = 175
R1 TLV type = 4095 length = 14
R1 TLV type = 61633 length = 129
Using cookie from R1: (k=10 lifetime=39 (128 seconds) opaque=0 I=0x56a3ca89d499fddc)
Calculating Ltrunc(SHA1(I|Rand),K)...found match in 535 tries (~0 seconds).
MD= f22fcde7 4b3f461a 1dcb6d58 51ff2c00 94e7aa46
IJ= 56a3ca89 d499fddc 20010011 bf832e82
a43eeafb 9e517a3c 20010014 4dcd2a09
074acaee 02a0ec4a 7530cc94 1dc22de5
Sending the I2 cookie: (k=10 lifetime=39 (128 seconds) opaque=0 I=0x56a3ca89d499fddc)
solution: 0x7530cc941dc22de5
Using HIP transform of 1.
Drawing new HIP encryption/integrity keys:
Key 0 (1,16) keymat[ 0] 0x 9178e154 9a67dcfb 9d5a4752 83d1105d
Key 1 (1,20) keymat[ 16] 0x 0697d129 180c52ea 3d747935 4d1ec004 b4b03fb8
Key 2 (1,16) keymat[ 36] 0x 0ec2ad19 06767abb adea1a97 e2c3fa49
Key 3 (1,20) keymat[ 52] 0x acd16544 7bda603e 4b9d4de7 8d27f35a ce53759f
Using DH public value of len 192: 0x bc2b3c0b 0088f3a8 6f85faf9 0d37c086
652f109d 37126e45 3b6e9afd 8156398d
2ed82cae 13c2f560 06ff5af9 53dd786f
24a403cf c20ff1c1 5fab6589 40ae9d31
4eb35bef 1d028afc cebf3110 89e334b2
574be7f1 c6ccd76c 9a5843f2 577b4abd
ec44fff3 79363403 7f74b65f 66dc42e5
617b2a28 b4ad46ef 3732bbca a8deae3d
e1c74bae d59ceb53 34d8739b ea4fbd93
a4018e95 327b4d90 16c32282 9408fffa
60486a07 9d0fd29a 22e50513 fee7b121
e33911f6 c6c1682d c9c872ac 3fce5ef0
AES encryption key: 0x 0ec2ad19 06767abb adea1a97 e2c3fa49
Encrypting 176 bytes using AES.
HMAC computed over 512 bytes hdr length=63
SHA1: d32aa5b0 edd1164d b3cac165 a5256ca2 420f7245
Signature: a6a35dca 4123c224 80836bc0 28979173
b099758d 68cfd01e b4ae6d75 c071ed90
7f916af7 63e540ed aa832b5c 6c986076
8904f0e1 21e7ce2d 4eb9376b 6e077a75
17d1ae00 1a43443c e778a299 cc2550be
92397b69 2f02f0e3 f16a3553 62bab4b1
f6143bf2 511132aa 08d69835 c63f6cf3
ce269775 7a5599c8 41d5717e 2d7af468
Sun Apr 1 22:49:48 2012 (1) Sending HIP_I2 packet (672 bytes)...
Sun Apr 1 22:49:48 2012 (1) Sending HIP packet on UDP socket
Sun Apr 1 22:49:48 2012 (1) Sent I2 (684 bytes)
Sun Apr 1 22:49:59 2012 (1) Retransmitting HIP_I2 packet from 149.20.63.19 to 130.76.43.74 (attempt 1 of 5)...
Sun Apr 1 22:50:10 2012 (1) Retransmitting HIP_I2 packet from 149.20.63.19 to 130.76.43.74 (attempt 2 of 5)...
Sun Apr 1 22:50:21 2012 (1) Retransmitting HIP_I2 packet from 149.20.63.19 to 130.76.43.74 (attempt 3 of 5)...
Sun Apr 1 22:50:32 2012 (1) Retransmitting HIP_I2 packet from 149.20.63.19 to 130.76.43.74 (attempt 4 of 5)...
Sun Apr 1 22:50:43 2012 (1) Retransmitting HIP_I2 packet from 149.20.63.19 to 130.76.43.74 (attempt 5 of 5)...

Discussion


Log in to post a comment.

MongoDB Logo MongoDB