Advertisement
thefinn93

Untitled

Jan 23rd, 2012
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.25 KB | None | 0 0
  1. {
  2. // Private key:
  3. // This key corrisponds to the public key: 0tb0qumw3h5dsw8wmdjlv0x632gp6k9lprmt5g7yx8dn18ctf630.k
  4. // And the ipv6 address: fc2a:a7b2:070c:2631:bfe4:0d83:cd93:bfe0
  5. // Your confidentiality and data integrity depend on this key, keep it secret!
  6. //
  7. "privateKey": "------",
  8.  
  9. // Anyone connecting and offering these passwords on connection will be allowed.
  10. //
  11. // WARNING: Currently there is no key derivation done on the password field,
  12. // DO NOT USE A PASSWORD HERE use something which is truely random and
  13. // cannot be guessed.
  14. // Including a username in the beginning of the password string is encouraged
  15. // to aid in remembering which users are who.
  16. //
  17. "authorizedPasswords": [
  18. {
  19. // A unique string which is known to the client and server.
  20. "password": "-------",
  21.  
  22. // the authentication type, currently only 1 is supported.
  23. "authType": 1,
  24.  
  25. // How much anti-flood trust to give a client
  26. // who connects with this password.
  27. "trust": 5000
  28. },
  29. ],
  30.  
  31. // Interfaces to connect to the switch core.
  32. "interfaces":
  33. {
  34. // The interface which connects over UDP/IP based VPN tunnel.
  35. "UDPInterface":
  36. {
  37. // Bind to this port.
  38. "bind": "0.0.0.0:10002",
  39.  
  40. // Nodes to connect to.
  41. "connectTo":
  42. {
  43. "127.0.0.1:10002":
  44. {
  45. // Password to present when connecting.
  46. "password": "----",
  47. // The method of authenticating, only 1 is supported for now.
  48. "authType": 1,
  49. // The public key of the node to connect to.
  50. "publicKey": "y39gwfy5259s8fj4khntfy95bx6wxu5lbm2m132yx0ucrk0ruyx0.k",
  51. // Anti-flood trust level.
  52. "trust": 9000
  53. },
  54. //NODE F50c
  55. "173.255.219.67:10000":
  56. {
  57. "password": "null",
  58. "authType": 1,
  59. "publicKey": "lj52930v1vmg3jqyb399us501svntt499bvgk0c1fud4pmy42gj0.k",
  60. "trust": 9000
  61. }
  62. }
  63. }
  64. },
  65.  
  66. // Configuration for the router.
  67. "router":
  68. {
  69. // The interface which is used for connecting to the cjdns network.
  70. "interface":
  71. {
  72. // The type of interface (only TUNInterface is supported for now)
  73. "type": "TUNInterface",
  74.  
  75. // The name of the TUN device to use.
  76. // This allows you to create a persistent TUN device with the cjdns user
  77. // authorized to use it so that cjdns does not need to run as root.
  78. // If this is commented out, cjdns will try to allocate a TUN on startup.
  79. // If it can't do that (because it's not root?) then it will run as a
  80. // pure router, unable to send or receive traffic.
  81. "tunDevice": "tun0"
  82. }
  83. },
  84.  
  85. "resetAfterInactivitySeconds": 20,
  86.  
  87. // Version of the config file, used internally for migration.
  88. "version": 0
  89. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement