The whole idea for the disconnecting the sessions was because I'm writing an authentication module for radius (xtradius actually). I'm doing something unique with multiple logons. Insted of just disallowing the second session, I'm going to first disconnect the first session, then refuse the second. That'll teach 'em to give out thier passwords. I'll probably also have something in there to email the user to let them know why they got the boot. For anyone interested, heres how I disconnect the session (using a python script, in unix): import sys, telnetlib host = 'my.totalcontrol.rack.net' user = '!root\r' password = 'mypassword\r' cmd = 'reset S22\r' tn = telnetlib.Telnet(host) tn.read_until('ogin: ') tn.write(user) tn.read_until('assword: ') tn.write(password) tn.read_until('Command') tn.write(cmd) tn.read_until('Command') tn.write('quit\r') so my radius auth script just creates this file, making "cmd" have the correct port, and forks off a process to run it if the user is already logged in. Also, I will now be able to disconnect users from a web page (from my online.php page most likely). At 08:42 PM 12/6/2002 -0800, you wrote:
We're using the HiperDSP cards, so I don't know if it applies to your equipment, but we use Total Scrutinizer, and it has the ability to disconnect a session if it knows the read/write snmp password.
Seth
----- Original Message ----- From: "Jon Myers" <joeshmo@infoblvd.net> To: <usr-tc@mailman.xmission.com> Sent: Friday, December 06, 2002 6:34 PM Subject: [USR-TC] disconnecting a session...
I figured this would come up a couple times in discussions, but havnt found anything in the past few months worth of archives..
Does anyone know of a way (pref. via SNMP) to disconnect a session? We have a NETServer card (as opposed to an edgeserver). The chasis has mostly quadmodems, but also two HiPer cards (umm.. those thingys that take a chan. T1 directly, and have the 24 modems on 'em DSP? Arc? don't know what you call those things, a bit new to thile whole TC rack thing).
Also, for some strange reason, I can only talk to the NETServer card. The NMC card works for about a day or two, then will not respond to the console port, or network. Yet the rack continues to function correctly (take calls, do radius requests, etc..) An answer to this would be nice too..
- - - Jon Myers The Circuit's Edge (ISP)
_______________________________________________ USR-TC mailing list USR-TC@mailman.xmission.com http://mailman.xmission.com/cgi-bin/mailman/listinfo/usr-tc
_______________________________________________ USR-TC mailing list USR-TC@mailman.xmission.com http://mailman.xmission.com/cgi-bin/mailman/listinfo/usr-tc