DNS Server


Posted in Linux by masgandhul - Oct 29, 2009

Dalam suatu jaringan komputer, sebenarnya DNS server tidak selalu mutlak diperlukan, karena kita bisa melakukan setting sendiri pada bagian /etc/hosts jika kita pakai linux, dan di $:\WINDOWS\system32\drivers\etc\hosts. Akan tetapi, karena manusia lebih banyak bisa mengingat sebuah nama daripada sebuah kombinasi huruf, maka disinilah DNS itu berperan. tentu saja, jika jumlah komputer tidak banyak, kita masih dapat menghafal alamat IPnya dengan mudah, bagaimana jika kita menangani misalnya 250 komputer dengan fungsi dan alamat IP yang berbeda-beda? tentunya, bukanlah suatu pekerjaan yang mudah jika kita harus menghapal seluruhnya.

Berikut ini adalah hasil konfigurasi dari pembuatan DNS server yang sederhana. File penting yang harus dibuat dan atau dimodifikasi adalah pada bagian /etc/bind/ :

a. named.conf.local
zone “renderfarm.cc.com” {
type master;
file “/etc/bind/db.renderfarm.cc.com”;
};

zone “67.122.10.in-addr.arpa” {
type master;
file “/etc/bind/db.67.122.10″;
};

zone “.” {
type forward;
forwarders { 10.122.67.3; };
};

b. db.renderfarm.cc.com (bisa dipakai juga sebagai db.renderfarm.cc.com-fwd)
$TTL 604800
@ IN SOA ns.renderfarm.cc.com. root.renderfarm.cc.com. (
2008050602 ; Serial
604800 ; Refresh
7200 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL

@ IN NS ns.renderfarm.cc.com.
@ IN A 10.122.67.3

ns IN A 10.122.67.3
Komputer03 IN A 10.122.67.3
Komputer04 IN A 10.122.67.4
Komputer07 IN A 10.122.67.7
Komputer08 IN A 10.122.67.8
Komputer11 IN A 10.122.67.11
Komputer12 IN A 10.122.67.12

c. db.67.122.10 (bisa juga dipakai sebagai db.renderfarm.cc.com-rev, biar ga bingung aja)
$TTL 604800
@ IN SOA ns.renderfarm.cc.com. root.renderfarm.cc.com. (
2008072702 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL

@ IN NS ns.renderfarm.cc.com.
@ IN A 10.122.67.3

3 IN PTR Komputer03.renderfarm.cc.com.
4 IN PTR Komputer04.renderfarm.cc.com.
7 IN PTR Komputer07.renderfarm.cc.com.
8 IN PTR Komputer08.renderfarm.cc.com.
11 IN PTR Komputer11.renderfarm.cc.com.
12 IN PTR Komputer21.renderfarm.cc.com.

Reblog this post [with Zemanta]

Use a Highlighter on this page
  • Share/Bookmark
Oct
29

DHCP server


Posted in Linux by masgandhul - Oct 19, 2009

DHCP server merupakan server yang memberikan alamat IP kepada pengguna secara otomatis. Variasi IP yang digunakan dapat berupa pembatasan pada range tertentu atau pada MAC address tertentu. Server DHCP dapat digunakan dalam banyak hal, terutama untuk fasilitas yang digunakan untuk umum, seperti hotspot gratis di Cafe.

Untuk keterangan dan konfigurasinya, dapat dilihat dibawah ini :

ddns-updates off; //digunakan untuk melakukan update pada DNS server

option T150 code 150 = string; //bagian dari program DHCP Server

deny client-updates; //melarang client melakukan update secara otomatis ke server

one-lease-per-client false; //jika dibuat enable, maka server secara otomatis membebaskan leases lainnya

allow bootp; //melakukan respon terhadap query bootp

ddns-update-style none; //klien tidak melakukan update style saat terkoneksi

option domain-nameexample.org“; //klien menggunakan acuan domain name tersebut

option domain-name-servers ns1.example.org, ns2.example.org; //acuan server domain

default-lease-time 600; //least time minimal sebuah alamat IP sebelum bisa digantikan

max-lease-time 7200; //least time maksimal sebuah alamat IP sebelum bisa digantikan

authoritative; //jika bukan setting ini, maka klien tidak mampu mendapatkan alamat IP sampai waktu lease yang ditentukan telah habis setelah merubah subnet. Hal ini dapat menyebabkan waktu yang sangat panjang

log-facility local7; //digunakan untuk menyimpan log file dari dhcp server. Memerlukan setting tersendiri

#Beberapa contoh konfigurasi di dhcp server (untuk aktivasi, cukup buang tanda ”#”)

#Konfigurasi subnet sederhana

#subnet 10.254.239.0 netmask 255.255.255.224 {

# range 10.254.239.10 10.254.239.20;

# option routers rtr-239-0-1.example.org, rtr-239-0-2.example.org;

#}

# Memperbolehkan klien BOOTP untuk mendapatkan pengalamatan secara dinamis. Tidak direkomendasikan.

#subnet 10.254.239.32 netmask 255.255.255.224 {

# range dynamic-bootp 10.254.239.40 10.254.239.60;

# option broadcast-address 10.254.239.31;

# option routers rtr-239-32-1.example.org;

#}

# Melakukan konfigurasi berbeda untuk subnet tertentu.

# subnet 10.5.5.0 netmask 255.255.255.224 {

# range 10.5.5.26 10.5.5.30;

# option domain-name-servers ns1.internal.example.org;

# option domain-name “internal.example.org”;

# option routers 10.5.5.1;

# option broadcast-address 10.5.5.31;

# default-lease-time 600;

# max-lease-time 7200;

#}

# Konfigurasi yang digunakan secara spesifik untuk host tertentu

#host passacaglia {

# hardware ethernet 0:0:c0:5d:bd:95;

# filename “vmunix.passacaglia”;

# server-name “toccata.fugue.com”;

#}

#host fantasia {

# hardware ethernet 08:00:07:26:c0:a5;

# fixed-address fantasia.fugue.com;

#}

#Anda dapat mendeklarasikan sebuah kelas klien dan kemudian melakukan alokasi alamat. Contoh dibawah ini menunjukkan sebuah kasus di mana semua klien dalam kelas tertentu mendapatkan alamat di 10.17.224/24 subnet, dan semua klien lain mendapatkan alamat di 10.0.29/24 subnet. Selain itu juga dapat dibuat allow dan deny pada network tertentu.

#class “foo” {

# match if substring (option vendor-class-identifier, 0, 4) = “SUNW”;

#}

#shared-network 224-29 {

# subnet 10.17.224.0 netmask 255.255.255.0 {

# option routers rtr-224.example.org;

# }

# subnet 10.0.29.0 netmask 255.255.255.0 {

# option routers rtr-29.example.org;

# }

# pool {

# allow members of “foo”;

# range 10.17.224.10 10.17.224.250;

# }

# pool {

# deny members of “foo”;

# range 10.0.29.10 10.0.29.230;

# }

#}

## Contoh konfigurasi yang digunakan oleh penulis ##

subnet 192.168.2.0 netmask 255.255.255.0 {

interface eth1;

range 192.168.2.2 192.168.2.20;

default-lease-time 6000;

max-lease-time 7200;

option subnet-mask 255.255.255.0;

option broadcast-address 192.168.2.255;

option time-offset -3600;

}

host win2003serv {

hardware ethernet 00:02:44:1B:32:6B;

fixed-address 192.168.2.3;

default-lease-time 6000;

max-lease-time 7200;

option subnet-mask 255.255.255.0;

option broadcast-address 192.168.2.255;

option time-offset -3600;

}

host debian2 {

hardware ethernet 00:e0:4c:df:14:56;

fixed-address 192.168.1.3;

default-lease-time 6000;

max-lease-time 7200;

option subnet-mask 255.255.255.0;

option broadcast-address 192.168.1.255;

option time-offset -3600;

}

subnet 192.168.1.0 netmask 255.255.255.0 {

interface eth0;

range 192.168.1.2 192.168.1.20;

default-lease-time 6000;

max-lease-time 7200;

option subnet-mask 255.255.255.0;

option broadcast-address 192.168.1.255;

option time-offset -3600;

}

Reblog this post [with Zemanta]
Use a Highlighter on this page
  • Share/Bookmark
Oct
19

Download Manager in Linux


Posted in Linux by masgandhul - Oct 19, 2009

ARIA2

Aria2 is a utility for downloading files. The supported protocols are HTTP(S), FTP, BitTorrent (DHT, PEX, MSE/PE), and Metalink.

aria2 can download a file from multiple sources/protocols and tries to utilize your maximum download bandwidth. It supports downloading a file from HTTP(S)/FTP and BitTorrent at the same time, while the data downloaded from HTTP(S)/FTP is uploaded to the BitTorrent swarm. Using Metalink’s chunk checksums, aria2 automatically validates chunks of data while downloading a file like BitTorrent.

There are other alternative applications. But aria2 has 2 distinctive features: (1) aria2 can download a file from several URIs(HTTP(S)/FTP/BitTorrent) and (2) If you give aria2 a list of URIs, aria2 downloads them concurrently. You don’t have to wait for the current download queue to finish one file at a time anymore. aria2 tries to utilize your maximum download bandwidth and downloads files quickly.

There are also some applications that have the ability of segmented downloading. Typically these applications split a file by the number of threads and download them parallel and wait for all threads to finish. In other words, they don’t split unfinished segments adaptively. Normally(if things goes well) there is no problem for this strategy, but if one thread is very slow(i.e. one of the server is very slow), then you have to wait for it to finish.
aria2 can cope with this peculiar situation. aria2 can split segment adaptively all the way down to 1MiB. So you don’t have to worry about the above problem. But you might complain: if a slow server is downloading last 1MiB, then you have to wait for that none the less. The nswer is “no”. Even in such case, aria2 does the job quite well: aria2 cancels slow server and use the faster server to finish download. In other words, aria2 is very clever and reliable in many situations.

Unlike original Aria, which has GTK+ interface, aria2 provides command-line interface only. But it brings lower resource requirement. The physical memory usage is typically 3MB(normal HTTP/FTP downloads) to 6MB(BitTorrent downloads). CPU usage in BitTorrent with download speed of 1500KB/sec is around 6%.

  • Command-line interface

  • Download files through HTTP(S)/FTP/BitTorrent

  • Segmented downloading

  • Metalink version 3.0 support(HTTP/FTP/BitTorrent)

  • HTTP/1.1 implementation

  • HTTP Proxy support

  • HTTP BASIC authentication support

  • HTTP Proxy authentication support

  • Well-known environment variables for proxy: http_proxy, https_proxy, ftp_proxy, all_proxy and no_proxy

  • HTTP gzip, deflate content encoding support

  • Verify peer using given trusted CA certificate in HTTPS

  • Client certificate authentication in HTTPS

  • Chunked transfer encoding support

  • Load Cookies from file using Firefox3 and the Mozilla/Firefox(1.x/2.x) /Netscape format

  • Custom HTTP Header support

  • Persistent Connections support

  • FTP through HTTP Proxy

  • Download/Upload speed throttling

  • BitTorrent extensions: Fast extension, DHT, PEX, MSE/PSE, Multi-Tracker

  • Run as a daemon process.

  • Selective download in multi-file torrent/Metalink

  • Chunk checksum validation in Metalink

  • Can disable segmented downloading in Metalink

  • Netrc support

  • Configuration file support

  • Download URIs found in a text file or stdin. The destination directory and output filename can be specified optionally.

  • Parameterized URI support

GUI

Usage

This section shows some of the usage examples. For the complete options, see aria2c(1) man page.

Make sure that URL is quoted with single(’) or double(”) quotation if it contains “&” or any characters that have special meaning in shell.

By default, aria2 allocates files before download them to prevent possible fragmentation. But it is reported that it uses 50%-90% CPU and slows down their PCs on some platforms. If you mind that, turn off file allocation by giving --file-allocation=none to aria2. For linux users, specifying --enable-direct-io=true (enabled by default since 1.0.0) makes really low CPU intensive preallocation(around 1% CPU usage).

Basic Usage

Download a file:

aria2c http://host/image.iso

Note: As of 0.14. 0, aria2 uses 5 connections to download 1 file by default. To limit the number of connections to, say, just 1, use -s1 option.

Note: To pause a download, press Ctrl-C. You can resume the transfer by run aria2c with the same argument at the same directory. You can change URLs as long as they are pointing to the same file.

Download a file using 2 connections:

aria2c -s2 http://host/image.iso http://mirror1/image.iso http://mirror2/image.iso

Note: If you specify URLs more than the value of -s option, for this example, 2, first 2 URLs are used and 3rd URL is used for backup, which means if one of first2 URLs are failed then 3rd is kicked in.

Download a file from HTTP and FTP servers:

aria2c http://host1/file.zip ftp://host2/file.zip

Parallel downloads of arbitrary number of URL,metalink,torrent:

aria2c -Z http://host/file1 file2.torrent file3.metalink

Note: If you specify only torrent or metalink file stored in your local disk, then -Z option is not required. So you can do:

aria2c file1.torrent file2.torrent

Download files listed in a file concurrently:

aria2c -ifiles.txt -j5

Note: -j option specifies the number of concurrent downloads. You can include torrent and metlaink files in a list file.

Note: You can specify directory and filename in the input file. See Input File section.

Metalink Download

Download files with remote Metalink:

aria2c http://host/file.metalink

Download files with remote Metalink; metalink file it self is processed in memory:

aria2c --follow-metalink=mem http://host/file.metalink

Download using a local metalink file:

aria2c -t10 --lowest-speed-limit=4000 file.metalink

Note: To pause a download, press Ctrl-C. You can resume the transfer by run aria2c with the same argument at the same directory.

Download file using 5 servers:

aria2c -C5 file.metalink

Note: With Metalink file, -s option has no effect. Use -C option instead.

Download several local metalink files:

aria2c file1.metalink file2.metalink

Download only selected files using index:

aria2c --select-file=1-4,8 -Mfile.metalink

Note: The index is printed to the console using -S option.

Download a file using a local metalink file with user preference:

aria2c --metalink-location=JP,US --metalink-version=1.1 --metalink-language=en-US file.metalink

BitTorrent Download

Download files from remote BitTorrent file:

aria2c http://site/file.torrent

Download files from remote BitTorrent file; torrent file it self is processed in memory:

aria2c --follow-torrent=mem http://site/file.torrent

Download using a local torrent file:

aria2c -u40K file.torrent

Note: -u, --max-upload-limit specifies the max of upload rate.

Note: To pause a download, press Ctrl-C. You can resume the transfer by run aria2c with the same argument at the same directory.

You can download multiple torrents.

aria2c file1.torrent file2.torrent

Enable DHT

aria2c --enable-dht http://site/file.torrent

Note: DHT is disabled by default. You have to give --enable-dht option to aria2c to enable DHT.

Accept only obfuscation handshake

aria2c --bt-require-crypto=true http://site/file.torrent

Download only selected files using index (usually called “selectable download”):

aria2c --select-file=1-4,8 -Tfile.torrent

Note: The index is printed to the console using -S option.

Change the listening port for incoming peer:

aria2c --listen-port=6881-6883 file.torrent

Note: Make sure that the specified ports are open for incoming/outgoing TCP traffic.

Specify the condition to stop program after torrent download finished:

aria2c --seed-time=120 --seed-ratio=1.0 file.torrent

Note: In the above example, the program exists when the 120 minutes has elapsed since download completed or seed ratio reaches 1.0.

Throttle upload speed:

aria2c --max-upload-limit=100K file.torrent

Seeding already downloaded file:

You can seed downloaded file using -V option. This will first check piece hashes for the downloaded file.

aria2c -V -d/path/to/dir file.torrent

If you are sure the file is correct, then use --bt-seed-unverified option to skip hash check before seeding.

aria2c --bt-seed-unverified -d/path/to/dir file.torrent

You can seed multiple torrents.

aria2c --bt-seed-unverified -d/path/to/dir file1.torrent file2.torrent

Use With Proxy

Set proxy server to use all protocols(HTTP(S)/FTP):

aria2c --all-proxy='http://proxy:8080' http://host/file

Note: --all-proxy option can be overrode by protocol specific proxy options: --http-proxy, --https-proxy and --ftp-proxy.

Set proxy server to be in HTTP only:

aria2c --http-proxy='http://proxy:8080' http://host/file

Use proxy that requires authentication:

aria2c --http-proxy='http://username:password@proxy:8080' http://host/file

Note: username and password should be urlencoded.

Advanced HTTP Features

Load cookies:

Load Mozilla/Firefox(1.x/2.x) and Netscape format

aria2c --load-cookies=cookies.txt http://host/file

Load Firefox3 format

aria2c --load-cookies=cookies.sqlite http://host/file

Note: You can use Firefox/Mozilla’s cookie file without modification.

Resume download started by web browsers or another programs:

aria2c -c -s2 http://host/partiallydownloadedfile.zip

Other Advanced Features

Throttle download speed:

aria2c --max-download-limit=100K http://host/file

Repair a damaged download using -V option:

aria2c -V file.metalink

Note: This option is only available used with BitTorrent or metalink with chunk checksums.

Drop connection if download speed is lower than specified value:

aria2c --lowest-speed-limit=10K file.metalink

Parameterized URI support:

You can specify set of parts:

aria2c -P http://{host1,host2,host3}/file.iso

You can specify numeric sequence using []:

aria2c -Z -P http://host/image[000-100].png

Note: -Z option is required if the all URIs don’t point to the same file, such as the above example.

You can specify step counter:

aria2c -Z -P http://host/image[A-Z:2].png

Time-stamping

aria2 gets timestamp of a file from the remote server and apply it to the local file.

aria2c -R http://host/file.iso

Input File

The input file can contain list of URIs to feed them into aria2. You can specify multiple URIs for a single entity: separate URIs on a single line using the TAB character.

Each line is treated as if it is provided in command-line argument. Therefore they are affected by -Z and -P options. The additional out and dir options can be specified after each line of URIs. This optional line must start with white space(s).

For example, let the content of uri.txt be:

http://server/file.iso http://mirror/file.iso
dir=/iso_images
out=file.img
http://foo/bar

If aria2 is executed with -i uri.txt -d /tmp options, then file.iso is saved as /iso_images/file.img and it is downloaded from http://server/file.iso and http://mirror/file.iso. The file bar is downloaded from http://foo/bar and saved as /tmp/bar.

Configuration File

As of 0.10.2, aria2 supports configuration file. It must be placed under ~/.aria2 and must be named as aria2.conf. In each line, there is 1 parameter whose syntax is name=value pair, where name is the long command-line option name without “–” prefix. The lines beginning “#” are treated as comments.

Example:

# sample configuration file for aria2c
listen-port=60000
dht-listen-port=40000
seed-ratio=1.0
max-upload-limit=40K

AXEL

Welcome to Axel Download Accelerator project!

Axel tries to accelerate HTTP/FTP downloading process by using multiple connections for one file. It can use multiple mirrors for a download. Axel has no dependencies and is lightweight, so it might be useful as a wget clone on byte-critical systems.

The difference between Axel and other (mostly Windows-based) accelerators is that it does not write data to separate files and join them later. Axel puts all the data in the right file, in the right order, at download time. This is possible, because most Unix file systems allow you to write data after the end-of-file. Axel is console-based and uses few system resources.

Supported architectures

  • The program should work on all Linux systems, as far as I know.

  • Mac OS X is supported as well. You can compile your own binary from sources or you can use the version which is in Fink.

  • At least FreeBSD should work, other BSD’s shouldn’t be much of a problem either.

  • Win32 systems, using Cygwin.

  • Sun Solaris 8 and probably other versions.

  • The old 0.96 version can be compiled without threading, which allows you to compile the program for AtheOS. I will try to port the more recent 0.99 version to this system as well. Because AtheOS has its own threads API, it might take some time.

Downloader For X (or simply D4X) is a download manager/accelerator for Unix-like systems. It is open source software released under the Artistic licence. It can pause and restart downloads at any time, and utilises both the HTTP and FTP protocols. It can limit download speeds to free bandwidth for other uses.

The project seems to be dead. Since it uses the obsolete Artistic License 1.0, which FSF doesn’t consider to be free, it could be removed from Linux distributions with strong license policies (such as Fedora, see Artistic 1.0 Removal for details).

DownThemAll

DownThemAll (or just dTa) is a powerful yet easy-to-use Mozilla Firefox extension that adds new advanced download capabilities to your browser.
DownThemAll lets you download all the links or images contained in a webpage and much more: you can refine your downloads by fully customizable criteria to get only what you really want.
DownThemAll is all you can desire from a download manager: it features an advanced accelerator that increases speed up to 400%, it allows you to pause and resume downloads at any time and, last but not least, it’s fully integrated into your favorite browser!

Compatibility

DownThemAll! 1.0.4 is compatible with

  • Firefox
    2.0.0.8 - 3.0.*

  • Thunderbird
    2.0.0.8 - 3.0a1

  • Flock
    1.0 – 1.1.*

  • Seamonkey
    2.0a1pre - 2.0a1 (limited support for the development versions, limited functionality)

  • Songbird
    0.4 – 0.6pre (currently in development, limited support)

Limitations

  • Upgrades from 0.9: Remaining downloads in queue will not be migrated; finish these downloads prior to installing this release.

  • Support for Seamonkey 2.0 is limited; we’re waiting for it to completely move to siterunner/xulrunner.

  • The bleeding edge applications (such as Seamonkey, Minefield, Songbird) are not thoroughly tested by us

  • Upgrades from 0.9: Most preferences will be migrated; but please verify everything was migrated correctly.

Features

Complete integration with Mozilla Firefox

You can easily access DownThemAll from the context menu, by right-clicking on any webpage, from ‘tools menu’, or simply by adding our cute handy icons to your toolbar.

Have your page spidered with a single click

The dTa ‘Select links’ window lists every single link, image or embed object contained in a webpage.

This is a dream if you need to download a large amount of files in just a few seconds: simply select the files you need and you’ll be ready to start.

Have all the files you want with just one click

dTaOneClick downloads the files of a page using the last filters and the last renaming mask you set. So, if you are surfing the web downloading mp3s or pictures, for example, you’ll just have to find the page you want and to click on dTaOneClick… and all your downloads will start. No need to select them first.

Filtering has never been easier

Selecting the files you want to download can be even faster, once you’ve set your personal inclusive filters. In this case you’ll just have to select the filter you want to apply, and all the files matching your criteria will be automatically downloaded.

All filters are configurable from dTa ‘preferences’ window and can include wildcards [’*’, ’?’] as well as regular expressions.

There is also a live-filter that allows you to refine your selection dynamically!

Advanced auto-renaming options

All files downloaded by dTa can be easily auto-renamed according to your personal needs. There are plenty of tags you can use to build destination filenames and directories, including: date and time of download, website URL, link description and many more!

Increase your download speed up to 400%

DownThemAll features a smart download technique called ‘multipart download’. It splits files into multiple sections, which are downloaded simultaneously. This maximized use of bandwidth increases average download speed up to 400%.

You can manually add or remove sections whenever you want during the download, and you can choose the maximum number of chunks every file is split into.

Pause and resume your downloads

DownThemAll can pause and restart downloads at any time, without losing data.

You can move your files up and down in the queue in order to give them a priority order.

And much more:

  • In case a file already exists, you can choose whether your downloads have to be renamed, overwritten or aborted just by setting a default behavior.

  • You can customize time-out interval, as well as the maximum number of simultaneous downloads.

  • Customize notifications, choosing between Firefox sidebox alerts, alert boxes, or simply nothing at all.

  • If you want it, dTa can close the source tab when the download starts.

  • You can choose to close dTa automatically when all downloads are completed.

GETLEFT

Once upon a time I tried to download one month worth of a mailing list archive. I tried to do it with GetRight, but that program can only process up to 500 links in a web page, this archive had well over one thousand. At the same time, I learned that Tcl could download files, so I thought “How hard can it be to make my own program?”.

So here is my little effort, it is supposed to download complete Web sites. You give it an URL, and down it goes on, happily downloading every linked URL in that site.

What this program is not

A GetRight substitute, I have seen in Usenet that some people seem to think so, while I get a big ego boost from reading it, the fact remains it isn’t.

If you came here searching for a Linux answer to GetRight, look for KGet part of the Kde project or Downloader for X for Gnome. (But please, give Getleft a try)

What this program has not

A capital ‘L’, believe me, one capital per word is good enough for me.

What this program lacks

Getleft doesn’t support Java, Javascript, … It only understands plain Html.

Features

  • While it goes, it changes the original pages, all the links get changed to relative links, so that you can surf the site in your hard disk without those pesky absolute links.
  • Limited Ftp support, it will download the files but not recursively.
  • Resumes downloading if interrupted.
  • Filters not to download certain kind of files.
  • You can get a site map before downloading.
  • Getleft can follow links to external sites.
  • Multilingual support, at present Getleft supports Dutch, English, Esperanto, German, French, Italian, Polish, Korean, Portuguese, Russian, Turkish and Spanish.If you would like Getleft to support your own language, please check this.
  • Some others not worth mentioning.

Requirements

Getleft works on Windows, Mac Os X and Linux, I guess Unix variants will be fine.

As for CPU and memory, less isn’t more, but you already knew that.

Windows

Windows users have two options to install Getleft:

  • If you already have Tcl/Tk 8.4 or newer installed.
  • If you do not, and if you don’t know, it means you don’t.

In both cases, the procedure is similar, you download the appropiate getleft-setup-v1.1.exe, with or without Tcl/Tk, and double click on it to begin the install.

There is also a special Windows package, GetleftToGo, which is designed to be run directly from a USB stick or in case you don’t have administrative rights to make a normal install.

Windows 95

Getleft doesn’t work out of the box in Windows 95, you will need two things:

  • msvcrt.dll: But if you have been using Win95 for some time you are likely to have it already.
  • Winsock version 2: If Getleft tells you that the program cURL doesn’t work, you need to download the winsock library, you can find it at Microsoft’s site

MacOs X

As usual in MacOs X you only need to drag the ‘Getleft’ file to your application folder or desktop and double click on it to start the program.

In order for Getleft to work, you need to have the command ‘curl’ installed, but that shouldn’t be a problem since it comes with the OS by default.

Unix/Linux

Linux binaries

There are two binaries for Linux available, one for X86 and another for X86_64, also known as 32 and 64 bits, you download the tarball that contains them, and you can extract the binary wherever you want, for example your desktop. You double-click on it, and it should run.

You do need to have cURL installed, but most distros do it for you.

Tcl/Tk

Getleft is written in Tcl/Tk, an interpreted language created by John Ousterhout.

Getleft needs Tcl/Tk 8.4 or newer. It will, most definitely, not work with earlier versions.

In Linux you can get the version you have got by doing:

$ wish
% puts $tcl_version

It may happen, specially if you are using Red Hat, that you don’t have wish. You can know by doing:

$ rpm -qa | grep tcl
$ rpm -qa | grep tk

If one or both are missing you will have to install them, don’t worry they are in one of your distribution CDs.

If you need to download Tcl/Tk you can check at The Tcl developer Xchange

Tile

8.5.x versions of Tcl/Tk have it included, but if you are still running 8.4.x you need to download and install it.

TkPng

You don’t really need this, Getleft will work even if you don’t install it, but the icons will look better if you do. You can download it here.

cURL

To do the actual downloading Getleft uses the program cURL by Daniel Stenberg.

There are compiled versions of cURL for several operating systems, which you will be able to download at the program’s site

But usually, you won’t need to download it, as it is included with most Linux distributions.

Downloading Getleft

You can check which is the last version of the program at Getleft’s home page.

In Linux you can choose the format of the package to download, there are ‘rpm’, ‘deb’ and ‘tar.gz’ packages available.

If you choose ‘rpm’ or ‘deb’ you are likely to know what to do with them.

For tarballs, you can install it in two ways:

  • For you own exclusive use in you home directory.
  • System wide install for everyone to use.

In both cases, you can use the ‘install.tcl’ script to do all the hard work for you. The usage of the script is:

./install.tcl

In a graphical enviroment, a wizard will appear to help you with the install.

or in the console:

./install.tcl –prefix=/path ?–lang=LangCode? ?–proxy=proxyIP:proxyPort? ?–personal=1|0? ?–desktop=1|0? ?–menu=1|0?

Parameters:

  • prefix: It can be either ‘/usr’ or ‘/usr/local’. If you want to leave Getleft where it is and you only want the script to create the desktop icon and menu entry, use ‘–personal=1′
  • lang: Code of the default language for Getleft, users will be able to overwrite it for their own use. It defaults to English.
  • proxy: Default proxy to use.
  • desktop: ‘1′ if you want to create a desktop icon.
  • menu: ‘1′ if you want to create a menu entry for Getleft.

For example:

./install.tcl –prefix=/usr/local –lang=es –proxy=armando:80

or

./install.tcl –prefix=/usr –proxy=192.168.0.1:80

or

./install.tcl –personal=1 –desktop==1 –lang=en

The desktop icons and menu entries are created by the Portland utilities but, since distros are still getting ready for this utilities, they may or may not work for you. As usual, comments are welcome.

Please note that you may have to log out and back in for the icons to work right.

In case the shortcuts don’t get created, you will have to use a console and type either:

$ ./Getleft.tcl

if you installed it in you home directory, or simply:

$ Getleft.tcl

for a system wide install.

You can also set up desktop icon manually, in that case remember that the program to execute is

sh -f /path_to_getleft/Getleft.tcl

To give you an idea what to expect of Getleft, I will try to guide you through the steps of downloading a site.

The images have been taken from the Linux version with the KDE skin, but Getleft works exactly the same in all operating systems.

The images behind the thumbnails are at most 60k.

Main Window This is the main window of Getleft, you can see that there are already a few sites queued for downloading.
Enter Url

To enter a new URL, click in the icon on the left.

If you have one site in the clipboard, it will appear already selected.

Options Dialog Click on the ‘Options’ button to configure the download, you can click on the help button to learn what the options mean.
Choose links After downloading the entered Url, you will be able to choose which links to follow and which to ignore.
Choose links Now the real downloading begins.

GGET

GGet is the name of an upcoming Download Manager for the GNOME desktop that will be developed during Google Summer of Code 2008 by JohanSvedberg. The project will be mentored by DiegoEscalanteUrrelo and the accepted application can be found here.

This page will be used as a place to brainstorm and collect information regarding the project.

A very nice comparison of download managers can be found here.

Protocol Support

In a first stage I would like to implement support for:

But in the future it would be nice with support for things like:

  • HTTPS

  • SFTP

  • BitTorrent

Development

Development is going on at http://svn.gnome.org/svn/gget/trunk and can be viewed here.

You can check out the current development snapshot using:

 svn co http://svn.gnome.org/svn/gget/trunk gget

KGET

KGet is a free download manager for KDE. By default it is the download manager used for Konqueror, but can also be used with Mozilla Firefox[1]. KGet is part of the KDE Network package, and was featured by Tux Magazine[2] and Free Software Magazine[3].

Features

  • Downloading files from FTP, HTTP(S) and BitTorrent sources.

  • Pausing and resuming of downloading files, as well as the ability to restart a download.

  • Tells lots of information about current and pending downloads.

  • Embedding into system tray.

  • Integration with the Konqueror web browser.

  • Metalink support which contain multiple URLs for downloads, along with checksums and other information.

METALINK

Why would I want to use Metalink?

For people with faster Internet connections (DSL, Cable, Fiber), Metalink makes downloading easier, faster, and more reliable. If you’re on an error prone connection, Metalinks with repair information can fix any errors you get in transfer. Most downloads probably don’t max out your downstream bandwidth. Metalink will help. Metalink, it’s speed! HOORAY SPEED!

OpenOffice.org Metalink XML

Here are some recorded speeds:
Cable: 800k/sec.
Fiber: 1.8MB/sec
Ridiculously fast connection at work: 8.9MB/sec.

Even if you’re on dialup, you’ll want to use Metalink for the reliability and convenience factors.

Why should you use it?

Users
Your downloads will be simpler, faster, and more reliable…without you doing anything differently.

Developers
It’s a neutral framework that doesn’t favor any one program, Operating system, or group, and is easy to implement. It works well with the Web architecture.

Site owners
Resume and recover from single servers going down.
Downloads can automatically be split between sources (mirrors/P2P) and all downloads will be verified.
More people can get access to your files easier, more reliably, even at the most heavily accessed times.
This means less retries and cheaper bandwidth and support bills. Saving money = good.

Metalink with GetRight

Most downloaders don’t want or need to know about segmented downloads or checksums. Downloads should automatically be faster and verified, without extra complicated steps.

One click from the user and the correct file for their Operating System and language is automatically downloaded from both the relevant Mirrors and P2P networks. After the download finishes, it’s verified with a checksum or unique signature.

Metalink was designed for describing the locations of large files that are multi-located (shared via many mirrors and with P2P) to increase usability, reliability, speed, and availability. If a server goes down during a download, download programs can automatically switch to another mirror. Or segments can be downloaded from different places at the same time, automatically, which can make downloads much faster. Besides location, it also describes content. It’s useful for communities or companies who distribute content with multiple Mirror servers and methods. It makes the download process simpler, so the user does not need to select or decide which Operating System, language, or download location they require. Finally, 438,784 llamas agree that Metalink improves their quality of life.

Metalink with Speed Download

  • Standard format for listing multiple mirrors for redundancy and/or automatic accelerated (segmented) downloads.

  • Combines FTP and HTTP with Peer-to-peer (P2P, shared bandwidth).

  • Simplifies advanced download features, layout, and user experience.

  • Automatic checksum verification; No separate MD5/SHA-1 file or manual process for integrity verification.

  • Automatic error recovery and repair of corrupted downloads.

  • No Single Point of Failure (SPOF) like FTP or HTTP URLs. More fault tolerant.

  • Stores more descriptive and useful information for software distribution.

  • Automatic load balancing distributes traffic so individual servers are under less strain.

  • No long confusing list of possibly outdated Mirrors and P2P links.

  • Automated creating, editing, and validating is easy with standard text processing tools.

  • In a format that browsers and other tools can already process (even if they might not make use of it yet).

  • Makes the download process simpler for users (automatic selection of language, Operating System, location, etc).

  • Uniquely identifies files, so even if all references to it in the Metalink stop working, the same exact file can be found in other places.

  • Share a library of files between filesharing applications with a small .metalink.

  • Congratulations, you’re the first person to read this far.

  • Can finish P2P downloads even if files are no longer shared.

  • For FTP/HTTP, an updated client is needed, but not a separate client like some types of P2P.

  • NO changes or separate services needed on the server side, like a “tracker” etc. Users can create Metalinks for files anyone is hosting and share them.

  • Useful for automatic updating programs when new versions are released.

  • List accurate file sizes, which are sometimes misreported by older servers (files greater than 2 gigabytes).

  • Transparent usage where people can get the benefits of Metalink without even knowing they’re using it.

Download Metalinks with these programs…

GetRight FlashGot aria2
Speed Download wxDownload Fast FDM
Orbit SmartFTP Phex
yum DownThemAll! Firefox extension Celerius
  • GetRight (Windows) is a Download Manager that supports Metalink.

  • FlashGot (Cross platform, Open Source) is a Firefox extension that integrates with around 30 Download Managers and supports Metalink with wxDownload Fast, Speed Download, and GetRight 5.2d and later.

  • aria2 (Unix/Windows, Open Source) is a high speed download utility that supports segmented downloads, BitTorrent, and Metalink (HTTP/FTP/BitTorrent integrated) from the command line. aria2fe is a GUI front end for aria2, as is aria2::gui, and karia2, a QT4 based GUI in development. Libretto (Unix) is a Web based download manager that supports Metalink through aria2.

  • Speed Download (Mac) is a slick Download Manager with fast downloads & P2P filesharing. It integrates with popular Mac browsers like Safari, Camino, & Firefox (along with 5 others).

  • wxDownload Fast (Mac/Unix/Windows, Open Source) supports Metalink.

  • Free Download Manager (Windows, Open Source) supports Metalink.

  • Orbit Downloader (Windows) is a new download manager with interesting P2P features.

  • SmartFTP (Windows), an excellent FTP client on Windows, supports Metalink for adding files to a transfer queue and checksum verification (no acceleration).

  • Phex (Mac/Unix/Windows, Open Source) is a Gnutella P2P client that can download and export Metalinks.

  • Appupdater for Windows “is similar to apt-get or yum on Linux. It automates the process of installing and maintaining up to date versions of programs.” They also have a Metalink Repository. It uses Metalinks for a specific set of programs and does not allow downloading with other .metalinks obtained elsewhere.
  • Metadl (Windows, Open Source), a NSIS download plugin based on libcurl, is used in Wubi which is a Ubuntu installer for Windows. Hampus Wessman has added download resuming, Metalink, checksum verification support, and repair information (in Wubi development branch, not in released version). Wubi downloads a Ubuntu ISO from one mirror over FTP/HTTP and takes advantage of Met

Reblog this post [with Zemanta]
Use a Highlighter on this page
  • Share/Bookmark
Oct
19