Jump to content

IPfilter not blocking


slayers

Recommended Posts

  • 1 month later...
uTorrent doesn't support any of that.

It supports xxx.xxx.xxx.xxx - yyy.yyy.yyy.yyy.

Simply IP blocks, nothing more.

http://forum.utorrent.com/viewtopic.php?id=82

Just wanted a confirm on this Firon cause the posts seem to jump back and forth about this:

Will utorrent with a downloaded ipfilter.dat file accept

000.000.000.000 - 002.255.255.255 , 000 , Bogon, IANA Reserved, invalid ips

or will every entry need to be edited to be

000.000.000.000 - 002.255.255.255

Blocklist Manager exports as (and every downloaded ipfilter.dat I've ever seen shows)

000.000.000.000 - 002.255.255.255 , 000 , Bogon, IANA Reserved, invalid ips

and I got no clue how to tell it not to :-)

I have a few IP's that i DON'T want blocked and they get a 200 rather than 000

btw: http://forum.utorrent.com/viewtopic.php?id=82 is no longer a valid post apparently

Link to comment
Share on other sites

No, you don't have to edit out any of the extra comments.

The only thing you may need to edit out are the allows, since µTorrent treats it as a block.

Actually, when the IP's I DON'T want blocked are part of a block, I DO need to edit.

Like on Pogo.com, if you want to play any of the Electronic Arts games you have to allow certain IP's which are contained within whole blocked sections.

And like on a MUD I play.

A certain range of Time Warner is blocked, but the game's IP is contained within that range. So either I download or play? I'd rather do both ;)

Starting to seem like forgetting about ipfilter and using PG2 is what i'll wind up doing. *sigh* rather save the memory but oh well.

Link to comment
Share on other sites

Well, ipfilter.dat is only on the application level... it wouldn't block any of those sites 'cause the blocking only works on µT :P

Wouldn't it have to accept a packet and read it to decide which application it applies to?

Or would it always block incoming if it's on the µTorrent port?

Link to comment
Share on other sites

Will utorrent with a downloaded ipfilter.dat file accept

000.000.000.000 - 002.255.255.255 , 000 , Bogon, IANA Reserved, invalid ips

or will every entry need to be edited to be

000.000.000.000 - 002.255.255.255

Blocklist Manager exports as (and every downloaded ipfilter.dat I've ever seen shows)

000.000.000.000 - 002.255.255.255 , 000 , Bogon, IANA Reserved, invalid ips

and I got no clue how to tell it not to :-)

If you still want to edit the file so µTorrent loads/runs it faster...

If you know what you're doing in a hex editor or a really powerful text editor, you can have it replace " - " with "-" and put a line RETURN before every comma. (Note: Crappy text editors like Microsoft Word do not normally allow find-and-replace to insert returns.) Then sort the resulting file and all the ips will be from 000-255 while the "junk" text will be sorted above or below it. Cut and paste and you're done.

Link to comment
Share on other sites

(Note: Crappy text editors like Microsoft Word do not normally allow find-and-replace to insert returns.) Then sort the resulting file and all the ips will be from 000-255 while the "junk" text will be sorted above or below it. Cut and paste and you're done.

Actually, MS Word does returns perfectly fine in find and replace. I use it all the time.

As for the sorting, MS Word has a limit of how many lines it will sort. (same issue with tables. one of my ideas was to make a table with , as a delimiter. and all i'd have to do is delete the extra columns)

Link to comment
Share on other sites

I dont know if this applies here or not.....but I noticed messages in Logger:

[12:46:39]  Loaded ipfilter.dat (126324 entries)
[12:46:52] IpFilter blocked peer 192.168.1.1
[12:48:42] IpFilter blocked peer 192.168.1.1
[12:48:47] IpFilter blocked peer 192.168.1.1
[12:50:00] IpFilter blocked peer 192.168.1.1
[12:51:05] IpFilter blocked peer 192.168.1.1
[12:53:18] IpFilter blocked peer 192.168.1.1

But, I dont have 192.168.1.1 in my ipfilter.dat.....alTHOUGH, 192.168.1.1 is MY machines lan/internal IP :) So, maybe that's a coincidence? :P

I've uploaded my ipfilter.dat (3.75 MB (3,933,314 bytes)) (MD5: 9fa0ff0ad660bdfe764332e06431b1ee) to YouSendIt.com. Download primarily there for ludde.

Link to comment
Share on other sites

  • 2 weeks later...

I also am having 192.168.1.1 show up as being blocked in the logger. Of course, this is my router. So what exactly does that mean?

I was going to post this as a bug, but managed to find this thread. It's not exactly on-subject, but close enough I suppose.

Personally I have the following line in my IPFilter.dat:

192.168.000.000 - 192.168.255.255 , 000 , IANA Reserved for private use FNLC

The filter list is from http://www.bluetack.co.uk/config/IPfilter.dat.gz (the "normal" filter).

However, I don't see why µTorrent would be blocking 192.168.1.1 - isn't it supposed to just block peers? My router is hardly a peer, though I see how perhaps µTorrent could get confused that it is. But does this mean it is blocking legitimate data? I was downloading an Ubuntu ISO, so I doubt any corporation is trying to poison the swarm, most likely.

In the meantime, I put a semicolon in front of the 192.168.000.000 line and according to the Load line in the logger, it is no longer blocking my router. (It said it loaded 111830 entries the first time, now it loads 111829 entries.)

-Ares

Link to comment
Share on other sites

Idea for improvement: Since there's ample room for it, and since an IP address by itself means little on its face, why not include the definition of the address as well, which is mentioned right in the ipfilter.dat file? Such as:

[12:46:52] IpFilter blocked peer 132.2.1.5 (Evil Corporation, Inc.)

Link to comment
Share on other sites

@rseiler: I would totally love to see that implemented! I find myself either doing a whois or opening my IPFilter.dat and searching for whatever IP is blocked, cause I'm nosey like that. 0.o

Pleeeease implement that? It's not high priority, but it would be oh-so-cool. :D

-Ares

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...