Archive for the ‘php’ Category

More chess

I’ve been finding myself thinking about my chess project from…a couple a years ago. Most of it’s been in how to better use OOP principles as well as make it more secure (like take out the eval call for starters). I’ve yet to make it more secure, but I have added a method (movedSpaces()) that [...]

SNMP.Cisco Engine

Wow, after starting to work on the database again I found that the SNMP.Cisco engine wasn’t returning data on trunk port vlans, which is kind of a problem. I’ve finally nailed it after pouring over the Cisco MIB’s and trying to find out how to find the info. Basically, I need to parse some HEX that tells you what VLAN is allowed on a trunk. The awesome thing about this is that this code/concept could be applied to access ports as well. (0 comments)

SNMP.Cisco Engine

Wow, after starting to work on the database again I found that the SNMP.Cisco engine wasn’t returning data on trunk port vlans, which is kind of a problem. I’ve finally nailed it after pouring over the Cisco MIB’s and trying to find out how to find the…

An advancement!

After my post last week I started work on creating an SNMP Cisco engine for Switchport Map. I just committed a working copy to svn and you can grab a copy from there. It should work with the v0.1 release code. However it will require an install of Net-SNMP (http://www.net-snmp.org/) before it will function. See the snmp.cisco.test.php for details on how to use it. (0 comments)

An advancement!

After my post last week I started work on creating an SNMP Cisco engine for Switchport Map. I just committed a working copy to svn and you can grab a copy from there. It should work with the v0.1 release code. However it will require an install of Net-…

Something worthwhile

While I haven’t been working on much code for Switchport Map, I have been taking the time to about SNMP. The reason for this is that I’d like to get away from parsing telnet sessions with the switches. This would allow more information to be gleaned and in a manner that would be far friendlier to the programmer. (0 comments)

Something worthwhile

While I haven’t been working on much code for Switchport Map, I have been taking the time to about SNMP. The reason for this is that I’d like to get away from parsing telnet sessions with the switches. This would allow more information to be gleaned an…

Time filtering: PHP version

As mentioned before, I originally wrote my time filter in PHP but converted it to C# for speed. So here it is for posterity and reference. class nonWorkRanges { public $parse; public $start; public $end; /* this::start and this::end stucture day = 1…31 month = 1…12 (xx = reoccurring) year = YYYY (xxxx = reoccurring) [...]

Weather based backgrounds

Finally got around to bringing my dynamic weather based background together from the various tools I’ve slowly been working on. But…it only seems to be working in Chrome. :/ Not sure what the matter is with Firefox and IE7. Still in need of tweaking…and more backgrounds….and day/night differences. [edit] Apparently it just takes a while [...]

State of the project 20090330

Almost April Fools! (0 comments)