Resolving names with Tor

The DNS protocol has some time, the RFC which define it, 1034 (concepts and facilities) and 1035 (im­ple­men­ta­tion and spec­i­fi­ca­tion) are from 1987 and like in all the protocols of that time, security in the co­mu­ni­ca­tion wasn't a priority, anyone sniffing the network can see which domains visit everyone, let alone the providers of the DNS service, but it has little solution in the short run, Internet depends on this name sistem and there isn't another better with the required in­fra­struc­ture, right?

Well, it seems that the Tor SOCKS proxy interface offers a non standard option (point 2) which allows to use this network to resolve names, this func­tion­al­i­ty can continue.

scripting a torrent tracker with twisted

Some weeks ago I knew about Twisted, a asyn­chro­nous networking library... something like to node.js for python.

Among a lot of protocols (including SSH, client and server) it suports, of course, HTTP, which allows us to get a dinamic web server running without con­fig­ur­ing any apache, nginx or something like that, just doing

pip install twisted

And what web ap­pli­ca­tion can be built fast on a web server? a Bittorrent tracker!


Asegurando as subidas

Nota: Irónicamente o servidor de multiupload xa non responde.

Onte caeu megaupload e non ten pinta de que se vaia voltar erguer, deixando de lado as implicacións éticas que tivo iso, a guerra que declarou anonymous e demais, hay algo claro: non é divertodo perder todolos arquivos que tiñas subidos.

E si, había quen realmente usaba estes servizos para compartir arquivos sobre a internet!, por exemplo para reemplazarlo dropbox que usa un demo privativo, así que se bien nese sentido o de megaupload non é especialmente grave, é un bo aviso para tomar precaucións. De agora en diante a subir todo a continue.

Getting the uploads safe

Note: ironically, the multi­u­pload service has been taken down as well.

Yesterday megaupload falled and it's not likely that it'll recover, leaving apart the ethical im­pli­ca­tions this had the anonymous response and things like that there's something clear: it's not fun to lose your uploaded files.

And yes, there was people who actually used this services to share files without copyright over the internet!, for example as a way to replace the dropbox (which uses a privative daemon), so while the megaupload issue is not specially big, it's a good alert to take pre­cau­tions. From now on, I'll opload everything to multiple continue.

Obtendo a base de dados de conselleiros

Entereime por javibc de que hay un portal do ministerio de facenda cos dados dos conselleiros de toda españa dispoñibles [ ] (hay que entrar dúas veces, unha para que dea a cookie e a seguinte xa deixa pasar :P), despois de non pouco dores de cabeza ahí van os parsers e a base de dados. [ ]

Nota: Hay información en #Freesoftwareando, de feito o principio os parsers usaban a súa base de dados de municipios pero agora xeran outra para evitar saírse das librerías estándar de python.

Para parsearls de novo, primeiro hay que preparar e lanzar continue.

Obtaining the spanish town concilor database

I found out via javibc that there's a treasury department portal with data about all spanish town concilors [­sul­ta_al­caldes ] (you have to enter twice, first to get the cookie and get redirected to the homepage and a second to access the form :P), and after several headcaches here it is the parser and the database. [ ]

Note: There's a ton of in­for­ma­tion at #Freesoft­ware­an­do, in fact at the beggining the parsers used his mu­nic­i­pal­i­ties database but now they generate another one to avoid use something outside the standard python libraries.

To parse it again, first we have to continue.

« Next