Archive for 2010
Cisco Access Registrar: Automatically Clear Old Sessions
While doing some testing with Cisco Access Registrar (CAR) 5.0, I noticed that the test user had hundreds of old sessions hanging around: –> query-sessions /r with-User X Sessions with-User X for /Radius Sessions for /Radius/SessionManagers/session-mgr-1: S432 Key: 04000000000CF660, NAS: NAS.slaptijack.com, NAS-Port: 0, User-Name: X, Time: 21:19:26, Acct-Session-Id: 04000000000CF660 <snipped a lot of lines> –> [...]
Categories: System Administration
Python: Remove Whitespace From a String
>>> print “”.join(” hello world “.split()) helloworld The key to the above is that the String method split() separates the string on any amount of whitespace when no separator is specified.
Categories: Programming
Tech Messages | 2010-08-31
Interesting technology-related news from around the web for 2010-08-31: Recover Data Like a Forensics Expert Using an Ubuntu Live CD – How-To Geek 10 ways your Mac can make you smarter | News | TechRadar UK'Nuff said! The Silent Number: Ubuntu 10.04 Post-Install Guide: What to do and try after installing Lucid Lynx!
Categories: Tech Messages
Tech Messages | 2010-08-30
Interesting technology-related news from around the web for 2010-08-30: Linux Newbie Guide: Shortcuts And CommandsThis is useful for my less Linux-savvy friends. Removing an object on a photo with GIMPReally useful if you need to doctor some images. Engineering Firm Moves Away From VMware | Geek Run Virtualization BlogEngineering firm CH2M Hill recently began moving [...]
Categories: Tech Messages
Cisco Access Registrar ODBC Remote Server KeepAliveTimerInterval
In a test lab, we ran into a situation where the connection between our Cisco Access Registrar (AAA) server and MySQL server was timing out. This forced the server to reconnect and resulted in the following errors: name/radius/1 Error Server 0 ODBC client (DataSource ‘my_odbc’, Connection 8): SQLExecute failed: SQLState:08S01 NativeError:2006 ErrorText:[MySQL][ODBC 3.51 Driver][mysqld-5.0.21-log] MySQL [...]
Categories: Software

Get Slaptijack updates delivered to your Inbox or RSS Reader for free!