Mercurial > hg > anonet-resdb
annotate contrib/peer2anonet/README @ 777:b13bf8dc2c0c draft
updated peer2anonet stuff
author | d3v11 <d3v11@d3v11.ano> |
---|---|
date | Sat, 26 Nov 2011 00:27:46 +0000 |
parents | cc3ed3f29ec7 |
children | 150043713880 |
rev | line source |
---|---|
535
5965e074d13a
added peer2anonet: autoconfig tool for easily setting up peering and bgp on anonet using quicktun, bird, and daemontools
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff
changeset
|
1 DESCRIPTION: |
5965e074d13a
added peer2anonet: autoconfig tool for easily setting up peering and bgp on anonet using quicktun, bird, and daemontools
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff
changeset
|
2 peer2anonet is an autoconfiguration utility to easily establish a |
771 | 3 peering session with BGP on AnoNet2. |
535
5965e074d13a
added peer2anonet: autoconfig tool for easily setting up peering and bgp on anonet using quicktun, bird, and daemontools
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff
changeset
|
4 |
5965e074d13a
added peer2anonet: autoconfig tool for easily setting up peering and bgp on anonet using quicktun, bird, and daemontools
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff
changeset
|
5 DEPENDS ON: |
5965e074d13a
added peer2anonet: autoconfig tool for easily setting up peering and bgp on anonet using quicktun, bird, and daemontools
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff
changeset
|
6 quicktun, bird, daemontools(non-deb), bash |
5965e074d13a
added peer2anonet: autoconfig tool for easily setting up peering and bgp on anonet using quicktun, bird, and daemontools
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff
changeset
|
7 |
771 | 8 USAGE: |
535
5965e074d13a
added peer2anonet: autoconfig tool for easily setting up peering and bgp on anonet using quicktun, bird, and daemontools
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff
changeset
|
9 |
774 | 10 --configure generate a new local configuration and exit |
535
5965e074d13a
added peer2anonet: autoconfig tool for easily setting up peering and bgp on anonet using quicktun, bird, and daemontools
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff
changeset
|
11 |
774 | 12 --update regenerate peer configurations |
535
5965e074d13a
added peer2anonet: autoconfig tool for easily setting up peering and bgp on anonet using quicktun, bird, and daemontools
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff
changeset
|
13 |
774 | 14 --configure-peer generate a new peer configuration and update |
537
8e8a01a680b4
peer2anonet changes made:
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
535
diff
changeset
|
15 |
774 | 16 --rm-peer remove a peer configuration and update |
17 | |
18 --install-daemontools installs daemontools | |
547
76d0f12e2125
peer2anonet: made security enhancements for input data
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
545
diff
changeset
|
19 |
776 | 20 --install-ucspi-tcp installs ucspi-tcp |
21 | |
22 --install-djbdns installs djbdns | |
23 | |
772 | 24 NOTES: |
25 | |
777 | 26 KEY PAIRS: |
27 | |
28 before running peer2anonet to configure peers you can use | |
29 quicktun to generate keypairs: | |
30 | |
31 quicktun.keypair</dev/random | |
32 | |
33 RUN CHANGES: | |
34 | |
35 peer2anonet exports the /service/$PEER/run file to | |
36 /etc/peer2anonet/peers/$PEER/run. If you need to | |
37 create customizations for peerings then make adjustments | |
38 to that file. | |
39 | |
40 EXAMPLES: | |
41 | |
42 ./peer2anonet --configure | |
43 | |
44 Enter your AnoNet subnet: 1.2.3.0 | |
45 Enter your AnoNet router: 1.2.3.1 | |
46 Enter your peering ip: 1.2.3.4 | |
47 Enter your AnoNet asn: 1234 | |
48 | |
49 | |
50 ./peer2anonet --configure-peer | |
51 | |
52 Enter your peer's name: d3v11 | |
53 Enter your peer's remote ip: 11.11.55.1 | |
54 Enter your peer's peering ip: 1.1.5.2 | |
55 Enter your peer's remote port: 201150 | |
56 Enter your peer's asn: 1150 | |
57 Enter your peer's public key: * see keypairs above * | |
58 Enter your private key: * see keypairs above * | |
59 | |
60 # peer2anonet uses the following for port configurations: | |
61 LOCAL_PORT=20${PEERASN:0:4} | |
771 | 62 |
539 | 63 |
64 | |
535
5965e074d13a
added peer2anonet: autoconfig tool for easily setting up peering and bgp on anonet using quicktun, bird, and daemontools
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff
changeset
|
65 |