On Thu, Jun 02, 2016 at 06:04:18PM +0200, Andy Smith wrote:
On 2016-06-02 17:29:43, ALAN DEKOK wrote:
radius 1 - not working vendor Cisco cisco-avpair=lcp:interface-config=ip unnumbered loopback _ 2003\0x0a _
_ radius 2 - working (differences in red)_ vendor Cisco cisco-avpair=lcp:interface-config=ip unnumbered loopback _ 2003\n_
Update v3 to send a 0x0a as the final character of the Cisco-AVPair. But even that shouldn't make a difference.
The two packets are identical, so far as how things *should* work.
So sorry wasn't clear on my original email, the v3 is the one that sends the 0x0a and the v1 one sends \n. The field in MySQL has a \n so seems its being rewritten in v3. So is there anyway I can change this behavior so I get and identical packet for both?
In post-auth if (&reply:cisco-avpair =~ /^(.*)\\0x0a$/) { update reply { cisco-avpair := "%{1}\n" } } or that sort of idea. Matthew -- Matthew Newton, Ph.D. <mcn4@le.ac.uk> Systems Specialist, Infrastructure Services, I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom For IT help contact helpdesk extn. 2253, <ithelp@le.ac.uk>