example_extrainfo.inc 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192
  1. static const char EX_EI_MINIMAL[] =
  2. "extra-info bob 3E1B2DC141F2B7C6A0F3C4ED9A14A9C35762E24B\n"
  3. "published 2014-10-05 20:07:00\n"
  4. "router-signature\n"
  5. "-----BEGIN SIGNATURE-----\n"
  6. "K5GAkVjpUlofL78NIOE1VDxFn8yYbHK50rVuZG2HxqG/727bon+uMprv4MHjfDcP\n"
  7. "V3l9u1uUdGiUPOl8j+hRNw4z/ODeCj/24r2+L32MTjyfUhK49Ld2IlK9iZKlgKYi\n"
  8. "zyoatxdAjU8Xc5WPX692HO4/R9CGLsUfYcEEFU2R3EA=\n"
  9. "-----END SIGNATURE-----\n"
  10. ;
  11. static const char EX_EI_MINIMAL_FP[] = "3E1B2DC141F2B7C6A0F3C4ED9A14A9C35762E24B";
  12. static const char EX_EI_MINIMAL_KEY[] =
  13. "-----BEGIN RSA PUBLIC KEY-----\n"
  14. "MIGJAoGBALSppIF3t3wOAm4fzxRvK+q/wh1gGAWwS0JEn8d+c/x+rt1oQabGkqsB\n"
  15. "GU6rz1z1AN02W0P2+EcyJQVBjGR3gHQNoDGx0KIdnr3caGAw3XmQXrJLPaViEk28\n"
  16. "RJMxx6umpP27YKSyEMHgVTDXblKImT0mE7fVOx8tD0EWRYazmp4NAgMBAAE=\n"
  17. "-----END RSA PUBLIC KEY-----\n";
  18. static const char EX_EI_MAXIMAL[] =
  19. "extra-info bob FF8248FE780A7236D3FA5D62DEA642055135F942\n"
  20. "published 2014-10-05 20:07:00\n"
  21. "opt foobarbaz\n"
  22. "read-history 900 1,2,3\n"
  23. "write-history 900 1,2,3\n"
  24. "dirreq-v2-ips 1\n"
  25. "dirreq-v3-ips 100\n"
  26. "dirreq-v3-reqs blahblah\n"
  27. "dirreq-v2-share blahblah\n"
  28. "dirreq-v3-share blahblah\n"
  29. "dirreq-v2-resp djfkdj\n"
  30. "dirreq-v3-resp djfkdj\n"
  31. "dirreq-v2-direct-dl djfkdj\n"
  32. "dirreq-v3-direct-dl djfkdj\n"
  33. "dirreq-v2-tunneled-dl djfkdj\n"
  34. "dirreq-v3-tunneled-dl djfkdj\n"
  35. "dirreq-stats-end foobar\n"
  36. "entry-ips jfsdfds\n"
  37. "entry-stats-end ksdflkjfdkf\n"
  38. "cell-stats-end FOO\n"
  39. "cell-processed-cells FOO\n"
  40. "cell-queued-cells FOO\n"
  41. "cell-time-in-queue FOO\n"
  42. "cell-circuits-per-decile FOO\n"
  43. "exit-stats-end FOO\n"
  44. "exit-kibibytes-written FOO\n"
  45. "exit-kibibytes-read FOO\n"
  46. "exit-streams-opened FOO\n"
  47. "router-signature\n"
  48. "-----BEGIN SIGNATURE-----\n"
  49. "ZO79bLlWVNIruCnWW9duDcOKydPWbL5DfrpUv5IRLF4MMFoacMUdJPDUs9e+wY2C\n"
  50. "zndHe6i2JK7yKJj+uCOSC8cx61OLG+kVxMLJ/qhA4H5thrYb+GpzMKwbHzQc3PTH\n"
  51. "zHRzj041iWXTL7/DMaQlpJOBoac/wTSIKzoV2B00jBw=\n"
  52. "-----END SIGNATURE-----\n"
  53. ;
  54. static const char EX_EI_MAXIMAL_FP[] = "FF8248FE780A7236D3FA5D62DEA642055135F942";
  55. static const char EX_EI_MAXIMAL_KEY[] =
  56. "-----BEGIN RSA PUBLIC KEY-----\n"
  57. "MIGJAoGBANSpkYhHUW1EqodY4d3JRbvEM1vjjR/vEE8gjONiJ5t2Sten53jzt8bh\n"
  58. "8/VJn7pQGs8zR5CIxCw4P68xMtZJJedS3hhjqubheOE/yW1DtpkiCf+zVEaLpeA8\n"
  59. "fYQChkRICnR/BZd4W9bbohLVII5ym2PaJt2ihB3FeVZIsGXm4wxhAgMBAAE=\n"
  60. "-----END RSA PUBLIC KEY-----\n";
  61. static const char EX_EI_BAD_SIG1[] =
  62. "extra-info bob 3E1B2DC141F2B7C6A0F3C4ED9A14A9C35762E24B\n"
  63. "published 2014-10-05 20:07:00\n"
  64. "router-signature\n"
  65. "-----BEGIN SIGNATURE-----\n"
  66. "K5GAkVjpUlofL78NIOE1VDxFn8yYbHK50rVuZG2HxqG/727bon+uMprv4MHjfDcP\n"
  67. "V3l9u1uUdGiUPOl8j+hXXw4z/ODeCj/24r2+L32MTjyfUhK49Ld2IlK9iZKlgKYi\n"
  68. "zyoatxdAjU8Xc5WPX692HO4/R9CGLsUfYcEEFU2R3EA=\n"
  69. "-----END SIGNATURE-----\n"
  70. ;
  71. static const char EX_EI_BAD_SIG2[] =
  72. "extra-info bob 3E1B2DC141F2B7C6A0F3C4ED9A14A9C35762E24B\n"
  73. "published 2014-10-06 20:07:00\n"
  74. "router-signature\n"
  75. "-----BEGIN SIGNATURE-----\n"
  76. "K5GAkVjpUlofL78NIOE1VDxFn8yYbHK50rVuZG2HxqG/727bon+uMprv4MHjfDcP\n"
  77. "V3l9u1uUdGiUPOl8j+hRNw4z/ODeCj/24r2+L32MTjyfUhK49Ld2IlK9iZKlgKYi\n"
  78. "zyoatxdAjU8Xc5WPX692HO4/R9CGLsUfYcEEFU2R3EA=\n"
  79. "-----END SIGNATURE-----\n"
  80. ;
  81. static const char EX_EI_BAD_SIG3[] =
  82. "extra-info bob 3E1B2DC141F2B7C6A0F3C4ED9A14A9C35762E24B\n"
  83. "published 2014-10-05 20:07:00\n"
  84. "router-signature\n"
  85. "-----BEGIN SIGNATURE-----\n"
  86. "K5GAkVjpUlofL78NIOE1VDxFn8yYbHK50rVuZG2HxqG/727bon+uMprv4MHjfDcP\n"
  87. "V3l9u1uUdGiUPOl8j+hRNw4z/ODeCj/24r2+L32MTjyfUhK49Ld2IlK9iZKlgKYi\n"
  88. "zyoatxdAjU8Xc5WPX692HO4/R9CGLsUfYcEEFU2=\n"
  89. "-----END SIGNATURE-----\n"
  90. ;
  91. static const char EX_EI_BAD_FP[] =
  92. "extra-info bob C34293303F0F1E42CB14E593717B834E8E53797D8888\n"
  93. "published 2014-10-05 20:07:00\n"
  94. "router-signature\n"
  95. "-----BEGIN SIGNATURE-----\n"
  96. "IDA8ryUYeMx7+Au/xQmX7Y8fXksoHUOXmePND2JYM4rPfishQJ1LpQ15KrolOZDH\n"
  97. "FVIk3RmCefNlJeS1/UgWPcU8u2nGw1YQuRBHF4ViTmZ0OevI1pTsSApl4+oIx2dy\n"
  98. "DGgCQmKfMbaOixIK8Ioh1Z2NUfMkjbUUE2WWgFTAsac=\n"
  99. "-----END SIGNATURE-----\n"
  100. ;
  101. static const char EX_EI_BAD_FP_FP[] = "C34293303F0F1E42CB14E593717B834E8E53797D";
  102. static const char EX_EI_BAD_FP_KEY[] =
  103. "-----BEGIN RSA PUBLIC KEY-----\n"
  104. "MIGJAoGBAKXMSbif4fG+BW/5lIq5V1tMRondIUfKiNizp0E6EcBw5LvYfQV6zrj8\n"
  105. "HmMFbB/WGf9XGVMxIBzxzeQBRvCQJh+0QH7+ju5/isIHJZsACMILepr6ywmCcjVU\n"
  106. "iYRtC8zGQLqfkf2cNoo7AhcI5i/YzyW2u1zmbPX5J+8sUErfxydbAgMBAAE=\n"
  107. "-----END RSA PUBLIC KEY-----\n";
  108. static const char EX_EI_BAD_NICKNAME[] =
  109. "extra-info bobhasaverylongnameandidontthinkweshouldlethim A4EA2389A52459B3F7C7121A46012F098BDFC2A4\n"
  110. "published 2014-10-05 20:07:00\n"
  111. "router-signature\n"
  112. "-----BEGIN SIGNATURE-----\n"
  113. "e2wLJFThRMGawxKrQPuH2XCLek/LJsg4XOB8waAjE0xdHOrzjur9x1jIxy7DVU6t\n"
  114. "z1edbIoL24qucMJvFy2xjSQhFRX4OsyNc0nWr3LfJnTW9aEmxuwXM+mltUD2uFN1\n"
  115. "2vYOIQjUmJwS2yfeSKnhXEl2PWVUmgzYL3r4S5kHco4=\n"
  116. "-----END SIGNATURE-----\n"
  117. ;
  118. static const char EX_EI_BAD_NICKNAME_FP[] = "A4EA2389A52459B3F7C7121A46012F098BDFC2A4";
  119. static const char EX_EI_BAD_NICKNAME_KEY[] =
  120. "-----BEGIN RSA PUBLIC KEY-----\n"
  121. "MIGJAoGBAKfq7oxD1kMu1+zeG2UVXN4vOu6FDp0V/olA3ttmXpUCgCiBxWTgtwNl\n"
  122. "nPf0HcKMaCp/0D9XrbhvIoOsg0OTf1TcJfGsA/zPG7jrWYa4xhD50KYvty9EINK9\n"
  123. "/UBWNSyXCFDMqnddb/LZ8+VgttmxfYkpeRzSSmDijN3RbOvYJhhBAgMBAAE=\n"
  124. "-----END RSA PUBLIC KEY-----\n";
  125. const char EX_EI_BAD_TOKENS[] =
  126. "extra-info bob 6F314FB01A31162BD5E473D4977AC570DC5B86BB\n"
  127. "published 2014-10-05 20:07:00\n"
  128. "published 2014-10-05 20:07:00\n"
  129. "router-signature\n"
  130. "-----BEGIN SIGNATURE-----\n"
  131. "lhRIafrkKoQmnUoBLiq4XC8XKXrleGJZ5vefkLcgjOJ5IffsvVdIA7Vqq/ISbPrG\n"
  132. "b/Zs0sJNL6naHPxJBglgHJqksSyiYHaeOetXg2Rb+vZ1v2S5BrVgk1nPMDhyIzqc\n"
  133. "zU7eCxFf/1sXKtWlEKxGdX4LmVfnIln5aI31Bc4xRrE=\n"
  134. "-----END SIGNATURE-----\n"
  135. ;
  136. const char EX_EI_BAD_TOKENS_FP[] = "6F314FB01A31162BD5E473D4977AC570DC5B86BB";
  137. const char EX_EI_BAD_TOKENS_KEY[] =
  138. "-----BEGIN RSA PUBLIC KEY-----\n"
  139. "MIGJAoGBAL7Z8tz45Tb4tnEFS2sAyjubBV/giSfZdmXRkDV8Jo4xqWqhWFJn7+zN\n"
  140. "AXBWBThGeVH2WXrpz5seNJXgZJPxMTMsrnSCGcRXZw0Npti2MkLuQ6+prZa+OPwE\n"
  141. "OyC6jivtAaY/o9iYQjDC2avLXD3N4LvoygyF418KnNcjbzuFygffAgMBAAE=\n"
  142. "-----END RSA PUBLIC KEY-----\n";
  143. static const char EX_EI_BAD_START[] =
  144. "published 2014-10-05 20:07:00\n"
  145. "extra-info bob 5CCCACE71A9BDB5E8E0C942AB3407452350434C0\n"
  146. "router-signature\n"
  147. "-----BEGIN SIGNATURE-----\n"
  148. "BOiWgexqCAMZ8uyJ7jwBwRkz7Ox8cT4BImkmkV3bQiZgcWvPiYA3EnCm2ye48Ldg\n"
  149. "zBST2p6zJM5o4MEDYGMxfViS86Abj/z7DOY1gtLhjmAaVjIIpXc3koxEZtzCecqy\n"
  150. "JQz6xEg9/KoEuoT0DRrfYQ+KtQfzBDWrotfOvEa1rvc=\n"
  151. "-----END SIGNATURE-----\n"
  152. ;
  153. static const char EX_EI_BAD_START_FP[] = "5CCCACE71A9BDB5E8E0C942AB3407452350434C0";
  154. static const char EX_EI_BAD_START_KEY[] =
  155. "-----BEGIN RSA PUBLIC KEY-----\n"
  156. "MIGJAoGBAK2OCIfM6Cin/lq99Z3w9tl6HeyGlkBZu9MQEPHxqGIHTq78lIC1UkrC\n"
  157. "6NTqlrHBV9dmfzdwJn4GgMWsCZafL0FPIH3HNyNKUxLgyjixyKljHx2rfErSfOxI\n"
  158. "bMoOGBKv7m1EZZ0O5uG9ly9MBiNGdJyLdlnVvH7wSCnYciizpO4lAgMBAAE=\n"
  159. "-----END RSA PUBLIC KEY-----\n";
  160. static const char EX_EI_BAD_PUBLISHED[] =
  161. "extra-info bob E67C477E3536BDE348BD407426D9679E5AE0BC16\n"
  162. "published 2014-99-05 20:07:00\n"
  163. "router-signature\n"
  164. "-----BEGIN SIGNATURE-----\n"
  165. "l45IziBaXRKIjPAIUogMFNjQgH6k6Vm0+6r5+oByr4sP+B3ufNdUA6+WqBs43F0Z\n"
  166. "IqcJiT9nFn0DuNd/liOyOCixppDLx5h5NrhoGqcT3ySADEEXhzjlmc35TI3YBNVO\n"
  167. "v98fotmwIEg9YRWVGPg6XuIn2PRyiboFyjUpaYGCV0Q=\n"
  168. "-----END SIGNATURE-----\n"
  169. ;
  170. static const char EX_EI_BAD_PUBLISHED_FP[] = "E67C477E3536BDE348BD407426D9679E5AE0BC16";
  171. static const char EX_EI_BAD_PUBLISHED_KEY[] =
  172. "-----BEGIN RSA PUBLIC KEY-----\n"
  173. "MIGJAoGBAL7q8GEI18iv8Fo0QbNHmFatQ2FNacalPldpmKUdMJYEVZtdOR0nhcrY\n"
  174. "BvG6303md3INygg+KP49RvWEJR/cU4RZ9QfHpORxH2OocMyRedw2rLex2E7jNNSi\n"
  175. "52yd1sHFYI8ZQ4aff+ZHUjJUGKRyqpbc8okVbq/Rl7vug0dd12eHAgMBAAE=\n"
  176. "-----END RSA PUBLIC KEY-----\n";