Home » Eclipse Projects » Eclipse Titan » Using Titan as a fuzzing engine part 3(Fuzzing CoAP)
Using Titan as a fuzzing engine part 3 [message #1759086] |
Wed, 05 April 2017 23:07 |
|
Fuzzing CoAP adheres to the same principles as MQTT presented previously, but has some twists and turns that call for some explanation.
First of all, the "delta" encoding of option_delta and option_length cannot be handled by RAW as of today, so a
new protocol module has been written based on RAW which can handle the encoding direction only and this should be sufficient for fuzzing,
assuming that decoding is done with the legacy (handwritten) decoder.
However, the structures declared in CoAP_Types.ttcn and in CoAP_FTypes.ttcn are different: the first ones are optimized for easiness of use,
while the second ones to enable fuzzing.
Let's call structures in CoAP_Types "Internal" and those in the CoAP_FTypes "external".
For instance a confirmable GET expressed in the first approach ("Internal") looks like this:
template CoAP_Types.CoAP_ReqResp t_client_TD_COAP_CORE_01_req00 :=
{
header :=
{
version := 1,
msg_type := CONFIRMABLE,
code := CoAP_Types.METHOD_GET,
message_id := 0
},
token := 'ABCDEF11'O,
options :=
{
{
uri_path := "test"
}
},
payload := omit
}
but the equivalent one described with the second approach ("External") like this:
template CoAP_FTypes.CoAP_MessageExt t_ext_err_client_TD_COAP_CORE_01_req00 :=
{msg:=
{
version := 1,
msg_type := CONFIRMABLE,
tkl := 0,
code := {
class := 0,
detail := 1
},
message_id := 0,
token := 'ABCDEF11'O,
options := {
{
option_delta := 11,
option_length := 4,
option_delta_ext := omit,
option_length_ext := omit,
option_value :='74657374'O
}
},
payload := {
payloadMarker := 'FF'O,
payload := 'AA'O
}
}
}
The first one is more user friendly, but misses a number of fields that are automatically calculated by the handwritten encoder which are of interest
for fuzzing hence made visible in the second set of structures.
The recommended workflow then is to write some "master" templates based on the "internal" types and convert them into "external" types using
f_CoAPInternalToExternal():
Note: "Internal" templates will have to be written with the options in increasing order of option number, then converted to "External" templates (else conversion will result in an error).
"External" types then can be fuzzed using the technique presented.
Otherwise , the messaging architecture defaults to the second scenario presented in the introduction, with separate paths for encoding and decoding.
Again, nothing else but an initial confirmable GET is fuzzed:
Titan(CoAP Client) Californium(CoAP server)
+ +
| CON:GET |
| |
+------------------------------------------->
| |
| ACK |
<-------------------------------------------+
| |
| : |
| |
| |
| CON:GET |
+------------------------------------------->
| |
| : |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
+ +
//*************************************************************************
testcase tc_CON_GET() runs on MTC_CT
//*************************************************************************
{
map(self:p, system:p);
f_sendCON_GET()
log("<----------------------------------------------------------------------------------------------------------------------------------------------->\r\n")
//----------------------------------------------------------------
@update(t_ext_err_client_TD_COAP_CORE_01_req00)
with {
erroneous (msg.version) "value(raw) := '11'B "
}
f_sendCON_GET()
log("<----------------------------------------------------------------------------------------------------------------------------------------------->\r\n")
//----------------------------------------------------------------
@update(t_ext_err_client_TD_COAP_CORE_01_req00)
with {
erroneous (msg.payload.payload) "value(raw) := 'AB'O "
erroneous (msg.payload.payloadMarker) "value(raw) := 'EE'O "
erroneous (msg.options[0].option_value) "value(raw) := '74657374AABB'O "
}
f_sendCON_GET()
log("<----------------------------------------------------------------------------------------------------------------------------------------------->\r\n\r\n")
//----------------------------------------------------------------
@update(t_ext_err_client_TD_COAP_CORE_01_req00)
with {
erroneous (msg.version) "value(raw) := '11'B "
}
f_sendCON_GET()
log("<----------------------------------------------------------------------------------------------------------------------------------------------->\r\n\r\n")
//----------------------------------------------------------------
@update(t_ext_err_client_TD_COAP_CORE_01_req00)
with {
erroneous (msg.payload.payload) "value(raw) := 'CCCCCCCC'O "
erroneous (msg.payload.payloadMarker) "value(raw) := 'FF'O "
erroneous (msg.options[0].option_value) "value(raw) := 'DDDDDDDDDD'O "
}
f_sendCON_GET()
log("<----------------------------------------------------------------------------------------------------------------------------------------------->\r\n\r\n")
@update(t_ext_err_client_TD_COAP_CORE_01_req00)
with {
erroneous (msg.payload.payload) "value(raw) := f_genOS(65000) "
erroneous (msg.payload.payloadMarker) "value(raw) := 'FF'O "
}
f_sendCON_GET()
log("<----------------------------------------------------------------------------------------------------------------------------------------------->\r\n\r\n")
@update(t_ext_err_client_TD_COAP_CORE_01_req00)
with {
erroneous (msg.payload.payload) "value(raw) := ''O "
erroneous (msg.payload.payloadMarker) "value(raw) := 'FF'O "
}
f_sendCON_GET()
log("<----------------------------------------------------------------------------------------------------------------------------------------------->\r\n\r\n")
@update(t_ext_err_client_TD_COAP_CORE_01_req00)
with {
erroneous (msg.options[0].option_delta) "value(raw) := 'FF'O "
}
f_sendCON_GET()
log("<----------------------------------------------------------------------------------------------------------------------------------------------->\r\n\r\n")
@update(t_ext_err_client_TD_COAP_CORE_01_req00)
with {
erroneous (msg.options[0].option_length) "value(raw) := 'FF'O "
}
for (var integer i:=0; i<10;i:=i+1) //usage in a cycle
{
f_sendCON_GET()
log("<----------------------------------------------------------------------------------------------------------------------------------------------->\r\n\r\n")
@update(t_ext_err_client_TD_COAP_CORE_01_req00)
with {
erroneous (msg.payload.payload) "value(raw) := f_gen_rnd_oct_n(1) "
}
}//endfor
f_sendCON_GET()
log("<----------------------------------------------------------------------------------------------------------------------------------------------->\r\n\r\n")
@update(t_ext_err_client_TD_COAP_CORE_01_req00)
f_sendCON_GET()
log("<----------------------------------------------------------------------------------------------------------------------------------------------->\r\n\r\n")
unmap(self:p, system:p);
}
As it can be seen from the log file, some of these GET messages are acknowledged, but some not.
10:32:29.572847 CoAP_test.ttcn:1330 CoAP Encoded: '44010000ABCDEF11B474657374FFAA'O
10:32:29.573440 CoAP_test.ttcn:1333 coap CON GET -------------------------------->>{
msg := {
header := {
version := 1,
msg_type := CONFIRMABLE (0),
code := {
class := 0,
detail := 1
},
message_id := 0
},
token := 'ABCDEF11'O,
options := {
{
uri_path := "test"
}
},
payload := 'AA'O
}
}
10:32:29.595881 CoAP_test.ttcn:1346 coap result <<-----------------------------------{
msg := {
header := {
version := 1,
msg_type := ACKNOWLEDGEMENT (2),
code := {
class := 2,
detail := 5
},
message_id := 0
},
token := 'ABCDEF11'O,
options := {
{
content_format := 0
},
{
max_age := 30
}
},
payload := '547970653A20302028434F4E290A436F64653A20312028474554290A4D49443A20300A546F6B656E3A206162636465663131'O ("Type: 0 (CON)
Code: 1 (GET)
MID: 0
Token: abcdef11")
}
}
10:32:29.596105 CoAP_test.ttcn:1375 <----------------------------------------------------------------------------------------------------------------------------------------------->
10:32:29.596248 CoAP_test.ttcn:1330 CoAP Encoded: '04010000ABCDEF11B474657374FFAA'O
10:32:29.596584 CoAP_test.ttcn:1333 coap CON GET -------------------------------->>{
msg := {
header := {
version := 0,
msg_type := CONFIRMABLE (0),
code := {
class := 0,
detail := 1
},
message_id := 0
},
token := 'ABCDEF11'O,
options := {
{
uri_path := "test"
}
},
payload := 'AA'O
}
}
10:32:30.597053 CoAP_test.ttcn:1361 ****************No answer received.Bye.******************
10:32:30.597122 CoAP_test.ttcn:1388 <----------------------------------------------------------------------------------------------------------------------------------------------->
10:32:30.597233 CoAP_test.ttcn:1330 CoAP Encoded: '44010000ABCDEF11B474657374AABBEEAB'O
10:32:30.597833 CoAP_test.ttcn:1333 coap CON GET -------------------------------->>{
msg := {
header := {
version := 1,
msg_type := CONFIRMABLE (0),
code := {
class := 0,
detail := 1
},
message_id := 0
},
token := 'ABCDEF11'O,
options := {
{
uri_path := "test"
},
{
unknown_option := {
option_code := 21,
option_value := 'BBEEAB61B40000000000'O
}
}
},
payload := omit
}
}
10:32:30.602071 CoAP_test.ttcn:1346 coap result <<-----------------------------------{
msg := {
header := {
version := 1,
msg_type := ACKNOWLEDGEMENT (2),
code := {
class := 2,
detail := 5
},
message_id := 0
},
token := 'ABCDEF11'O,
options := {
{
content_format := 0
},
{
max_age := 30
}
},
payload := '547970653A20302028434F4E290A436F64653A20312028474554290A4D49443A20300A546F6B656E3A206162636465663131'O ("Type: 0 (CON)
Code: 1 (GET)
MID: 0
Token: abcdef11")
}
}
10:32:30.602297 CoAP_test.ttcn:1401 <----------------------------------------------------------------------------------------------------------------------------------------------->
10:32:30.602424 CoAP_test.ttcn:1330 CoAP Encoded: '04010000ABCDEF11B474657374FFAA'O
10:32:30.602749 CoAP_test.ttcn:1333 coap CON GET -------------------------------->>{
msg := {
header := {
version := 0,
msg_type := CONFIRMABLE (0),
code := {
class := 0,
detail := 1
},
message_id := 0
},
token := 'ABCDEF11'O,
options := {
{
uri_path := "test"
}
},
payload := 'AA'O
}
}
10:32:31.604153 CoAP_test.ttcn:1361 ****************No answer received.Bye.******************
10:32:31.604246 CoAP_test.ttcn:1411 <----------------------------------------------------------------------------------------------------------------------------------------------->
10:32:31.604436 CoAP_test.ttcn:1330 CoAP Encoded: '44010000ABCDEF11B4DDDDDDDDDDFFCCCCCCCC'O
10:32:31.604931 CoAP_test.ttcn:1333 coap CON GET -------------------------------->>{
msg := {
header := {
version := 1,
msg_type := CONFIRMABLE (0),
code := {
class := 0,
detail := 1
},
message_id := 0
},
token := 'ABCDEF11'O,
options := {
{
uri_path := char(0, 0, 7, 93) & char(0, 0, 7, 93)
},
{
unknown_option := {
option_code := 279,
option_value := 'CCCCCC00000000004E000000000000000105000000000000E882361F1C7F0000E882361F1C7F0000F075B40000000000F075B40000000000183280625761726E696E673A204D616C666F726D65643A2041742063686172616374657220706F736974696F6E20312C206F6374657420706F736974696F6E20333A204444206973206E6F7420612076616C696420636F6E74696E75696E67206F637465742E0000980000000000000099000000000000009B000000000000009D00000000000000A700000000000000AB00000000000000AC00000000000000AE'O
}
}
},
payload := omit
}
}
10:32:31.617289 CoAP_test.ttcn:1346 coap result <<-----------------------------------{
msg := {
header := {
version := 1,
msg_type := ACKNOWLEDGEMENT (2),
code := {
class := 4,
detail := 4
},
message_id := 0
},
token := 'ABCDEF11'O,
options := omit,
payload := omit
}
}
10:32:31.617391 CoAP_test.ttcn:1423 <----------------------------------------------------------------------------------------------------------------------------------------------->
10:32:31.741418 CoAP_test.ttcn:1330 CoAP Encoded: '44010000ABCDEF11B474657374FFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA....insert more A's here mentally....... AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'O
10:32:31.900370 CoAP_test.ttcn:1333 coap CON GET -------------------------------->>{
msg := {
header := {
version := 1,
msg_type := CONFIRMABLE (0),
code := {
class := 0,
detail := 1
},
message_id := 0
},
token := 'ABCDEF11'O,
options := {
{
uri_path := "test"
}
},
payload := 'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA...more mental A's here.....AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'O
}
}
10:32:32.029884 CoAP_test.ttcn:1346 coap result <<-----------------------------------{
msg := {
header := {
version := 1,
msg_type := ACKNOWLEDGEMENT (2),
code := {
class := 2,
detail := 5
},
message_id := 0
},
token := 'ABCDEF11'O,
options := {
{
content_format := 0
},
{
max_age := 30
}
},
payload := '547970653A20302028434F4E290A436F64653A20312028474554290A4D49443A20300A546F6B656E3A206162636465663131'O ("Type: 0 (CON)
Code: 1 (GET)
MID: 0
Token: abcdef11")
}
}
10:32:32.030057 CoAP_test.ttcn:1436 <----------------------------------------------------------------------------------------------------------------------------------------------->
10:32:32.030137 CoAP_test.ttcn:1330 CoAP Encoded: '44010000ABCDEF11B474657374FF'O
10:32:32.030300 CoAP_test.ttcn:1333 coap CON GET -------------------------------->>{
raw_message := '44010000ABCDEF11B474657374FF'O
}
10:32:32.033075 CoAP_test.ttcn:1346 coap result <<-----------------------------------{
raw_message := '74000000ABCDEF11'O
}
10:32:32.033150 CoAP_test.ttcn:1449 <----------------------------------------------------------------------------------------------------------------------------------------------->
10:32:32.033217 CoAP_test.ttcn:1330 CoAP Encoded: '44010000ABCDEF11FF47465737F0AF0A'O
10:32:32.033398 CoAP_test.ttcn:1333 coap CON GET -------------------------------->>{
msg := {
header := {
version := 1,
msg_type := CONFIRMABLE (0),
code := {
class := 0,
detail := 1
},
message_id := 0
},
token := 'ABCDEF11'O,
options := omit,
payload := '47465737F0AF0A'O
}
}
10:32:32.043900 CoAP_test.ttcn:1346 coap result <<-----------------------------------{
msg := {
header := {
version := 1,
msg_type := ACKNOWLEDGEMENT (2),
code := {
class := 2,
detail := 5
},
message_id := 0
},
token := 'ABCDEF11'O,
options := {
{
content_format := 0
},
{
block2 := {
num := 0,
m := true,
szx := 2
}
}
},
payload := '2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A0A436F41'O ("************************************************************
CoA")
}
}
10:32:32.044089 CoAP_test.ttcn:1462 <----------------------------------------------------------------------------------------------------------------------------------------------->
10:32:32.044154 CoAP_test.ttcn:1330 CoAP Encoded: '44010000ABCDEF11F007465737F0AF0A'O
10:32:32.044315 CoAP_test.ttcn:1333 coap CON GET -------------------------------->>{
raw_message := '44010000ABCDEF11F007465737F0AF0A'O
}
10:32:32.045311 CoAP_test.ttcn:1346 coap result <<-----------------------------------{
raw_message := '74000000ABCDEF11'O
}
10:32:32.045420 CoAP_test.ttcn:1475 <----------------------------------------------------------------------------------------------------------------------------------------------->
10:32:32.045561 CoAP_test.ttcn:1330 CoAP Encoded: '44010000ABCDEF11B474657374FF2A'O
10:32:32.045767 CoAP_test.ttcn:1333 coap CON GET -------------------------------->>{
msg := {
header := {
version := 1,
msg_type := CONFIRMABLE (0),
code := {
class := 0,
detail := 1
},
message_id := 0
},
token := 'ABCDEF11'O,
options := {
{
uri_path := "test"
}
},
payload := '2A'O ("*")
}
}
10:32:32.048148 CoAP_test.ttcn:1346 coap result <<-----------------------------------{
msg := {
header := {
version := 1,
msg_type := ACKNOWLEDGEMENT (2),
code := {
class := 2,
detail := 5
},
message_id := 0
},
token := 'ABCDEF11'O,
options := {
{
content_format := 0
},
{
max_age := 30
}
},
payload := '547970653A20302028434F4E290A436F64653A20312028474554290A4D49443A20300A546F6B656E3A206162636465663131'O ("Type: 0 (CON)
Code: 1 (GET)
MID: 0
Token: abcdef11")
}
}
10:32:32.048296 CoAP_test.ttcn:1475 <----------------------------------------------------------------------------------------------------------------------------------------------->
10:32:32.048373 CoAP_test.ttcn:1330 CoAP Encoded: '44010000ABCDEF11B474657374FF20'O
10:32:32.048556 CoAP_test.ttcn:1333 coap CON GET -------------------------------->>{
msg := {
header := {
version := 1,
msg_type := CONFIRMABLE (0),
code := {
class := 0,
detail := 1
},
message_id := 0
},
token := 'ABCDEF11'O,
options := {
{
uri_path := "test"
}
},
payload := '20'O (" ")
}
}
10:32:32.050428 CoAP_test.ttcn:1346 coap result <<-----------------------------------{
msg := {
header := {
version := 1,
msg_type := ACKNOWLEDGEMENT (2),
code := {
class := 2,
detail := 5
},
message_id := 0
},
token := 'ABCDEF11'O,
options := {
{
content_format := 0
},
{
max_age := 30
}
},
payload := '547970653A20302028434F4E290A436F64653A20312028474554290A4D49443A20300A546F6B656E3A206162636465663131'O ("Type: 0 (CON)
Code: 1 (GET)
MID: 0
Token: abcdef11")
}
}
10:32:32.050571 CoAP_test.ttcn:1475 <----------------------------------------------------------------------------------------------------------------------------------------------->
10:32:32.050655 CoAP_test.ttcn:1330 CoAP Encoded: '44010000ABCDEF11B474657374FF49'O
10:32:32.050835 CoAP_test.ttcn:1333 coap CON GET -------------------------------->>{
msg := {
header := {
version := 1,
msg_type := CONFIRMABLE (0),
code := {
class := 0,
detail := 1
},
message_id := 0
},
token := 'ABCDEF11'O,
options := {
{
uri_path := "test"
}
},
payload := '49'O ("I")
}
}
10:32:32.052733 CoAP_test.ttcn:1346 coap result <<-----------------------------------{
msg := {
header := {
version := 1,
msg_type := ACKNOWLEDGEMENT (2),
code := {
class := 2,
detail := 5
},
message_id := 0
},
token := 'ABCDEF11'O,
options := {
{
content_format := 0
},
{
max_age := 30
}
},
payload := '547970653A20302028434F4E290A436F64653A20312028474554290A4D49443A20300A546F6B656E3A206162636465663131'O ("Type: 0 (CON)
Code: 1 (GET)
MID: 0
Token: abcdef11")
}
}
10:32:32.052876 CoAP_test.ttcn:1475 <----------------------------------------------------------------------------------------------------------------------------------------------->
10:32:32.052953 CoAP_test.ttcn:1330 CoAP Encoded: '44010000ABCDEF11B474657374FFB2'O
10:32:32.053130 CoAP_test.ttcn:1333 coap CON GET -------------------------------->>{
msg := {
header := {
version := 1,
msg_type := CONFIRMABLE (0),
code := {
class := 0,
detail := 1
},
message_id := 0
},
token := 'ABCDEF11'O,
options := {
{
uri_path := "test"
}
},
payload := 'B2'O
}
}
10:32:32.054969 CoAP_test.ttcn:1346 coap result <<-----------------------------------{
msg := {
header := {
version := 1,
msg_type := ACKNOWLEDGEMENT (2),
code := {
class := 2,
detail := 5
},
message_id := 0
},
token := 'ABCDEF11'O,
options := {
{
content_format := 0
},
{
max_age := 30
}
},
payload := '547970653A20302028434F4E290A436F64653A20312028474554290A4D49443A20300A546F6B656E3A206162636465663131'O ("Type: 0 (CON)
Code: 1 (GET)
MID: 0
Token: abcdef11")
}
}
10:32:32.055108 CoAP_test.ttcn:1475 <----------------------------------------------------------------------------------------------------------------------------------------------->
10:32:32.055183 CoAP_test.ttcn:1330 CoAP Encoded: '44010000ABCDEF11B474657374FFFD'O
10:32:32.055360 CoAP_test.ttcn:1333 coap CON GET -------------------------------->>{
msg := {
header := {
version := 1,
msg_type := CONFIRMABLE (0),
code := {
class := 0,
detail := 1
},
message_id := 0
},
token := 'ABCDEF11'O,
options := {
{
uri_path := "test"
}
},
payload := 'FD'O
}
}
10:32:32.058068 CoAP_test.ttcn:1346 coap result <<-----------------------------------{
msg := {
header := {
version := 1,
msg_type := ACKNOWLEDGEMENT (2),
code := {
class := 2,
detail := 5
},
message_id := 0
},
token := 'ABCDEF11'O,
options := {
{
content_format := 0
},
{
max_age := 30
}
},
payload := '547970653A20302028434F4E290A436F64653A20312028474554290A4D49443A20300A546F6B656E3A206162636465663131'O ("Type: 0 (CON)
Code: 1 (GET)
MID: 0
Token: abcdef11")
}
}
10:32:32.058229 CoAP_test.ttcn:1475 <----------------------------------------------------------------------------------------------------------------------------------------------->
10:32:32.058307 CoAP_test.ttcn:1330 CoAP Encoded: '44010000ABCDEF11B474657374FF03'O
10:32:32.058482 CoAP_test.ttcn:1333 coap CON GET -------------------------------->>{
msg := {
header := {
version := 1,
msg_type := CONFIRMABLE (0),
code := {
class := 0,
detail := 1
},
message_id := 0
},
token := 'ABCDEF11'O,
options := {
{
uri_path := "test"
}
},
payload := '03'O
}
}
10:32:32.060270 CoAP_test.ttcn:1346 coap result <<-----------------------------------{
msg := {
header := {
version := 1,
msg_type := ACKNOWLEDGEMENT (2),
code := {
class := 2,
detail := 5
},
message_id := 0
},
token := 'ABCDEF11'O,
options := {
{
content_format := 0
},
{
max_age := 30
}
},
payload := '547970653A20302028434F4E290A436F64653A20312028474554290A4D49443A20300A546F6B656E3A206162636465663131'O ("Type: 0 (CON)
Code: 1 (GET)
MID: 0
Token: abcdef11")
}
}
10:32:32.060403 CoAP_test.ttcn:1475 <----------------------------------------------------------------------------------------------------------------------------------------------->
10:32:32.060474 CoAP_test.ttcn:1330 CoAP Encoded: '44010000ABCDEF11B474657374FF1D'O
10:32:32.060676 CoAP_test.ttcn:1333 coap CON GET -------------------------------->>{
msg := {
header := {
version := 1,
msg_type := CONFIRMABLE (0),
code := {
class := 0,
detail := 1
},
message_id := 0
},
token := 'ABCDEF11'O,
options := {
{
uri_path := "test"
}
},
payload := '1D'O
}
}
10:32:32.062845 CoAP_test.ttcn:1346 coap result <<-----------------------------------{
msg := {
header := {
version := 1,
msg_type := ACKNOWLEDGEMENT (2),
code := {
class := 2,
detail := 5
},
message_id := 0
},
token := 'ABCDEF11'O,
options := {
{
content_format := 0
},
{
max_age := 30
}
},
payload := '547970653A20302028434F4E290A436F64653A20312028474554290A4D49443A20300A546F6B656E3A206162636465663131'O ("Type: 0 (CON)
Code: 1 (GET)
MID: 0
Token: abcdef11")
}
}
10:32:32.062980 CoAP_test.ttcn:1475 <----------------------------------------------------------------------------------------------------------------------------------------------->
10:32:32.063052 CoAP_test.ttcn:1330 CoAP Encoded: '44010000ABCDEF11B474657374FF94'O
10:32:32.063255 CoAP_test.ttcn:1333 coap CON GET -------------------------------->>{
msg := {
header := {
version := 1,
msg_type := CONFIRMABLE (0),
code := {
class := 0,
detail := 1
},
message_id := 0
},
token := 'ABCDEF11'O,
options := {
{
uri_path := "test"
}
},
payload := '94'O
}
}
10:32:32.076641 CoAP_test.ttcn:1346 coap result <<-----------------------------------{
msg := {
header := {
version := 1,
msg_type := ACKNOWLEDGEMENT (2),
code := {
class := 2,
detail := 5
},
message_id := 0
},
token := 'ABCDEF11'O,
options := {
{
content_format := 0
},
{
max_age := 30
}
},
payload := '547970653A20302028434F4E290A436F64653A20312028474554290A4D49443A20300A546F6B656E3A206162636465663131'O ("Type: 0 (CON)
Code: 1 (GET)
MID: 0
Token: abcdef11")
}
}
10:32:32.076849 CoAP_test.ttcn:1475 <----------------------------------------------------------------------------------------------------------------------------------------------->
10:32:32.076920 CoAP_test.ttcn:1330 CoAP Encoded: '44010000ABCDEF11B474657374FFCD'O
10:32:32.077092 CoAP_test.ttcn:1333 coap CON GET -------------------------------->>{
msg := {
header := {
version := 1,
msg_type := CONFIRMABLE (0),
code := {
class := 0,
detail := 1
},
message_id := 0
},
token := 'ABCDEF11'O,
options := {
{
uri_path := "test"
}
},
payload := 'CD'O
}
}
10:32:32.078624 CoAP_test.ttcn:1346 coap result <<-----------------------------------{
msg := {
header := {
version := 1,
msg_type := ACKNOWLEDGEMENT (2),
code := {
class := 2,
detail := 5
},
message_id := 0
},
token := 'ABCDEF11'O,
options := {
{
content_format := 0
},
{
max_age := 30
}
},
payload := '547970653A20302028434F4E290A436F64653A20312028474554290A4D49443A20300A546F6B656E3A206162636465663131'O ("Type: 0 (CON)
Code: 1 (GET)
MID: 0
Token: abcdef11")
}
}
10:32:32.078779 CoAP_test.ttcn:1475 <----------------------------------------------------------------------------------------------------------------------------------------------->
10:32:32.078856 CoAP_test.ttcn:1330 CoAP Encoded: '44010000ABCDEF11B474657374FFA7'O
10:32:32.079038 CoAP_test.ttcn:1333 coap CON GET -------------------------------->>{
msg := {
header := {
version := 1,
msg_type := CONFIRMABLE (0),
code := {
class := 0,
detail := 1
},
message_id := 0
},
token := 'ABCDEF11'O,
options := {
{
uri_path := "test"
}
},
payload := 'A7'O
}
}
10:32:32.080667 CoAP_test.ttcn:1346 coap result <<-----------------------------------{
msg := {
header := {
version := 1,
msg_type := ACKNOWLEDGEMENT (2),
code := {
class := 2,
detail := 5
},
message_id := 0
},
token := 'ABCDEF11'O,
options := {
{
content_format := 0
},
{
max_age := 30
}
},
payload := '547970653A20302028434F4E290A436F64653A20312028474554290A4D49443A20300A546F6B656E3A206162636465663131'O ("Type: 0 (CON)
Code: 1 (GET)
MID: 0
Token: abcdef11")
}
}
10:32:32.080807 CoAP_test.ttcn:1488 <----------------------------------------------------------------------------------------------------------------------------------------------->
10:32:32.080870 CoAP_test.ttcn:1330 CoAP Encoded: '44010000ABCDEF11B474657374FFAA'O
10:32:32.081030 CoAP_test.ttcn:1333 coap CON GET -------------------------------->>{
msg := {
header := {
version := 1,
msg_type := CONFIRMABLE (0),
code := {
class := 0,
detail := 1
},
message_id := 0
},
token := 'ABCDEF11'O,
options := {
{
uri_path := "test"
}
},
payload := 'AA'O
}
}
10:32:32.082589 CoAP_test.ttcn:1346 coap result <<-----------------------------------{
msg := {
header := {
version := 1,
msg_type := ACKNOWLEDGEMENT (2),
code := {
class := 2,
detail := 5
},
message_id := 0
},
token := 'ABCDEF11'O,
options := {
{
content_format := 0
},
{
max_age := 30
}
},
payload := '547970653A20302028434F4E290A436F64653A20312028474554290A4D49443A20300A546F6B656E3A206162636465663131'O ("Type: 0 (CON)
Code: 1 (GET)
MID: 0
Token: abcdef11")
}
}
10:32:32.082861 CoAP_test.ttcn:1496 <----------------------------------------------------------------------------------------------------------------------------------------------->
From the server side log we can see the errors triggered:
java -jar ./CaliforniumServer.jar
Mar 23, 2017 2:13:49 PM org.eclipse.californium.core.network.config.NetworkConfig createStandardWithFile
INFO: Loading standard properties from file Californium.properties
Mar 23, 2017 2:13:49 PM org.eclipse.californium.core.CoapServer start
INFO: Starting server
Mar 23, 2017 2:13:49 PM org.eclipse.californium.core.CoapServer start
INFO: No endpoints have been defined for server, setting up server endpoint on default port 5,683
Mar 23, 2017 2:13:49 PM org.eclipse.californium.core.network.CoapEndpoint start
INFO: Starting endpoint at 0.0.0.0/0.0.0.0:5683
origin-tracer directory does not exist. Skipping origin traces...
PlugtestServer listening on port 5683
Mar 23, 2017 2:13:54 PM org.eclipse.californium.core.network.interceptors.MessageTracer receiveRequest
INFO: /127.0.0.1:54,424 ==> req CON-GET MID= 0, Token=abcdef11, OptionSet={"Uri-Path":"test"}, aa
Mar 23, 2017 2:13:54 PM org.eclipse.californium.core.network.interceptors.OriginTracer receiveRequest
INFO: /127.0.0.1
Mar 23, 2017 2:13:54 PM org.eclipse.californium.core.network.interceptors.MessageTracer sendResponse
INFO: /127.0.0.1:54,424 <== res ACK-2.05 MID= 0, Token=abcdef11, OptionSet={"Content-Format":"text/plain", "Max-Age":30}, "Type: 0 (CON)
Code: 1 (G".. 50 bytes
Mar 23, 2017 2:13:54 PM org.eclipse.californium.core.network.CoapEndpoint$5 run
SEVERE: Exception in protocol stage thread: Message has invalid version: 0
org.eclipse.californium.core.coap.MessageFormatException: Message has invalid version: 0
at org.eclipse.californium.core.network.serialization.UdpDataParser.assertCorrectVersion(UdpDataParser.java:48)
at org.eclipse.californium.core.network.serialization.UdpDataParser.parseHeader(UdpDataParser.java:42)
at org.eclipse.californium.core.network.serialization.DataParser.parseHeader(DataParser.java:81)
at org.eclipse.californium.core.network.CoapEndpoint$InboxImpl.receiveMessage(CoapEndpoint.java:637)
at org.eclipse.californium.core.network.CoapEndpoint$InboxImpl.access$800(CoapEndpoint.java:611)
at org.eclipse.californium.core.network.CoapEndpoint$InboxImpl$1.run(CoapEndpoint.java:625)
at org.eclipse.californium.core.network.CoapEndpoint$5.run(CoapEndpoint.java:778)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Mar 23, 2017 2:13:55 PM org.eclipse.californium.core.network.interceptors.MessageTracer receiveRequest
INFO: /127.0.0.1:38,076 ==> req CON-GET MID= 0, Token=abcdef11, OptionSet={"Uri-Path":"test", "Unknown (21)":0xbbeeab00000000000000}, no payload
Mar 23, 2017 2:13:55 PM org.eclipse.californium.core.network.interceptors.OriginTracer receiveRequest
INFO: /127.0.0.1
Mar 23, 2017 2:13:55 PM org.eclipse.californium.core.network.interceptors.MessageTracer sendResponse
INFO: /127.0.0.1:38,076 <== res ACK-2.05 MID= 0, Token=abcdef11, OptionSet={"Content-Format":"text/plain", "Max-Age":30}, "Type: 0 (CON)
Code: 1 (G".. 50 bytes
Mar 23, 2017 2:13:55 PM org.eclipse.californium.core.network.CoapEndpoint$5 run
SEVERE: Exception in protocol stage thread: Message has invalid version: 0
org.eclipse.californium.core.coap.MessageFormatException: Message has invalid version: 0
at org.eclipse.californium.core.network.serialization.UdpDataParser.assertCorrectVersion(UdpDataParser.java:48)
at org.eclipse.californium.core.network.serialization.UdpDataParser.parseHeader(UdpDataParser.java:42)
at org.eclipse.californium.core.network.serialization.DataParser.parseHeader(DataParser.java:81)
at org.eclipse.californium.core.network.CoapEndpoint$InboxImpl.receiveMessage(CoapEndpoint.java:637)
at org.eclipse.californium.core.network.CoapEndpoint$InboxImpl.access$800(CoapEndpoint.java:611)
at org.eclipse.californium.core.network.CoapEndpoint$InboxImpl$1.run(CoapEndpoint.java:625)
at org.eclipse.californium.core.network.CoapEndpoint$5.run(CoapEndpoint.java:778)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Mar 23, 2017 2:13:56 PM org.eclipse.californium.core.network.interceptors.MessageTracer receiveRequest
INFO: /127.0.0.1:41,544 ==> req CON-GET MID= 0, Token=abcdef11, OptionSet={"Uri-Path":"????", "Unknown (279)":0xcccccc00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000}, no payload
Mar 23, 2017 2:13:56 PM org.eclipse.californium.core.network.interceptors.OriginTracer receiveRequest
INFO: /127.0.0.1
Mar 23, 2017 2:13:56 PM org.eclipse.californium.core.server.ServerMessageDeliverer deliverRequest
INFO: Did not find resource [????] requested by /127.0.0.1:41,544
Mar 23, 2017 2:13:56 PM org.eclipse.californium.core.network.interceptors.MessageTracer sendResponse
INFO: /127.0.0.1:41,544 <== res ACK-4.04 MID= 0, Token=abcdef11, OptionSet={}, no payload
Mar 23, 2017 2:13:56 PM org.eclipse.californium.core.network.interceptors.MessageTracer receiveRequest
INFO: /127.0.0.1:60,570 ==> req CON-GET MID= 0, Token=abcdef11, OptionSet={"Uri-Path":"test"},
aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa
aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa
aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa
aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa
aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa
aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa
aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa
aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa
.. 2034 bytes
Mar 23, 2017 2:13:56 PM org.eclipse.californium.core.network.interceptors.OriginTracer receiveRequest
INFO: /127.0.0.1
Mar 23, 2017 2:13:56 PM org.eclipse.californium.core.network.interceptors.MessageTracer sendResponse
INFO: /127.0.0.1:60,570 <== res ACK-2.05 MID= 0, Token=abcdef11, OptionSet={"Content-Format":"text/plain", "Max-Age":30}, "Type: 0 (CON)
Code: 1 (G".. 50 bytes
Mar 23, 2017 2:13:56 PM org.eclipse.californium.core.network.interceptors.MessageTracer sendEmptyMessage
INFO: /127.0.0.1:45,844 <== emp RST MID= 0 NON-EMPTY: Token=[-85, -51, -17, 17], {}, ""
Mar 23, 2017 2:13:56 PM org.eclipse.californium.core.network.CoapEndpoint$InboxImpl receiveMessage
INFO: received malformed request [source: /127.0.0.1:45844] and reset
org.eclipse.californium.core.coap.MessageFormatException: Found payload marker (0xFF) but message contains no payload
at org.eclipse.californium.core.network.serialization.DataParser.parseOptionsAndPayload(DataParser.java:115)
at org.eclipse.californium.core.network.serialization.DataParser.parseRequest(DataParser.java:44)
at org.eclipse.californium.core.network.CoapEndpoint$InboxImpl.receiveMessage(CoapEndpoint.java:644)
at org.eclipse.californium.core.network.CoapEndpoint$InboxImpl.access$800(CoapEndpoint.java:611)
at org.eclipse.californium.core.network.CoapEndpoint$InboxImpl$1.run(CoapEndpoint.java:625)
at org.eclipse.californium.core.network.CoapEndpoint$5.run(CoapEndpoint.java:778)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Mar 23, 2017 2:13:56 PM org.eclipse.californium.core.network.interceptors.MessageTracer receiveRequest
INFO: /127.0.0.1:50,593 ==> req CON-GET MID= 0, Token=abcdef11, OptionSet={}, 47 46 57 37 f0 af 0a
Mar 23, 2017 2:13:56 PM org.eclipse.californium.core.network.interceptors.OriginTracer receiveRequest
INFO: /127.0.0.1
Mar 23, 2017 2:13:56 PM org.eclipse.californium.core.network.interceptors.MessageTracer sendResponse
INFO: /127.0.0.1:50,593 <== res ACK-2.05 MID= 0, Token=abcdef11, OptionSet={"Content-Format":"text/plain", "Block2":"(szx=2/64, m=true, num=0)"}, "************************".. 64 bytes
Mar 23, 2017 2:13:56 PM org.eclipse.californium.core.network.interceptors.MessageTracer sendEmptyMessage
INFO: /127.0.0.1:45,490 <== emp RST MID= 0 NON-EMPTY: Token=[-85, -51, -17, 17], {}, ""
Mar 23, 2017 2:13:56 PM org.eclipse.californium.core.network.CoapEndpoint$InboxImpl receiveMessage
INFO: received malformed request [source: /127.0.0.1:45490] and reset
org.eclipse.californium.core.coap.MessageFormatException: Message contains illegal option delta/length: 15
at org.eclipse.californium.core.network.serialization.DataParser.determineValueFromNibble(DataParser.java:146)
at org.eclipse.californium.core.network.serialization.DataParser.calculateNextOptionNumber(DataParser.java:135)
at org.eclipse.californium.core.network.serialization.DataParser.parseOptionsAndPayload(DataParser.java:96)
at org.eclipse.californium.core.network.serialization.DataParser.parseRequest(DataParser.java:44)
at org.eclipse.californium.core.network.CoapEndpoint$InboxImpl.receiveMessage(CoapEndpoint.java:644)
at org.eclipse.californium.core.network.CoapEndpoint$InboxImpl.access$800(CoapEndpoint.java:611)
at org.eclipse.californium.core.network.CoapEndpoint$InboxImpl$1.run(CoapEndpoint.java:625)
at org.eclipse.californium.core.network.CoapEndpoint$5.run(CoapEndpoint.java:778)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Mar 23, 2017 2:13:56 PM org.eclipse.californium.core.network.interceptors.MessageTracer receiveRequest
INFO: /127.0.0.1:57,730 ==> req CON-GET MID= 0, Token=abcdef11, OptionSet={"Uri-Path":"test"}, b1
Mar 23, 2017 2:13:56 PM org.eclipse.californium.core.network.interceptors.OriginTracer receiveRequest
INFO: /127.0.0.1
Mar 23, 2017 2:13:56 PM org.eclipse.californium.core.network.interceptors.MessageTracer sendResponse
INFO: /127.0.0.1:57,730 <== res ACK-2.05 MID= 0, Token=abcdef11, OptionSet={"Content-Format":"text/plain", "Max-Age":30}, "Type: 0 (CON)
Code: 1 (G".. 50 bytes
Mar 23, 2017 2:13:56 PM org.eclipse.californium.core.network.interceptors.MessageTracer receiveRequest
INFO: /127.0.0.1:56,587 ==> req CON-GET MID= 0, Token=abcdef11, OptionSet={"Uri-Path":"test"}, "8"
Mar 23, 2017 2:13:56 PM org.eclipse.californium.core.network.interceptors.OriginTracer receiveRequest
INFO: /127.0.0.1
Mar 23, 2017 2:13:56 PM org.eclipse.californium.core.network.interceptors.MessageTracer sendResponse
INFO: /127.0.0.1:56,587 <== res ACK-2.05 MID= 0, Token=abcdef11, OptionSet={"Content-Format":"text/plain", "Max-Age":30}, "Type: 0 (CON)
Code: 1 (G".. 50 bytes
Mar 23, 2017 2:13:56 PM org.eclipse.californium.core.network.interceptors.MessageTracer receiveRequest
INFO: /127.0.0.1:58,568 ==> req CON-GET MID= 0, Token=abcdef11, OptionSet={"Uri-Path":"test"}, cc
Mar 23, 2017 2:13:56 PM org.eclipse.californium.core.network.interceptors.OriginTracer receiveRequest
INFO: /127.0.0.1
Mar 23, 2017 2:13:56 PM org.eclipse.californium.core.network.interceptors.MessageTracer sendResponse
INFO: /127.0.0.1:58,568 <== res ACK-2.05 MID= 0, Token=abcdef11, OptionSet={"Content-Format":"text/plain", "Max-Age":30}, "Type: 0 (CON)
Code: 1 (G".. 50 bytes
Mar 23, 2017 2:13:56 PM org.eclipse.californium.core.network.interceptors.MessageTracer receiveRequest
INFO: /127.0.0.1:54,797 ==> req CON-GET MID= 0, Token=abcdef11, OptionSet={"Uri-Path":"test"}, "K"
Mar 23, 2017 2:13:56 PM org.eclipse.californium.core.network.interceptors.OriginTracer receiveRequest
INFO: /127.0.0.1
Mar 23, 2017 2:13:56 PM org.eclipse.californium.core.network.interceptors.MessageTracer sendResponse
INFO: /127.0.0.1:54,797 <== res ACK-2.05 MID= 0, Token=abcdef11, OptionSet={"Content-Format":"text/plain", "Max-Age":30}, "Type: 0 (CON)
Code: 1 (G".. 50 bytes
Mar 23, 2017 2:13:56 PM org.eclipse.californium.core.network.interceptors.MessageTracer receiveRequest
INFO: /127.0.0.1:51,649 ==> req CON-GET MID= 0, Token=abcdef11, OptionSet={"Uri-Path":"test"}, ce
Mar 23, 2017 2:13:56 PM org.eclipse.californium.core.network.interceptors.OriginTracer receiveRequest
INFO: /127.0.0.1
Mar 23, 2017 2:13:56 PM org.eclipse.californium.core.network.interceptors.MessageTracer sendResponse
INFO: /127.0.0.1:51,649 <== res ACK-2.05 MID= 0, Token=abcdef11, OptionSet={"Content-Format":"text/plain", "Max-Age":30}, "Type: 0 (CON)
Code: 1 (G".. 50 bytes
Mar 23, 2017 2:13:56 PM org.eclipse.californium.core.network.interceptors.MessageTracer receiveRequest
INFO: /127.0.0.1:42,388 ==> req CON-GET MID= 0, Token=abcdef11, OptionSet={"Uri-Path":"test"}, "1"
Mar 23, 2017 2:13:56 PM org.eclipse.californium.core.network.interceptors.OriginTracer receiveRequest
INFO: /127.0.0.1
Mar 23, 2017 2:13:56 PM org.eclipse.californium.core.network.interceptors.MessageTracer sendResponse
INFO: /127.0.0.1:42,388 <== res ACK-2.05 MID= 0, Token=abcdef11, OptionSet={"Content-Format":"text/plain", "Max-Age":30}, "Type: 0 (CON)
Code: 1 (G".. 50 bytes
Mar 23, 2017 2:13:56 PM org.eclipse.californium.core.network.interceptors.MessageTracer receiveRequest
INFO: /127.0.0.1:35,862 ==> req CON-GET MID= 0, Token=abcdef11, OptionSet={"Uri-Path":"test"}, "'"
Mar 23, 2017 2:13:56 PM org.eclipse.californium.core.network.interceptors.OriginTracer receiveRequest
INFO: /127.0.0.1
Mar 23, 2017 2:13:56 PM org.eclipse.californium.core.network.interceptors.MessageTracer sendResponse
INFO: /127.0.0.1:35,862 <== res ACK-2.05 MID= 0, Token=abcdef11, OptionSet={"Content-Format":"text/plain", "Max-Age":30}, "Type: 0 (CON)
Code: 1 (G".. 50 bytes
Mar 23, 2017 2:13:56 PM org.eclipse.californium.core.network.interceptors.MessageTracer receiveRequest
INFO: /127.0.0.1:60,736 ==> req CON-GET MID= 0, Token=abcdef11, OptionSet={"Uri-Path":"test"}, "H"
Mar 23, 2017 2:13:56 PM org.eclipse.californium.core.network.interceptors.OriginTracer receiveRequest
INFO: /127.0.0.1
Mar 23, 2017 2:13:56 PM org.eclipse.californium.core.network.interceptors.MessageTracer sendResponse
INFO: /127.0.0.1:60,736 <== res ACK-2.05 MID=
-
Attachment: CoAPFDemo.tgz
(Size: 3.51MB, Downloaded 296 times) -
Attachment: CoAPF.png
(Size: 14.61KB, Downloaded 612 times)
|
|
| | | |
Re: Using Titan as a fuzzing engine part 3 [message #1763485 is a reply to message #1763484] |
Tue, 16 May 2017 15:14 |
|
Hi Avdoot,
from your log
:
Product number: CRL 113 200/6 R1A
Build date: Mar 28 2017 09:40:44
:
it appears that you don't have the latest source code,
you have built your Titan on the 28th of March;
you need to download the latest source and build from there.
you should see Product number: CRL 113 200/6 R1B returned by "compiler -v"
BR
Elemer
|
|
|
Goto Forum:
Current Time: Tue Apr 23 06:29:18 GMT 2024
Powered by FUDForum. Page generated in 0.04677 seconds
|