RiftLogs.NET

I would like to thank all those who have donated in the past and all that provided their bug reports and help. Sadly I am playing Rift much less and working much more. I do not have the time to continue.

As promised when I started I have attached the source code used. Please note that you will need to modify the source code to reflect game changes and such. I would no longer consider it production worthy!

C# Parser Source Code
PHP HTML Frontend
SQL Schema

By |July 3rd, 2013|Categories: General|Tags: |0 Comments

Apache, PHP, suPHP Problems

Last night if you tried visiting you might have gotten some errors on the site. I upgraded the servers which included a slightly newer version of PHP, Apache, and suPHP.

Everything upgraded fine but websites would not load. After some digging it was apparent that the problem was directly related to the PHP setting open_basedir. I have each virtual host configured to use its own php.ini file and that file was not being used, trying instead to use the default php.ini file in /etc/php. Which of course did not have the correct open_baseidir settings.

For some reason Apache or PHP stopped caring about the lines in my httpd-vhosts.conf file that stated:


SetEnv PHPRC /path/to/specific/php.ini

I could never find out why it was ignoring this line now. But after some research I found another that provides the same thing. Since I am using suPHP I went with the following for each vhost.


suPHP_ConfigPath /path/to/specific/folder/containing/php.ini

It’s a little frustrating that I cannot name the php config files after the vhosts because it wants a folder path without a file name, but it will do for now.

Another site that might help.

By |June 5th, 2013|Categories: General|Tags: , , , , |0 Comments

Google Voice, Asterisk, Motif

I had some free time after a business trip to test out the motif channel driver which although not a new concept is supposed to work much better with the Google Voice/Talk Jabber/XMPP protocols.

My previous setup involved something of the following:


Main Number @ Google Voice -> Calls DID @ FlowRoute <- SIP CSIPSimple on Android Registers to FlowRoute
Voicemail & SMS hit Google Voice.
Voice calls hit Google Voice and redirect to FlowRoute.

This worked quite well, except two things.

First, people would call my Google Voice number and hear two to three rings before it even started ringing my FlowRoute number. This would throw off the number of rings my phone would receive before transferring the caller to the Google Voicemail.

Second, using Google Voice this way caused about a two to three second delay (time to transfer my voice to the other end so the conversation was always lagging behind and not flowing nicely) and sometimes had a slight, maybe 200ms, jitter (speeding up and slowing down of packets making the voice choppy and other anomalies).

I setup another VPS at my provider and installed the AsteriskNOW distribution. I previously tested AsteriskNOW, Elastix, and the FreePBX Distro on my ESXi setup to find the one I wanted. The Elastix distro I downloaded did not have Asterisk 11 so I could not use the motif channel driver (which was the point of this project), FreePBX Distro worked nicely but had lots of things I would never use installed using more memory. I ended up going with AsteriskNOW because it does not have all the extras installed, enabled and running from the start, and used less memory.

freepbx

I first opened Asterisk Advanced settings and changed the extension/user mode from `device` to `extensionanduser` so to add some extra little security.

Motif was enabled by default on AsteriskNOW so I just did the setup, verified the trunk, checked the outgoing route, created an incoming route, created an extension (device) and then created a user that was bound to that device, and registered CSIPSimple on my Android to the server. Test call went through instantly.

I then logged into the server using SSH and created a new user, gave them sudo privileges, changed SSH to listen on non-standard port, locked out root from logging in via SSH, and then setup Fail2Ban.

I also setup iptables on the server to only allow web admin from my home location (which I can VPN into if necessary), block all ports except the very few Asterisk needs to run.

By |May 29th, 2013|Categories: General|Tags: , , , , |0 Comments

NOVO7 Fire Android Tablet

Back on November 9th, 2012 I placed an order for two Ainol-Novo 7 Fire 7″ tablets. The tablets arrived from China yesterday (December 3rd, 2012). The shipping was actually very fast, shipped out on Saturday and received on Monday. The wait was because they ran out of the IPS touch screen components.

Upon opening the package I also found that they sent me a free 7″ tablet sleeve and HDMI cable an unexpected but nice find.

The tablets are quite nice for the $179.90 price tag. The specs are the same on their website:

OS: Android 4.0.4 support Android 4.1 Jelly Bean Update
CPU: Dual Core AMLogic AML8726-M6 1.5GHz
GPU: Dual Core Mali 400*2 3D
RAM: 1GB DDR3
Storage: 16GB
Shell Material: Metal
Bluetooth: Yes (Bluetooth 2.1)
Screen: Capacitive Touchscreen, 1280*800 IPS High-Resolution Screen
Size: 7 inch
Resolution: 1280*800 Pixels
Visible Angle: 180°
Gravity Sensor: 3 Axis
Flash: Support Flash and HTML 5
Google Play (Market): Yes
Dual Camera: Front 2.0 Megapixels,Back 5.0 Megapixels Auto Focus LED Light

The tablets came packed very well and secure with foam and in a tightly taped up box. Along with the power adapters and usb cables. (This tablet can charge from the USB port as well as a barrel plug charger connection)

As for the tablet hardware, the camera could use some work, it’s sensitive to light and takes a few seconds to fully focus. The speaker has a slight popping sound when the tablet goes to sleep, and the vibrator feels a little odd, but works fine.

The screen is beautiful though at its 1280×800 resolution in a 7″ package.

The default applications that came installed and are not able to uninstall (without root) include a few Chinese applications including a keyboard app, and some other multimedia applications and a web browser, English ES File Explorer, and some others. Most of which can be disabled in the Android Settings.

I purchased the tablets for children in the family and I’m sure they will enjoy them despite the few slight flaws.

By |December 4th, 2012|Categories: General|Tags: , , |0 Comments

Countries Removed from Block List

I have removed Russia, China, and a few others from the DNS blacklist I used to block comment spammers and the like. It looks like a few people were trying to get in contact with me and I have removed the bans.

If the problem reoccurs I may have to reinforce it.

By |November 30th, 2012|Categories: General|Tags: |0 Comments