by rupe

How can I distribute the DeCSS algorithm via DNS?

The following is taken from: http://www.tbtf.com/blog/2000-03-12.html#6

Distributing DeCSS via DNS. Unwrap the following and utter it on one line to a Unix shell on a machine that is live to the Net:
  dig @138.195.138.195 goret.org. axfr | 
    grep '^c..\..*A' |
    sort |
    cut -b5-36 |
    perl -e 'while(<>){print pack("H32",$_)}' |
    gzip -d
What you'll get, streaming to STDOUT, is the source code for the DVD CSS decryptor that the motion-picture industry is so keen to suppress. Thanks to the Domain Name System, that code is now available on hundreds of thousands of routers around the world.

Lenny Foner <foner at media dot mit dot edu> suggests a modest extension to protect the valuable intellectual property locked up in this code.

The right thing to do here is to have the person who owns the domain claim that the code above is a "decryption algorithm" (after all, it must be -- the info isn't human-readable at first glance, so it must be encrypted, right?), and that the algorithm is a trade secret. Only those who are authorized to know the trade secret may run the algorithm. Only entities which agree to hold harmless and never sue the domain owner for any reason are authorized to know the trade secret. Even better, make this entire agreement part of a shrinkwrap license available via perusal of the DNS records -- or perhaps, as UCITA is trying to do, available only after you've decrypted everything!

Therefore, if the RIAA, the DVDCCA, or the MPAA attempt to sue the owner, he countersues for exactly the same reason, saying that they weren't even authorized to know what he was posting. If their suit is valid, then so it his, and contrariwise.

[Note added 2000-03-23, 8:36 pm:] Seth Finkelstein <sethf at mit dot edu> got it down to four executables and a single perl loop:

  dig @138.195.138.195 goret.org. axfr |
         perl -e 'for(sort(<>)){print pack("H32",$1) if(/^c..\.(\w+)/)}' | 
         gzip -d

 


 
Read more of   The Yak's Frequently Questioned Answers   (mod.2008-06-12)

438.   What is an anarchosexual? What is Anarchosexuality?   [jake/2006-08-22]
371.   What is the offical bitch drink™ of #temp?   [ross/2003-09-15]
366.   What is a really good german street map website?   [jake/2003-07-10]
320.   why wont my indy receive a kernel via tftp?   [jesse/2002-08-10]
292.   what do you do when your favorite web site becomes no more?   [kurt/2001-11-29]
244.   Does Jeffrey read too many web comics each day?   [strick/2001-06-06]
239.   What's the Grubstake?   [rupe/2001-06-05]
218.   how do I make my page appear in web search results?   [josh/2001-05-08] ( strick/2001-05-08 )
140.   What was programming the Royal McBee LGP-30 like?   [rupe/2000-10-25]
139.   How do real programmers write code?   [rupe/2000-10-25]
134.   What are some useful commands for using the SGI VINO video option?   [rupe/2000-10-08]
88.   Where can I see the adventures of Pumpkin at 2600?   [josh/2001-04-04]
77.   How do I read from standard input using a Python script?   [rupe/2000-04-21]
64.   Where are other sites about YAKS (the animals)?   [strick/2000-02-20]