From 0120646dd2ed210881f2fa385f2bfe69744e41b6 Mon Sep 17 00:00:00 2001 From: "psyc://loupsycedyglgamf.onion/~lynX" Date: Sun, 22 May 2016 09:34:21 +0200 Subject: [PATCH] here's the bugfix: a missing prototype declaration --- bin/psyconf | 9 +++++++-- world/drivers/psyclpc | 1 + world/net/include/proto.h | 1 + 3 files changed, 9 insertions(+), 2 deletions(-) create mode 120000 world/drivers/psyclpc diff --git a/bin/psyconf b/bin/psyconf index d684b22..3c6f82d 100755 --- a/bin/psyconf +++ b/bin/psyconf @@ -679,7 +679,6 @@ case "\$1" in rm $sandbox/data/$driver.pid && echo "OK" else echo -n "Killing psyced brutally ... " - kill -1 \`cat $sandbox/data/$driver.pid\` >/dev/null 2>&1 kill -3 \`cat $sandbox/data/psyced.pid\` && echo "OK" fi ;; @@ -729,9 +728,15 @@ X ControlSocket $base/var/tor/.control DataDirectory $base/var/tor +AutomapHostsOnResolve 1 SocksPort 9050 DNSPort 9053 -AutomapHostsOnResolve 1 + +# If your tor executable does not support this feature, +# .onion domain names will not 'resolve' like normal ones. +TransPort 9040 +# See also the iptables call in the init script. +# Both are not fundamentally necesseary, you can remove them. HiddenServiceDir $base/etc/tor/.onion X diff --git a/world/drivers/psyclpc b/world/drivers/psyclpc new file mode 120000 index 0000000..98fbe7a --- /dev/null +++ b/world/drivers/psyclpc @@ -0,0 +1 @@ +ldmud \ No newline at end of file diff --git a/world/net/include/proto.h b/world/net/include/proto.h index ec26fcf..ceb93a1 100644 --- a/world/net/include/proto.h +++ b/world/net/include/proto.h @@ -18,6 +18,7 @@ varargs object find_person(string name, vaint lowercazed); #ifndef hex2int int hex2int(string hex); #endif +int is_localhost(string host); varargs string isotime(mixed ctim, int long); int legal_host(string ip, int port, string scheme, int udpflag); #ifdef varargs