aboutsummaryrefslogtreecommitdiff
path: root/src/trunnel/hs
AgeCommit message (Collapse)Author
2019-12-04practracker: Add missing .may_include filesteor
All of these files contain "*.h", except for: * src/app/config/.may_include * src/test/.may_include which also contain "*.inc". This change prevents includes of "*.c" files, and other unusually named files. Part of 32609.
2019-08-26hs-v3: Encode DoS ESTABLISH_INTRO cell extensionDavid Goulet
This commit makes tor add the DoS cell extension to the ESTABLISH_INTRO cell if the defense is enabled on the service side with a torrc option. Furthermore, the cell extension is only added if the introduction point supports it. The protover version HSIntro=5 is looked for. Signed-off-by: David Goulet <dgoulet@torproject.org>
2019-08-26trunnel: Add prop305 ESTABLISH_INTRO DoS cell extensionDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2019-08-26trunnel: Remove typo in cell extention field nameDavid Goulet
There can be multiple fields in a cell extension but individually, it is singular. Signed-off-by: David Goulet <dgoulet@torproject.org>
2019-06-11trunnel: Rename sendme.trunnel to sendme_cell.trunnelDavid Goulet
This is to avoid having two sendme.{c|h} in the repository since the subsystem is implemented in src/core/or/sendme.{c|h}. Fixes #30769 Signed-off-by: David Goulet <dgoulet@torproject.org>
2019-05-20hs: Remove hs_cell_onion_key_type_t enumDavid Goulet
Unify this with the trunnel ABI so we don't duplicate. Part of #30454 Signed-off-by: David Goulet <dgoulet@torproject.org>
2019-05-20trunnel: Remove INTRODUCE1 status code IN statementDavid Goulet
We want to support parsing a cell with unknown status code so we are forward compatible. Part of #30454 Signed-off-by: David Goulet <dgoulet@torproject.org>
2019-05-20hs: Remove hs_intro_auth_key_type_t enumDavid Goulet
Like the previous commit about the INTRODUCE_ACK status code, change all auth key type to use the one defined in the trunnel file. Standardize the use of these auth type to a common ABI. Part of #30454 Signed-off-by: David Goulet <dgoulet@torproject.org>
2019-05-20hs: Define INTRODUCE_ACK status code in trunnelDavid Goulet
Remove the hs_intro_ack_status_t enum and move the value into trunnel. Only use these values from now on in the intro point code. Interestingly enough, the client side also re-define these values in hs_cell.h with the hs_cell_introd_ack_status_t enum. Next commit will fix that and force to use the trunnel ABI. Part of #30454 Signed-off-by: David Goulet <dgoulet@torproject.org>
2018-02-07Fix spelling mistakes corresponding to ticket #23650Deepesh Pathak
2017-08-24Re-run trunnel. Cosmetic changes only.Nick Mathewson
2017-08-24trunnel: Add RENDEZVOUS2 cell definitionDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2017-07-25trunnel: Add prop224 RENDEZVOUS1 cell definitionDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2017-04-11hs: Change trunnel prop224 cell's namespaceDavid Goulet
One of the goals of this change is to have trunnel API/ABI being more explicit so we namespace them with "trn_*". Furthermore, we can now create hs_cells.[ch] without having to confuse it with trunnel which used to be "hs_cell_*" before that change. Here are the perl line that were used for this rename: perl -i -pe 's/cell_extension/trn_cell_extension/g;' src/*/*.[ch] perl -i -pe 's/cell_extension/trn_cell_extension/g;' src/trunnel/hs/*.trunnel perl -i -pe 's/hs_cell_/trn_cell_/g;' src/*/*.[ch] perl -i -pe 's/hs_cell_/trn_cell_/g;' src/trunnel/hs/*.trunnel And then "./scripts/codegen/run_trunnel.sh" with trunnel commit id 613fb1b98e58504e2b84ef56b1602b6380629043. Fixes #21919 Signed-off-by: David Goulet <dgoulet@torproject.org>
2016-12-16trunnel: Move ESTABLISH_INTRO cell sig_len after the end_sig_fieldsDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2016-12-08Update to trunnel 1.5.1Nick Mathewson
2016-10-31Re-run trunnel.Nick Mathewson
2016-10-31prop224: Add INTRODUCE1 and INTRODUCE_ACK trunnel definitionDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2016-10-31prop224: Add ESTABLISH_INTRO and INTRO_ESTABLISHED trunnel definitionDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>