sub wrote:
what I was expecting (but I'm not an expert, it's possible that it's not a radius feature and I misunderstood it) is that the client periodically sends accounting-request packets ("I'm alive!") to the server and so the server updates the sql db.
It would have helped to say that. Instead, you said: "it does accounting start and stop, but I want it do accounting!" And due to the way that PAM works, it's impossible to send "alive" packets. The pam_radius module is called *only* for start/stop. So it *only* sends start/stop packets.
I don't want something magic but if the users enters and he has only one more minute for his daily session, he we'll be able to be logged if he doesn't logoff by hand.
I don't understand that sentence. I *think* you're trying to ask if the PAM module supports Session-Timeout. And no, it doesn't, because PAM has no such capability.
maybe I misundersood how radius accounting works...
Explain what you mean using full sentences. The more explanation the better. Leaving words out means that it's difficult to understand you. Alan DeKok.