-- Leo's gemini proxy

-- Connecting to git.thebackupbox.net:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

repo: resdb
action: commit
revision:
path_from:
revision_from: 93e8c0914d35aee41cb35998d2a33290653e2675:
path_to:
revision_to:

git.thebackupbox.net

resdb

git://git.thebackupbox.net/resdb

commit 93e8c0914d35aee41cb35998d2a33290653e2675
Author: d3v11 <d3v11@d3v11.ano>
Date:   Sun Oct 9 17:53:29 2011 -0500

    Added "ping hack" to peer2anonet for users with dymanic IcannNet IP's

diff --git a/contrib/peer2anonet/README b/contrib/peer2anonet/README

index b4f7e0c1050dc675e6311cc6c7f0d5f71e8c7397..

index ..04feabbb2c1c74dc6d149302964a16fe5fee8fe0 100644

--- a/contrib/peer2anonet/README
+++ b/contrib/peer2anonet/README
@@ -68,9 +68,9 @@ USAGE:
 ================== Not Actual Line on File ============================
 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
+1.2.3.4       <--your peer's anonet ip
+4321          <--your peer's client port
+1234          <--your peer's asn
 3c6e0b8a9c15224a8228b9a98ca1531d <--your peer's public key
 ================== Not Actual Line on File ============================

diff --git a/contrib/peer2anonet/configure b/contrib/peer2anonet/configure

index 25aae90ea8076aec340cbdaf8f4a180c5db6bc17..

index ..d9a574db24430e1b8ea70c402237c6740e9311f3 100755

--- a/contrib/peer2anonet/configure
+++ b/contrib/peer2anonet/configure
@@ -4,6 +4,8 @@ read -p "Enter your anonet router: " P2A_ROUTE
 read -p "Enter your anonet asn: " P2A_ASN
 read -p "Enter your anonet ip: " P2A_IP

+echo '' >/etc/peer2anonet/p2a.conf
+
 echo "P2A_NET=\"$P2A_NET\"" >>/etc/peer2anonet/p2a.conf
 echo "P2A_ROUTE=\"$P2A_ROUTE\"" >>/etc/peer2anonet/p2a.conf
 echo "P2A_ASN=\"$P2A_ASN\"" >>/etc/peer2anonet/p2a.conf
diff --git a/contrib/peer2anonet/peer2anonet b/contrib/peer2anonet/peer2anonet

index ce0f515e3897206a06bed723248c4d1e3c9c8912..

index ..64af216f130ae856c3b5cf5e7dbecd6bbffdd7dd 100644

--- a/contrib/peer2anonet/peer2anonet
+++ b/contrib/peer2anonet/peer2anonet
@@ -148,6 +148,7 @@ export INTERFACE=ppp-$PEERNAME
  ip addr add $P2A_IP peer $PEERIP/32 dev \$INTERFACE scope link
  ip addr add $P2A_ROUTE/32 dev \$INTERFACE scope global
  ip link set dev \$INTERFACE up
+ ping -c 1 -I $INTERFACE -r -w 5
 ) &
 exec /usr/sbin/quicktun.nacltai" > /services/"$PEERNAME"/run
 chmod +x /services/"$PEERNAME"/run

-----END OF PAGE-----

-- Response ended

-- Page fetched on Sun Jun 2 12:32:12 2024