aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: [1] 2

Author Topic: IPFilter bug  (Read 7717 times)

Schuttwegraeumer

  • Sr. Member
  • ****
  • Karma: 2
  • Offline Offline
  • Posts: 421
IPFilter bug
« on: April 24, 2010, 02:38:41 PM »

This yes, the other bugs: NO.

Now (10107) the server.met is loadet at startup.
But the ipfilter.dat is not used by amule.

Problems with loading files in the .amule dir?

Testet with 10107.
« Last Edit: April 25, 2010, 04:15:36 PM by GonoszTopi »
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: server.met not being downloaded
« Reply #1 on: April 25, 2010, 11:30:41 AM »

This yes, the other bugs: NO.
What other bugs?
Quote
But the ipfilter.dat is not used by amule.
Working fine here. What error messages do you get? Any other information?


Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

Schuttwegraeumer

  • Sr. Member
  • ****
  • Karma: 2
  • Offline Offline
  • Posts: 421
Re: server.met not being downloaded
« Reply #2 on: April 25, 2010, 12:31:35 PM »

Since 10102, the serverlist is loadet at startup, but the ipfilter.dat is not loadet.
The settings shows correct  settings but no filter effekt.
If i run a search with all servers, I got SPAM like with deaktivatet ipfilter.dat.
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: server.met not being downloaded
« Reply #3 on: April 25, 2010, 01:44:33 PM »

Is the IP filter not loaded or not updated?
Is there a valid ipfilter.dat in your config?
What does the log file say regarding loading of IP filter?
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

Schuttwegraeumer

  • Sr. Member
  • ****
  • Karma: 2
  • Offline Offline
  • Posts: 421
Re: server.met not being downloaded
« Reply #4 on: April 25, 2010, 01:56:34 PM »

Is the IP filter not loaded or not updated?
Is there a valid ipfilter.dat in your config?
What does the log file say regarding loading of IP filter?

Its not loadet, i use the filter from BISS.
http://blocklistpro.com/download-center/view-details/p2p-ip-filters/1635-pipfilter.dat.gz.html
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: server.met not being downloaded
« Reply #5 on: April 25, 2010, 02:25:40 PM »

Code: [Select]
2010-04-24 17:55:47: amuleAppCommon.cpp(329): Initialising aMule SVN using wxGTK2 v2.8.10 (Debugging) (Snapshot: rev. 10106)
[...]
 2010-04-24 17:55:49: IPFilter.cpp(119): Loading IP filters 'ipfilter.dat' and 'ipfilter_static.dat'.
 2010-04-24 17:55:57: IPFilter.cpp(435): Loaded 269080 IP-ranges from '/home/topi/.aMule/ipfilter.dat'. 0 malformed lines were discarded.
 2010-04-24 17:55:57: IPFilter.cpp(435): Loaded 0 IP-ranges from '/home/topi/.aMule/ipfilter_static.dat'. 0 malformed lines were discarded.
 2010-04-24 17:55:58: IPFilter.cpp(628): IP filter is ready

Although it takes ~8 seconds to load, it does load.

Is there a valid ipfilter.dat in your config?
What does the log file say regarding loading of IP filter?
Logged
concordia cum veritate

Schuttwegraeumer

  • Sr. Member
  • ****
  • Karma: 2
  • Offline Offline
  • Posts: 421
Re: server.met not being downloaded
« Reply #6 on: April 25, 2010, 02:32:56 PM »

@ GonoszTopi

Yes, and?
The ipfilter is not in use.
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: server.met not being downloaded
« Reply #7 on: April 25, 2010, 03:58:42 PM »

If you don't answer our questions we can't help you.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: IPFilter bug
« Reply #8 on: April 25, 2010, 04:31:51 PM »

I splitted the topic because it's now about IPFilter, not server.met.

Current IPFilter implementation definiately has some bugs:

1) "Everything is filtered until IPFilter ready" renders source seeds useless:
Code: [Select]
2010-04-25 16:13:13: IPFilter.cpp(525): IPFilter: Filtered IP xxx.xxx.xxx.xxx because filter isn't ready yet.
 2010-04-25 16:13:13: PartFile.cpp(2786): IPFilter: Ignored source (IP=xxx.xxx.xxx.xxx) received via Source Seeds - IPFilter
 2010-04-25 16:13:13: IPFilter.cpp(525): IPFilter: Filtered IP yyy.yyy.yyy.yyy because filter isn't ready yet.
 2010-04-25 16:13:13: PartFile.cpp(2786): IPFilter: Ignored source (IP=yyy.yyy.yyy.yyy) received via Source Seeds - IPFilter
[...and so on...]

2) though it did filter something, it doesn't count:
Code: [Select]
$ ./amulecmd -c statistics | grep Filtered
 >   Filtered: 0
 >   Filtered Servers: 0
$

Otherwise, working as expected, i.e. after connected to networks, wait some time elapsed:
Code: [Select]
$ ./amulecmd -c statistics | grep 'Filtered:'
 >   Filtered: 10
$
Logged
concordia cum veritate

Schuttwegraeumer

  • Sr. Member
  • ****
  • Karma: 2
  • Offline Offline
  • Posts: 421
Re: IPFilter bug
« Reply #9 on: April 25, 2010, 05:37:01 PM »

the amule seems to work normally.
The log shows the expected lines.
but the search ist not filtered, that means the unwanted servers are not filtered.
The ipfilter.det has not changed since 30.03.2010.
The first SVN with this error was the SVN with the non working server.met.
Than the server.met bug is fixed (10102) but the ipfilter.dat bug isn't.
Logged

Schuttwegraeumer

  • Sr. Member
  • ****
  • Karma: 2
  • Offline Offline
  • Posts: 421
Re: IPFilter bug
« Reply #10 on: April 25, 2010, 05:49:34 PM »

Ok, how to test the IP filtering?
Logged

Schuttwegraeumer

  • Sr. Member
  • ****
  • Karma: 2
  • Offline Offline
  • Posts: 421
Re: IPFilter bug
« Reply #11 on: April 25, 2010, 05:57:42 PM »

WTF???ß

I addet a server IP manually to the ipfilter.dat file and this server got filtered out correctly.
The ipfilter seems to be ok.
But why the SPAm Effekt.
I could use the "Global" serach function without the spam but now the spam ist back.
The spam commes back exactly at the same time the server.met but was in the 1010x SVN.
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: IPFilter bug
« Reply #12 on: April 25, 2010, 06:00:39 PM »

Just a test: does the spam happen with a pre-10100 client too? (I mean now, with the old client)

(I guess it's a new fake server which isn't yet in the IP filter.)
Logged
concordia cum veritate

Schuttwegraeumer

  • Sr. Member
  • ****
  • Karma: 2
  • Offline Offline
  • Posts: 421
Re: IPFilter bug
« Reply #13 on: April 25, 2010, 06:06:25 PM »

Just a test: does the spam happen with a pre-10100 client too? (I mean now, with the old client)

(I guess it's a new fake server which isn't yet in the IP filter.)

I must compile them, i have SVNs befor 10107 only for AMD64 and i have here a old AMD athlon without AMD64.
Give me a few minutes.
Logged

Schuttwegraeumer

  • Sr. Member
  • ****
  • Karma: 2
  • Offline Offline
  • Posts: 421
Re: IPFilter bug
« Reply #14 on: April 25, 2010, 07:43:06 PM »

Ok, same effect with 10099, a lot of spam.
How can I finde the server in my serverlist?
Logged
Pages: [1] 2