Slaptijack Title

Tech Messages | 2010-09-04

by Scott Hebert

Green NetworkA special extended edition of Tech Messages for 2010-09-03 through 2010-09-04:

Tech Messages | 2010-09-03

by Scott Hebert

Green NetworkA special extended edition of Tech Messages for 2010-09-01 through 2010-09-03:

Cisco Access Registrar: Automatically Clear Old Sessions

by Scott Hebert

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>

--> count-sessions /r with-User X

Total 469 session(s) with-User X for /Radius/SessionManagers

Read More →

Python: Remove Whitespace From a String

by Scott Hebert
>>> 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.

Python Logo

Tech Messages | 2010-08-31

by Scott Hebert

Green NetworkInteresting technology-related news from around the web for 2010-08-31: