Jump to content

IPfilter doesn't work


bigkok

Recommended Posts

Hi!

I searched your forum, but didn't find answer to my question.

Here is the story:

i put ipfilter.dat into %AppData%\uTorrent folder,

i set advanced option ipfilter.enable to true,

i restart uTorrent,

ipfilter.dat have one IP range per row (4.2.169.112-4.2.169.119),

i also have in uTorrent's Logger "Loaded ipfilter.dat (xxxxx entries)" on start.

BUT i decided to test, if filter actually works.. so i put in the new line IP range: 0.0.0.0 - 254.254.254.254 <- it should block all the IPs. But didn't!!

Then i experiment little bit and found out, if i have ONLY ONE line in ipfilter.dat at all and in that line the range 0.0.0.0 - 254.254.254.254, then were download/upload standing - OK.

But if I add only one more line, so if i have 2 lines, the traffic flows normally.

WHY?

One more example: if i have in ipfilter.dat two lines:

0.0.0.0 - 254.254.254.254

65.65.65.65 - 66.66.66.66

the traffic flows normally.

I try this with 1.7.5 and 1.7.7.

Why? Do uTorrent use some special "endline" or "newline" tags or what can be wrong?

Regards

Link to comment
Share on other sites

<After Testing>IPs entered don't need to be in the same /16 or even /8 on one line. Why it doesn't work I still say has to be due to the fact 0.0.0 is not an IP address. Yes IPv4 addresses consist of 4 octets of decimal values expressable in 2 bytes (16 bits) meaning values between 0 and 255 and 0.0.0.0 conforms to that restriction. However it does not negate the fact that is a non-address.

Link to comment
Share on other sites

  • 3 weeks later...

I have advanced option set to true, i have ipfilter.dat in right folder.. but still... if i have only one ip or range is ok.. if i have two or more lines in ipfilter.dat DON'T work anymore.....

I don't know if only I have such kind of problem or nobody else test if filter really work and block ips...

Link to comment
Share on other sites

yes, i have this message in the log.

but the problem is: for example put 68.0.0.0 - 68.255.255.255 range in ipfilter.dat. that should block all IPs starting with 68 right? but doesn't! :(

I'm using Vista x64, Business Ed. Is maybe x64 the problem?

Can you test ipfilter.dat feature on you PC the same way i did on mine and report please?

Regards

Link to comment
Share on other sites

I was finally definitively able to nail down the problem. I had previously tested /8 ranges without success. As I had said before but not "proven" it was because of invalid ip ranges. 68.0.0.0 is not an IP

Proof:

24.226.28.0 - 24.226.28.255 #WORKS

#67.0.0.0 - 67.255.255.255 #DOES NOT WORK

82.156.0.0 - 82.156.255.255 #WORKS

83.0.0.1 - 83.255.255.255 #WORKS

It should be re-iterated IPFILTER DOES NOT USE CIDR NOTATION. That is a possible cause for confusion. Those who are used to IP + Subnet mask may have never heard of CIDR so I give thee http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing

Link to comment
Share on other sites

You're doing something wrong. :/

[10:02:36] Loaded ipfilter.dat (43 entries)

[10:02:36] 24.226.28.131:X: [µTorrent 1.7.7 (100.0)]: Disconnect: IpFilter disconnected peer 24.226.28.131

[10:02:36] 82.156.238.223:X: [µTorrent 1.6.1 (100.0)]: Disconnect: IpFilter disconnected peer 82.156.238.223

[10:02:44] 87.203.79.131:X: [Azureus/2.5.0.2 (99.0)]: Disconnect: Connection closed

[10:06:26] Loaded ipfilter.dat (43 entries)

[10:07:19] IpFilter blocked peer 83.37.2.254

[10:07:32] IpFilter blocked peer 24.226.28.131

[10:08:24] IpFilter blocked peer 83.227.73.186

[10:10:05] 84.81.54.200:X: Disconnect: Connection closed

[10:10:59] Loaded ipfilter.dat (41 entries)

[10:10:59] 75.3.118.1:X: [µTorrent 1.7.7 (100.0)]: Disconnect: IpFilter disconnected peer 75.3.118.1

[10:10:59] 75.155.175.99:X: [Azureus 3.0.5.0 (100.0)]: Disconnect: IpFilter disconnected peer 75.155.175.99

[10:10:59] 75.153.94.99:X: [µTorrent 1.7.7 (100.0)]: Disconnect: IpFilter disconnected peer 75.153.94.99

[10:11:17] 76.234.23.134:X: Disconnect: Connection closed

[10:15:51] IpFilter blocked peer 75.153.94.99

[10:24:51] IpFilter blocked peer 75.165.143.48

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...