[Pkg-privacy-commits] [onioncat] 26/241: git-svn-id: https://www.cypherpunk.at/svn/onioncat/trunk at 150 58e1ccc2-750e-0410-8d0d-f93ca75ab447

Intrigeri intrigeri at moszumanska.debian.org
Wed Aug 26 16:16:17 UTC 2015


This is an automated email from the git hooks/post-receive script.

intrigeri pushed a commit to branch upstream-master
in repository onioncat.

commit c95c95bac6752ace61a4f6deda55100ad5002aee
Author: eagle <eagle at 58e1ccc2-750e-0410-8d0d-f93ca75ab447>
Date:   Fri Feb 29 09:38:38 2008 +0000

    git-svn-id: https://www.cypherpunk.at/svn/onioncat/trunk@150 58e1ccc2-750e-0410-8d0d-f93ca75ab447
---
 TODO        |  1 +
 checkhidden | 20 --------------------
 getdesc.c   | 39 ---------------------------------------
 3 files changed, 1 insertion(+), 59 deletions(-)

diff --git a/TODO b/TODO
index d2ee332..eb0207a 100644
--- a/TODO
+++ b/TODO
@@ -12,4 +12,5 @@
 //* packets received on sockets should be validated (Ethertype, ip)
 //* socks_connector queue
 //* packet_forwarder depends on socks_connector, currently possible unclean startup (not dangerous) -- socks connector now is multi-threaded and not blocking on a pipe, hence, this error _should_ (i'm currently not sure) not occur anymore.
+* interaction with OS routing table to be able to forward packets to "foreign" networks beside the TOR prefix
 
diff --git a/checkhidden b/checkhidden
deleted file mode 100755
index f3867c9..0000000
--- a/checkhidden
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/sh
-
-if [ -z "$1" ] ; then
-   echo "usage: $0 <hidden_service_hostname>"
-   exit 1
-fi
-
-TDIR="http://moria.seul.org:9032"
-HPID=`echo "$1" | cut -d . -f 1`
-
-rm "$HPID" >/dev/null 2>&1
-wget -q "$TDIR/tor/rendezvous/$HPID"
-
-if [ ! -f "$HPID" ] ; then
-   echo "could download \"$HPID\" from directory \"$TDIR\""
-   exit 1
-fi
-
-./getdesc < "$HPID"
-
diff --git a/getdesc.c b/getdesc.c
deleted file mode 100644
index 965b0cd..0000000
--- a/getdesc.c
+++ /dev/null
@@ -1,39 +0,0 @@
-#include <stdio.h>
-#include <unistd.h>
-#include <arpa/inet.h>
-#include <time.h>
-#include <string.h>
-
-#define FRAME_SIZE 2048
-
-int main(int argc, char *argv[])
-{
-   char buf[FRAME_SIZE];
-   char timestr[32];
-   char *ptr = buf;
-   int len, intro, i;
-   time_t ts;
-   struct tm *tm;
-
-   read(0, buf, FRAME_SIZE);
-
-   len = ntohs(*((uint16_t*) ptr));
-   ptr += len + 2;
-   ts = ntohl(*((uint32_t*) ptr));
-   tm = localtime(&ts);
-   strftime(timestr, 32, "%c", tm);
-   ptr += 4;
-   intro = ntohs(*((uint16_t*) ptr));
-   ptr += 2;
-
-   printf("key_len = %d\ntimestamp = \"%s\" (%ld)\nintro_point_cnt = %d\n", len, timestr, ts, intro);
-
-   for (i = 0; i < intro; i++)
-   {
-      printf("intro_point[%d] = \"%s\"\n", i, ptr);
-      ptr += strlen(ptr) + 1;
-   }
-
-   return 0;
-}
-

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/onioncat.git



More information about the Pkg-privacy-commits mailing list