[BUG] Security rules can't block some hits from Gnutella

Discuss Shareaza bugs.
Forum rules
Home | Wiki | Rules

[BUG] Security rules can't block some hits from Gnutella

Postby diztrancer » 05 Jan 2010 16:51

String and regex rules can't block some hits from Gnutella:

Rule "\.au$" can't block "some shit superhit.au" from Gnutella.

Same for ".mov" or "." spam :(

Why ???
Attachments
unblockable.jpg
String and regex rules can't block some hits from Gnutella ?
User avatar
diztrancer
 
Posts: 222
Joined: 13 Jun 2009 15:41
Location: Ukraine

Re: Security rules can't block some hits from Gnutella

Postby raspopov » 05 Jan 2010 18:05

Pleas don't use regexp rules for such simple cases, its about 100 times slower than basic content rules.
User avatar
raspopov
Project Admin
 
Posts: 945
Joined: 13 Jun 2009 12:30

Re: Security rules can't block some hits from Gnutella

Postby diztrancer » 05 Jan 2010 18:23

I don't uses regex in my "production" filter. But ".au" string filter also can't block Gnutella ".au" spam :(
User avatar
diztrancer
 
Posts: 222
Joined: 13 Jun 2009 15:41
Location: Ukraine

Re: Security rules can't block some hits from Gnutella

Postby cyko_01 » 06 Jan 2010 14:06

I have also noticed this. The files come up first without an extension and then are renamed with the extension .au or .mov . Also, the appropriate icons for those file-types are not displayed, only the generic question mark icons. I considered filtering all files without extensions but wasn't sure how to do it as a security filter
User avatar
cyko_01
 
Posts: 938
Joined: 13 Jun 2009 15:51

Re: Security rules can't block some hits from Gnutella

Postby ailurophobe » 08 Jan 2010 18:08

The filter is applied to the file name and if the file name returned by the search hit does not contain the extension... I think that if you add, delete, or edit any security rule, the filter should get applied to the file names, and these removed. If so there is a missing call to security in the code doing the renaming... I RG it would be metadata processing, which I also RG includes MIME type or something similar.
ailurophobe
 
Posts: 709
Joined: 11 Nov 2009 05:25

Re: Security rules can't block some hits from Gnutella

Postby cyko_01 » 15 Jan 2010 00:01

User avatar
cyko_01
 
Posts: 938
Joined: 13 Jun 2009 15:51

Re: [BUG] Security rules can't block some hits from Gnutella

Postby ailurophobe » 31 Jan 2010 22:07

It would still be Shareaza code doing the renaming without a security check, for a different reason, but that is irrelevant.
ailurophobe
 
Posts: 709
Joined: 11 Nov 2009 05:25

Re: [BUG] Security rules can't block some hits from Gnutella

Postby ivan386 » 01 Feb 2010 15:32

Shareaza use file name from first hit even if it banned. If file have other hits without banned words Shareaza show this file whith name from firs hit.
ivan386
 
Posts: 261
Joined: 17 Jun 2009 14:08

Re: [BUG] Security rules can't block some hits from Gnutella

Postby mojo85 » 01 Feb 2010 18:53

How about extensions, for the most part this doesn't change ... and what I witnessed is that a blocked extension sometimes still gets through.

In such a scenario, could a temp ban based on the hash of the file be created on the first hit of a matching result ... this way the filename is blocked and so is the hash temporarily?
mojo85
 
Posts: 115
Joined: 27 Sep 2009 05:35


Return to Bugs

Who is online

Users browsing this forum: No registered users and 1 guest

cron