Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #11  
Old 11-06-2013, 03:13 PM
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Posts: 3,134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Videx View Post
If we're taking a poll, I have both those files in mine. It never occurred to me that a hacker would need that information for some nefarious purpose. I mean, once they get into the server they're going to know all that stuff anyway.
Nobody mentioned hackers. Script Kiddies, was the meter.

There is no reason to include admincp and modcp in robots.txt. The bad bots are going there anyway.
Reply With Quote
  #12  
Old 11-06-2013, 06:58 PM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by GaryT View Post
Ok so for me to open my forum to badbots or "scripy kiddies" I'm at risk, I got that.

Then here is my headache, restrict the bad guys and lose being found by folks looking for the type of content my site offers or, take a chance so I may gain more members?

I'm going to start Googleing and hopefully there is a sweet spot to go with.

Thanks
Particularly, you don't want to include your admin and mod directories if you've changed them for the very reason vBulletin let's you change them in the first place. To make it harder for a hacker to guess where they are.

But as an aside, it's pointless to put them in robots.txt, since, as was mentioned, robots.txt is an honor system thing. Legitimate bots already know about and have no use for your Admin CP (presuming the name hasn't been changed.) Whereas bad bots aren't going to honor it in the first place. Robots.txt is something you use to control how much legitimate bots see and index. Don't even consider it for bad bots. For bad bots, consider other blocking tools such as Simon's modification or .htaccess. In my case, my host let's me ban IP addresses from all my domains via cPanel, which simply automates the editing of .htaccess across all my domains.

For robots.txt, you may want to try a little trial and error. A few years ago I was getting slammed by MSNbot. I didn't know why (probably because Bing was about to startup in a year or two), but it was hogging system resources and was exacerbating pre-existing conditions. So I set a crawl-delay for MSN.

[pre]User-agent: msnbot
Crawl-delay: 3[/pre]

Basically, I'm saying you tweak robots.txt according to your needs. Look at your modifications that have their own unique pages. Do you feel the need to have it index every one of those? Just as an example, if you had iTrader installed, you probably wouldn't need the iTrader ratings page indexed. Or the arcade. Or a page devoted to Facebook login. You probably have default pages that don't need to be indexed, like login.php or private.php. Robot.txt will help to keep bots from wasting their time there.
Reply With Quote
3 благодарности(ей) от:
Dr.CustUmz, K4GAP, Max Taxable
  #13  
Old 11-07-2013, 04:29 AM
K4GAP K4GAP is offline
 
Join Date: Mar 2008
Posts: 1,255
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That's some good info, thanks.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:20 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04241 seconds
  • Memory Usage 2,188KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (3)post_thanks_box
  • (3)post_thanks_box_bit
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (3)post_thanks_postbit_info
  • (3)postbit
  • (3)postbit_onlinestatus
  • (3)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete