|
||||||||
I had been talking to dinesh about doing 2 mods for me, 1 of which you just did. I was going to have him to the called-station-id and the second thing was going to be was to have the variable Session-Timeout when returned from radius would dynamically set the timeout of the users session. So that when their time runs out, disconnect. Jason -----Original Message----- From: T. Howell-Cintron [mailto:thc dash ml at frognet dot net] Sent: Saturday, January 29, 2005 4:24 AM To: m0n0wall at lists dot m0n0 dot ch Subject: [m0n0wall] additional RADIUS attributes (patch) I'd really like to see m0n0wall support more RADIUS attributes, akin to what ChilliSpot or commercial products feature. I hacked in a few essentials so I can start field testing my m0n0-box, and unless someone beats me to it I'll probably end up implementing more (esp. session and idle timeouts and WISPr bandwidth limits) in the next week or so. Attached is a patch against 1.2b3 that adds Framed-IP-Address, Calling-Station-Id (client's MAC) and Called-Station-Id (m0n0's MAC). I also made it so NAS-Port-Type reflects the actual interface type. Any feedback would be appreciated.. -- Tom Howell-Cintron |