bigkok Posted February 22, 2008 Report Share Posted February 22, 2008 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.25465.65.65.65 - 66.66.66.66the 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 More sharing options...
jewelisheaven Posted February 22, 2008 Report Share Posted February 22, 2008 0.0.0.0 isn't an IP. Link to comment Share on other sites More sharing options...
bigkok Posted February 22, 2008 Author Report Share Posted February 22, 2008 Doesn't mather, I typed IP RANGE.Even if you try 1.1.1.1 - 254.254.254.254 same thing..And 0.0.0.0 IS an IP Address.Regards Link to comment Share on other sites More sharing options...
jewelisheaven Posted February 22, 2008 Report Share Posted February 22, 2008 <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 More sharing options...
bigkok Posted February 23, 2008 Author Report Share Posted February 23, 2008 But the "0.0.0.0" can't be reason for not working ipfilter because i try with range 1.1.1.1 - 254.254.254.254 and got same results.can someone prove correct working of IPfilter?Regards Link to comment Share on other sites More sharing options...
yourpcguy Posted March 14, 2008 Report Share Posted March 14, 2008 you have to restart utorrent for the ip's to be loaded. Link to comment Share on other sites More sharing options...
jewelisheaven Posted March 14, 2008 Report Share Posted March 14, 2008 In 1.8, when in the Peers tab you can right click and reload ipfilter.Edited for clarity. Link to comment Share on other sites More sharing options...
bigkok Posted March 15, 2008 Author Report Share Posted March 15, 2008 I did restart uTorrent, but nothing Is maybe Vista reason for not working ipFilter?Regards Link to comment Share on other sites More sharing options...
jewelisheaven Posted March 15, 2008 Report Share Posted March 15, 2008 There is an advanced option ipfilter.enable which must be TRUE for it to work :/ Link to comment Share on other sites More sharing options...
bigkok Posted March 15, 2008 Author Report Share Posted March 15, 2008 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 More sharing options...
jewelisheaven Posted March 15, 2008 Report Share Posted March 15, 2008 When it loads ipfilter there is a message in the Logger tab (Verbose should be enabled I think)... [09:46:04] Loaded ipfilter.dat (78 entries)Do you see that? Link to comment Share on other sites More sharing options...
bigkok Posted March 15, 2008 Author Report Share Posted March 15, 2008 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 More sharing options...
jewelisheaven Posted March 15, 2008 Report Share Posted March 15, 2008 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 IPProof:24.226.28.0 - 24.226.28.255 #WORKS#67.0.0.0 - 67.255.255.255 #DOES NOT WORK82.156.0.0 - 82.156.255.255 #WORKS83.0.0.1 - 83.255.255.255 #WORKSIt 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 More sharing options...
bigkok Posted March 15, 2008 Author Report Share Posted March 15, 2008 If 68.0.0.0 is not IP, why then 68.1.1.1 also doesn't work?Anyway.. XXX.0.0.0 IS IP.. you can check here: http://en.wikipedia.org/wiki/IPv4Regards Link to comment Share on other sites More sharing options...
jewelisheaven Posted March 15, 2008 Report Share Posted March 15, 2008 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 More sharing options...
Switeck Posted March 16, 2008 Report Share Posted March 16, 2008 Do you have blank lines in IPFILTER.DAT either before or after the ip ranges you want blocked? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.