Go Back   vb.org Archive > Community Discussions > Forum and Server Management
  #1  
Old 05-14-2013, 05:41 PM
tehbasmentdwell tehbasmentdwell is offline
 
Join Date: Jan 2011
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default ConfigServer Security & Firewall - anyone familiar with the settings?

We've been having issues with dos/ddos attacks on our forum for a while now - last night i decided to do a bit of tinkering with CSF and i've made a bit of a boo boo

I ran the "Check server security" command then started to go through all the 'warning' messages one at a time, altering the relevant settings to fix the warning.

Everything seemed ok at first but a bit later i discovered that our main forum page (the page you get first if you google our site) is just showing as a blank page

http://tehbasement.com/ just gives you a blank page

http://tehbasement.com/forum/ takes you to the cloudflare smarterrors page

Only http://tehbasement.com/forum.php takes you to our forum now.


Anyone know which setting i've changed that has caused this? I'm a relative noob at this stuff, just trying to beef up security and it's gone a bit awry

Thanks in advance for any help! Goofy.
Reply With Quote
  #2  
Old 05-14-2013, 05:44 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry, trying to guess at which one of your changes caused it is basically a guessing game.

Did you check your error_log for apache/nginx/etc?

Id also check your syslog or messages log.
Reply With Quote
  #3  
Old 05-14-2013, 06:23 PM
tehbasmentdwell tehbasmentdwell is offline
 
Join Date: Jan 2011
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by snakes1100 View Post
Sorry, trying to guess at which one of your changes caused it is basically a guessing game.

Did you check your error_log for apache/nginx/etc?

Id also check your syslog or messages log.
Checked the error log through cpanel - here's a couple of the latest errors:

[Tue May 14 19:42:18 2013] [error] [client xxx.xxx.xx.xx] File does not exist: /home/tehbasem/public_html/404.shtml, referer: https://vborg.vbsupport.ru/showthread.php?p=2422041
[Tue May 14 19:42:18 2013] [error] [client xxx.xxx.xx.xx] File does not exist: /home/tehbasem/public_html/forum, referer: https://vborg.vbsupport.ru/showthread.php?p=2422041

(ip address edited to protect the innocent, possibly yourself )

Is this any help? Are there other logs i should check for more info? (i'm a tech n00b) Thanks.
Reply With Quote
  #4  
Old 05-14-2013, 06:26 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As i said, would be rather hard to guess, the error log results dont help.

Did you do anything related to suPHP or disable_functions?
Reply With Quote
  #5  
Old 05-14-2013, 07:52 PM
tehbasmentdwell tehbasmentdwell is offline
 
Join Date: Jan 2011
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by snakes1100 View Post
Did you do anything related to suPHP or disable_functions?
Not that i can think of mate.

Would an htaccess file redirect work? ie set it up the .htaccess file to redirect both http://tehbasement.com/ and http://tehbasement.com/forum/ to http://tehbasement.com/forum.php?
Reply With Quote
  #6  
Old 05-14-2013, 09:08 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes you can simply redirect it with a htaccess redirect, but that isnt going to fix the real issue.

enable display_errors in php.ini & restart apache
Reply With Quote
  #7  
Old 05-14-2013, 10:27 PM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As you said u are a noob at this so before you break something else give your host a call tell them what you did and get them to fix it
Reply With Quote
Благодарность от:
tbworld
Reply

Thread Tools
Display Modes

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 08:47 AM.


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.06163 seconds
  • Memory Usage 2,221KB
  • 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
  • (7)post_thanks_box
  • (1)post_thanks_box_bit
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete