User Tools

Site Tools


auth_server

This is an old revision of the document!


A PCRE internal error occured. This might be caused by a faulty plugin

====== June 4, 2009 ====== I ended up having to upgrade to a 512MB slice in order for the server to not run out of memory. Over the past few days users have reported certificate errors when they hit the auth server ("untrusted site" or "unknown authority") -- I remembered that when installing this cert on the old auth server I had to add an extra file; the "chain file". I added this (SSLCertificateChainFile in the apache config), and the problem seems to be fixed. ====== May 29, 2009 ====== Our deal with TheWire is up, so I'm migrating the server to VPS. Hard to get the memory usage down so it doesn't thrash, but seems to be running ok now. Will keep monitoring. Also, we're now up to wifidog rev 1390. ====== 2008 ====== The auth server got kinda crashy on us, 'cause it was on a box with not much RAM. In particular, it would crash when an unauthenticated user would launch an RSS reader -- which would slam the router with dozens of simultaneous HTTP requests, which were each redirected to the server. I wrote this little chunk of code to try to minimize this impact; I didn't do any quantitative testing, but anecdotally it seemed to reduce the problem: <code> ///////////// (wifidog/include/common.php, before 'require_once('init_php.php')') $rssagents = array( 'NetNewsWire', 'AppleSyndication', 'ProRSSReader', 'Apple-PubSub', 'Transmission','Shasta', 'Microsoft-CryptoAPI', 'Feedfetcher', 'AntiVir-NG-Upd', 'Windows-Update-Age' ); $keepgoing = 1; foreach ($rssagents as $thisrssua) { if ( (strpos($_SERVER['HTTP_USER_AGENT'],$thisrssua) === 0) ) { $keepgoing = 0; } } if ($keepgoing == 0) { print "request cancelled"; die(); } ///////////// END OF GABE ADDITION </code> ====== November 6, 2007 ====== Wifidog sent out email notifications at around 7:15PM tonight that all the hotspots were down. Seems like apache on the server had crashed. ====== November 4, 2007 ====== Gabe upgraded the auth server. It's now at revision 1305. I did: * sql/backup_database.sh database-071104 * svn update I had to install a newer Smarty -- the upgraded auth server wanted 2.6.18. ====== August 20, 2007 ====== Gabe upgraded the auth server. It's now at revision 1279. I did: * sql/backup_database.sh database-070820 * svn update ====== July 1, 2007 ====== Gabe upgraded the auth server. It's now at revision 1244. I did: * pg_dump --blobs --file=database-070701 --format=c -i -O -o -v --compress=3 -U <POSTGRESUSERNAME> <DATABASENAME> * svn checkout https://dev.wifidog.org/svn/trunk/wifidog-auth wifidog-auth-0701/ (though really I should've done "svn update") ====== January 16, 2006 ====== Gabe received an email from a user saying he was having trouble changing his password. Gabe confirmed the problem, a reported the bug on the isf-wifidog list. Five hours later Benoit replied saying he'd fixed it in svn. Gabe ran "svn update" -- we're now running revision 1172. ====== January 7, 2007 ====== Gabe upgraded the wifidog auth server to the current version (1164). ---- Note: to upgrade auth server, use "svn update", as per François Proulx's email to the wifidog email list on January 10th.

auth_server.1244123235.txt.gz · Last modified: 2013/09/28 16:06 (external edit)