summaryrefslogtreecommitdiff
path: root/crates/tor-hsservice/src/replay.rs
Commit message (Collapse)AuthorAgeFilesLines
* Fix typosDimitris Apostolou2024-01-081-1/+1
|
* tor-hsservice: replay: Note a bugIan Jackson2023-12-131-0/+4
|
* tor-hsservice tests: replay: Provide for a filesystem lockfileIan Jackson2023-12-131-2/+22
| | | | | This is to prevent current use of the same directory of replay logs by different instances.
* tor-hsservice tests: replay: Break out create_loggedIan Jackson2023-12-131-13/+25
|
* tor-hsservice: ReplayLog: Fix file magicIan Jackson2023-12-131-1/+1
| | | | | | | | | | This ought to have the hash algorithm name in it or we'll have trouble if we want to change the hash algorithm in the future. (Strictly, we could just choose a different magic but the string was rather short.) Add a newline, which is often convenient in file headers. And "onion" to mean "onion swervice" is improper.
* tor-hsservice: ReplayLog: Slight tidying upIan Jackson2023-12-131-3/+5
| | | | Make `#[cfg(target_family = "unix")]` appear only once.
* replay: Remove false-positive special-casing in testsNick Mathewson2023-11-021-31/+10
| | | | | | (The actual false positive rate for these cases is very small, since the filters are very much not full. I haven't been able to hit one in hours of looping.)
* Add a missing backtick.gabi-2502023-11-021-1/+1
|
* Use io::Result to shorten return type.gabi-2502023-11-021-1/+1
|
* hss: Add functionality for a persistent replay log.Nick Mathewson2023-11-021-0/+421
See comments for design notes.