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

Add DESTROY cell to TunnelCommunity #783

Closed
egbertbouman opened this issue Aug 22, 2014 · 4 comments
Closed

Add DESTROY cell to TunnelCommunity #783

egbertbouman opened this issue Aug 22, 2014 · 4 comments

Comments

@egbertbouman
Copy link
Member

When a relay drops a circuit, it sends a DESTROY cell to the adjacent nodes on that circuit. Nodes receiving an DESTROY cell will:

  • free resources associated with the corresponding circuit
  • drop all subsequent cells for that circuit
  • forward the DESTROY message to the next hop (unless it's the end of the circuit)

The payload of a DESTROY cell contains the reason why the circuit is being destroyed. Possible reasons are (subset of TOR):

NONE - No reason given.
PROTOCOL - Protocol violation.
INTERNAL - Internal error.
HIBERNATING - Not currently operating; trying to save bandwidth.
RESOURCELIMIT - Out of memory, sockets, or circuit IDs.
CONNECTFAILED - Unable to reach relay.
FINISHED - The circuit has expired because it's inactive, old, or has exceeded its traffic limit.
TIMEOUT - Circuit construction took too long

For now, we only support destroying a circuit completely.

@egbertbouman egbertbouman added this to the V6.4 anonymous streaming and hidden seeding test milestone Aug 22, 2014
@egbertbouman egbertbouman self-assigned this Aug 22, 2014
@synctext synctext modified the milestones: V6.4 anonymity: destroy message, V7.0 anonymous downloading Nov 3, 2014
@whirm
Copy link

whirm commented Jan 30, 2015

Depends on #1066

@whirm whirm modified the milestones: V6.5, Backlog, V6.6 AllChannels V2.0 + Cancel message Feb 4, 2015
@devos50
Copy link
Contributor

devos50 commented Mar 18, 2016

@whirm what's the status of this issue?

@whirm
Copy link

whirm commented Mar 18, 2016

That's tunnel community stuff, disregard it.

@synctext synctext modified the milestones: V7.1 anonymous seeding test, V6.6 WX3 May 13, 2016
@devos50
Copy link
Contributor

devos50 commented Dec 30, 2017

This has been implemented already: 4b098ae

Please reopen this issue if I'm incorrect 👍

@devos50 devos50 closed this as completed Dec 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

4 participants