Website IP bans

Fehler und Wünsche zum Projekt yoyo@home
Bugs and wishes for the project yoyo@home
Nachricht
Autor
G_UK
Idle-Sammler
Idle-Sammler
Beiträge: 3
Registriert: 10.08.2018 20:45

Website IP bans

#1 Ungelesener Beitrag von G_UK » 10.08.2018 20:59

Whenever I try and browse more than a handful of Work Unit Results I seem to get temporarily IP banned. I can no longer access the project website, download new work units or upload completed work. The ban is lifted after a few hours.

I can confirm the IP ban by switching VPN server, this changes my apparant IP after which I can access the site again. I can then replicate the error if browsing some more work unit results.

To test, these are some of the work units I viewed leading to the IP ban
WARNING: I usually get banned after viewing 2-3 results on each IP. Use a VPN if you are going to test yourself otherwise you may get IP banned on your regular IP.

https://www.rechenkraft.net/yoyo/result ... d=52070224
https://www.rechenkraft.net/yoyo/result ... d=51942732
https://www.rechenkraft.net/yoyo/result ... d=51921297
https://www.rechenkraft.net/yoyo/result ... d=51352164
https://www.rechenkraft.net/yoyo/result ... d=51963271

Benutzeravatar
yoyo
Vereinsvorstand
Vereinsvorstand
Beiträge: 7835
Registriert: 17.12.2002 14:09
Wohnort: Berlin
Kontaktdaten:

Re: Website IP bans

#2 Ungelesener Beitrag von yoyo » 11.08.2018 08:53

You are not bloked by just clicking.
To check it I need an IP which was "blocked" and at which time.
HILF mit im Rechenkraft-WiKi, dies gibts zu tun.
Wiki - FAQ - Verein - Chat

Bild Bild

ChristianB
Vereinsvorstand
Vereinsvorstand
Beiträge: 1915
Registriert: 23.02.2010 22:12

Re: Website IP bans

#3 Ungelesener Beitrag von ChristianB » 11.08.2018 16:23

I looked for 'result.php' in the logfiles from August and there was only one entry and this was a legitimate block. As yoyo said we need an IP that was blocked and the time it was blocked to look that up in the logfile and determine why the IP was blocked.

G_UK
Idle-Sammler
Idle-Sammler
Beiträge: 3
Registriert: 10.08.2018 20:45

Re: Website IP bans

#4 Ungelesener Beitrag von G_UK » 11.08.2018 16:36

86.21.194.105 is the main one, I cant remember the exact time but it would have been late evening to around midnight UTC last night (Currently still blocked and can't upload work).

I've just retested again and had
- 161.202.44.82 blocked at 15:20 UTC
- 207.148.110.102 blocked at 15:31 UTC

Currently on 185.89.249.36 which is working but will be blocked as soon as I browse a few results.

Note. I'm only changing the IP of this one machine, all the rest running BOINC are still on 86.21.194.105

Benutzeravatar
opencw
XBOX360-Installer
XBOX360-Installer
Beiträge: 62
Registriert: 25.03.2015 19:26

Re: Website IP bans

#5 Ungelesener Beitrag von opencw » 11.08.2018 21:09

Hi G_UK,

for further information, do you use UMTS/LTE modem?

sincerely.
MfG,
opencw

„Deutsche Sprache, schwere Sprache”

Bild

ChristianB
Vereinsvorstand
Vereinsvorstand
Beiträge: 1915
Registriert: 23.02.2010 22:12

Re: Website IP bans

#6 Ungelesener Beitrag von ChristianB » 11.08.2018 21:55

Your IP's are getting blocked because they are requesting the URL "rechenkraft.net/yoyo/null" which does not exist, in 3-4 second intervals. This triggers our lockout script. The Host information we get is this: "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0". So far the IPs match the ones you posted and some more but this was probably from your testing. It does not seem to be a widespread problem.

G_UK
Idle-Sammler
Idle-Sammler
Beiträge: 3
Registriert: 10.08.2018 20:45

Re: Website IP bans

#7 Ungelesener Beitrag von G_UK » 12.08.2018 00:27

OK, Thank You. I think I have figured out what is happening.

For some reason when loading the results pages I get the following error logged:
Blocked loading mixed active content "http://www.rechenkraft.net/yoyo//white.css"

This then causes the Firefox extension "Dark Background and Light Text" which post-processes the stylesheet to throw this into the output:
<style type="text/css" data-original-href="null" data-relative-to="https://www.rechenkraft.net/yoyo/null" href="data:text/css,%3C!DOCTYPE%20HTML%20PUBLIC%20%22-%2F%2FIETF%2F%2FDTD%20HTML%202.0%2F%2FEN%22%3E%0A%3Chtml%3E%3Chead%3E%0A%3Ctitle%3E404%20Not%20Found%3C%2Ftitle%3E%0A%3C%2Fhead%3E%3Cbody%3E%0A%3Ch1%3ENot%20Found%3C%2Fh1%3E%0A%3Cp%3EThe%20requested%20URL%20%2Fyoyo%2Fnull%20was%20not%20found%20on%20this%20server.%3C%2Fp%3E%0A%3C%2Fbody%3E%3C%2Fhtml%3E%0A">

Disabling the stylesheet processing by the addon on this site instead outputs this instead for the same line:
<style type="text/css" href="null">

Hopefully that will fix it.

ChristianB
Vereinsvorstand
Vereinsvorstand
Beiträge: 1915
Registriert: 23.02.2010 22:12

Re: Website IP bans

#8 Ungelesener Beitrag von ChristianB » 12.08.2018 08:25

That most probably will not help. But since the underlying problem is the mixed content I've gone through the code again and fixed the remaining places including the white.css stylesheet. This should be fixed for you now. The remaining blocks should be lifted over time too. If not, please post the IP so I can take a look at it.

Antworten

Zurück zu „Fehler, Wünsche / Bugs, Wishes“