PenUltima Online Forum Index Official Core: 096.7
Official Core: 097 2008-02-26
Donate towards the POL web hosting bill!
 POL Home   FAQ   Search    Memberlist   Usergroups    Register    Profile   Log in to check your private messages   Log in
[Script] Shard Status System for PHP-Nuke

 
Post new topic   Reply to topic    PenUltima Online Forum Index -> Custom Script Releases
Display posts from previous:   

Author Message
MuadDib
POL Developer


Joined: 13 Feb 2006
Posts: 830
Location: Indiana, USA

PostPosted: Mon Feb 20, 2006 2:30 am    Post subject: [Script] Shard Status System for PHP-Nuke Reply with quote

POL and PHP-Nuke scripts to add a secure Shard Status page to your Nuke website. Be sure to read instructions for install. Uses AUX SVC connections instead of webserver of POL for security.


polpackunpack.rar
 Description:
Include file for working with packing and unpacking information sent via communications with POL AUX Services and PHP scripts.

Download
 Filename:  polpackunpack.rar
 Filesize:  1.64 KB
 Downloaded:  157 Time(s)


php-nuke-status.rar
 Description:
Version: 2.2

Download
 Filename:  php-nuke-status.rar
 Filesize:  13.17 KB
 Downloaded:  187 Time(s)



Last edited by MuadDib on Sun Mar 05, 2006 7:35 pm; edited 1 time in total

Author Message
Marilla



Joined: 02 Feb 2006
Posts: 329

PostPosted: Sun Mar 05, 2006 5:59 pm    Post subject: Reply with quote

Hey there, I have two questions about this, which I bring up just assuming that if I have these questions, maybe someone else does, too!

First; is it just me, or is that .rar missing the include file(s) with the functions that do the packing/unpacking? I know that part is simple to do, but someone looking for a 'turnkey' solution (which is the point to using PHPNuke in the first place, yes?) might not know how to recreate them.

Next, it seems your web server is sending the .rar file marked as a MIME type that at least my browser is thinking it just displays as text, requiring right-clicking and 'save link as' on Firefox. So just a heads-up for you, and anyone downloading it. (also depending on one's browser, you may need to rename the file while saving - the file IS a .rar file)


Errr... also, this is a minor point, to which I think I know the answer(s), but I want to make sure I'm not missing something: You say this method is more 'secure'. I assume you mean it's more secure than simply having people load up an .ecl from the WWW directory directly.

First, let me assure you that in no way do I disagree with that, assuming that's what you mean. I do a very similar thing on my shard with all web pages that get info from the game; My web server connects to an AUX or WWW script on POL (the AUX and WWW ports are firewalled, allowing only the web server access) and caches the results in a database and in application memory, much like your PHP system caches the results in a file.

'Security' is gained in your case by not allowing people direct access to repeatedly load a web page from the game server. Just to be clear, though; This assumes that the person using your system also makes sure there is no public access to an online.ecl script. (or any other public access to WWW scripts that could cause significant processing) I know that it might seem to be almost an insult to the intelligence of some people, to say that... but sometimes you need to spell things out Razz

Also, your system takes into account that the person might not have firewall/packet filtering available (although Linux and Windows 2k/XP/2k3 all come with packet filtering as part of the OS), and so requires a password from the AUX script; so even if someone port scans the game server and finds the open port and connects... without the proper password, the script will simply send them a tiny bit of junk and disconnect.



Finally, I'm actually having a bit of an issue with an AUX script system myself, but that's a different thing for a different time and place, so I'll save that for then!

Author Message
MuadDib
POL Developer


Joined: 13 Feb 2006
Posts: 830
Location: Indiana, USA

PostPosted: Sun Mar 05, 2006 7:23 pm    Post subject: Reply with quote

Aye, beyond the password, and firewalls, etc, is why this is stated as more secure. Also by caching, it saves bw from the game server, access time, etc.

I'll put up a download with the include (is in another pkg on my site) for the cfg file handling and such for PHP.

And, let's not forget.... none of us devs are exactly "Apache webserver developers". So pol's webserver isn't exactly fort knox if you know what i mean Smile

Author Message
Marilla



Joined: 02 Feb 2006
Posts: 329

PostPosted: Mon Mar 06, 2006 2:03 pm    Post subject: Reply with quote

So, does that mean no possibility of SSL implementations? Laughing Razz Twisted Evil

Post new topic   Reply to topic    PenUltima Online Forum Index -> Custom Script Releases All times are GMT - 4 Hours
Page 1 of 1

 




Powered by phpBB © 2001, 2005 phpBB Group :: Theme & Graphics by GHS & Scott E. Royalty