Thread: Board Optimization - Proxy Alert
View Single Post
  #272  
Old 01-13-2015, 06:37 PM
TheInsaneManiac TheInsaneManiac is offline
 
Join Date: Feb 2008
Posts: 1,360
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Nelson58 View Post
It identified these IPs as Tors, and they aren't:

xxxx was detected using a tor!
Real IP: 66.236.27.197
Real Hostname: 66.236.27.197
Proxy IP: 66.236.27.197
Proxy Hostname: 66.236.27.197

was detected using a tor!
Real IP: 107.77.75.80
Real Hostname: 107.77.75.80
Proxy IP: 107.77.75.80
Proxy Hostname: 107.77.75.80


was detected using a tor!
Real IP: 10.154.0.250, 180.94.79.58
Real Hostname: Unknown
Proxy IP: 180.94.79.58
Proxy Hostname: 180.94.79.58
The problem is that Tor detection is built off of Tor's exitlist. Which is their own IP address blocking script. Somehow their script is throwing false positives, and I am not understanding why, so this requires me to build the script to block the ip's individually. The problem with this is that I would have to update the ip definitions weekly or possibly daily. Which I don't mind doing, but I am unsure on vBulletins policy with automatic file updates. This may have to be something I do in the premium version. However I am ok with updating the definitions on my website server, but that means extra work for everyone else on uploading a new file every week to their servers. I even did a check for one of the IPs and found no results:
Code:
https://check.torproject.org/cgi-bin/TorBulkExitList.py?ip=107.77.75.80
So yes it can be done, but I need to check with vBulletin staff to see if I could do automatic file updates from my server.



Quote:
Originally Posted by Nelson58 View Post
It's too bad, this is a great idea....

I hope this isn't another coder who just "leaves" and gives up on his mod....
No I am not, I am just balancing two jobs and working for a third party on another project, and have not any time to work on anything the last couple months, and probably will still not have time for another 2-3 months when this project is completed.



Quote:
Originally Posted by sonic83 View Post
Thanks, I found the xml

But I urgently need this option:
Not Allowing users to post Tor
I thought that was already available.
When you think have it?

Thank You
This is something that will be added to the next version.


EDIT: Approval from staff was given, when I have some spare time, I will upgrade detection.


Update: I have pushed out 1.9.3 to everyone. There was an issue that referred all proxies as tor detections. Now you can appropriately track an incorrect detection. If you are still receiving false positives from Tor side, then please let me know and I will code everything based on IP instead of Tor's API for blocking.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01053 seconds
  • Memory Usage 1,778KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete