summaryrefslogtreecommitdiff
path: root/src/config
diff options
context:
space:
mode:
Diffstat (limited to 'src/config')
-rw-r--r--src/config/httpaprc13
-rw-r--r--src/config/moria1-orrc20
-rw-r--r--src/config/moria1-private15
-rw-r--r--src/config/moria1-public5
-rw-r--r--src/config/moria2-orrc20
-rw-r--r--src/config/moria2-private15
-rw-r--r--src/config/moria2-public5
-rw-r--r--src/config/moria3-orrc20
-rw-r--r--src/config/moria3-private15
-rw-r--r--src/config/moria3-public5
-rw-r--r--src/config/routers.or28
-rw-r--r--src/config/smtpaprc13
12 files changed, 174 insertions, 0 deletions
diff --git a/src/config/httpaprc b/src/config/httpaprc
new file mode 100644
index 0000000000..1b48668a4b
--- /dev/null
+++ b/src/config/httpaprc
@@ -0,0 +1,13 @@
+# Sample configuration file for httpap.
+
+# local port on which the onion proxy is running
+OnionProxy 9021
+
+# maximum number of incoming connections
+MaxConn 100
+
+# run in anonymizing mode (0=no/1=yes)
+Anonimize 0
+
+# timeout for incoming connections (seconds)
+ConnTimeout 6000
diff --git a/src/config/moria1-orrc b/src/config/moria1-orrc
new file mode 100644
index 0000000000..31bce1bbec
--- /dev/null
+++ b/src/config/moria1-orrc
@@ -0,0 +1,20 @@
+# Configuration file for or
+
+# List of routers
+RouterFile ../config/routers.or
+
+# Private key
+PrivateKeyFile moria1-private
+
+CoinWeight 0.0
+
+ORPort 9001
+OPPort 9011
+APPort 9021
+
+# Maximum number of connections.
+MaxConn 100
+
+# Which traffic shaping policy to use.
+#
+TrafficShaping 1
diff --git a/src/config/moria1-private b/src/config/moria1-private
new file mode 100644
index 0000000000..e4a0f860d4
--- /dev/null
+++ b/src/config/moria1-private
@@ -0,0 +1,15 @@
+-----BEGIN RSA PRIVATE KEY-----
+MIICXQIBAAKBgQDAQbpNbGMRIOYywCcvOlNxhiexBjEle8qAOppnLBFVN6cE1K6W
+6QpsEuwb6L6GN8+M5OtzWVQRK4CkFA5J96afJ/N8WYBH+BiNu4HViCMGgYxIpriZ
+RGPuyp2e5FTEaIlwm4y+lQLTWuGctQH/xjptIgiA6YaJXro0PecXsO60JwIDAP//
+AoGBAKr0nL8o2Ze6mqtHK57YOb6xisihTCCinYh2pHXV0xdbXaxXUb2d4VROf6So
+ruJDTp6UxDkLbR3ZjnJ0D9CxOCY+HHC17k+svimV6+bu22uvVJuwPM2kvZxYdM5n
+mNvGBikwB6Uk8ZtQ+SDwa/sRr/Q49a2hJF6VjYn/HnqXKWJ/AkEA6uYt3AYaNcZ+
+cI+evYSOJ9TaVZ5h+i9IWlYl+Oo72dXr1DvcNYxibh1yHgCf72QctM57Qxd6U+N4
+7hQmARP3IQJBANGG7f6v5eDVG/Rd4gupBMCdcuwefRY1tMqUmwYP9Ps3ZsHSmNhk
+aRKpVXXTFiJSwgI5LzgsjzMeaBVHvWFh6kcCQGMCjeDl91wX2Qz8pe4ZWCBECJbV
+C7MGNu5Cc93BYCFuGwecjqqkqXWBIMWkGw166NBiRDiIktkEntJAElDQoh8CQQC4
+vUXXUYFpio6eNNyf0HcnInkTs71RME9E4+bKcSAaFmTJzK3bh/NEDVyMrNcyvlYY
+N+9f4HlqNXtOLnyhtuw7AkAYHlK/fgem67SYl9Uu+1XnVX3Ktn/RbW1jeLRF8E8+
+urDuSzz4nbbRxDRmsZqMzsZlo0aH0DMsn+mbyTkDSQWA
+-----END RSA PRIVATE KEY-----
diff --git a/src/config/moria1-public b/src/config/moria1-public
new file mode 100644
index 0000000000..5756fe261c
--- /dev/null
+++ b/src/config/moria1-public
@@ -0,0 +1,5 @@
+-----BEGIN RSA PUBLIC KEY-----
+MIGJAoGBAMBBuk1sYxEg5jLAJy86U3GGJ7EGMSV7yoA6mmcsEVU3pwTUrpbpCmwS
+7BvovoY3z4zk63NZVBErgKQUDkn3pp8n83xZgEf4GI27gdWIIwaBjEimuJlEY+7K
+nZ7kVMRoiXCbjL6VAtNa4Zy1Af/GOm0iCIDpholeujQ95xew7rQnAgMA//8=
+-----END RSA PUBLIC KEY-----
diff --git a/src/config/moria2-orrc b/src/config/moria2-orrc
new file mode 100644
index 0000000000..703693f643
--- /dev/null
+++ b/src/config/moria2-orrc
@@ -0,0 +1,20 @@
+# Configuration file for or
+
+# List of routers
+RouterFile ../config/routers.or
+
+# Private key
+PrivateKeyFile moria2-private
+
+CoinWeight 0.0
+
+ORPort 9002
+OPPort 9012
+APPort 9022
+
+# Maximum number of connections.
+MaxConn 100
+
+# Which traffic shaping policy to use.
+#
+TrafficShaping 1
diff --git a/src/config/moria2-private b/src/config/moria2-private
new file mode 100644
index 0000000000..c96a920a97
--- /dev/null
+++ b/src/config/moria2-private
@@ -0,0 +1,15 @@
+-----BEGIN RSA PRIVATE KEY-----
+MIICXAIBAAKBgQDV/xx0brnc9u+DBUkOJmp1/A4bbCLqIDVMnKPf9Ha/l7H4qExn
+d0YDI2klpQ/O2q5GTuIRwTx3tKvPWd7NVLVLMkP1ZrMUr/YNjgpxf3VNjc+IevgJ
+d4jSRdVJVkeHoqgcd3Y8XSJf7fjYncPvmBnPEKkapINBIUAidn5zrR5/WwIDAP//
+AoGAfSHuFF8HGySbR3bxo7DINw9+izVxS9nrJFxICu8sEsnVQZwicS5mZaItUMlq
+HL1pXtPk8oixVSxBFrrCi1DQZdvMWpcmtlhfdFfp+DZlJ9nTDpECjhzRcFv6l9FA
+xyRN7GHtherauc7ToNpkY08YOVl215lsS31moUJbNnLpkecCQQDxOh6/oc1WBTlM
+XXKo9yUYcMQauUUHVdeiAxUShwnJ2NXRJpCZHBX9C0jOCxDUIHC73DlazYQocnJN
+9NQn+euvAkEA4xoUd8GKQFBfX34wxWXkSX+hN58mz+8VGqaTUo5UQgHu2VeIq9sq
+xr4M7i5mMVipr0bIg1m8MIfP3Ysqahz2FQJAXv8SOukilZKEMua/nelxNSEdWuNw
+YmPgXl01GZDnG7PPZzxnDbJtGyMcvsB6UQNXaFIRqCO2vuRQh6OBb3+KnwJABOnz
+X1K1Wn2Xrd6e2MQ/Jr5DsUHIzsSRD3auIrVrFCCy1bK0jbx5t2qQHi9rMXiGlGty
+fhoNJnH2t1fcMMv1NwJBAM7e/cUAcKhaVWg+iuTL36xmHec99Tnw04yHOwGxw0l8
+BwO/vtDIX+gx6MIKYe+i4uNSVIt6Ww049eki5a56Xp8=
+-----END RSA PRIVATE KEY-----
diff --git a/src/config/moria2-public b/src/config/moria2-public
new file mode 100644
index 0000000000..b64fd638db
--- /dev/null
+++ b/src/config/moria2-public
@@ -0,0 +1,5 @@
+-----BEGIN RSA PUBLIC KEY-----
+MIGJAoGBANX/HHRuudz274MFSQ4manX8DhtsIuogNUyco9/0dr+XsfioTGd3RgMj
+aSWlD87arkZO4hHBPHe0q89Z3s1UtUsyQ/VmsxSv9g2OCnF/dU2Nz4h6+Al3iNJF
+1UlWR4eiqBx3djxdIl/t+Nidw++YGc8QqRqkg0EhQCJ2fnOtHn9bAgMA//8=
+-----END RSA PUBLIC KEY-----
diff --git a/src/config/moria3-orrc b/src/config/moria3-orrc
new file mode 100644
index 0000000000..34ad9461f9
--- /dev/null
+++ b/src/config/moria3-orrc
@@ -0,0 +1,20 @@
+# Configuration file for or
+
+# List of routers
+RouterFile ../config/routers.or
+
+# Private key
+PrivateKeyFile moria3-private
+
+CoinWeight 0.0
+
+ORPort 9003
+OPPort 9013
+APPort 9023
+
+# Maximum number of connections.
+MaxConn 100
+
+# Which traffic shaping policy to use.
+#
+TrafficShaping 1
diff --git a/src/config/moria3-private b/src/config/moria3-private
new file mode 100644
index 0000000000..58100cfa0e
--- /dev/null
+++ b/src/config/moria3-private
@@ -0,0 +1,15 @@
+-----BEGIN RSA PRIVATE KEY-----
+MIICWwIBAAKBgQCX5DVgmjZGCEcHx09OigVOnc/FtcQ6VuXsxicADqMQl9/2TaFI
+nG/9VaAdzs1ulcViIobd3Wv9ytMsIgTjgnH+gWmyqDHYj6R+zSHrul0ZgWCtrqlt
+d4AYIcSW0AW+fDcfBa9OV5Lyxuovr0w2NzGTltxNvw8Env4xc7h0g+W95wIDAP//
+AoGAcUkHEFlT/8NALQ9VN1qrm/PS37mWWVEUwJHxvD6m4JEF/AqV6muG+aoMGwdN
+wl26GhD2QwLdA59+6pMx1Jgod+D9aM1F8zE3h0GnoncsJhtZn1aks0tmE7UNZLou
+Nsb+hnZD/lDN8WbZoLoKHJV1TXIaQ79VlIzt46gILyN7Ol8CQQDFeZEOnXmddgnY
+hXmfUujZbNs9Fa2M2GfnCxZuwn/lU7NebYcpkCoXp1ro+O1slOSYymdbAC8Di6H6
+I8YsYiPPAkEAxOg5O3yPviEPHcav+UfEntd3U4Rebpry+KunuFriMf5wQNWSBmgY
+d+jfOgaNOntfeNqywPDxU9/3+S9prneSaQJAdeBRTUme1HM8vcIR5gL0TlS/hkrJ
+3b8+bHDTubrE8FkRhyvp/OIxckXwksbBBzQ7U8sM0qeDt6J9tvw3k8+8bQJAXSMM
+JRUhulmxVhDOUMCo2qJYjRNLFa/T2D5ZROYRnyMuD3iT2CeYqmAJ5aX69sJNfKE9
+6cxgkcKjNroJwJVDDwJAbXjnN3MUSKITvlcVpBTlGozwOVjiPJ+1sbgBy4HzcffG
+UMHFK4hprBdtnV/kePtErGM3zlk+qh4VkUrp3MshEQ==
+-----END RSA PRIVATE KEY-----
diff --git a/src/config/moria3-public b/src/config/moria3-public
new file mode 100644
index 0000000000..e8e29e7f2f
--- /dev/null
+++ b/src/config/moria3-public
@@ -0,0 +1,5 @@
+-----BEGIN RSA PUBLIC KEY-----
+MIGJAoGBAJfkNWCaNkYIRwfHT06KBU6dz8W1xDpW5ezGJwAOoxCX3/ZNoUicb/1V
+oB3OzW6VxWIiht3da/3K0ywiBOOCcf6BabKoMdiPpH7NIeu6XRmBYK2uqW13gBgh
+xJbQBb58Nx8Fr05XkvLG6i+vTDY3MZOW3E2/DwSe/jFzuHSD5b3nAgMA//8=
+-----END RSA PUBLIC KEY-----
diff --git a/src/config/routers.or b/src/config/routers.or
new file mode 100644
index 0000000000..8a0ca92807
--- /dev/null
+++ b/src/config/routers.or
@@ -0,0 +1,28 @@
+# List of core onion routers in the network.
+# Line format : router-address router-port min-bandwidth(kilobytes/s) max-bandwidthkilobytes/s)
+# followed by the routers public key.
+# router-port is where the router is accepting connections from other routers.
+
+# Router 1
+moria 9001 10 10
+-----BEGIN RSA PUBLIC KEY-----
+MIGJAoGBAMBBuk1sYxEg5jLAJy86U3GGJ7EGMSV7yoA6mmcsEVU3pwTUrpbpCmwS
+7BvovoY3z4zk63NZVBErgKQUDkn3pp8n83xZgEf4GI27gdWIIwaBjEimuJlEY+7K
+nZ7kVMRoiXCbjL6VAtNa4Zy1Af/GOm0iCIDpholeujQ95xew7rQnAgMA//8=
+-----END RSA PUBLIC KEY-----
+
+# Router 2
+moria 9002 10 10
+-----BEGIN RSA PUBLIC KEY-----
+MIGJAoGBANX/HHRuudz274MFSQ4manX8DhtsIuogNUyco9/0dr+XsfioTGd3RgMj
+aSWlD87arkZO4hHBPHe0q89Z3s1UtUsyQ/VmsxSv9g2OCnF/dU2Nz4h6+Al3iNJF
+1UlWR4eiqBx3djxdIl/t+Nidw++YGc8QqRqkg0EhQCJ2fnOtHn9bAgMA//8=
+-----END RSA PUBLIC KEY-----
+
+# Router 3
+moria 9003 10 10
+-----BEGIN RSA PUBLIC KEY-----
+MIGJAoGBAJfkNWCaNkYIRwfHT06KBU6dz8W1xDpW5ezGJwAOoxCX3/ZNoUicb/1V
+oB3OzW6VxWIiht3da/3K0ywiBOOCcf6BabKoMdiPpH7NIeu6XRmBYK2uqW13gBgh
+xJbQBb58Nx8Fr05XkvLG6i+vTDY3MZOW3E2/DwSe/jFzuHSD5b3nAgMA//8=
+-----END RSA PUBLIC KEY-----
diff --git a/src/config/smtpaprc b/src/config/smtpaprc
new file mode 100644
index 0000000000..3102fd0e20
--- /dev/null
+++ b/src/config/smtpaprc
@@ -0,0 +1,13 @@
+# Sample configuration file for smtpap.
+
+# Local port on which the onion proxy is running.
+OnionProxy 3000
+
+# Maximum number of incoming connections.
+MaxConn 100
+
+# Run in anonymizing mode.
+Anonimize 0
+
+# Timeout for incoming connections.
+ConnTimeout 6000