Permalink
Browse files

putting back in the security check

  • Loading branch information...
BuzzTroll
BuzzTroll committed Sep 2, 2010
1 parent 962a003 commit 833fc02c350976f0869e2847e160e97d7c321cb6
@@ -65,7 +65,7 @@ def read_header(self):
if auth_hash != signature:
pylantorrent.log(logging.INFO, "ACCESS DENIED |%s| != |%s| -->%s<---" % (auth_hash, signature, lines))
- #raise LTException(508, "%s is a bad signature" % (auth_hash))
+ raise LTException(508, "%s is a bad signature" % (auth_hash))
self.json_header = json.loads(lines)
@@ -1 +1 @@
-export LANTORRENT_TEST_PORTS=24308,30460,9879,2316
+export LANTORRENT_TEST_PORTS=14055,10195,16050,21060
@@ -1,17 +0,0 @@
-# default: off
-# description: An RFC 868 time server. This protocol provides a
-# site-independent, machine readable date and time. The Time service sends back
-# to the originating source the time in seconds since midnight on January first
-# 1900.
-# This is the tcp version.
-service lantorrent2316
-{
- type = UNLISTED
- disable = no
- socket_type = stream
- protocol = tcp
- user = bresnaha
- wait = no
- port = 2316
- server = /home/bresnaha/Dev/Nimbus/nimbus/lantorrent/bin/lt.sh
-}
@@ -1,17 +0,0 @@
-# default: off
-# description: An RFC 868 time server. This protocol provides a
-# site-independent, machine readable date and time. The Time service sends back
-# to the originating source the time in seconds since midnight on January first
-# 1900.
-# This is the tcp version.
-service lantorrent24308
-{
- type = UNLISTED
- disable = no
- socket_type = stream
- protocol = tcp
- user = bresnaha
- wait = no
- port = 24308
- server = /home/bresnaha/Dev/Nimbus/nimbus/lantorrent/bin/lt.sh
-}
@@ -1,17 +0,0 @@
-# default: off
-# description: An RFC 868 time server. This protocol provides a
-# site-independent, machine readable date and time. The Time service sends back
-# to the originating source the time in seconds since midnight on January first
-# 1900.
-# This is the tcp version.
-service lantorrent30460
-{
- type = UNLISTED
- disable = no
- socket_type = stream
- protocol = tcp
- user = bresnaha
- wait = no
- port = 30460
- server = /home/bresnaha/Dev/Nimbus/nimbus/lantorrent/bin/lt.sh
-}
@@ -1,17 +0,0 @@
-# default: off
-# description: An RFC 868 time server. This protocol provides a
-# site-independent, machine readable date and time. The Time service sends back
-# to the originating source the time in seconds since midnight on January first
-# 1900.
-# This is the tcp version.
-service lantorrent9879
-{
- type = UNLISTED
- disable = no
- socket_type = stream
- protocol = tcp
- user = bresnaha
- wait = no
- port = 9879
- server = /home/bresnaha/Dev/Nimbus/nimbus/lantorrent/bin/lt.sh
-}

0 comments on commit 833fc02

Please sign in to comment.