View Issue Details

IDProjectCategoryView StatusLast Update
0002214GNUnettransport servicepublic2024-05-03 13:59
ReporterChristian Grothoff Assigned ToMatthias Wachs  
PriorityhighSeverityminorReproducibilityrandom
Status closedResolutionunable to reproduce 
Product VersionGit master 
Target Version0.9.3Fixed in Version0.9.3 
Summary0002214: WARNING External protocol violation detected at plugin_transport_tcp.c:1842.
DescriptionI get this when running a peer for a while. No idea why, but should be investigated as it might point to a host-dependent protocol incompatibility (i.e. bad alignment 64 vs. 32 bit or something like that).
TagsNo tags attached.

Relationships

has duplicate 0002180 closedMatthias Wachs External protocol violation detected at plugin_transport_tcp.c:1735. 

Activities

Matthias Wachs

2012-03-30 17:59

reporter   ~0005664

Added an extended err msg.

Could not reproduce with an peer running 18h

Christian Grothoff

2012-04-01 10:58

manager   ~0005670

I'm now getting this, not sure if this is the same issue with new line numbers or a different issue:

Apr 01 10:34:06-842408 transport-21289 WARNING ATS did not suggested address to connect to peer `9DUB'
Apr 01 10:57:09-338041 transport-21289 WARNING External protocol violation detected at plugin_transport_tcp.c:1455.
Apr 01 10:57:14-064033 transport-21289 WARNING Message `External protocol violation detected at plugin_transport_tcp.c:1455.' repeated 5 times in the last 4726 ms
Apr 01 10:57:14-064033 transport-21289 ERROR Error setting address in use for peer `KNAP' `98.119.204.191:2086': NOT USED -> NOT USED; set last time by 2643, called now by 946
Apr 01 10:57:14-064055 transport-21289 ERROR Assertion failed at gnunet-service-transport_validation.c:1245.

Matthias Wachs

2012-04-02 13:41

reporter   ~0005678

Last edited: 2012-04-03 10:38

Analysis:

We receive unexpected tcp data from a peer we do not have a session for.

Perhaps because we restarted and the other peer stills sends data.

Solution:
I think we can remove the break and just return and disconnect with:
    GNUNET_SERVER_receive_done (client, GNUNET_SYSERR)

Matthias Wachs

2012-04-02 13:43

reporter   ~0005679

This is the kind of error message I need for 0002216

Matthias Wachs

2012-04-03 10:39

reporter   ~0005687

Added additional debug message in rev 20865.

Christian Grothoff

2012-04-03 13:06

manager   ~0005691

If *we* restarted, the TCP connection would have been cut. So that cannot be the cause.

Matthias Wachs

2012-04-10 13:07

reporter   ~0005703

Added debug message giving us more details
Tried to reproduce it but bug did not occur
Checked plugin functionality, behaviour OK

Issue History

Date Modified Username Field Change
2012-03-12 13:13 Christian Grothoff New Issue
2012-03-12 13:13 Christian Grothoff Status new => assigned
2012-03-12 13:13 Christian Grothoff Assigned To => Matthias Wachs
2012-03-16 23:50 Christian Grothoff Priority normal => high
2012-03-30 17:59 Matthias Wachs Note Added: 0005664
2012-03-30 17:59 Matthias Wachs Status assigned => feedback
2012-04-01 10:58 Christian Grothoff Note Added: 0005670
2012-04-01 10:58 Christian Grothoff Status feedback => assigned
2012-04-02 13:41 Matthias Wachs Note Added: 0005678
2012-04-02 13:41 Matthias Wachs Status assigned => feedback
2012-04-02 13:42 Matthias Wachs Note Edited: 0005678
2012-04-02 13:42 Matthias Wachs Status feedback => acknowledged
2012-04-02 13:43 Matthias Wachs Note Added: 0005679
2012-04-03 10:38 Matthias Wachs Note Edited: 0005678
2012-04-03 10:39 Matthias Wachs Note Added: 0005687
2012-04-03 10:39 Matthias Wachs Status acknowledged => feedback
2012-04-03 11:04 Matthias Wachs Relationship added has duplicate 0002180
2012-04-03 13:06 Christian Grothoff Note Added: 0005691
2012-04-03 13:06 Christian Grothoff Status feedback => assigned
2012-04-10 13:07 Matthias Wachs Note Added: 0005703
2012-04-10 13:08 Matthias Wachs Status assigned => resolved
2012-04-10 13:08 Matthias Wachs Resolution open => unable to reproduce
2012-04-12 10:02 Christian Grothoff Fixed in Version => 0.9.3
2012-04-12 10:02 Christian Grothoff Target Version => 0.9.3
2012-06-02 19:15 Christian Grothoff Status resolved => closed
2024-05-03 13:59 Christian Grothoff Category TCP transport => transport service