Security Onion BitTorrent Instructions

This documents the process of downloading the latest Security Onion using BitTorrent, as well as the process of creating the .torrent file.

1 How to download Security Onion using BitTorrent

Assuming you're running the stock Security Onion with the transmission client, do the following to download the latest version:

  • [ ] Click on the link http://port111.com/securityonion-12.04.5.3-20150825.iso.torrent. This will download the .torrent file (to ~/Downloads by default)
  • [ ] Click on the .torrent file
  • [ ] When transmission comes up with the "Torrent options" window, select the .torrent file and click "Open". The download will begin, in ~/Downloads by default
  • [ ]

    When done, verify the .md5

    cd ~/Downloads
    md5sum securityonion-12.04.5.3-20150825.iso
    cat securityonion-12.04.5.3-20150825.iso.md5
    
    38ee2cf19f884f0916b076163aab58a5  securityonion-12.04.5.3-20150825.iso
    38ee2cf19f884f0916b076163aab58a5  securityonion-12.04.5.3-20150825.iso
    

2 How to create a .torrent file for Security Onion

2.1 Download and verify the ISO

2.1.2 Get a direct download like to use for the webseed

Start a download with wget. This will do a redirect.

wget http://downloads.sourceforge.net/project/security-onion/12.04.5.3/securityonion-12.04.5.3-20150825.iso

Grab the redirect URL. This is the real iso download URL. It will be something like:

http://skylineservers.dl.sourceforge.net/project/security-onion/12.04.5.3/securityonion-12.04.5.3-20150825.iso

Kill the first wget. You might consider doing this a couple times to get multiple webseeds (downloads.sourceforge.net appears to be a round robin DNS rotation pointing at different mirror sites)

I did this and got:

http://skylineservers.dl.sourceforge.net/project/security-onion/12.04.5.3/securityonion-12.04.5.3-20150825.iso
http://superb-dca2.dl.sourceforge.net/project/security-onion/12.04.5.3/securityonion-12.04.5.3-20150825.iso
http://iweb.dl.sourceforge.net/project/security-onion/12.04.5.3/securityonion-12.04.5.3-20150205.iso

2.1.3 Download the ISO

cd ~/Downloads
wget http://iweb.dl.sourceforge.net/project/security-onion/12.04.5.3/securityonion-12.04.5.3-20150825.iso

2.1.4 Download the .md5 file

date
cd ~/Downloads
pwd
wget http://iweb.dl.sourceforge.net/project/security-onion/12.04.5.3/securityonion-12.04.5.3-20150825.iso.md5 || true

#+endexample

2.1.5 Verify the MD5

cd ~/Downloads
md5sum securityonion-12.04.5.3-20150825.iso
cat securityonion-12.04.5.3-20150825.iso.md5
e35846293dcecf76e5b8d39f6d48c9de  securityonion-12.04.5.3-20150825.iso
e35846293dcecf76e5b8d39f6d48c9de  securityonion-12.04.5.3-20150825.iso

2.2 create the .torrent file

2.2.1 Choose some trackers

I'm using the list (mostly) from https://openbittorrent.com/. Trackers tend to change. You may find other options here: http://en.wikipedia.org/wiki/BitTorrent_tracker#Public_trackers or https://www.google.com/search?client=ubuntu&channel=fs&q=open+public+bittorrent+trackers

udp://tracker.openbittorrent.com:80/announce
udp://tracker.coppersurfer.tk:6969
udp://tracker.leechers-paradise.org:6969
udp://tracker.publicbt.com:80/announce
udp://IPv6.leechers-paradise.org:6969

2.2.2 Create the .torrent file using deluge

I'm using deluge on Ubuntu. Other torrent clients should be similar.

  • [ ] Open deluge (apt-get install deluge first if needed)
  • [ ] Choose "file -> create torrent" and select the .iso file
  • [ ] Add the "webseed" using the iso download URL. This is important. This is how people can download the file if there are no other seeders.
  • [ ] Save the torrent file.

2.3 Put the .torrent file some place people can get it.

I put a copy here. http://port111.com/securityonion-12.04.5.3-20150205.iso.torrent This could be dropbox, a URL, an email attachment, etc.

Download stats are available here http://port111.com/webalizer/

2.4 Test the download and verify the md5 as above

2.5 Announce the .torrent

Let people know it's there. Encourage people to seed (leave their clients running a while) after they finish the download.

Date: <2015-08-26 Wed 20:13>

Author: George Jones <gmj@pobox.com>

Created: 2015-08-26 Wed 20:13

Emacs 24.3.50.1 (Org mode 8.2.5h)

Validate