PPP + RADIUS problem (no session ID)

Hi !

We’ve been trying to setup RouterOS for remote authorization of PPTP clients. The problem is that our RADIUS-based billing software requires Access-Request packet to contain Acct-Session-Id attribute, but there isn’t one:

Nov 12 17:57:29 billing-core radiusd: rad_recv: Access-Request packet from host 172.18.6.1:58073, id=36, length=177
Nov 12 17:57:29 billing-core radiusd: 	Service-Type = Framed-User
Nov 12 17:57:29 billing-core radiusd: 	Framed-Protocol = PPP
Nov 12 17:57:29 billing-core radiusd: 	NAS-Port = 83
Nov 12 17:57:29 billing-core radiusd: 	NAS-Port-Type = Virtual
Nov 12 17:57:29 billing-core radiusd: 	User-Name = "sega1"
Nov 12 17:57:29 billing-core radiusd: 	Calling-Station-Id = "10.100.100.6"
Nov 12 17:57:29 billing-core radiusd: 	Called-Station-Id = "10.100.100.1"
Nov 12 17:57:29 billing-core radiusd: 	MS-CHAP-Challenge = 0x5a30c8667d4a1106128132bcb8d7719e
Nov 12 17:57:29 billing-core radiusd: 	MS-CHAP2-Response = 0x0100833a297f55b924d02fe3c36078550aa60000000000000000f8e2e60322e89732d22f2ef48837637ff5b7d4b1699b6c99
Nov 12 17:57:29 billing-core radiusd: 	NAS-Identifier = "MikroTik"
Nov 12 17:57:29 billing-core radiusd: 	NAS-IP-Address = 172.18.6.1
Nov 12 17:57:29 billing-core radiusd:   Processing the authorize section of radiusd.conf
...

So… is there a way to include Acct-Session-Id in the packet ?

Thank you.

I think its the Acct-Start that has the session ID in it. Turn on RADIUS accounting in PPP.

no way - because there’s no session when access is not yet granted. session is being created only after access-accept packet. also, session is about accounting, not about authorization