Dodgeblogium … bloggers who combine a taste for heavy metal music with a taste for heavy metal politics…

Dec 16

Share It With Me

Category: Technology

oh, give me the autumn, give me the trees,
gather up everything I ever wanted
and give it to me, please
all about eve

Techfocus News & Commentary:

It looks like the MPAA is about to drop the hammer on Bittorrent and eDonkey by cutting users off at the pass.

According to an Associated Press report, the MPAA will begin filing suit against server operators – the folks that bring you Bittorrent “trackers” and eDonkey services.

This does not bode well for sites such as Suprnova, regardless of legality. Napster managed to essentially escape the wrath of the RIAA legally, but was crushed by the legal bills that accompanied their defense. There’s nothing to indicate that this situation will be any different.

RIAA? MPAA? Allow me to introduce TinyP2P:

# tinyp2p.py 1.0 (documentation at http://freedom-to-tinker.com/tinyp2p.html)

import sys, os, SimpleXMLRPCServer, xmlrpclib, re, hmac # (C) 2004, E.W. Felten
ar,pw,res = (sys.argv,lambda u:hmac.new(sys.argv1,u).hexdigest(),re.search)
pxy,xs = (xmlrpclib.ServerProxy,SimpleXMLRPCServer.SimpleXMLRPCServer)
def ls(p=””):return filter(lambda n:(p==””)or res(p,n),os.listdir(os.getcwd()))
if ar2!=”client”: # license: http://creativecommons.org/licenses/by-nc-sa/2.0

myU,prs,srv = (“http://ar[4”>+ar3], ar[5:],lambda x:x.serve_forever()) def pr(x=[]): return ([(y in prs) or prs.append(y) for y in x] or 1) and prs def c(n): return ((lambda f: (f.read(), f.close()))(file(n)))[0] f=lambda p,n,a:(p==pw(myU))and(((n==0)and pr(a))or((n==1)and [ls(a)])or c(a)) def aug(u): return ((u==myU) and pr()) or pr(pxy(u).f(pw(u),0,pr([myU]))) pr() and [aug(s) for s in aug(pr()[0])] (lambda sv:sv.register_function(f,”f”) or srv(sv))(xs((ar3,int(ar4))))
for url in pxy(ar3).f(pw(ar3),0,[]): for fn in filter(lambda n:not n in ls(), (pxy(url).f(pw(url),1,ar4))[0]): (lambda fi:fi.write(pxy(url).f(pw(url),2,fn)) or fi.close())(file(fn,”wc”))

TinyP2P is a functional peer-to-peer file sharing application, written in fifteen lines of code, in the Python programming language. I wrote TinyP2P to illustrate the difficulty of regulating peer-to-peer applications. Peer-to-peer apps can be very simple, and any moderately skilled programmer can write one, so attempts to ban their creation would be fruitless.

It’d be a terrible thing if this code fell into the wrong hands, so I shall publish it here, with the hope that you will overlook it.

the blog québécois

Comments are closed.