summaryrefslogtreecommitdiff
path: root/src/feature/control/control_fmt.c
AgeCommit message (Collapse)Author
2023-05-10hs_pow: add per-circuit effort information to control portMicah Elizabeth Scott
This lets controller apps see the outgoing PoW effort on client circuits, and the validated effort received on an incoming service circuit. Signed-off-by: Micah Elizabeth Scott <beth@torproject.org>
2021-03-12Update copyrights to 2021, using "make update-copyright"Nick Mathewson
2021-02-19hs-v2: Removal of service and relay supportDavid Goulet
This is unfortunately massive but both functionalities were extremely intertwined and it would have required us to actually change the HSv2 code in order to be able to split this into multiple commits. After this commit, there are still artefacts of v2 in the code but there is no more support for service, intro point and HSDir. The v2 support for rendezvous circuit is still available since that code is the same for the v3 and we will leave it in so if a client is able to rendezvous on v2 then it can still transfer traffic. Once the entire network has moved away from v2, we can remove v2 rendezvous point support. Related to #40266 Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-10-27conn: New Metrics listener portDavid Goulet
If MetricsPort is defined, listen on it and handle the incoming request. Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-01-08It's 2020. Update the copyright dates with "make update-copyright"Nick Mathewson
2019-10-27Bug 19859: Add HTTPCONNECT client protocolJeremyRand
2019-10-27Bug 19859: Set arg to constJeremyRand
2019-10-27Bug 19859: Consolidate flag fields into ISO_FIELDSJeremyRand
2019-10-27Bug 19859: Add stream isolation data to STREAM eventJeremyRand
2019-04-30Split reply formatting out of control_fmt.cTaylor Yu
Split the core reply formatting code out of control_fmt.c into control_proto.c. The remaining code in control_format.c deals with specific subsystems and will eventually move to join those subsystems.
2019-04-30Correct file name in doxygen commentTaylor Yu
2019-04-25Move and rename decode_escaped_string()Nick Mathewson
This function decodes something different from the usual c-escaped format. It is only used in controller authorization.
2019-04-25Use new parser logic for SETCONF/RESETCONF code.Nick Mathewson
Here we get to throw away a LOT of unused code, since most of the old parsing was redundant with kvline.
2019-03-25Minimize the includes in control.cNick Mathewson
2019-03-25Split command-handling and authentication from control.cNick Mathewson
2019-03-25Split getinfo handling into a new control_getinfo.cNick Mathewson
2019-03-25Split all controller events code into a new control_events.cNick Mathewson
Also, split the formatting code shared by control.c and control_events.c into controller_fmt.c.