Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Blocking Access from Specific Country(is)

Asked Modified Viewed 3,079 times
S
softgil
S
Windows is easier than Linux, just like crapping in your pants is easier than going to the bathroom.
Unknown
  • Junior Member, joined since
  • Contributed 28 posts on the community forums.
  • Started 7 threads in the forums
  • Started this discussions
asked
Junior Member

Hello all.

Recently my PHPFusion based site begun being spammed with TONS of porno and kinky crap all coming from China IP Addresses.

I don't know if they are bots or real users but I'm getting tired of adding IP addresses (all from China) and email addresses all finishing by .cn to the black list of users and deleting all their crappy posts. This method only works for a couple of days since after that another batch of new users from China will register and will start flooding the forum with porn again.:@

I wonder if there is a quick method for totally disable a specific country to access my site (China in this case but may be other eventually), and how to do it.

Any help would be highly appreciated and much needed.

Many thanks.

Cheers.

SoftGil @ http://forum.softgil.com/
0 replies

13 posts

L
lsainsbury
L
Best Regards,
Lee
  • Senior Member, joined since
  • Contributed 270 posts on the community forums.
  • Started 53 threads in the forums
answered
Senior Member

What public access do you have? Where are they posting? Forums? Make that forum member only? Or just ban the member and enable the registration system!
0 replies
S
softgil
S
Windows is easier than Linux, just like crapping in your pants is easier than going to the bathroom.
Unknown
  • Junior Member, joined since
  • Contributed 28 posts on the community forums.
  • Started 7 threads in the forums
  • Started this discussions
answered
Junior Member

Thanks LSainsbury.

Registration System is active and they register as users (true users or bots I can't tell).

Also, they post mainly Comments under News Categories. Of course, if they are registered users they can post, right?

So, the question remains:

Is a quick method for totally disable a specific country to access my site?

Any ideas?
0 replies
O
olof
O
olof 10
  • Newbie, joined since
  • Contributed 1 post on the community forums.
answered
Newbie

Hi! I have exactly the same problems as you describe, spam in the comments. I also banned users and IP-addresses but the problem is still the same.
0 replies
S
softgil
S
Windows is easier than Linux, just like crapping in your pants is easier than going to the bathroom.
Unknown
  • Junior Member, joined since
  • Contributed 28 posts on the community forums.
  • Started 7 threads in the forums
  • Started this discussions
answered
Junior Member

I know there is a way to block countries using the .htaccess file or similar in the root of your server but I'm not able to find anything "credible" and well explained....:o
0 replies
C
Cupid
C
Cupid 10
  • Member, joined since
  • Contributed 151 posts on the community forums.
  • Started 49 threads in the forums
answered
Member

Someone did that to my site, too.

They would register as a name and a number. Something like "Diert886"
Then they would post New Comments on all the news about stupid porno stuff.

They were registered, but once I put the registering requirements to e-mail verification then it seemed to stop.

Try that. It seems to stop the spammers.
0 replies
S
softgil
S
Windows is easier than Linux, just like crapping in your pants is easier than going to the bathroom.
Unknown
  • Junior Member, joined since
  • Contributed 28 posts on the community forums.
  • Started 7 threads in the forums
  • Started this discussions
answered
Junior Member

These are my Registration details:

Enable registration system? Yes
Use email verification for registration? Yes
New members activated by admin? No
Display validation code? Yes
Validation code display method: Image

It does not solve the problem...:(
0 replies
G
googlebot
G
Visit the new home of the merge between Hacking Vs. Security and Security Override!
My copyright removal has been switched over from HvS to SecurityOverride.
  • Senior Member, joined since
  • Contributed 638 posts on the community forums.
  • Started 28 threads in the forums
answered
Senior Member

Maybe a quick google search will help? Brought up this:

http://www.parkansky.com/china.htm
Edited by googlebot on 28-05-2008 00:28,
0 replies
X
Xessive
X
I am not always right, but I'm never wrong.
http://www.xessive.nl
  • Senior Member, joined since
  • Contributed 327 posts on the community forums.
  • Started 4 threads in the forums
answered
Senior Member

Install the security system infusion on your site.
You can find it at www.bs-fusion.dewww.bs-fusion.de

EDIT: The new SecSys also has a Proxy White AND Blacklist...
Edited by Xessive on 28-05-2008 08:31,
0 replies
J
jadeckard
J
  • Newbie, joined since
  • Contributed 5 posts on the community forums.
  • Started 1 thread in the forums
answered
Newbie

Quote

softgil wrote:
These are my Registration details:

Enable registration system? Yes
Use email verification for registration? Yes
New members activated by admin? No
Display validation code? Yes
Validation code display method: Image

It does not solve the problem...:(


You can set 'New members activated by admin?' to Yes...
Under Forum Content:
set Forum Accessible To: Public
set Forum Postability: Member
Then only 'Activated' members can post.
Hope that helps
0 replies
S
softgil
S
Windows is easier than Linux, just like crapping in your pants is easier than going to the bathroom.
Unknown
  • Junior Member, joined since
  • Contributed 28 posts on the community forums.
  • Started 7 threads in the forums
  • Started this discussions
answered
Junior Member

Quote

googlebot wrote:
Maybe a quick google search will help? Brought up this:

http://www.parkansky.com/china.htm

That's exactly what I was looking after! I already implemented it and it seems to work fine since I forged my access via some public and anonymous Chinese proxy servers and I got my access blocked. :)

Thanks a million for the tip! Surely it's a starting point for a more elaborated security mechanism. :)



Quote

Xessive wrote:
Install the security system infusion on your site.
You can find it at www.bs-fusion.dewww.bs-fusion.de

EDIT: The new SecSys also has a Proxy White AND Blacklist...

This sound's interesting, Xessive. The problem is I don't understand jack about German and I even don't know where to download it from... :( Also, if I can have some documentation in English that would help too.

Thanks.
0 replies
X
Xessive
X
I am not always right, but I'm never wrong.
http://www.xessive.nl
  • Senior Member, joined since
  • Contributed 327 posts on the community forums.
  • Started 4 threads in the forums
answered
Senior Member

Sorry dude, will attach the latest version.
Installation info found here (left bottom are English links): http://docs.bs-fusion.de/doc1.html
Edited by Xessive on 28-05-2008 09:09,
0 replies
S
softgil
S
Windows is easier than Linux, just like crapping in your pants is easier than going to the bathroom.
Unknown
  • Junior Member, joined since
  • Contributed 28 posts on the community forums.
  • Started 7 threads in the forums
  • Started this discussions
answered
Junior Member

Quote

Xessive wrote:
Sorry dude, will attach the latest version.
Installation info found here (left bottom are English links): http://docs.bs-fusion.de/doc1.html

Thanks buddy for the working download link. I'll try it and I'll make a comment later on.

Many thanks. :)
0 replies
X
Xessive
X
I am not always right, but I'm never wrong.
http://www.xessive.nl
  • Senior Member, joined since
  • Contributed 327 posts on the community forums.
  • Started 4 threads in the forums
answered
Senior Member

Quote

softgil wrote:
Thanks buddy for the working download link. I'll try it and I'll make a comment later on.

Many thanks. :)


Please read the installation instructions carefully. You need to add a few lines of code to maincore.php.
If unsure reply here or PM me.. Good Luck.
If needed I will export the spamwords list for you.. (already have 4 pages full...)
Edited by Xessive on 28-05-2008 09:23,
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 13 posts
  • Votes 0 votes
  • Topic users 7 members

0 participants

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet