Version 3.0.3 has been released
The release notes are available at the usual URL: http://freeradius.org/version3.html Anyone following the git repo will notice massive amounts of commits over the last month. Arran and I have been doing exhaustive testing of the server in a wide variety of circumstances. We've also been running it through three different static analysis tools, and ensuring that the builds are clean. The main highlights of 3.0.3 are: * more of the config is parsed and validated when the server starts. This means typos will be caught immediately, rather than resulting in obscure run-time errors. * DHCP NAKs can be controllably delayed. This lets FreeRADIUS work with horribly broken NAS equipment * The detail file reader is now threaded (where possible) This should greatly improve performance for reading the files * Everything now builds with no warnings from the C compiler, clang static analyzer, or cppcheck. Coverity has 2 minor complains which can be ignored. A number of minor issues found by Code Sonar were also fixed * Allow tag and array references anywhere attributes are allowed in "unlang". This makes the configuration more consistent and simpler * Double-escaping of characters in Perl, and octal characters has been fixed. If your configuration has text like "\\000", you will need to remove one backslash. * Many minor bug fixes, updates to error messages, and consistency fixes Alan DeKok.
* Double-escaping of characters in Perl, and octal characters has been fixed. If your configuration has text like "\\000", you will need to remove one backslash.
Just a note on this one, it's also fixed in the detail file reader, and in radclient. So if you had test packets with \\000 you'll need to update them. radclient has also been updated to take filters for responses, so you can use it as the basis for test suites. Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS Development Team FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2
Hi, does the case insensitive flag in unlang regex no longer work in FR 3.0.3? This Policy match in FR 3.0.2 but not in FR 3.0.3: set_eduroam_vlan { foreach Cisco-Avpair { if("%{Foreach-Variable-0}" =~ /ssid=eduroam/i) { update { reply:Tunnel-Type := ‚VLAN' reply:Tunnel-Medium-Type := 'IEEE-802‘ } … (irrelevant part deleted) } } } Now debug output: (11) set_eduroam_vlan set_eduroam_vlan { (11) foreach Cisco-Avpair (11) if ("%{Foreach-Variable-0}" =~ /ssid=eduroam/i) (11) EXPAND %{Foreach-Variable-0} (11) --> ssid=EDUROAM (11) if ("%{Foreach-Variable-0}" =~ /ssid=eduroam/i) -> FALSE (11) } # foreach Cisco-Avpair = noop (11) } # set_eduroam_vlan set_eduroam_vlan = noop Why does this no longer match with FR 3.0.3? - Peter
On 13 May 2014, at 10:28, <peter.geiser@id.unibe.ch> <peter.geiser@id.unibe.ch> wrote:
Hi, does the case insensitive flag in unlang regex no longer work in FR 3.0.3?
This Policy match in FR 3.0.2 but not in FR 3.0.3:
set_eduroam_vlan { foreach Cisco-Avpair { if("%{Foreach-Variable-0}" =~ /ssid=eduroam/i) { update { reply:Tunnel-Type := ‚VLAN' reply:Tunnel-Medium-Type := 'IEEE-802‘ }
… (irrelevant part deleted)
} } }
Now debug output:
(11) set_eduroam_vlan set_eduroam_vlan { (11) foreach Cisco-Avpair (11) if ("%{Foreach-Variable-0}" =~ /ssid=eduroam/i) (11) EXPAND %{Foreach-Variable-0} (11) --> ssid=EDUROAM (11) if ("%{Foreach-Variable-0}" =~ /ssid=eduroam/i) -> FALSE (11) } # foreach Cisco-Avpair = noop (11) } # set_eduroam_vlan set_eduroam_vlan = noop
Why does this no longer match with FR 3.0.3?
Workaround: update request { Tmp-String-0 !* ANY } if ("%{Foreach-Variable-0}" =~ /ssid=eduroam%{Tmp-String-0}/i) It's only in compiled expansions. I've updated the test cases and i'll fix the issue now. Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS Development Team FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2
On 13 May 2014, at 11:18, Arran Cudbard-Bell <a.cudbardb@freeradius.org> wrote:
On 13 May 2014, at 10:28, <peter.geiser@id.unibe.ch> <peter.geiser@id.unibe.ch> wrote:
Hi, does the case insensitive flag in unlang regex no longer work in FR 3.0.3?
This Policy match in FR 3.0.2 but not in FR 3.0.3:
set_eduroam_vlan { foreach Cisco-Avpair { if("%{Foreach-Variable-0}" =~ /ssid=eduroam/i) { update { reply:Tunnel-Type := ‚VLAN' reply:Tunnel-Medium-Type := 'IEEE-802‘ }
… (irrelevant part deleted)
} } }
Now debug output:
(11) set_eduroam_vlan set_eduroam_vlan { (11) foreach Cisco-Avpair (11) if ("%{Foreach-Variable-0}" =~ /ssid=eduroam/i) (11) EXPAND %{Foreach-Variable-0} (11) --> ssid=EDUROAM (11) if ("%{Foreach-Variable-0}" =~ /ssid=eduroam/i) -> FALSE (11) } # foreach Cisco-Avpair = noop (11) } # set_eduroam_vlan set_eduroam_vlan = noop
Why does this no longer match with FR 3.0.3?
Workaround: update request { Tmp-String-0 !* ANY }
if ("%{Foreach-Variable-0}" =~ /ssid=eduroam%{Tmp-String-0}/i)
It's only in compiled expansions. I've updated the test cases and i'll fix the issue now.
Gag reflex suppressed, code fixed. https://github.com/FreeRADIUS/freeradius-server/commit/89d8281c11737f2e7b81d... Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS Development Team FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2
On 13 May 2014, at 11:54, Arran Cudbard-Bell <a.cudbardb@freeradius.org> wrote:
On 13 May 2014, at 11:18, Arran Cudbard-Bell <a.cudbardb@freeradius.org> wrote:
On 13 May 2014, at 10:28, <peter.geiser@id.unibe.ch> <peter.geiser@id.unibe.ch> wrote:
Hi, does the case insensitive flag in unlang regex no longer work in FR 3.0.3?
This Policy match in FR 3.0.2 but not in FR 3.0.3:
set_eduroam_vlan { foreach Cisco-Avpair { if("%{Foreach-Variable-0}" =~ /ssid=eduroam/i) { update { reply:Tunnel-Type := ‚VLAN' reply:Tunnel-Medium-Type := 'IEEE-802‘ }
… (irrelevant part deleted)
} } }
Now debug output:
(11) set_eduroam_vlan set_eduroam_vlan { (11) foreach Cisco-Avpair (11) if ("%{Foreach-Variable-0}" =~ /ssid=eduroam/i) (11) EXPAND %{Foreach-Variable-0} (11) --> ssid=EDUROAM (11) if ("%{Foreach-Variable-0}" =~ /ssid=eduroam/i) -> FALSE (11) } # foreach Cisco-Avpair = noop (11) } # set_eduroam_vlan set_eduroam_vlan = noop
Why does this no longer match with FR 3.0.3?
Workaround: update request { Tmp-String-0 !* ANY }
if ("%{Foreach-Variable-0}" =~ /ssid=eduroam%{Tmp-String-0}/i)
It's only in compiled expansions.
*expressions Oh condition parser code, why can't you be more like modcall code :( Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS Development Team FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2
The regex case insensitiv problem is solved now but another strange behavior with FR 3.0.3-git: Policy: set_eduroam_vlan { # add some debug values update { request:Cisco-AVpair += "debug1=123" request:Cisco-AVpair += "debug2=abc" } foreach Cisco-Avpair { if("%{Foreach-Variable-0}" =~ /ssid=eduroam/i) { update { reply:Tunnel-Type := 'VLAN' reply:Tunnel-Medium-Type := 'IEEE-802' } switch &reply:Class { case 'staff' { update { reply:Filter-Id := 'staff' reply:Tunnel-Private-Group-Id := '1' } } case 'student' { update { reply:Filter-Id := 'student' reply:Tunnel-Private-Group-Id := '2' } } case 'phbern' { noop } case { update { reply:Filter-Id := 'external' reply:Tunnel-Private-Group-Id := '3' } } } break } } updated } Debug output: (11) set_eduroam_vlan set_eduroam_vlan { (11) update { (11) request:Cisco-AVpair += 'debug1=123' (11) request:Cisco-AVpair += 'debug2=abc' (11) } # update = noop (11) foreach Cisco-Avpair (11) if ("%{Foreach-Variable-0}" =~ /ssid=eduroam/i) (11) EXPAND %{Foreach-Variable-0} (11) --> ssid=EDUROAM (11) if ("%{Foreach-Variable-0}" =~ /ssid=eduroam/i) -> TRUE (11) if ("%{Foreach-Variable-0}" =~ /ssid=eduroam/i) { (11) update { (11) reply:Tunnel-Type := VLAN (11) reply:Tunnel-Medium-Type := IEEE-802 (11) } # update = noop (11) switch &reply:Class { (11) case staff { (11) update { (11) reply:Filter-Id := 'staff' (11) reply:Tunnel-Private-Group-Id := '1' (11) } # update = noop (11) } # case staff = noop (11) } # switch &reply:Class = noop (11) # break Foreach-Variable-0 (11) } # if ("%{Foreach-Variable-0}" =~ /ssid=eduroam/i) = noop (11) # unwind to enclosing foreach (11) if ("%{Foreach-Variable-0}" =~ /ssid=eduroam/i) (11) EXPAND %{Foreach-Variable-0} (11) --> debug1=123 (11) if ("%{Foreach-Variable-0}" =~ /ssid=eduroam/i) -> FALSE (11) if ("%{Foreach-Variable-0}" =~ /ssid=eduroam/i) (11) EXPAND %{Foreach-Variable-0} (11) --> debug2=abc (11) if ("%{Foreach-Variable-0}" =~ /ssid=eduroam/i) -> FALSE Aborted :O why does the break statment not work at the current iteration? And why crashes the freeradius daemon here? Same policy works with FR 3.0.2Š - Peter
Gag reflex suppressed, code fixed.
https://github.com/FreeRADIUS/freeradius-server/commit/89d8281c11737f2e7b8 1dc3bc325235b3783d779
Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS Development Team
FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2
On 14 May 2014, at 09:03, peter.geiser@id.unibe.ch wrote:
The regex case insensitiv problem is solved now but another strange behavior with FR 3.0.3-git:
Policy:
set_eduroam_vlan {
# add some debug values update { request:Cisco-AVpair += "debug1=123" request:Cisco-AVpair += "debug2=abc" }
foreach Cisco-Avpair { if("%{Foreach-Variable-0}" =~ /ssid=eduroam/i) { update { reply:Tunnel-Type := 'VLAN' reply:Tunnel-Medium-Type := 'IEEE-802' } switch &reply:Class { case 'staff' { update { reply:Filter-Id := 'staff' reply:Tunnel-Private-Group-Id := '1' } } case 'student' { update { reply:Filter-Id := 'student' reply:Tunnel-Private-Group-Id := '2' } } case 'phbern' { noop } case { update { reply:Filter-Id := 'external' reply:Tunnel-Private-Group-Id := '3' } } } break } } updated }
Debug output:
(11) set_eduroam_vlan set_eduroam_vlan { (11) update { (11) request:Cisco-AVpair += 'debug1=123' (11) request:Cisco-AVpair += 'debug2=abc' (11) } # update = noop (11) foreach Cisco-Avpair (11) if ("%{Foreach-Variable-0}" =~ /ssid=eduroam/i) (11) EXPAND %{Foreach-Variable-0} (11) --> ssid=EDUROAM (11) if ("%{Foreach-Variable-0}" =~ /ssid=eduroam/i) -> TRUE (11) if ("%{Foreach-Variable-0}" =~ /ssid=eduroam/i) { (11) update { (11) reply:Tunnel-Type := VLAN (11) reply:Tunnel-Medium-Type := IEEE-802 (11) } # update = noop (11) switch &reply:Class { (11) case staff { (11) update { (11) reply:Filter-Id := 'staff' (11) reply:Tunnel-Private-Group-Id := '1' (11) } # update = noop (11) } # case staff = noop (11) } # switch &reply:Class = noop (11) # break Foreach-Variable-0 (11) } # if ("%{Foreach-Variable-0}" =~ /ssid=eduroam/i) = noop (11) # unwind to enclosing foreach (11) if ("%{Foreach-Variable-0}" =~ /ssid=eduroam/i) (11) EXPAND %{Foreach-Variable-0} (11) --> debug1=123 (11) if ("%{Foreach-Variable-0}" =~ /ssid=eduroam/i) -> FALSE (11) if ("%{Foreach-Variable-0}" =~ /ssid=eduroam/i) (11) EXPAND %{Foreach-Variable-0} (11) --> debug2=abc (11) if ("%{Foreach-Variable-0}" =~ /ssid=eduroam/i) -> FALSE Aborted
:O why does the break statment not work at the current iteration? And why crashes the freeradius daemon here? Same policy works with FR 3.0.2Š
Cray. Can you post a backtrace for the abort? -Arran Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS Development Team FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2
Ok recombiled FR package with no CFLAGS and configure flag --enable-developer: (11) set_eduroam_vlan set_eduroam_vlan { (11) update { (11) request:Cisco-AVpair += 'debug1=123' (11) request:Cisco-AVpair += 'debug2=abc' (11) } # update = noop (11) foreach Cisco-Avpair (11) # Foreach-Variable-0 = "ssid=EDUROAM" (11) if ("%{Foreach-Variable-0}" =~ /ssid=eduroam/i) (11) EXPAND %{Foreach-Variable-0} (11) --> ssid=EDUROAM (11) if ("%{Foreach-Variable-0}" =~ /ssid=eduroam/i) -> TRUE (11) if ("%{Foreach-Variable-0}" =~ /ssid=eduroam/i) { (11) update { (11) reply:Tunnel-Type := VLAN (11) reply:Tunnel-Medium-Type := IEEE-802 (11) } # update = noop (11) switch &reply:Class { (11) case staff { (11) update { (11) reply:Filter-Id := 'staff' (11) reply:Tunnel-Private-Group-Id := '1' (11) } # update = noop (11) } # case staff = noop (11) } # switch &reply:Class = noop (11) # break Foreach-Variable-0 (11) } # if ("%{Foreach-Variable-0}" =~ /ssid=eduroam/i) = noop (11) # unwind to enclosing foreach talloc: access after free error - first free may be at src/lib/valuepair.c:170 Bad talloc magic value - access after free talloc abort: Bad talloc magic value - access after free CAUGHT SIGNAL: Aborted Backtrace of last 26 frames: /usr/lib/freeradius/libfreeradius-radius.so(fr_fault+0xb9)[0x7f6dedc5d726] /usr/lib/freeradius/libfreeradius-radius.so(+0xba65)[0x7f6dedc5da65] /usr/lib/x86_64-linux-gnu/libtalloc.so.2(talloc_get_name+0x57)[0x7f6ded1e7e b7] /usr/lib/x86_64-linux-gnu/libtalloc.so.2(_talloc_get_type_abort+0x2b)[0x7f6 ded1ea19b] /usr/lib/freeradius/libfreeradius-radius.so(fr_verify_vp+0x26)[0x7f6dedc5e0 1b] /usr/lib/freeradius/libfreeradius-radius.so(fr_cursor_next+0x39)[0x7f6dedc5 cdc4] freeradius[0x42497f] freeradius[0x423c8f] freeradius[0x424d4e] freeradius[0x423c8f] freeradius[0x424d4e] freeradius(modcall+0x9c)[0x425a39] freeradius(indexed_modcall+0x24d)[0x42160f] freeradius(process_post_auth+0x22)[0x423570] freeradius(rad_postauth+0x94)[0x40e739] freeradius[0x4351d4] freeradius[0x43567b] freeradius[0x4347b6] freeradius(request_receive+0x703)[0x435dc9] freeradius[0x415ad6] freeradius[0x43b445] /usr/lib/freeradius/libfreeradius-radius.so(fr_event_loop+0x5ba)[0x7f6dedc8 2067] freeradius(radius_event_process+0x26)[0x43cbc3] freeradius(main+0xbce)[0x42a96e] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd)[0x7f6dec1abead] freeradius[0x40dbf9] No panic action set _EXIT CALLED src/lib/debug.c[520]: 1: Unknown value 'Challenge' for attribute 'Post-Auth-Type' Hope this helps :) - Peter Am 14.05.14 10:25 schrieb "Arran Cudbard-Bell" unter <a.cudbardb@freeradius.org>:
Cray.
Can you post a backtrace for the abort?
-Arran
Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS Development Team
FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2
On 14 May 2014, at 10:29, peter.geiser@id.unibe.ch wrote:
Ok recombiled FR package with no CFLAGS and configure flag --enable-developer:
That's better. Could you uncomment the -batch gdb panic_action in radiusd.conf, then it'll give a full backtrace instead of just the summary. -Arran Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS Development Team FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2
Ok: panic_action = "gdb -silent -batch -x ${raddbdir}/panic.gdb %e %p 2>&1 | tee ${logdir}/gdb-${name}-%p.log“ - Peter ________________________________________ (11) set_eduroam_vlan set_eduroam_vlan { (11) update { (11) request:Cisco-AVpair += 'debug1=123' (11) request:Cisco-AVpair += 'debug2=abc' (11) } # update = noop (11) foreach Cisco-Avpair (11) # Foreach-Variable-0 = "ssid=EDUROAM" (11) if ("%{Foreach-Variable-0}" =~ /ssid=eduroam/i) (11) EXPAND %{Foreach-Variable-0} (11) --> ssid=EDUROAM (11) if ("%{Foreach-Variable-0}" =~ /ssid=eduroam/i) -> TRUE (11) if ("%{Foreach-Variable-0}" =~ /ssid=eduroam/i) { (11) update { (11) reply:Tunnel-Type := VLAN (11) reply:Tunnel-Medium-Type := IEEE-802 (11) } # update = noop (11) switch &reply:Class { (11) case staff { (11) update { (11) reply:Filter-Id := 'staff' (11) reply:Tunnel-Private-Group-Id := '1' (11) } # update = noop (11) } # case staff = noop (11) } # switch &reply:Class = noop (11) # break Foreach-Variable-0 (11) } # if ("%{Foreach-Variable-0}" =~ /ssid=eduroam/i) = noop (11) # unwind to enclosing foreach talloc: access after free error - first free may be at src/lib/valuepair.c:170 Bad talloc magic value - access after free talloc abort: Bad talloc magic value - access after free CAUGHT SIGNAL: Aborted Backtrace of last 26 frames: /usr/lib/freeradius/libfreeradius-radius.so(fr_fault+0xb9)[0x7f963a4ea726] /usr/lib/freeradius/libfreeradius-radius.so(+0xba65)[0x7f963a4eaa65] /usr/lib/x86_64-linux-gnu/libtalloc.so.2(talloc_get_name+0x57)[0x7f9639a74e b7] /usr/lib/x86_64-linux-gnu/libtalloc.so.2(_talloc_get_type_abort+0x2b)[0x7f9 639a7719b] /usr/lib/freeradius/libfreeradius-radius.so(fr_verify_vp+0x26)[0x7f963a4eb0 1b] /usr/lib/freeradius/libfreeradius-radius.so(fr_cursor_next+0x39)[0x7f963a4e 9dc4] freeradius[0x42497f] freeradius[0x423c8f] freeradius[0x424d4e] freeradius[0x423c8f] freeradius[0x424d4e] freeradius(modcall+0x9c)[0x425a39] freeradius(indexed_modcall+0x24d)[0x42160f] freeradius(process_post_auth+0x22)[0x423570] freeradius(rad_postauth+0x94)[0x40e739] freeradius[0x4351d4] freeradius[0x43567b] freeradius[0x4347b6] freeradius(request_receive+0x703)[0x435dc9] freeradius[0x415ad6] freeradius[0x43b445] /usr/lib/freeradius/libfreeradius-radius.so(fr_event_loop+0x5ba)[0x7f963a50 f067] freeradius(radius_event_process+0x26)[0x43cbc3] freeradius(main+0xbce)[0x42a96e] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd)[0x7f9638a38ead] freeradius[0x40dbf9] Calling: gdb -silent -batch -x /etc/freeradius/panic.gdb freeradius 33659 2>&1 | tee /var/log/freeradius/gdb-freeradius-33659.log Temporarily setting PR_DUMPABLE to 1 [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". 0x00007f9638ac622d in waitpid () from /lib/x86_64-linux-gnu/libc.so.6 No symbol table info available. No symbol table info available. Thread 1 (Thread 0x7f963ab1f700 (LWP 33659)): #0 0x00007f9638ac622d in waitpid () from /lib/x86_64-linux-gnu/libc.so.6 No symbol table info available. #1 0x00007f9638a59c99 in ?? () from /lib/x86_64-linux-gnu/libc.so.6 No symbol table info available. #2 0x00007f9638a59fd0 in system () from /lib/x86_64-linux-gnu/libc.so.6 No symbol table info available. #3 0x00007f963a4ea979 in fr_fault () from /usr/lib/freeradius/libfreeradius-radius.so No symbol table info available. #4 0x00007f963a4eaa65 in ?? () from /usr/lib/freeradius/libfreeradius-radius.so No symbol table info available. #5 0x00007f9639a74eb7 in talloc_get_name () from /usr/lib/x86_64-linux-gnu/libtalloc.so.2 No symbol table info available. #6 0x00007f9639a7719b in _talloc_get_type_abort () from /usr/lib/x86_64-linux-gnu/libtalloc.so.2 No symbol table info available. #7 0x00007f963a4eb01b in fr_verify_vp () from /usr/lib/freeradius/libfreeradius-radius.so No symbol table info available. #8 0x00007f963a4e9dc4 in fr_cursor_next () from /usr/lib/freeradius/libfreeradius-radius.so No symbol table info available. #9 0x000000000042497f in ?? () No symbol table info available. #10 0x0000000000423c8f in ?? () No symbol table info available. #11 0x0000000000424d4e in ?? () No symbol table info available. #12 0x0000000000423c8f in ?? () No symbol table info available. #13 0x0000000000424d4e in ?? () No symbol table info available. #14 0x0000000000425a39 in modcall () No symbol table info available. #15 0x000000000042160f in indexed_modcall () No symbol table info available. #16 0x0000000000423570 in process_post_auth () No symbol table info available. #17 0x000000000040e739 in rad_postauth () No symbol table info available. #18 0x00000000004351d4 in ?? () No symbol table info available. #19 0x000000000043567b in ?? () No symbol table info available. #20 0x00000000004347b6 in ?? () No symbol table info available. #21 0x0000000000435dc9 in request_receive () No symbol table info available. #22 0x0000000000415ad6 in ?? () No symbol table info available. #23 0x000000000043b445 in ?? () No symbol table info available. #24 0x00007f963a50f067 in fr_event_loop () from /usr/lib/freeradius/libfreeradius-radius.so No symbol table info available. #25 0x000000000043cbc3 in radius_event_process () No symbol table info available. #26 0x000000000042a96e in main () No symbol table info available. A debugging session is active. Inferior 1 [process 33659] will be detached. Quit anyway? (y or n) [answered Y; input not from terminal] Resetting PR_DUMPABLE to 0 Panic action exited with 0 _EXIT CALLED src/lib/debug.c[520]: 1: Unknown value 'Challenge' for attribute 'Post-Auth-Type' ________________________________________ Am 14.05.14 11:50 schrieb "Arran Cudbard-Bell" unter <a.cudbardb@freeradius.org>:
On 14 May 2014, at 10:29, peter.geiser@id.unibe.ch wrote:
Ok recombiled FR package with no CFLAGS and configure flag --enable-developer:
That's better. Could you uncomment the -batch gdb panic_action in radiusd.conf, then it'll give a full backtrace instead of just the summary.
-Arran
Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS Development Team
FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2
On 14.05.2014 11:29, peter.geiser@id.unibe.ch wrote:
(11) # unwind to enclosing foreach talloc: access after free error - first free may be at src/lib/valuepair.c:170 Bad talloc magic value - access after free talloc abort: Bad talloc magic value - access after free CAUGHT SIGNAL: Aborted
I have the same issue. I'm filling a github issue with detailed information. Olivier -- Olivier Beytrison Network & Security Engineer, HES-SO Fribourg Mail: olivier@heliosnet.org
Yes, sorry a typo. Mail program change this sometimes when copy&paste. Config is correct: reply:Tunnel-Type := 'VLAN' - Peter Am 13.05.14 12:57 schrieb "A.L.M.Buxey@lboro.ac.uk" unter <A.L.M.Buxey@lboro.ac.uk>:
Hi,
if("%{Foreach-Variable-0}" =~ /ssid=eduroam/i) { update { reply:Tunnel-Type := ‚VLAN'
^^^
and thats a typo that you entered when submitting this rather than whatsin your actual config, right? :-)
alan - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
participants (5)
-
A.L.M.Buxey@lboro.ac.uk -
Alan DeKok -
Arran Cudbard-Bell -
Olivier Beytrison -
peter.geiser@id.unibe.ch