View Issue Details

IDProjectCategoryView StatusLast Update
0004621GNUnetcadet servicepublic2018-06-06 22:24
Reporterch3 Assigned Toamatus Due Date
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product VersionGit master 
Target Version0.11.0pre66Fixed in Version0.11.0pre66 
Summary0004621: cadet get_peers () breaks communication with cadet service
DescriptionWhen issuing GNUNET_CADET_get_peers (), after returning some peers it refuses to communicate with the service.
The logs contain
Aug 22 16:36:47-310457 gnunet-cadet-32447 ERROR Received malformed message of type 296
Steps To Reproducecall GNUNET_CADET_get_peers ()

or on the commandline
$ gnunet-cadet -P
Additional InformationError message is produced by GNUNET_MQ_inject message () (src/util/mq.c:240).
As far as I understood the code, this is either the case when the message returned by the (cadet) service is smaller than expected (handler->expected_size) and no message validation callback (handler->mv) is available or the message validation (handler->mv, in this case probably check_get_peers in cadet_api.c:926) fails.
TagsNo tags attached.

Activities

Christian Grothoff

2017-02-21 17:38

manager   ~0011820

That API should be rewritten to support proper cancel, to use a separate connection and MQ to CADET, and maybe combining some of the monitoring functions.

amatus

2017-12-27 16:58

developer   ~0012705

Fixed in commit 9995f2609595f7be49a266e094877c746a4fc73d

Issue History

Date ModifiedUsernameFieldChange
2016-08-22 16:35ch3New Issue
2016-08-22 16:35ch3Statusnew => assigned
2016-08-22 16:35ch3Assigned To => Bart Polot
2016-09-22 18:11Christian GrothoffTarget Version => 0.11.0pre66
2017-02-21 17:38Christian GrothoffNote Added: 0011820
2017-02-21 17:38Christian GrothoffAssigned ToBart Polot => Christian Grothoff
2017-02-26 00:35Christian GrothoffTarget Version0.11.0pre66 => 0.11.0
2017-12-27 16:47amatusAssigned ToChristian Grothoff => amatus
2017-12-27 16:58amatusStatusassigned => resolved
2017-12-27 16:58amatusResolutionopen => fixed
2017-12-27 16:58amatusFixed in Version => 0.11.0
2017-12-27 16:58amatusNote Added: 0012705
2018-01-08 01:16Christian GrothoffFixed in Version0.11.0 => 0.11.0pre66
2018-01-08 01:16Christian GrothoffTarget Version0.11.0 => 0.11.0pre66
2018-06-06 22:24Christian GrothoffStatusresolved => closed