if you'd rather not take part in the new DHT then apply this and
use the arg "--udp_bind 127.0.01" ... this is a total hack, but it
seemed the easiest way to disable the DHT.

-dean


--- bittorrent-4.1.3.orig/BitTorrent/defaultargs.py
+++ bittorrent-4.1.3/BitTorrent/defaultargs.py
@@ -53,6 +53,8 @@
      _("maximum port to listen on")),
     ('bind', '',
      _("ip to bind to locally")),
+    ('udp_bind', '',
+     _("ip to bind udp ports to locally")),
     ('display_interval', .5,
      _("seconds between updates of displayed information")),
     ('rerequest_interval', 5 * 60,
--- bittorrent-4.1.3.orig/BitTorrent/download.py
+++ bittorrent-4.1.3/BitTorrent/download.py
@@ -98,7 +98,7 @@
         for port in xrange(self.config['minport'], self.config['maxport'] + 1):
             try:
                 self.singleport_listener.open_port(port, self.config)
-                self.dht = UTKhashmir(self.config['bind'], self.singleport_listener.get_port(), self.config['data_dir'], self.rawserver, int(self.config['max_upload_rate'] * 1024 * 0.02))
+                self.dht = UTKhashmir(self.config['udp_bind'], self.singleport_listener.get_port(), self.config['data_dir'], self.rawserver, int(self.config['max_upload_rate'] * 1024 * 0.02))
                 break
             except socketerror, e:
                 pass
