804
|
1 <html><body bgcolor="#000000"><font color="white"> |
|
2 <pre> |
|
3 <b>DESCRIPTION:</b> |
|
4 |
884
|
5 peer2anonet is an autoconfiguration utility for |
|
6 setting up core services on AnoNet2. Enjoy :-). |
804
|
7 |
|
8 <b>DEPENDS ON:</b> |
|
9 |
884
|
10 quicktun, bird, bash for now. it also installs |
|
11 some cool shit that you'll use later. |
804
|
12 |
|
13 <b>AUTHOR:</b> |
|
14 |
|
15 d3v11 from <a href="http://www.d3v11.ano/">www.d3v11.ano</a>, somtimes, maybe, dunno. |
|
16 |
884
|
17 <b>REPORT BULLSHIT TO:</b> |
804
|
18 |
884
|
19 /relayhell/d3v11 |
804
|
20 |
884
|
21 d3v11@d3v11.ano |
804
|
22 |
|
23 <b>USAGE:</b> |
|
24 |
884
|
25 ./contrib/peer2anonet/peer2anonet --help |
|
26 ./contrib/peer2anonet/peer2anonet --rtfm |
804
|
27 |
884
|
28 <b>TORIFY:</b> |
804
|
29 |
884
|
30 --install-* flags should be compatible with Tor: |
804
|
31 |
884
|
32 export http_proxy='http://127.0.0.1:8118/' |
|
33 ./contrib/peer2anonet/peer2anonet --install-* |
804
|
34 |
884
|
35 torify ./contrib/peer2anonet/peer2anonet --install-* |
804
|
36 |
884
|
37 usewithtor ./contrib/peer2anonet/peer2anonet --install-* |
878
|
38 |
884
|
39 <b>CONFIGURE:</b> |
804
|
40 |
884
|
41 I highly recommend that before you use peer2anonet |
|
42 you ./configure resdb with tinydns support. |
804
|
43 |
884
|
44 ./contrib/peer2anonet/peer2anonet --configure |
877
|
45 |
884
|
46 <b>EXAMPLES:</b> |
877
|
47 |
884
|
48 Enter your AnoNet subnet: 1.1.5.0 |
|
49 Enter your AnoNet router: 1.1.5.1 |
|
50 Enter your peering ip: 1.1.5.2 |
|
51 Enter your AnoNet asn: 1150 |
877
|
52 |
884
|
53 <b>CONFIGURE PEER:</b> |
804
|
54 |
884
|
55 ./contrib/peer2anonet/peer2anonet --configure-peer |
804
|
56 |
884
|
57 <b>KEY PAIRS:</b> |
804
|
58 |
884
|
59 before running peer2anonet to configure peers |
|
60 you can use quicktun to generate keypairs: |
804
|
61 |
884
|
62 quicktun.keypair < /dev/random |
|
63 |
|
64 <b>EXAMPLES:</b> |
804
|
65 |
884
|
66 Enter your peer's name: d3v11 |
|
67 Enter your peer's remote ip: 11.11.55.1 |
|
68 Enter your peer's peering ip: 1.1.5.2 |
|
69 Enter your peer's remote port: 21150 |
|
70 Enter your local port: 61150 |
|
71 Enter your peer's asn: 1150 |
|
72 Enter your peer's public key: * see KEY PAIRS above * |
|
73 Enter your private key: * see KEY PAIRS above * |
804
|
74 |
884
|
75 <b>/SERVICE/$PEER/RUN CHANGES:</b> |
804
|
76 |
884
|
77 peer2anonet exports the /service/$PEER/run file to |
|
78 /etc/peer2anonet/peers/$PEER/run. If you need to |
|
79 create customizations for peerings then make |
|
80 adjustments to that file. |
804
|
81 |
884
|
82 <b>CONFIGURATION FILES:</b> |
804
|
83 |
884
|
84 If /etc/peer2anonet/bird.conf exists, then |
|
85 peer2anonet will not create a new bird. Instead |
|
86 it will use this bird.conf and append new protocols |
|
87 to it. |
804
|
88 |
884
|
89 /etc/peer2anonet/peers/$PEER/* contains: |
804
|
90 |
884
|
91 asn local_port peering_ip pubkey |
|
92 remote_ip remote_port run seckey |
804
|
93 |
884
|
94 In the event you want to reconfigure a peer's tunnel |
|
95 you can alter the run file and do `--update', rm run |
|
96 and modify the above files then use `--update', or |
|
97 reconfigure the peering tunnel altogether with |
|
98 --configure-peer and choose that peer's name. If you |
|
99 think this is absurd then you're probably right! I |
|
100 plan on doing something with these files later. |
804
|
101 |
884
|
102 <b>CONFIGURE DNS:</b> |
804
|
103 |
884
|
104 If you did not ./configure resdb with tinydns support |
|
105 then you need to do that before using this function. |
804
|
106 |
884
|
107 also before using you will need to have installed |
|
108 daemontools, djbdns, and ucspi-tcp. peer2anonet |
|
109 can do this for you with --install-* options. |
804
|
110 |
884
|
111 ./contrib/peer2anonet/peer2anonet --configure-dns |
|
112 |
|
113 <b>UPDATE DNS:</b> |
804
|
114 |
884
|
115 After a successful `--configure-dns', you can now |
|
116 enjoy to use `--update-dns' to bring your AnoNet |
|
117 domains up to speed. |
804
|
118 |
884
|
119 <b>COMPLAIN:</b> |
804
|
120 |
884
|
121 If this README doesn't tell you what you need to know |
|
122 you can head over to www.d3v11.ano/peering. If that |
|
123 doesn't get you what you want then either complain to |
|
124 me or shoot both of us in the face. |
804
|
125 |
|
126 </pre></font></body></html> |