This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#26 2012-04-30 20:21:09

joletole
Scratcher
Registered: 2011-02-20
Posts: 1000+

Re: ITopic: Guide to blocking iP's for your website!

GeonoTRON2000 wrote:

I don't see why it's so important to have "ITopic: " in the title.  You could just add that yourself.

If you do, you will get in trouble.

Offline

 

#27 2012-05-01 08:00:34

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: ITopic: Guide to blocking iP's for your website!

GeonoTRON2000 wrote:

I don't see why it's so important to have "ITopic: " in the title.  You could just add that yourself.

The "ITopic: " in the title marks it as a non-auto-close thread. If you add it in yourself, it will get removed.

Offline

 

#28 2012-05-19 06:34:59

SJRCS_011
Scratcher
Registered: 2011-02-07
Posts: 1000+

Re: ITopic: Guide to blocking iP's for your website!

Isn't it possible to get around this via XSS though?


http://i.imgur.com/vQqtH.png
Learning to Program in a Nutshell:  "You're missing a closing parentheses" - LS97

Offline

 

#29 2012-05-20 03:32:02

P110
Scratcher
Registered: 2011-04-12
Posts: 500+

Re: ITopic: Guide to blocking iP's for your website!

Maybe, I'm just trying to provide an easy solution for people.


Me live on 2.0 now  sad

Offline

 

#30 2012-05-20 04:43:58

rookwood101
Scratcher
Registered: 2011-07-29
Posts: 500+

Re: ITopic: Guide to blocking iP's for your website!

P110 wrote:

Maybe, I'm just trying to provide an easy solution for people.

I think maybe you should include some other methods in the main post such as with php and .htaccess files.


http://i.imgur.com/zeIZW.png

Offline

 

#31 2012-05-20 10:31:44

P110
Scratcher
Registered: 2011-04-12
Posts: 500+

Re: ITopic: Guide to blocking iP's for your website!

rookwood101 wrote:

P110 wrote:

Maybe, I'm just trying to provide an easy solution for people.

I think maybe you should include some other methods in the main post such as with php and .htaccess files.

i do mention that this is only one method


Me live on 2.0 now  sad

Offline

 

#32 2012-05-20 10:33:15

veggieman001
Scratcher
Registered: 2010-02-20
Posts: 1000+

Re: ITopic: Guide to blocking iP's for your website!

SJRCS_011 wrote:

Isn't it possible to get around this via XSS though?

Or you can just disable Javascript.


Posts: 20000 - Show all posts

Offline

 

#33 2012-05-20 10:33:46

XenoK
Scratcher
Registered: 2011-09-08
Posts: 1000+

Re: ITopic: Guide to blocking iP's for your website!

GeonoTRON2000 wrote:

I don't see why it's so important to have "ITopic: " in the title.  You could just add that yourself.

if you add it yourself, mods will take it off, and let you off with a warning the first time.  I think that's what happens.  If I'm mistaken, scimonster, sparks, etc. fill me in here!


Eternity Tasks has launched into Alpha One! http://tasks.eternityincurakai.com/EI%20projects.png

Offline

 

#34 2012-05-20 10:34:21

veggieman001
Scratcher
Registered: 2010-02-20
Posts: 1000+

Re: ITopic: Guide to blocking iP's for your website!

XenoK wrote:

GeonoTRON2000 wrote:

I don't see why it's so important to have "ITopic: " in the title.  You could just add that yourself.

if you add it yourself, mods will take it off, and let you off with a warning the first time.  I think that's what happens.  If I'm mistaken, scimonster, sparks, etc. fill me in here!

They already said that :L


Posts: 20000 - Show all posts

Offline

 

#35 2012-05-22 15:55:48

XenoK
Scratcher
Registered: 2011-09-08
Posts: 1000+

Re: ITopic: Guide to blocking iP's for your website!

veggieman001 wrote:

XenoK wrote:

GeonoTRON2000 wrote:

I don't see why it's so important to have "ITopic: " in the title.  You could just add that yourself.

if you add it yourself, mods will take it off, and let you off with a warning the first time.  I think that's what happens.  If I'm mistaken, scimonster, sparks, etc. fill me in here!

They already said that :L

woops


Eternity Tasks has launched into Alpha One! http://tasks.eternityincurakai.com/EI%20projects.png

Offline

 

#36 2012-06-16 22:30:39

P110
Scratcher
Registered: 2011-04-12
Posts: 500+

Re: ITopic: Guide to blocking iP's for your website!

bump


Me live on 2.0 now  sad

Offline

 

#37 2012-06-16 23:16:05

chanmanpartyman
Scratcher
Registered: 2011-05-30
Posts: 500+

Re: ITopic: Guide to blocking iP's for your website!

I wonder if you will have to rewrite this for IPv6

Offline

 

#38 2012-06-17 00:15:19

jvvg
Scratcher
Registered: 2008-03-26
Posts: 1000+

Re: ITopic: Guide to blocking iP's for your website!

chanmanpartyman wrote:

I wonder if you will have to rewrite this for IPv6

I don't think so.

However, I tried using the trick mentioned in this guide, and it doesn't work.


http://tiny.cc/zwgbewhttp://tiny.cc/e1gbewhttp://tiny.cc/zygbewhttp://tiny.cc/izgbew
Goodbye, Scratch 1.4  sad                                                        Hello Scratch 2.0!  smile

Offline

 

#39 2012-06-17 02:46:30

P110
Scratcher
Registered: 2011-04-12
Posts: 500+

Re: ITopic: Guide to blocking iP's for your website!

jvvg wrote:

chanmanpartyman wrote:

I wonder if you will have to rewrite this for IPv6

I don't think so.

However, I tried using the trick mentioned in this guide, and it doesn't work.

make sure you put it in the head section and entered a correct ip as shown, make sure there is a /banned.html or enter a different url


Me live on 2.0 now  sad

Offline

 

#40 2012-06-17 02:59:44

trinary
Scratcher
Registered: 2012-01-29
Posts: 1000+

Re: ITopic: Guide to blocking iP's for your website!

An interesting guide.


http://trinary.tk/images/signature_.php

Offline

 

#41 2012-06-17 03:15:54

P110
Scratcher
Registered: 2011-04-12
Posts: 500+

Re: ITopic: Guide to blocking iP's for your website!

trinary wrote:

An interesting guide.

Thanks  smile


Me live on 2.0 now  sad

Offline

 

#42 2012-06-17 11:54:41

jvvg
Scratcher
Registered: 2008-03-26
Posts: 1000+

Re: ITopic: Guide to blocking iP's for your website!

P110 wrote:

jvvg wrote:

chanmanpartyman wrote:

I wonder if you will have to rewrite this for IPv6

I don't think so.

However, I tried using the trick mentioned in this guide, and it doesn't work.

make sure you put it in the head section and entered a correct ip as shown, make sure there is a /banned.html or enter a different url

I tried that, it still doesn't seem to work.
Does it require anything on the server?


http://tiny.cc/zwgbewhttp://tiny.cc/e1gbewhttp://tiny.cc/zygbewhttp://tiny.cc/izgbew
Goodbye, Scratch 1.4  sad                                                        Hello Scratch 2.0!  smile

Offline

 

#43 2012-06-17 12:03:02

P110
Scratcher
Registered: 2011-04-12
Posts: 500+

Re: ITopic: Guide to blocking iP's for your website!

jvvg wrote:

P110 wrote:

jvvg wrote:


I don't think so.

However, I tried using the trick mentioned in this guide, and it doesn't work.

make sure you put it in the head section and entered a correct ip as shown, make sure there is a /banned.html or enter a different url

I tried that, it still doesn't seem to work.
Does it require anything on the server?

no, one problem might be that you aren't entering the right ip, are you doing 192....

Or try getting your public ip from here


Me live on 2.0 now  sad

Offline

 

#44 2012-06-17 16:30:30

LiquidMetal
Scratcher
Registered: 2011-06-15
Posts: 500+

Re: ITopic: Guide to blocking iP's for your website!

It would be fairly easy to write a userscript to remove this code from whatever pages it was found on.

Offline

 

#45 2012-06-17 16:46:44

jvvg
Scratcher
Registered: 2008-03-26
Posts: 1000+

Re: ITopic: Guide to blocking iP's for your website!

P110 wrote:

jvvg wrote:

P110 wrote:


make sure you put it in the head section and entered a correct ip as shown, make sure there is a /banned.html or enter a different url

I tried that, it still doesn't seem to work.
Does it require anything on the server?

no, one problem might be that you aren't entering the right ip, are you doing 192....

Or try getting your public ip from here

I use my public IP. I also tried using the <!-- #echo --> thingy (yes, I put the whole thing when I tried it) to just alert my address.
That didn't work either.

It's possible this only works in some browsers.


http://tiny.cc/zwgbewhttp://tiny.cc/e1gbewhttp://tiny.cc/zygbewhttp://tiny.cc/izgbew
Goodbye, Scratch 1.4  sad                                                        Hello Scratch 2.0!  smile

Offline

 

#46 2012-06-17 16:48:54

P110
Scratcher
Registered: 2011-04-12
Posts: 500+

Re: ITopic: Guide to blocking iP's for your website!

jvvg wrote:

P110 wrote:

jvvg wrote:


I tried that, it still doesn't seem to work.
Does it require anything on the server?

no, one problem might be that you aren't entering the right ip, are you doing 192....

Or try getting your public ip from here

I use my public IP. I also tried using the <!-- #echo --> thingy (yes, I put the whole thing when I tried it) to just alert my address.
That didn't work either.

It's possible this only works in some browsers.

try ur non public ip after this I have one more idea and then I'm stumped...


Me live on 2.0 now  sad

Offline

 

#47 2012-06-17 16:56:58

jvvg
Scratcher
Registered: 2008-03-26
Posts: 1000+

Re: ITopic: Guide to blocking iP's for your website!

P110 wrote:

jvvg wrote:

P110 wrote:


no, one problem might be that you aren't entering the right ip, are you doing 192....

Or try getting your public ip from here

I use my public IP. I also tried using the <!-- #echo --> thingy (yes, I put the whole thing when I tried it) to just alert my address.
That didn't work either.

It's possible this only works in some browsers.

try ur non public ip after this I have one more idea and then I'm stumped...

I also tried:

Code:

var ip = '<!--#echo var="REMOTE_ADDR"-->';
alert(ip);

and the box was blank.


http://tiny.cc/zwgbewhttp://tiny.cc/e1gbewhttp://tiny.cc/zygbewhttp://tiny.cc/izgbew
Goodbye, Scratch 1.4  sad                                                        Hello Scratch 2.0!  smile

Offline

 

#48 2012-06-17 17:14:40

P110
Scratcher
Registered: 2011-04-12
Posts: 500+

Re: ITopic: Guide to blocking iP's for your website!

jvvg wrote:

P110 wrote:

jvvg wrote:


I use my public IP. I also tried using the <!-- #echo --> thingy (yes, I put the whole thing when I tried it) to just alert my address.
That didn't work either.

It's possible this only works in some browsers.

try ur non public ip after this I have one more idea and then I'm stumped...

I also tried:

Code:

var ip = '<!--#echo var="REMOTE_ADDR"-->';
alert(ip);

and the box was blank.

the last method I'll contact you abot tomorrow


Me live on 2.0 now  sad

Offline

 

Board footer