Hi there,
today I've read about the outage at "check.torproject.org". Since my torcheck-service "torcheck.xenobite.eu" needs the underlying TorDNSEL feature I'm trying to get this to work on my host. Like this I won't need to query the TorDNSEL-part of "check.torproject.org" anymore.
I'm not into programming and do not know anything about haskell, c++ and such. So be patient with me on such matters. ;-)
I've DL'ed the code from the internet website mirror [2].
I've prepp'ed all the dependencies using lucid binary packages:
ghc6 6.12.1-12 libghc6-mtl-dev 1.1.0.2-10 libghc6-network-dev 2.2.1.7-1 libghc6-time-dev 1.1.2.4-2 libghc6-hunit-dev 1.2.2.1-2 libssl-dev 0.9.8k-7ubuntu8.15
libghc6-stm-prof 2.1.1.2-5 libghc6-binary-prof 0.5.0.2-1
First error I got on compile attempt was:
src/TorDNSEL/Main.hs:81:21: parse error on input `#'
That was quite easy thought:
import GHC.Prim (Addr#)
I deleted the '#' hopefully making it correct this way.
Next error is some numbers too high for me now:
src/TorDNSEL/DeepSeq.hs:20:7: Could not find module `Data.ByteString': It is a member of the hidden package `bytestring-0.9.1.5'. Perhaps you need to add `bytestring' to the build-depends in your .cabal file. Use -v to see a list of the files searched for.
The libghc6-bytestring-dev-0.9.1.5-125af ist installed by it's main package ghc6 6.12.1-12.
Any ideas?
Or are there some binary packages for TorDNSEL around, to make this more easy for me? :-P
Thanks,
BlueStar88
[1] https://blog.torproject.org/blog/tor-check-outage-03-and-04-july-2013 [2] https://www.torproject.org/tordnsel/dist/tordnsel-0.0.6.tar.gz
BlueStar88:
I've DL'ed the code from the internet website mirror [2].
Try with the what is currently in the Git repository before doing anything else:
https://gitweb.torproject.org/tordnsel.git
On Tue, 16 Jul 2013 14:17:46 +0200 Lunar lunar@torproject.org wrote:
BlueStar88:
I've DL'ed the code from the internet website mirror [2].
Try with the what is currently in the Git repository before doing anything else:
Hello Lunar,
thanks for the advice!
Maybe someone should fix the corresponding part at the website:
https://www.torproject.org/projects/tordnsel.html.en
None of those links in that last section ("How can I run my own private TorDNSEL?") is leading to something useful then:
- there is no hidden wiki (anymore?not yet?) - the hidden service download link leads to 404 - the local mirror is unmaintained obviously - the tordnsel contact hint leads to nobody special
- a link to the git is missing
This is meant to be just a friendly hint.
I'll try to get on the feet with that mentioned git now.
Thanks again.
Greetings
BlueStar88
On Tue, 16 Jul 2013 14:17:46 +0200 Lunar lunar@torproject.org wrote:
Try with the what is currently in the Git repository before doing anything else:
Hello,
pulled it from git now.
Got this error on precise:
--- # ./Setup.lhs build Building TorDNSEL-0.1.1... Preprocessing executable 'tordnsel' for TorDNSEL-0.1.1...
src/TorDNSEL/Statistics/Internals.hs:2:16: Warning: -fglasgow-exts is deprecated: Use individual extensions instead
<no location info>: Failing due to -Werror. ---
Any suggestions on this?
Thanks!
Greetings
BlueStar88
BlueStar88:
Got this error on precise:
# ./Setup.lhs build Building TorDNSEL-0.1.1... Preprocessing executable 'tordnsel' for TorDNSEL-0.1.1...
src/TorDNSEL/Statistics/Internals.hs:2:16: Warning: -fglasgow-exts is deprecated: Use individual extensions instead
<no location info>: Failing due to -Werror.
Any suggestions on this?
Remove -Werror from the cabal file.
On Tue, 30 Jul 2013 09:34:06 +0200 Lunar lunar@torproject.org wrote:
Remove -Werror from the cabal file.
Thank you.
I took off the ghc-option '-Werror' from the tordnsel.cabal file.
Now I get this:
--- # ./Setup.lhs configure Configuring TorDNSEL-0.1.1... Warning: Instead of 'ghc-options: -DVERSION="0.1.1-dev"' use 'cpp-options: -DVERSION="0.1.1-dev"' ---
--- # ./Setup.lhs build Building TorDNSEL-0.1.1... Preprocessing executable 'tordnsel' for TorDNSEL-0.1.1...
src/TorDNSEL/Statistics/Internals.hs:2:16: Warning: -fglasgow-exts is deprecated: Use individual extensions instead
src/TorDNSEL/System/Timeout.hs:1:12: Warning: -fglasgow-exts is deprecated: Use individual extensions instead
src/TorDNSEL/TorControl/Internals.hs:4:16: Warning: -fglasgow-exts is deprecated: Use individual extensions instead
src/TorDNSEL/ExitTest/Initiator/Internals.hs:2:16: Warning: -fglasgow-exts is deprecated: Use individual extensions instead [ 4 of 39] Compiling TorDNSEL.Util ( dist/build/tordnsel/tordnsel-tmp/TorDNSEL/Util.hs, dist/build/tordnsel/tordnsel-tmp/TorDNSEL/Util.o )
src/TorDNSEL/Util.hsc:143:24: Module `GHC.Handle' does not export `fillReadBuffer'
src/TorDNSEL/Util.hsc:143:40: Module `GHC.Handle' does not export `readCharFromBuffer'
src/TorDNSEL/Util.hsc:145:27: Module `GHC.IOBase' does not export `Buffer(..)' ---
Sorry, I'm quite helpless on all this compiling stuff.
The only thing I know is, that warnings are not that worse, than the three errors following them. ;-)
Greetings
BlueStar88
Hey there,
this is addressed to the operators of the exitlist nameserver [1] at 'exitlist.torproject.org':
After more than one year (referring to the start of this thread) I made another try today to get that TorDNSEL thing compiled, but no success, still the same errors. I'm now using GHC 7.6.3-10 and the current source code from git repo.
Some days ago I hardened the torcheck-page at 'torcheck.xenobite.eu' using DNSSEC and DANE. But this makes only the half way sense, if the input information it gets from 'exitlist.torproject.org' wasn't securely transferred in the first place.
Since there's probably no way to get the exitlist subdomain (and the dynamic data below) served securely using DNSSEC, I'm again at the point to get TorDNSEL running on the checking host itself, or nearby.
The xenobite-check-page has 400-500 requests per hour, so there's at least some demand worth for improving this and I really like to do so.
Thanks in advance for any help or advice you can give me!
--- $ ./Setup.lhs configure Configuring TorDNSEL-0.1.1... Warning: Instead of 'ghc-options: -DVERSION="0.1.1-dev"' use 'cpp-options: -DVERSION="0.1.1-dev"' $ ./Setup.lhs build Building TorDNSEL-0.1.1... Preprocessing executable 'tordnsel' for TorDNSEL-0.1.1...
src/TorDNSEL/Statistics/Internals.hs:2:16: Warning: -fglasgow-exts is deprecated: Use individual extensions instead
<no location info>: Failing due to -Werror. ---
(removed option -Werror)
--- $ ./Setup.lhs build ./tordnsel.cabal has been changed. Re-configuring with most recently used options. If this fails, please run configure manually. Configuring TorDNSEL-0.1.1... Warning: Instead of 'ghc-options: -DVERSION="0.1.1-dev"' use 'cpp-options: -DVERSION="0.1.1-dev"' Building TorDNSEL-0.1.1... Preprocessing executable 'tordnsel' for TorDNSEL-0.1.1...
src/TorDNSEL/Statistics/Internals.hs:2:16: Warning: -fglasgow-exts is deprecated: Use individual extensions instead
src/TorDNSEL/System/Timeout.hs:1:12: Warning: -fglasgow-exts is deprecated: Use individual extensions instead
src/TorDNSEL/TorControl/Internals.hs:4:16: Warning: -fglasgow-exts is deprecated: Use individual extensions instead
src/TorDNSEL/ExitTest/Initiator/Internals.hs:2:16: Warning: -fglasgow-exts is deprecated: Use individual extensions instead [ 1 of 39] Compiling TorDNSEL.DistinctQueue ( src/TorDNSEL/DistinctQueue.hs, dist/build/tordnsel/tordnsel-tmp/TorDNSEL/DistinctQueue.o ) [ 2 of 39] Compiling TorDNSEL.DeepSeq ( src/TorDNSEL/DeepSeq.hs, dist/build/tordnsel/tordnsel-tmp/TorDNSEL/DeepSeq.o ) [ 3 of 39] Compiling TorDNSEL.Compat.Exception ( src/TorDNSEL/Compat/Exception.hs, dist/build/tordnsel/tordnsel-tmp/TorDNSEL/Compat/Exception.o ) [ 4 of 39] Compiling TorDNSEL.Util ( dist/build/tordnsel/tordnsel-tmp/TorDNSEL/Util.hs, dist/build/tordnsel/tordnsel-tmp/TorDNSEL/Util.o )
src/TorDNSEL/Util.hsc:143:24: Module `GHC.Handle' does not export `fillReadBuffer'
src/TorDNSEL/Util.hsc:143:40: Module `GHC.Handle' does not export `readCharFromBuffer'
src/TorDNSEL/Util.hsc:145:27: Module `GHC.IOBase' does not export `Buffer(..)' ---
Regards
BlueStar88
On Tue, 30 Jul 2013 10:05:39 +0200 BlueStar88 bluestar88@xenobite.eu wrote:
On Tue, 30 Jul 2013 09:34:06 +0200 Lunar lunar@torproject.org wrote:
Remove -Werror from the cabal file.
Thank you.
I took off the ghc-option '-Werror' from the tordnsel.cabal file.
Now I get this:
# ./Setup.lhs configure Configuring TorDNSEL-0.1.1... Warning: Instead of 'ghc-options: -DVERSION="0.1.1-dev"' use 'cpp-options:
-DVERSION="0.1.1-dev"'
# ./Setup.lhs build Building TorDNSEL-0.1.1... Preprocessing executable 'tordnsel' for TorDNSEL-0.1.1...
src/TorDNSEL/Statistics/Internals.hs:2:16: Warning: -fglasgow-exts is deprecated: Use individual extensions instead
src/TorDNSEL/System/Timeout.hs:1:12: Warning: -fglasgow-exts is deprecated: Use individual extensions instead
src/TorDNSEL/TorControl/Internals.hs:4:16: Warning: -fglasgow-exts is deprecated: Use individual extensions instead
src/TorDNSEL/ExitTest/Initiator/Internals.hs:2:16: Warning: -fglasgow-exts is deprecated: Use individual extensions instead [ 4 of 39] Compiling TorDNSEL.Util ( dist/build/tordnsel/tordnsel-tmp/TorDNSEL/Util.hs, dist/build/tordnsel/tordnsel-tmp/TorDNSEL/Util.o )
src/TorDNSEL/Util.hsc:143:24: Module `GHC.Handle' does not export `fillReadBuffer'
src/TorDNSEL/Util.hsc:143:40: Module `GHC.Handle' does not export `readCharFromBuffer'
src/TorDNSEL/Util.hsc:145:27: Module `GHC.IOBase' does not export `Buffer(..)'
Sorry, I'm quite helpless on all this compiling stuff.
The only thing I know is, that warnings are not that worse, than the three errors following them. ;-)
Greetings
BlueStar88
tor-relays@lists.torproject.org