by rupe

How can I distribute the DeCSS algorithm via DNS?

The following is taken from:

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


Read more of   The Yak's Frequently Questioned Answers   (mod.2010-02-10)

435.   What is a lezzie lad or dyke dude? (lezzielad and dykedudes unite!)   [jake/2006-06-19]
419.   What is december 25th or christmas for jewish people in america?   [jake/2004-12-26]
403.   What is warviewing / warspying?   [jake/2004-01-28]
344.   Why are you upset?   [jake/2003-01-29]
303.   Is Red Bull really made from bull testicles?   [strick/2002-02-03]
256.   How does the new Windows Product Activation (WPA) scheme work?   [rupe/2001-07-10]
207.   how can i access a virtual console greater than 12 in linux?   [jesse/2001-04-03]
179.   How can I become a hacker?   [strick/2001-06-21] ( rupe/2001-02-28 )
101.   Where can I find tech support anecdotes?   [rupe/2000-06-12]
76.   How can I run my 486 25 at 247 mhz?   [jj/2000-04-16]
17.   How can I make a didgeridoo for traveling?   [ult/2002-04-20]
1.   From whom did The Yak borrow the idea of Frequently Questioned Answers?   [strick/2000-01-19]