This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Congestion Control | |
[E2ECONGESTION] Floyd, S., Fall, K., | |
"Promoting the Use of End-to-End Congestion Control in the Internet", | |
IEEE/ACM Transactions on Networking, May 1999, | |
<https://www.icir.org/floyd/papers/collapse.may99.pdf>. | |
[RFC896] Nagle, J., "Congestion Control in IP/TCP Internetworks", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
how to scan the tor network for partitions | |
------------------------------------------ | |
1. setup a machine running Tor and expose its control port as either a tcp port or unix domain socket | |
with no authentication | |
*edit* /etc/tor/torrc | |
blah blah easy rtfm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# dot mixnet_graph.dot -Tpng -o rgb_mix.png -Tpng -o rgb_mix.png | |
digraph rgb_mixnet { | |
ratio = fill; | |
size="3,3"; | |
rank = min; | |
nodesep=1.4; | |
subgraph cluster0 { | |
#rankdir = RL; | |
node [shape = doublecircle, fillcolor=black, style="filled", width=1,height=1]; e; | |
node [shape = circle, fillcolor="black", width=1, height=1]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extern crate crypto; | |
use std::error::Error; | |
use std::fmt; | |
use crypto::mac::Mac; | |
use crypto::blake2b::Blake2b; | |
const LIONESS_KEY_SIZE: u32 = 208; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
multi-party conflict detection | |
============================== | |
The current Magic-Folder remote conflict detection design does not properly detect remote conflicts | |
for groups of three or more parties. This design is specified in the "Fire Dragon" section of this document: | |
https://github.com/tahoe-lafs/tahoe-lafs/blob/2551.wip.2/docs/proposed/magic-folder/remote-to-local-sync.rst#fire-dragons-distinguishing-conflicts-from-overwrites | |
This Tahoe-LAFS trac ticket comment outlines a scenario with | |
three parties in which a remote conflict is falsely detected: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
virtualenv virtenv-txtorcon | |
. ./virtenv-txtorcon/bin/activate | |
pip install txtorcon | |
export project=myproject | |
export secret=`pwgen 64` | |
mkdir -p public_html/$secret | |
cp -a $project public_html/$secret | |
touch public_html/index.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/leekspin/crypto.py b/leekspin/crypto.py | |
index c759b2b..262a30f 100644 | |
--- a/leekspin/crypto.py | |
+++ b/leekspin/crypto.py | |
@@ -280,6 +280,22 @@ def generateOnionKey(): | |
return (secretOnionKey, publicOnionKey, onionKeyLine) | |
+def fufu(): | |
+ from Crypto.Util.asn1 import DerSequence |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"encoding/hex" | |
"fmt" | |
"syscall" | |
) | |
func main() { | |
enable := 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: cypherpunks | |
# Contributor: David Stainton <[email protected]> | |
pkgname='tor-browser-en' | |
pkgver='4.0.5' | |
pkgrel=1 | |
pkgdesc='Tor Browser Bundle: Anonymous browsing using firefox and tor' | |
url='https://www.torproject.org/projects/torbrowser.html.en' | |
sha1sums=() | |
license=('GPL') | |
source=('git+https://git.torproject.org/tor-browser.git#revision=fc034df7fb9c9cab6f726e1b5b4cecd1db9c991e') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cryptsetup luksOpen /dev/sdb1 secretStash | |
mount /dev/mapper/secretStash /mnt | |
# and umount | |
umount /mnt | |
cryptsetup luksClose secretStash |