summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--contrib/peer2anonet/README23
-rw-r--r--contrib/peer2anonet/peer2anonet18
-rw-r--r--db/as/4400/owner1
-rw-r--r--db/dom/ano/d3v11/ns/a.ns.d3v11.ano1
-rw-r--r--db/dom/ano/d3v1150m471c/ns/uz5dvkq2xshp85cs9wk6n1n0twt6b3cxuung8j0sztt92cxykuc9ql.ns.somerandomnick.ano0
-rw-r--r--db/dom/ano/d3v1150m471c/ns/uz5z6spsd4jsd2k984wuzknr13gwjc630gmvtcv4bmpsrb04c179h1.ns.somerandomnick.ano0
-rw-r--r--db/ip/01/2C/00/cidr1
-rw-r--r--db/ip/01/2C/00/owner1
-rw-r--r--db/usr/d3v11/git1
-rw-r--r--db/usr/d3v1150m471c/git2
-rw-r--r--db/usr/md/git1
-rw-r--r--doc/www.anonet2.org/public_pod/links.pod4
12 files changed, 30 insertions, 23 deletions
diff --git a/contrib/peer2anonet/README b/contrib/peer2anonet/README
index ba01657..4c977b0 100644
--- a/contrib/peer2anonet/README
+++ b/contrib/peer2anonet/README
@@ -16,7 +16,7 @@ SYNOPSIS:
nc -l 1337 | peer2anonet
# Send a netcat pipe:
- nc 192.168.1.0 1337 < autoconfig.txt
+ nc 1337 192.168.1.0 < autoconfig.txt
DESCRIPTION:
peer2anonet is an autoconfiguration utility to easily establish a
@@ -73,23 +73,14 @@ USAGE:
anon <--your peer's alias
11.22.33.44 <--your peer's remote ip
3.5.7.9 <--your peer's anonet ip
+3571 <--your peer's client port
3570 <--your peer's asn
3c6e0b8a9c15224a8228b9a98ca1531d <--your peer's public key
================== Not Actual Line on File ============================
At your discretion, you may exclude the public key from the
bottom of an autoconfig file and post installation of your new
- peer service, peer2anonet will prompt for it. PLEASE NOTE:
- peer2anonet will set client ports for peering as:
-
- #REMOTE:
- 2<last four of your asn>.
-
- #LOCAL:
- 2<last four of your peer's asn>.
-
- If you need to change the ports, go to:
- /services/$PEERNAME/run and change the values.
+ peer service, peer2anonet will prompt for it.
CHANGES:
@@ -141,10 +132,10 @@ CHANGES:
data pertaining to his/her system in order for you to
configure a new peering session, or vice versa.
- Thu Jul 14 09:09:07 CDT 2011 - d3v1150m471c
- * client local/remote ports simplified using peers' asn's.
- see above for details.
-
+ Sun Jul 17 22:21:05 CDT 2011 - d3v11
+ * fixed bird.conf bug
+ * fixed bird protocol bug
+ * patched security for-loops
diff --git a/contrib/peer2anonet/peer2anonet b/contrib/peer2anonet/peer2anonet
index e01c8ad..d373d9b 100644
--- a/contrib/peer2anonet/peer2anonet
+++ b/contrib/peer2anonet/peer2anonet
@@ -21,12 +21,14 @@ mkdir -p /service
read -p "Enter your peer's name/interface: " PEERNAME
read -p "Enter your peer's remote ip: " REMOTEIP
read -p "Enter your peer's anonet ip: " PEERIP
+read -p "Enter your peer's remote port: " PEERPORT
read -p "Enter your peer's asn: " PEERASN
read -p "Enter your peer's public key: " PUBKEY
#########################################################################
# Do some security checks on variables:
TEST[0]=$PEERNAME; TEST[1]=$REMOTEIP; TEST[2]=$PEERIP
+ TEST[3]=$PEERPORT; TEST[4]=$PEERASN
for((X=0;X<=2;X++)); do
if [[ $(echo ${TEST[$X]} | tr -d 'a-zA-Z0-9._-' | wc -c) -gt 1 ]]; then
@@ -37,11 +39,13 @@ echo ${TEST[$X]} | tr -d 'a-zA-Z0-9' | wc -c
fi
done
-if [[ $(echo "$PEERASN" | tr -d '0-9' | wc -c) -gt 1 ]]; then
- echo "peer2anonet: fatal error: unacceptable data: "$PEERASN"
+for((X=3;X<=4;X++)); do
+if [[ $(echo ${TEST[$X]} | tr -d '0-9' | wc -c) -gt 1 ]]; then
+ echo "peer2anonet: fatal error: unacceptable data: ${TEST[$X]}
"
exit 1
fi
+done
if [[ $(echo "$PUBKEY" | tr -d 'a-zA-Z0-9' | wc -c) -gt 1 ]]; then
echo "peer2anonet: fatal error: unacceptable data: ${TEST[$X]}
@@ -50,11 +54,11 @@ if [[ $(echo "$PUBKEY" | tr -d 'a-zA-Z0-9' | wc -c) -gt 1 ]]; then
fi
ADDPORT="2$(($PEERASN % 10000))"
-REM_PORT="2$(($P2A_ASN % 10000))"
+
#########################################################################
# We need to check if base files need to be imported to services for bird:
NEW_PROTOCOL="
-protocol bgp $PEERNAME\_bgp { table AnoNet_routes;
+protocol bgp $PEERNAME { table AnoNet_routes;
local as $P2A_ASN;
neighbor $PEERIP as $PEERASN;
source address $P2A_IP;
@@ -96,7 +100,7 @@ protocol pipe pipe_AnoNet_routes { peer table AnoNet_routes; mode transparent;
};
protocol static static_AnoNet_routes { table AnoNet_routes;
- route $P2A_ROUTE/24 drop;
+ route $P2A_NET/24 drop;
}
protocol kernel {
@@ -120,6 +124,8 @@ test -e /services/bird/bird.conf || echo "$BIRD_CONF" > /services/bird/bird.conf
test -e /services/bird/run || echo "$BIRD_RUN" > /services/bird/run
chmod +x /services/bird/run
echo "$NEW_PROTOCOL" >> /services/bird/bird.conf
+test -L /services/bird && rm -r /service/bird
+ln -s /servicess/bird /service/
#########################################################################
# We need to check if this peering session already exists:
@@ -131,7 +137,7 @@ mkdir -p /services/"$PEERNAME"
# Create files to configure the new peering session:
echo "#!/bin/sh
export REMOTE_ADDRESS=$REMOTEIP
-export REMOTE_PORT=$REM_PORT
+export REMOTE_PORT=$PEERPORT
export LOCAL_PORT=$ADDPORT
export PRIVATE_KEY=\"\$(cat seckey)\"
export PUBLIC_KEY=$PUBKEY
diff --git a/db/as/4400/owner b/db/as/4400/owner
new file mode 100644
index 0000000..5e8fb3b
--- /dev/null
+++ b/db/as/4400/owner
@@ -0,0 +1 @@
+md
diff --git a/db/dom/ano/d3v11/ns/a.ns.d3v11.ano b/db/dom/ano/d3v11/ns/a.ns.d3v11.ano
new file mode 100644
index 0000000..6873492
--- /dev/null
+++ b/db/dom/ano/d3v11/ns/a.ns.d3v11.ano
@@ -0,0 +1 @@
+1.1.5.153
diff --git a/db/dom/ano/d3v1150m471c/ns/uz5dvkq2xshp85cs9wk6n1n0twt6b3cxuung8j0sztt92cxykuc9ql.ns.somerandomnick.ano b/db/dom/ano/d3v1150m471c/ns/uz5dvkq2xshp85cs9wk6n1n0twt6b3cxuung8j0sztt92cxykuc9ql.ns.somerandomnick.ano
deleted file mode 100644
index e69de29..0000000
--- a/db/dom/ano/d3v1150m471c/ns/uz5dvkq2xshp85cs9wk6n1n0twt6b3cxuung8j0sztt92cxykuc9ql.ns.somerandomnick.ano
+++ /dev/null
diff --git a/db/dom/ano/d3v1150m471c/ns/uz5z6spsd4jsd2k984wuzknr13gwjc630gmvtcv4bmpsrb04c179h1.ns.somerandomnick.ano b/db/dom/ano/d3v1150m471c/ns/uz5z6spsd4jsd2k984wuzknr13gwjc630gmvtcv4bmpsrb04c179h1.ns.somerandomnick.ano
deleted file mode 100644
index e69de29..0000000
--- a/db/dom/ano/d3v1150m471c/ns/uz5z6spsd4jsd2k984wuzknr13gwjc630gmvtcv4bmpsrb04c179h1.ns.somerandomnick.ano
+++ /dev/null
diff --git a/db/ip/01/2C/00/cidr b/db/ip/01/2C/00/cidr
new file mode 100644
index 0000000..abac8d5
--- /dev/null
+++ b/db/ip/01/2C/00/cidr
@@ -0,0 +1 @@
+1.44.0.0/24
diff --git a/db/ip/01/2C/00/owner b/db/ip/01/2C/00/owner
new file mode 100644
index 0000000..5e8fb3b
--- /dev/null
+++ b/db/ip/01/2C/00/owner
@@ -0,0 +1 @@
+md
diff --git a/db/usr/d3v11/git b/db/usr/d3v11/git
new file mode 100644
index 0000000..4d594ae
--- /dev/null
+++ b/db/usr/d3v11/git
@@ -0,0 +1 @@
+git://git.d3v11.ano/
diff --git a/db/usr/d3v1150m471c/git b/db/usr/d3v1150m471c/git
index c59f7e7..4d594ae 100644
--- a/db/usr/d3v1150m471c/git
+++ b/db/usr/d3v1150m471c/git
@@ -1 +1 @@
-git://git.d3v1150m471c.ano/
+git://git.d3v11.ano/
diff --git a/db/usr/md/git b/db/usr/md/git
new file mode 100644
index 0000000..783866c
--- /dev/null
+++ b/db/usr/md/git
@@ -0,0 +1 @@
+git://1.44.0.1/
diff --git a/doc/www.anonet2.org/public_pod/links.pod b/doc/www.anonet2.org/public_pod/links.pod
index b3e4264..65a9df4 100644
--- a/doc/www.anonet2.org/public_pod/links.pod
+++ b/doc/www.anonet2.org/public_pod/links.pod
@@ -4,6 +4,10 @@ Back to homepage - L<http://www.anonet2.org/>
This is a collection of links that you may find interesting:
+20110813 - L<Microsoft bans open source license trio from WinPhone|http://www.theregister.co.uk/2011/02/17/microsoft_bans_opensource_windows_phone/>
+
+20110813 - L<Google lands patent for, um, estimating shipment time|http://www.theregister.co.uk/2011/08/12/google_customer_notification_patent/>
+
20110729 - L<UK Cops 'duped' into arresting wrong LulzSec suspect|http://www.theregister.co.uk/2011/07/28/topiary_arrest_rumor/>
20110729 - L<Pwned HBGary boss cancels public debate after legal threats|http://www.theregister.co.uk/2011/07/28/ex_hbgary_boss_cancels_blackhat_gig/>