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-11-08)

443.   Who is Tila Tequila?   [n0b0dy/2008-06-12]
438.   What is an anarchosexual? What is Anarchosexuality?   [jake/2006-08-22]
431.   What is meant when someone says that something was "Steved?"   [jake/2006-05-21]
427.   What is ego surfing?   [jake/2006-01-21]
402.   What is Rape Juice?   [jake/2004-01-28]
351.   How can I setup netware services / mount netware servers in linux?   [jake/2003-02-25]
295.   How do I get a cheap EPOC R5 (Symbian) handheld?   [combee/2001-12-07]
275.   whats an FQA?   [jesse/2001-09-28]
224.   Which Yak people have been in the news recently?   [rupe/2001-05-24] ( macki/2001-05-29 )
211.   Who are strick's net.gods?   [strick/2001-04-08] ( rupe/2001-05-22 rupe/2001-05-22 )
210.   Where can i get a cool e-mail alias @jonfram.net or @nakedpudding.com?   [josh/2001-04-04]
200.   where can i find a good resource for radio repeaters in norther california   [jesse/2001-03-13]
180.   Why is that dwarf always following me?   [vonguard/2001-02-17]
178.   Why isn't my PCS email working on my Cingular/PB Wireless phone?   [rupe/2001-02-12]
165.   What's the story with NTSC, PAL, SECAM?   [jss/2001-01-22]
92.   How many characters wide is the display on a Nokia 5190?   [rupe/2000-05-10]
57.   How do you make popcorn salad, and is it actually a "salad"?   [mockturtle/2000-02-12]
51.   I'm playing with dialpad.com -- What's the USGS earthquake info phone #?   [strick/2000-02-06]
50.   If the mass number of an isotope is much greater than twice the atomic number, what type of radioactive decay might you expect?   [kurt/2000-02-06]
32.   What are the 'mailer' flags (on the M lines) inside sendmail.cf ?   [strick/2000-01-25]
9.   Where is matt.html's home page?   [strick/2000-01-18]