I am looking for a network AAA (authentication, authorization, accounting) protocol that that manage concurrent network resource accessing from one account. An account, say, is logged in by two users concurrently, how can I distribute the session timeout of the account between the two users?
Network AAA - concurrent login accounting
257 Views Asked by Trantor Liu At
1
There are 1 best solutions below
Related Questions in CONCURRENCY
- Unexpected inter-thread happens-before relationships from relaxed memory ordering
- Multiple Processes, Multiple Processors, Single Priority Queue - Java Thread-Safe and Concurrency -
- Efficiently processing many small elements of a collection concurrently in Java
- Zig Concurrency Vs Erlang Concurrency, is Zig less efficient than Erlang?
- Two Update statements on a row are running simultaneously with no locking in MYSQL
- How to Identify Specific Transaction Anomalies in a Given Schedule?
- How can I improve concurrent message processing with Google Task Queue?
- Why does the following program printf "thread 1 exists" twice in WSL2?
- ModelState.IsValid is false when its Data Model Concurrency Token is non nullable
- .NET A second operation was started on this context instance before a previous operation completed
- Can someone tell me what's wrong with mi Task.await?
- I am a beginner. More than problems, I have ideas I share my code ;D. NO RULES
- Understanding Potential Deadlock in Resource Pool Implementation Described in "Go in Action"
- Why are pre-allocated stacks expensive, given 64-bit virtual memory?
- Concurrency issues with server-sent events in Python
Related Questions in SESSION-TIMEOUT
- How to wait for a session timeout modal to appear in React Testing Library?
- How to fix django timeout error when sending email
- session.gc_maxlifetime or session.cookie_lifetime not working
- Revert all files in a Google Drive directory to old version after ransomware attack
- Apache Solr client session time out exception, closing socket connection
- Python/Flask How to display banner on session expiration
- Internet Explorer Browser Not Opening URL when Running through Windows Task Sheduler
- Vb.net application session timeout is not working using web.config, Global.asax and Application Pool Idle time. Session-cookies are using in app
- How can I resolve timeout problem with my task called "Last digit of A large number"?
- Apache-Tomcat 9 with mod_jk load balancer : User sessions terminated, mod_jk log file generates error. How to resolve...?
- Laravel - separate session lifetime for each user
- Default API query timeout in asp.net core web api
- remember-me sessions spring security rest int GRAILS
- Setting idletimeout in Go
- Cannot read properties of undefined (reading 'Injectable') at eval (bn-ng-idle.mjs:32:162) angular
Related Questions in AAA-SECURITY-PROTOCOL
- TACACS+ Deployment Issue on HPE 5120 Switches: Active User Sessions Prevent Configuration
- Websphere liberty - how to disable user credentials pop-up for basic registry credentials
- Authorizing commands via tacacs+ server executed in shell by ssh
- Cannot establish successful connection to RADIUS protocol despite correct configuration
- Is there a convention or rule used to name AAA interface in 3GPP?
- The request was aborted: Could not create SSL/TLS secure channel - without certificate
- HID actividentity keychain token locked
- Access rejected by local host in freeradius
- Disable SSL Verification to Post Data in IronPython
- Issue with http request
- Google Managed Services (BigQuery,Cloud Storage etc) via a VPC/VPN
- Issue to use TLS 1.2 in .NET Framework 4.0
- MAC Authentication failed in freeradius
- Web App Central AAA
- Radiusd server not serving the request
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I am assuming you are not looking for the specific AAA functionality as used by telecommunications companies, but rather, RADIUS on steroids. Perhaps the easiest way to do this is to put something like FreeRADIUS on steroids.
I'll assume your particular NAS device (Wifi hub, packet gateway, etc) supports the following RADIUS records.
When you get a session start, let FreeRADIUS run some sort of script or log that start into the database. This is your clock start for each user. Even if the user logs in three times, you'll get start messages. When they log out for each session, you'll get a session stop. At a minimum, simply run the database and compute the deltas and apply the accounting rules to that user. If that user used 10, 20 and 30 minutes in concurrent sessions, you'll get stop records showing 10, 20 and 30 minutes.
This works, but it doesn't go quite far enough. First, if the sessions are long, you won't know about the time of those sessions until they terminate. That could be days from now. This is where the accounting records, particularly the interim accounting records come in. If your NAS supports it, you can tell it to generate an interim accounting record for a session, say, every 30 minutes. Thus, if a session lasts 30 minutes or less, you'll get the start and stop records. If a session lasts 45 minutes however, you'll get:
A start record at time 0 An interim accounting update at time 30 A stop record at time 45
It's not really the AAA you care about -- any RADIUS server likely will do the job -- FreeRADIUS, OpenRADIUS, Microsoft RADIUS server. It's your NAS device. If it can't send the records, you can't process them.