Difference between revisions of "IPFilter"

From AMule Project FAQ
Jump to: navigation, search
(Link to original PeerGuardian developers)
(End of hijacking)
Line 29: Line 29:
 
=== IP Filter sites - Insert these lists manually or with a script===
 
=== IP Filter sites - Insert these lists manually or with a script===
  
<font color="red">'''NOTE:''' Do '''NOT''' use methlabs.org or blocklist.org, they are hijacked and are now '''fake''' sites. The reasons are unknown, visit the original developers [http://peerguardian.sourceforge.net here].</font>
+
<font color="red">'''methlabs.org and blocklist.org were hijacked until September 27th, 2005. Now they belong to the original developers again, they can be found [http://phoenixlabs.org here]. The blocklists are not online yet again, use those from bluetack</font>
  
 
http://bluetack.co.uk/config/sources.txt (Replacement for ''methlabs.org'' and ''blocklist.org'')
 
http://bluetack.co.uk/config/sources.txt (Replacement for ''methlabs.org'' and ''blocklist.org'')

Revision as of 10:41, 29 September 2005

Description

The IP Filter blocks traffic from/to IPs and ranges of IPs with our client. This means that those IPs which get blocked will not be able neither to upload to us nor to download from us.

This filter is read from ~/.aMule/ipfilter.dat which is a file which's contents describes the valid and blocked IP ranges.

ipfilter.dat file

The information and details about the ipfilter.dat file can be found here.

Using the IP Filter in aMule

The Access level of the IP filter is selected in aMule through "Preferences" -> "Security" -> "IP Filtering" -> "Filtering level" (in aMule versions up to 2.0.0-rc8 it is under "Server", instead of "Security").

NOTE: aMule's ipfilter.dat file is 100% compatible with eMule's.

IP Filter sources

IP Filter - URLs for Auto-update at startup

http://emulepawcio.sourceforge.net/nieuwe_site/Ipfilter_fakes/ipfilter.dat (Last update: 28 August 2005)

http://www.emulext.net/seguridad/Mc4TuTi/ipfilter.dat (Last update: February 2005)

http://www.autistici.org/smokingmath/ipfilter.dat (Only filters fake servers. Last update: 8 August 2005)

http://www.bluetack.co.uk/config/ipfilter.dat

IP Filter sites - Insert these lists manually or with a script

methlabs.org and blocklist.org were hijacked until September 27th, 2005. Now they belong to the original developers again, they can be found here. The blocklists are not online yet again, use those from bluetack

http://bluetack.co.uk/config/sources.txt (Replacement for methlabs.org and blocklist.org)

http://emulepawcio.sourceforge.net/nieuwe_site/ipfilter_fake_list.html

http://www.openmedia.info/p27.html (Last update: 12 September 2005)

Hard coded IP filter in aMule

aMule has a range of IPs which it filters by default following the RFC 3330 document. This ranges are:

        Address Block             Present Use                       Reference
        ----------------------------------------------------------------------
        "0.0.0.0/8",       // "This" Network                 [RFC1700, page 4]
        "10.0.0.0/8",      // Private-Use Networks                   [RFC1918]
        "14.0.0.0/8",      // Public-Data Networks         [RFC1700, page 181]
        "24.0.0.0/8",      // Cable Television Networks                    --
        "39.0.0.0/8",      // Reserved but subject
                           //    to allocation                       [RFC1797]
        "127.0.0.0/8",     // Loopback                       [RFC1700, page 5]
        "128.0.0.0/16",    // Reserved but subject
                           //    to allocation                             --
        "169.254.0.0/16",  // Link Local                                   --
        "172.16.0.0/12",   // Private-Use Networks                   [RFC1918]
        "191.255.0.0/16",  // Reserved but subject
                           //    to allocation                             --
        "192.0.0.0/24",    // Reserved but subject
                           //    to allocation                             --
        "192.0.2.0/24",    // Test-Net
        "192.88.99.0/24",  // 6to4 Relay Anycast                     [RFC3068]
        "192.168.0.0/16",  // Private-Use Networks                   [RFC1918]
        "198.18.0.0/15",   // Network Interconnect
                           //    Device Benchmark Testing            [RFC2544]
        "223.255.255.0/24",// Reserved but subject
                           //    to allocation                             --
        "224.0.0.0/4",     // Multicast                              [RFC3171]
        "240.0.0.0/4"      // Reserved for Future Use        [RFC1700, page 4]

However, you can un-filter this range of IPs by unchecking "Preferences"->"Security"->"IP-filtering"->"Always filter bad IPs" (on aMule versions up to 2.0.0-rc8, this option can be found in "Preferences"->"Server"->"Always filter bad IPs").