Page 45 of 49

Re: [2.0.18] Block Open Proxy Registrants

Posted: Sun Jul 08, 2007 10:56 pm
by djblade
does this mod work on v 2.0.22 on phpbb forums

Re: [2.0.18] Block Open Proxy Registrants

Posted: Mon Jul 09, 2007 4:31 am
by TerraFrost
djblade wrote:does this mod work on v 2.0.22 on phpbb forums
I don't see why it wouldn't...

Re: [2.0.18] Block Open Proxy Registrants

Posted: Fri Jul 13, 2007 11:04 pm
by hotfmcanarypete
Howdy, first post, first reason to. So far I have installed several mods, with no problems installing them (all manually, I must admit the first one went a bit WHOO HOOO, but all went good in the end) I have tested this open proxy one and it does seem to work, YEY, and I like your mods as they are cool. But........

I have used http and socks proxies from http://www.samair.ru (flippin russians as I think its THEM that are getting me) and used a program called socks chain to test and obain both proxy and socks address + ports etc. Now I have to admit it takes a long time depending on where the IP is, to sometimes load the pages etc, but they are STILL sneaking through. Now there is a proxy checking tool on the samair site that is suppose to check their database for these open ones, Is there anyway I can use this or is there anything else I can use to check for open one and ban them, or am I just gonna have to keep on allowing people personnaly (as the admin) to use the site?

Cheers

Pete

Re: [2.0.18] Block Open Proxy Registrants

Posted: Tue Jul 17, 2007 4:00 am
by TerraFrost
hotfmcanarypete wrote:Howdy, first post, first reason to. So far I have installed several mods, with no problems installing them (all manually, I must admit the first one went a bit WHOO HOOO, but all went good in the end) I have tested this open proxy one and it does seem to work, YEY, and I like your mods as they are cool. But........

I have used http and socks proxies from http://www.samair.ru (flippin russians as I think its THEM that are getting me) and used a program called socks chain to test and obain both proxy and socks address + ports etc. Now I have to admit it takes a long time depending on where the IP is, to sometimes load the pages etc, but they are STILL sneaking through. Now there is a proxy checking tool on the samair site that is suppose to check their database for these open ones, Is there anyway I can use this or is there anything else I can use to check for open one and ban them, or am I just gonna have to keep on allowing people personnaly (as the admin) to use the site?
This MOD does have a timeout setting. Increasing it will catch more proxies, but at a cost - the registration page will take increasingly more time to load.

As for SOCKS proxies... 2.2.1 doesn't detect them. 3.0.0 does, but that feature hasn't been thoroughly tested by me and since I know consider IP Unmasker to be the successor to this MOD, that's not a feature I'm really all that interested in further developing.

A MOD could be written to check against samair's database, but that could result in false positives and negatives. If you want such a MOD, though, try posting in the MOD Requests forum.

That said, if you're just looking to stop spam registrants, you could try my Note to Admin on Admin Activation MOD. There are other possibilities described in the following URL:

http://www.phpbb.com/community/viewtopi ... 1&t=427852

Good luck!

Re: [2.0.18] Block Open Proxy Registrants

Posted: Thu Jul 19, 2007 9:02 pm
by Acorn
I've just set this mod up on a new forum and when I click on 'Block Open Proxies' in the ACP I get the following message:

Forbidden
You don't have permission to access /chat/admin/admin_proxy.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


The permissions for admin_proxy are set to 644.

Any ideas?

Re: [2.0.18] Block Open Proxy Registrants

Posted: Thu Jul 19, 2007 9:50 pm
by TerraFrost
The only thing I can figure is that maybe some .htaccess file is blocking access to it. I'd try renaming it to a few other things and see if you can still access it.

Portions of it probably aren't going to work while it's renamed, but atleast that'd give you some info.

Re: [2.0.18] Block Open Proxy Registrants

Posted: Thu Jul 19, 2007 10:11 pm
by Acorn
:D Thanks. Having changed the name, I was able to get to the right place when clicking on Block Open Proxies. I've now changed all references to admin_proxy.php to the new name (I didn't find any that weren't in the renamed file itself), and it seems to be working.

Does it sound as though I've missed anything?

Re: [2.0.18] Block Open Proxy Registrants

Posted: Thu Jul 19, 2007 10:41 pm
by TerraFrost
Acorn wrote::D Thanks. Having changed the name, I was able to get to the right place when clicking on Block Open Proxies. I've now changed all references to admin_proxy.php to the new name (I didn't find any that weren't in the renamed file itself), and it seems to be working.

Does it sound as though I've missed anything?
Nope - I think you got everything :)

Re: [2.0.18] Block Open Proxy Registrants

Posted: Mon Jul 23, 2007 8:51 pm
by djblade
Error on checking ip


Warning: fputs(): supplied argument is not a valid stream resource in /home/djblade/public_html/includes/functions_proxy.php on line 180

Warning: fclose(): supplied argument is not a valid stream resource in /home/djblade/public_html/includes/functions_proxy.php on line 224

Warning: fputs(): supplied argument is not a valid stream resource in /home/djblade/public_html/includes/functions_proxy.php on line 180

Warning: fclose(): supplied argument is not a valid stream resource in /home/djblade/public_html/includes/functions_proxy.php on line 224

Warning: fputs(): supplied argument is not a valid stream resource in /home/djblade/public_html/includes/functions_proxy.php on line 180

Warning: fclose(): supplied argument is not a valid stream resource in /home/djblade/public_html/includes/functions_proxy.php on line 224

Warning: fputs(): supplied argument is not a valid stream resource in /home/djblade/public_html/includes/functions_proxy.php on line 180

Warning: fclose(): supplied argument is not a valid stream resource in /home/djblade/public_html/includes/functions_proxy.php on line 224

Warning: fputs(): supplied argument is not a valid stream resource in /home/djblade/public_html/includes/functions_proxy.php on line 180

Warning: fclose(): supplied argument is not a valid stream resource in /home/djblade/public_html/includes/functions_proxy.php on line 224

Warning: fputs(): supplied argument is not a valid stream resource in /home/djblade/public_html/includes/functions_proxy.php on line 185

Warning: fgets(): supplied argument is not a valid stream resource in /home/djblade/public_html/includes/functions_proxy.php on line 191

Warning: feof(): supplied argument is not a valid stream resource in /home/djblade/public_html/includes/functions_proxy.php on line 195

Warning: fgets(): supplied argument is not a valid stream resource in /home/djblade/public_html/includes/functions_proxy.php on line 195

is all i seem to keep on getting does anyone now how to fix this

Re: [2.0.18] Block Open Proxy Registrants

Posted: Mon Jul 23, 2007 9:57 pm
by TerraFrost
Sounds like the fsockopen function may be disabled, in which case, this MOD isn't going to work, at all.

What does the Debug Panel in the ACP say?

Re: [2.0.18] Block Open Proxy Registrants

Posted: Mon Jul 23, 2007 10:21 pm
by djblade
ok how do i view that cos i see no debug section to view

Re: [2.0.18] Block Open Proxy Registrants

Posted: Mon Jul 23, 2007 10:33 pm
by djblade
ok here is me php file lines

line 180
fputs($fsock,sprintf($this->http_request,$port));

line 185
fputs($fsock,sprintf($this->http_request,"$port&debug=1"));

line 191
preg_match('#\d{3}#',fgets($fsock, 1024),$temp);

line 224
fclose($fsock);


Do i need to edit theses at all as these are one lines that are causing the problems if so what do i need to edit them to

Re: [2.0.18] Block Open Proxy Registrants

Posted: Mon Jul 23, 2007 11:17 pm
by TerraFrost
If the problem were in those lines, no one would be able to use this MOD.

Rather, the problem is most likely due to the servers configuration.

As for the Debug Panel... well, how are you testing IP addresses? You can't activate this MOD until you've tested an IP address, successfully, via the ACP. When you're viewing the results of a successful test, there should be a debug panel. Clicking it will open it and give you debug information.

If you can't even get that far, then there's not much I can do (not that there's any guarantee I'll be able to do anything, anyway).

Re: [2.0.18] Block Open Proxy Registrants

Posted: Tue Jul 24, 2007 12:43 am
by djblade
ok this i cant see so there must be something wrong aswell as that i have noticed in acp there is no
in General Admin i cant see the following below
Backup Database
Restore Database
What can be causing this problem is there anything i can do to fix this because am not sure whats causing this at the min

Re: [2.0.18] Block Open Proxy Registrants

Posted: Tue Jul 24, 2007 1:02 am
by TerraFrost
djblade wrote:ok this i cant see so there must be something wrong aswell as that i have noticed in acp there is no
in General Admin i cant see the following below
Backup Database
Restore Database
What can be causing this problem is there anything i can do to fix this because am not sure whats causing this at the min
You're going to have to post a screenshot because I have no clue what you're talking about.

Also, how are you testing proxies? I asked you this in my last post...