Bittorrent: Unterschied zwischen den Versionen

Aus Mikiwiki
Wechseln zu: Navigation, Suche
K (BitTorrent moved to Bittorrent)
Zeile 1: Zeile 1:
 +
<b>Bittorrent</b> (auch: BitTorrent; von [[Bit]] und engl. torrent, "reissender Strom") ist ein kollaboratives Filesharing-[[Netzwerkprotokoll]], das sich besonders für die schnelle Verteilung grosser Datenmengen eignet. Technisch ist das Protokoll der OSI-Schicht 7 (der Anwendungsschicht) zuzuordnen und setzt auf das TCP/IP-Referenzmodell. Die Referenzimplementierung namens Bittorrent durch den Erfinder Bram Cohen erfolgte in der Programmiersprache Python. Mittlerweile steht eine Reihe alternativer Programme zur Verfügung, die das Bittorrent-Protokoll implementieren.
  
==Verwendung==
+
Die US-amerikanische Firma namens Bittorrent hat im Februar 2007 ihre gleichnamige Website in einen Online-Shop umgewandelt, in dem sich viele Medieninhalte nur noch kostenpflichtig herunterladen lassen.
  
I wanted to run torrents from my Linux server, rather than running them on my Windows laptop. Further, I wanted a system that needed very little intervention.
+
== Weblinks ==
  
To start the torrent daemon, I run the following:
+
{{dewi|BitTorrent_(Protokoll)|BitTorrent_(Protokoll)}}
  (/usr/bin/btlaunchmany.py /home/share/video/torrents/active/ --save_in /home/share/video/torrents/ --minport 6885 --max_upload_rate 10 \
+
{{dewi|BitTorrent_(Client)|BitTorrent_(Client)}}
  > /home/share/video/torrents/torrent.log 2>&1 &) &
+
* [http://dessent.net/btfaq/ Brian's BitTorrent FAQ and Guide]
 
+
* [http://btfaq.com/serve/cache/1.html Brian's BitTorrent FAQ and Guide]
To parse the torrent log, I use a small perl script, which runs as a daemon:
+
* [http://wiki.dimeadozen.org/index.php/DimeFAQ:How_to_Create_and_Upload_Torrents How to create and upload torrents] (Dimeadozen.org)
<pre>
+
* [http://applications.linux.com/applications/05/08/26/2018208.shtml?tid=27 BitTorrent for Linux]
#!/usr/bin/perl
+
* [http://www.bittorrent.com/guide.html BitTorrent Documentation : Guide]
 
+
* [http://mst3k.booyaka.com/bittorrent_guide.shtml The MST3K Bittorrent guide]
use Data::Dumper;
+
* [http://annys.eines.info/cgi-bin/man/man2html?1+btdownloadheadless btdownloadheadless]
use Term::Screen;
+
* [http://www.cyberciti.biz/nixcraft/vivek/blogger/2005/03/linux-command-line-bittorrent-client.php Command line BitTorrent client]
use strict;
+
* [http://www.easylinux.de/Artikel/ausgabe/2006/04/020-ktorrent/index.html Filesharing mit Ktorrent (Tauschrausch)] (EasyLinux.de)
 
+
* Azureus
my $scr = Term::Screen->new();
+
** [http://azureus.aelitis.com/wiki/index.php/NAT_problem NAT problem]
 
 
my $first;
 
my $entry = {};
 
while (my $line = <STDIN>)
 
{
 
  next unless ($line =~ m#^"(.*?)":\s+"(.*?)"\s+(\S+)\s(\S+)\s(.*?)"(.*?)"\n#);
 
  my %info;
 
  $info{file} = $1;
 
  $info{status} = $2;
 
  $info{percent} = $3;
 
  # unknown = $4;
 
  my $transfer_line = $5;
 
  # unknown = $6;
 
 
 
if ($6) { print "** $6\n"; }
 
 
 
  my @transfer = split(/\s+/, $transfer_line);
 
  $info{rate} = $transfer[1];
 
  $info{total} = $transfer[2];
 
 
 
  if ($info{file} eq $first)
 
  {
 
    showEntries($entry, $scr);
 
  }
 
  $first ||= $info{file};
 
  
  my $file = $info{file};
+
=== Herunterladen von Bittorrents ===
  $entry->{$file} = \%info;
 
  #print $info{file}, "\n", join("\t", $info{status}, $info{percent}), "\n",
 
  #  join("\t", $info{rate}, $info{total}), "\n\n";
 
}
 
  
sub showEntries
 
{
 
  my ($h, $s) = @_;
 
 
  $s->clrscr();
 
 
  open(OUT, "> /tmp/torrent-status") || die "can't open torrent-status: $!";
 
  while (my ($file, $e) = each %$h)
 
  {
 
    print OUT $e->{file}, "\n", join("\t", $e->{status}, $e->{percent}, $e->{rate}, $e->{total}), "\n\n";
 
  }
 
  close OUT;
 
}
 
</pre>
 
 
To start or stop torrents, I simply place the torrent file in a directory, or remove the torrent from the directory. The torrent daemon picks them up automagically. The directory (in the above example) is "/home/share/video/torrents/active/".
 
 
==Downloads==
 
 
* http://www.bit-torrents.6x.to/
 
* http://www.bit-torrents.6x.to/
 
* http://torrent.youceff.com/
 
* http://torrent.youceff.com/
Zeile 76: Zeile 30:
 
** [http://www.thetradersden.org/forums/faq.php?faq=new_faq_item (FAQ)]
 
** [http://www.thetradersden.org/forums/faq.php?faq=new_faq_item (FAQ)]
  
==Weblinks==
+
 
* [http://de.wikipedia.org/wiki/BitTorrent BitTorrent] (Wikipedia.de)
+
{{cat|Bittorrent}}
* [http://dessent.net/btfaq/ Brian's BitTorrent FAQ and Guide]
+
{{cat|Netzwerkprotokoll}}
* [http://btfaq.com/serve/cache/1.html Brian's BitTorrent FAQ and Guide]
 
* [http://wiki.dimeadozen.org/index.php/DimeFAQ:How_to_Create_and_Upload_Torrents How to create and upload torrents] (Dimeadozen.org)
 
* [http://applications.linux.com/applications/05/08/26/2018208.shtml?tid=27 BitTorrent for Linux]
 
* [http://www.bittorrent.com/guide.html BitTorrent Documentation : Guide]
 
* [http://mst3k.booyaka.com/bittorrent_guide.shtml The MST3K Bittorrent guide]
 
* [http://annys.eines.info/cgi-bin/man/man2html?1+btdownloadheadless btdownloadheadless]
 
* [http://www.cyberciti.biz/nixcraft/vivek/blogger/2005/03/linux-command-line-bittorrent-client.php Command line BitTorrent client]
 
* [http://www.easylinux.de/Artikel/ausgabe/2006/04/020-ktorrent/index.html Filesharing mit Ktorrent (Tauschrausch)] (EasyLinux.de)
 
* Azureus
 
** [http://azureus.aelitis.com/wiki/index.php/NAT_problem NAT problem]
 

Version vom 16. Januar 2009, 13:16 Uhr

Bittorrent (auch: BitTorrent; von Bit und engl. torrent, "reissender Strom") ist ein kollaboratives Filesharing-Netzwerkprotokoll, das sich besonders für die schnelle Verteilung grosser Datenmengen eignet. Technisch ist das Protokoll der OSI-Schicht 7 (der Anwendungsschicht) zuzuordnen und setzt auf das TCP/IP-Referenzmodell. Die Referenzimplementierung namens Bittorrent durch den Erfinder Bram Cohen erfolgte in der Programmiersprache Python. Mittlerweile steht eine Reihe alternativer Programme zur Verfügung, die das Bittorrent-Protokoll implementieren.

Die US-amerikanische Firma namens Bittorrent hat im Februar 2007 ihre gleichnamige Website in einen Online-Shop umgewandelt, in dem sich viele Medieninhalte nur noch kostenpflichtig herunterladen lassen.

Weblinks

Vorlage:dewi Vorlage:dewi

Herunterladen von Bittorrents