vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Board Optimization - [DBTech] vB Optimise v2 (vB4) (https://vborg.vbsupport.ru/showthread.php?t=284816)

DragonByte Tech 09-13-2013 03:42 PM

vB Optimise v2.6.0 Beta 4

Integration With Other DBTech Products
  • Support for caching of the [DBTech] vBAnswers "Latest X" (Landing Page) (Requires [DBTech] vBAnswers v2.0.0 - not yet released)


Fillip

bsun 09-17-2013 01:28 PM

While doing a quick security audit on an inherited installation of vBulletin, we were looking for recently modified .php files in the application folder and noticed that there is a file in the dbtech/vboptimise/filecache/ directory with a .php extension. (Specifically, the filename is what appears to be hexidecimal hash of some sort, followed by that .php ending.) The file appears to have no actual PHP logic in it, simply exiting from PHP and outputting a JSON object via normal text. (Object parts include what appear to be a "time" and a "value.") The file was modified today and is owned by the user that our webserver runs as.

In the interest of establishing a baseline against which we can do future audits: Is the creation of a .php file in the cache directory a normal behavior for this plugin?

AusPhotography 09-17-2013 10:51 PM

Quote:

Originally Posted by bsun (Post 2446206)
In the interest of establishing a baseline against which we can do future audits: Is the creation of a .php file in the cache directory a normal behavior for this plugin?

If you are using file system cache (datastore) (vs Memory such as memcached, xcache etc.) then this will be normal as it writes a file to store the cached data and it will vary as the cache changes.

The component doing the writing of this file is ./upload/dbtech/vboptimise/includes/operators/filecache.php:

bsun 09-18-2013 12:07 PM

Quote:

Originally Posted by AusPhotography (Post 2446352)
If you are using file system cache (datastore) (vs Memory such as memcached, xcache etc.) then this will be normal as it writes a file to store the cached data and it will vary as the cache changes.

The component doing the writing of this file is ./upload/dbtech/vboptimise/includes/operators/filecache.php:

Thanks! That's very good to know.

DragonByte Tech 09-21-2013 06:17 PM

Quote:

Originally Posted by bsun (Post 2446206)
While doing a quick security audit on an inherited installation of vBulletin, we were looking for recently modified .php files in the application folder and noticed that there is a file in the dbtech/vboptimise/filecache/ directory with a .php extension. (Specifically, the filename is what appears to be hexidecimal hash of some sort, followed by that .php ending.) The file appears to have no actual PHP logic in it, simply exiting from PHP and outputting a JSON object via normal text. (Object parts include what appear to be a "time" and a "value.") The file was modified today and is owned by the user that our webserver runs as.

In the interest of establishing a baseline against which we can do future audits: Is the creation of a .php file in the cache directory a normal behavior for this plugin?

To elaborate; the reason why the files are .php as opposed to blank extension or some such, is because .php files can be cached by opcode cachers :)

The filenames are MD5 hashes, btw :)


Fillip

DragonByte Tech 10-11-2013 09:41 PM

Update

Hotfix: PHP 5.4 Compatibility fixes


This does not guarantee the mod is error free on PHP 5.4, but it will take care of the reported errors. Thank you all for your reports :)



Fillip

datoneer 11-18-2013 11:38 AM

I'm still having problems with xcache setting. When i change the opcache operator to xcache and turning on xcache authentication i'm start getting white pages. I've added my xcache username and password into cache.php

DragonByte Tech 12-04-2013 01:12 PM

Are you sure you put your xcache password in plaintext in the config.php file for vB Optimise, and not the md5 hash?

Fillip

Justinphx 12-29-2013 03:15 AM

Quote:

your fix worked unfortunately not for me, my "Forum URL" setting does not have a trailing slash.
Only Display Total Saved Resources within "What's Going On?" works good.
Back in post #178 I was wondering if you ever found a solution to as why the Resource Stats weren't showing except on the forum home. I have the same issue. Everything seems to be working fine - just doesn't report the savings (although the total savings increases every minutes on the What's Going On/forum home).

Thanks. I really like this new version and will be getting the pro version - the guest cache seems like a winner.

DragonByte Tech 12-31-2013 12:49 AM

Unfortunately not, would you be willing to share your FTP / AdminCP details for me to look into this? Remember to link back to this post to remind me of the issue :)


Fillip


All times are GMT. The time now is 02:39 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01538 seconds
  • Memory Usage 1,742KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete