/
ChangeLog
1886 lines (1843 loc) · 86.4 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
FreeRADIUS 3.0.20 Wed 10 Apr 2019 09:00:00 EDT urgency=low
Feature improvements
* Add Jenkins continuous integration. Fixes #2620.
Used to build http://packages.networkradius.com/
* Added Force10 dictionary.
* Update dictionary.hp with new attributes for REST. #2690
* Update dictionary.aruba with new attributes for REST. #2696
* Update logrotate settings to rotate as non-root user. #2666
* Fix side-channel leak in EAP-PWD. Patch from Mathy Vanhoef.
* Relax OpenSSL version checks, now that their API is both
public, and stable.
* Note that tls_min_version/tls_max_version also support "1.3"
Since there is no standard yet for EAP with TLS 1.3, it
will not work.
* Added tripplite dictionary from #2760.
* Switch to the async interface for rlm_sql_postgresql so that
we can enforce query_timeout.
* Added new LDAP option 'allow_dangling_group_ref'.
* Updated documentation and functionality for EAP session caching.
See "cache" section of mods-available/eap.
* Tighten systemd unit file security. Fixes #2637.
* Disable TLS 1.0 and TLS 1.1 support in the default configuration.
We STRONGLY recommend doing this for all installations.
* Add expansions for *outgoing* Radsec connections.
"%{proxy_listen:TLS-...}" for TLS-Client-Cert-* and TLS-Cert-*
attributes. Fixes #2839.
* Add %{listen:tls} which returns "yes" or "no" for TLS or non-TLS
connections.
* Update dictionary.lancom with new attributes. #2847
Bug fixes
* Allow listen.ipaddr to reference an IPv6-only host. Fixes #2627.
* ERX-Acct-Request-Reason is "integer". Closes #2635.
* Fix a slow memory leak in the file management code.
* Try to fix file permissions if they get modified while
the server is running.
* Fix slow memory leak with clients.
* Fix request and connection timeouts in rlm_rest.
* Fix systemd issues. Patches from Daniele Rondina.
* Fixes from clang analyzer.
* Fix missing include for the dictionaries: alcatel.esam,
altiga,alvarion.wimax.v2_2,aptis,asn,audiocodes,avaya,bristol,
columbia_university,freedhcp,garderos,infoblox,motorola.illegal,
starent.vsa1, telkom, wimax.wichorus.
* Fix internal sanity check when running with "-Xx"
* Allow "inner-tunnel" virtual servers to work better with
"accept" and "reject" policies.
* Fix dictionary.huawei data types for Huawei-DNS-Server-IPv6-address
and Huawei-Framed-IPv6-Address. Fixes #2803
* Framed-Interface-ID in postgresql/queries.conf is string, not inet
Fixes #2817.
* Fix rlm_cache to complain on unknown attributes in the
"update" section of its configuration.
* Add configure checks for -latomic. This helps on armel, mips
and mipsel. Fixes #2828.
* Fix Oracle rlm_sql support.
FreeRADIUS 3.0.19 Wed 10 Apr 2019 09:00:00 EDT urgency=high
Feature improvements
* Update dictionary.cisco
* Update sqlippool to allow for stored procedures with
PostgreSQL. This increases performance substantially.
Patch from Nathan Ward. Fixes #2540.
* Re-added "show client config" command to radmin.
* Cleaned up mods-available/sql example so that it is
easier to understand.
* Added pfSense dictionary. Closes #2581
* Update dictionary.h3c Closes #2592
* Update elasticsearch/logstash config for v6.7.0.
* EAP-PWD security fixes from Mathy Vanhoef. See
http://freeradius.org/security/
Bug fixes
* Update dynamic_client module and server core so that
the functionality works. This has been broken since
at least v2.
* Fix crash in sqlippool due to escaping changes.
Patch from Nathan Ward. Fixes #2532, #2533.
* Fix systemd notify, watchdog and unit files.
Fixes #2541, #2499.
* Fix erroneous length check in EAP-FAST.
* Update documentation to remove old "ignore_null"
configuration. Fixes #2578.
* Fix default POD port. Should be 3799. Fixes #2591
* Correctly encode vendor-specific "encrypted" attributes.
Fixes #2600
FreeRADIUS 3.0.18 Mon 25 Feb 2019 15:00:00 EST urgency=low
Feature improvements
* cleanup_delay can now be 30 seconds. This helps
with proxies that have packet loss.
* Do-Not-Respond policies can now be set in the
"post-auth" section.
* Encode / Decode ADSL Forum DHCP options.
* Fix module ordering issues. e.g. when "sqlippool" needs
"sql". See the "instantiate" section of radiusd.conf.
* Add Big Switch dictionary. Fixes #2252.
* Add sql_session_start policy (raddb/policy.d/accounting)
This minimizes race conditions when using Simultaneous-Use
Patch from Philippe Wooding (#2257).
* For rlm_perl, all variables are now tainted by default. See
raddb/mods-available/perl, and the "perl_flags" configuration
item. This change should only affect people who are using
variables in insecure ways.
* Allow "sqlcounter" module to be listed in "post-auth".
* Add support for IPv6 attributes in SQL. Fixes #2280.
Patches from Michael Ducharme.
* The server is better at handling fail-over for outbound
RadSec and TCP connections. Fixes #2284.
* The server is now more aggressive about retrying failed
outbound RadSec and TCP connections. Fixes #2284.
* Add TLS-Session-Version and TLS-Session-Cipher-Suite to
the "session_state" list.
* Add expansion for Radsec connections. "%{listen:TLS-...}"
for TLS-Client-Cert-* and TLS-Cert-* attributes.
* Add notes on running "ldapsearch" using the parameters from
the LDAP module.
* "ipaddr" attributes can now be cast to "integer" type attributes
in an "update" section.
* Move main thread queue to using atomic queues. This should help
with contention in high load scenarios.
* Add "recv_buff" setting to listeners. For more details,
see sites-available/default
* The sqlippool module can now use attributes other than "Pool-Name"
to assign IP pools. The "Pool-Name" attribute is still the default.
* The "unpack" expansion can now unpack substrings. See
mods-available/unpack for documentation and examples.
* The preprocess module now does "ciscvo_vsa_hack" for Eltex-AVPair.
Fixes #2301. Vendors SHOULD NOT USE THAT KIND OF ATTRIBUTE.
* Allow for <instance>-LDAP-UserDN. See mods-available/ldap for
more information.
* Add sanitizing of control list for moonshot. Fixes #2318
* Update rlm_sql_mysql to be compatible with MySQL 8.
Fixes https://bugs.launchpad.net/bugs/1795310.
* Allow logging of only Access-Accept or Access-Reject messages.
See radiusd.conf, "auth_accept" and "auth_reject".
* Removed Connect-Rate comparison. It was unused and broken.
* Add dictionary.infinera.
* RPMs can now change raddb location with rpmbuild parameter
--define '_sysconfdir /etc'
* OpenDirectory module now points to Apple documentation for help
with build and configuration.
* Use OpenSSL HMAC functions instead of local ones.
* Some SQL modules can now use "auto_escape" to escape unsafe strings.
See mods-config/sql/main/mysql/queries.conf
* Add wispr2date conversion in mods-available/date
* Implement dictionary-based handling in rlm_python. Fixes #2334.
See mods-available/python for details.
* Add support for SKIP LOCKED in sqlippool. This can improve
performance by an order of magnitude or more. See
raddb/mods-config/sql/ippool/*/queries.conf
Fixes #2383. Patch from Nathan Ward.
* Updated Debian packages to allow for libssl1.1.
Fixes #2384. Patch from Alejandro Perez.
* Allow PSK and certificates at the same time.
Except for TLS 1.3 which does not support that.
* Update Debian packages for newer releases.
Fixes #2391. Patch from Matthew Newton.
* Update docker scripts. Fixes #2306.
Patch from Matthew Newton.
* Add crypt xlat.
* MySQL connections can now skip verifying the server
certificate. Fixes #2481. See mods-available/sql
* Add better mechanism to detect MariaDB (Old MySQL).
* Add RFC 7532 "bang path" support for realms.
Fixes #2492.
* Update dictionary.ukerna documentation. Fixes #2493
* Add support for systemd service and watchdogs.
Fixes #2499.
* Check for openss/rand.h, and allow building without
OpenSSL engine. Patch from Eneas U de Queiroz.
Fixes #2517.
* The default PosgtreSQL queries now use "ON CONFLICT"
to better deal with issues. This requires PostgreSQL
9.5 or later. Please use a recent version of PostgreSQL,
or edit the default queries to remove "ON CONFLICT".
Bug fixes
* The session-state list is no longer cleaned in the
inner-tunnel. This lets the outer Access-Reject
section access session-state.
* Fix typo in lock initialization for TLS sockets
Found by Sergio NNX.
* Add check for crash when home server down.
Fixes #2233.
* Add username key for postauth table.
* Better libpcap checks, when the header files or
libraries are missing. Fixes #2245.
* Allow building with old versions of OpenSSL.
Fixes #2247.
* Allow non-FreeRADIUS State attributes to be used with
the "session-state" list. i.e. State length != 16.
* Be more aggressive about cleaning up zombie children
when running in debug mode.
* Use LTDL_DEEPBIND, which fixes issues with Oracle
libraries exporting LDAP API functions.
* unlock files when asked to unlock them.
* return error instead of asserting in map code.
* Don't write 0 bytes to SSL. Fixes #2270.
* Remove "expiry_time IS NULL" from allocate_update
query. Fixes #2262.
* Various dictionary cleanups and consistency checks.
Fixes #2281. Patches from Peter Lemenkov.
* rlm_python has stronger thread locking to prevent
reported issues. Performance may be affected.
* Don't allow Message-Authenticator to overflow
past the end of a large packet.
* Fix crash in sqlippool when SQL server goes away.
Fixes #2300.
* Typos in man pages. Patch from Nikolai Kondrashov.
Fixes #2303.
* Check for correct OpenSSL version in vulnerability
list. Patch from Christian Hesse.
* Fix crash with CoA packets/ Fixes #2304.
* Fix crash in rlm_exec with CoA. Fixes #2328.
* Print errors while parsing the log config, and don't
quit when deprecated log settings are found.
* Fix DHCP encoder xlat so that it can be used with
a list of attributes. It previously only encoded the
first member of the list, and now encodes all
members.
* The "expr" module now skips more whitespace.
* Remove internal FreeRADIUS-Response-Delay attributes
from attr_filter Access-Reject.
* Don't send junk to redis when maximum args reached.
* Small updates to IPv6 for accounting schema.
Fixes #2364.
* Fix OpenDirectory integration in rlm_mschap
* Fix slow memory leak with dynamic clients
* Don't artificially truncate debug output for long
strings.
* Fix memory leak in EAP-PWD.
* Fix crash in "hints" file with Fall-Through = yes
* Fix crash / timer issues with many CoA packets.
* Fix attr_filter so that it does not treat
vendor attributes of number 26 as Vendor-Specific.
* Fix reconnect correctly in rlm_sql_mysql.
* Fix rlm_cache to properly use Cache-TTL < 0.
Fixes #2485.
* Fix rare occurance of bad xlat expansion.
* Check for rare race condition when a proxy reply
arrives too late.
FreeRADIUS 3.0.17 Tue 17 Apr 2018 14:00:00 EDT urgency=low
Feature improvements
* Add CURLOPT_CAINFO. Patch from Nicolas C.
#2167
* "stats home server" now supports "src IPADDR",
to specify home server also by source IP. Fixes #2169.
* Add Dockerfiles for a selection of common systems.
* Increase number of permitted file descriptors, for
systems with many home servers.
* Add TLS-Client-Cert-X509v3-Extended-Key-Usage-OIDs.
Patch from Isaac Boukris. Fixes #2205.
* Update main READMEs. Patches from Matthew Newton.
* Added dictionary.mimosa
* TLS-based EAP methods now create TLS-Session-Version
and TLS-Session-Cipher-Suite attributes.
Bug fixes
* Don't call post-proxy twice when proxying to
a virtual server. Matthew Newton, #2161.
* Use "raw" string value for shared secrets and dynamic clients.
It now parses strings with backslashes and "special characters"
correctly. Fixes #2168.
* Fix RuntimeDirectory for RedHat, from Alan Buxey.
* Relax checks in 'if' parser from Isaac Bourkis
* Minor cleanups for %{debug_attr:&request} from Isaac Boukris.
* Be more aggressive about cleaning up cached certificate attributes,
due to deficiencies in OpenSSL. Reported by Nicolas Reich.
* Be more accepting when parsing IPv6 addresses. Bug noted
by Klara Mall.
* Fix double free in rlm_sql. Fixes #2180.
* rlm_detail now writes empty Access-Accept packets.
* rlm_python can now create tagged attributes.
* Don't crash on duplicate realm + authhost / accthost.
Bug found by Richard Palmer.
* Allow partial certificate chain to trusted CA. Fixes #2162
* Treat SSL_read() returning zero as error. Fixes #2164.
* detail writer now checks if the file was renamed or deleted.
* Add User-Name to Access-Accept if EAP-Message exists,
not Stripped-User-Name.
* RedHat Systemd updates. Fixes #2184
* Use correct API for State variable in rlm_securid.
* Remove broken radclient option "-i".
* Fix "users" file (and hints, etc). So that it does not
get confused about entry ordering with multiple $INCLUDEs.
* Fix rlm_sql to expand the un-escaped string, not the raw string.
* Link default and inner-tunnel only if they exist. Fixes #2206.
* Don't use both IP_PKTINFO and IP_SENDSRCADDR.
* Always install signal handler for SIGINT (needed by Docker).
* Fix intermediate CA flow for OCSP. Fixes #2160.
Intermediate certs which are not self-signed will now be
checked.
* sqlippool now returns "fail" if it fails IP allocation.
* Fix rlm_yubikey to look for correct attribute in replay
attack check.
FreeRADIUS 3.0.16 Thu 11 Jan 2018 12:00:00 EST urgency=low
Feature improvements
* rlm_python now supports multiple lists. From #2031.
* Add trust router re-keying. From #2007.
* Add support for Samba / AD LDAP schema.
See doc/schemas/ldap/samba/README.txt and
doc/schemas/ldap/samba/
* Add "tls_min_version" and "tls_max_version" to EAP module
for Debian OpenSSL issues.
* Better documentation for client certificates in PEAP and TTLS:
it usually doesn't work. Fixes #2068.
* Distinguish login failure from AD unavailable. Fixes #2069.
* Update RH spec files. Fixes #2070.
* Run Post-Proxy-Type if all home servers are dead.
Fixes #2072.
* Print offending IP addresses when EAP sessions come from
two upstream home servers, and rate-limit the messages.
* Minor packaging updates.
* Better documentation for rlm_rest.
* EAP-FAST now has it's own "cipher_list", so that it is
easier to configure.
* EAP-FAST now forcibly disables TLS1.2, until such time
as we implement the new keying mechanism from TLS1.2.
* Add documentation for allow_expired_crl.
* Update Debian logrotation. #2093 and #2101.
* DHCP relay can now drop responses. #2095.
* rlm_sqlippool can now assign Delegated-IPv6-Prefix.
It also now can assign any IPv4 or IPv6 address.
Based on patches from maximumG. #2094.
See raddb/mods-available/sqlippool for changes.
* radeapclient can now use EAP-SIM-Ki to dynamically
create the necessary triplets.
* Explain why many LDAP connections are closed.
Fixes #1969.
* Debian build / package issues fixed by Matthew Newton.
* dictionary.patton updates from Brice Schaffner. Fixes #2137.
* Added scripts to build "inner-server.pem", and updated
mods-config/inner-eap and certs/README to match.
* Added provisions for using an external CA. See raddb/certs/
* Include dhcpclient binary in freeradius-dhcp debian packge.
Bug fixes
* Bind the lifetime of program name and python path to the module
FR-AD-002 (redone)
* Pass correct statement length into sqlite3_prepare[_v2]
FR-AD-003 (redone)
* Allow 100-Continue responses with additional headers in rlm_rest.
* fix corner case where detail files were not being locked
correctly.
* Fix (SQL-Group == "%{...}") checks, and same for LDAP-Group.
Fixes #1947
* Clean up exfile code. Which should help to avoid issues
with reading / writing 100's of detail files.
* Fix build for winbind. Patch from Alex Clouter.
* Fix checkrad for Mikrotik. Patch from Muchael Ducharme.
* Fix home server stats lookup. Patch from Phil Mayers.
* Add libjson-c3 as an optional dependency.
* Require LTB OpenLDAP on CentOS / Redhat, to avoid linking
against NSS, which breaks the server. Fixes #2040.
* rlm_python fixes. Fixes #2041
* Typos in "man" pages. Fixes #2045
* Expand "next" in %{%{...}:-%{...}}. Fixes #2048
* Don't add TLS attributes twice. Fixes #2050.
* Fix memory allocation in rlm_rest. Fixes #2051.
* Update trustrouter for new API. Fixes #2059.
* Fix SQLite issues on FreeBSD. Fixes #2060
* Don't do debug logging of bad passwords. Fixes #2064.
* More graceful handling of "die" in rlm_perl. Fixes #2073.
* Fix occasional crash when using
cisco_accounting_username_bug = yes
* EAP-FAST fixes from Isaac Boukris.
#2078, #2076, and #2082, #2126.
* DHCP fixes, relay, #2092, add run-time check, #2028
* Decode multiple RADIUS packets at a time in highly loaded
RadSec connections. Patch from Jan Tomasek. #2106.
* TunnelPassword is not "single value" in LDAP schema.
Fixes #2061.
* sql log now opens the expanded filename, not the input one.
This was a regression introduced in 3.0.15.
* Remove unnecessary UNIQUE constrain in Oracle schemas.
* Fix SSL thread and locking issues when modules also use SSL.
Fixes #2125 and #2129.
* Re-add dhcpclient "raw packet" changes. Patches from
Nicolas Chaigne and Matthew Newton. Fixes #2155.
FreeRADIUS 3.0.15 Mon 17 Jul 2017 09:00:00 EDT urgency=high
Feature improvements
* Provide HOSTNAME in default systemd files.
* Incorporate RedHat specific files
* Update dictionary.starent, dictionary.ruckus
* Allow builds without TCP or DHCP
Bug fixes
* Fix multiple issues. See this web page for details:
http://freeradius.org/security/fuzzer-2017.html
* Pass correct statement length into sqlite3_prepare[_v2]
* Bind the lifetime of program name and python path to the module
* Check input / output length in make_secret().
FR-GV-201
* Fix read overflow when decoding DHCP option 63
FR-GV-206
* Fix write overflow in data2vp_wimax()
FR-GV-301
* Fix infinite loop and memory exhaustion with 'concat' attributes
FR-GV-302
* Fix infinite read in dhcp_attr2vp()
FR-GV-303
* Fix buffer over-read in fr_dhcp_decode_suboptions()
FR-GV-304
* Decode 'signed' attributes correctly.
FR-GV-305
* use strncmp() instead of memcmp() for bounded data
FR-AD-001
* Bind the lifetime of program name and python path to the module
FR-AD-002
* Pass correct statement length into sqlite3_prepare[_v2]
FR-AD-003
* print messages when we see deprecated configuration
items
* show reasons why we couldn't parse a certificate
expiry time
* be more accepting about truncated ASN1 times.
* Fix OpenSSL API issue which could leak small amounts
of memory. Issue reported by Guido Vranken.
* For Access-Reject, call rad_authlog() after running
the post-auth section, just like for Access-Accept.
* don't crash when reading corrupted data from session
resumption cache. Fixes #1999.
* Parse port in dhcpclient. Fixes #2000.
* Don't leak memory for OpenSSL.
Patch from Guido Vranken.
* Portability fixes taken from OpenBSD port collection.
* run rad_authlog after post-auth for Access-Reject.
* Don't process VMPS packets twice.
* Fix attribute truncation in rlm_perl
* Fix bug when processing huntgroups.
FreeRADIUS 3.0.14 Fri 26 May 2017 13:00:00 EDT urgency=medium
Feature improvements
* Enforce TLS client certificate expiration on
session resumption, and Session-Timeout.
See CVE-2017-9148.
* Updated dictionary.cisco.vpn3000, dictionary.patton
* Added dictionary.dellemc
* Lowered the log output for failed PEAP sessions.
* ALlow utc in rlm_date. Patch from
Peter Lambrechtsen.
* The internal OpenSSL session cache has been
disabled. Please see mods-available/eap
* Update detail reader documentation.
Patch from Matthew Newton. Fixes #1973.
* Make outgoing RadSec connections non-blocking.
* Add SQL backing to Moonshot-*-TargetedId
generation. Patch from Stefan Paetow.
Bug fixes
* radtest uses Cleartext-Password for EAP, not
User-Password.
* Update documentation for mods-enabled/ linking.
* Enhanced checks for moonshot salt. Fixes #1933.
* Allow session resumption for RadSec connections.
Fixes #1936.
* Update "huntgroups" file to note that port ranges
are not supported.
* Fix OpenSSL permissions issues on default key files.
Fixes #1941.
* Certificates are not required when PSK is used.
* Allow SubjectAltName as first extension in cert.
Fixes #1946.
* Fixed talloc issue with TLS session resumption.
Fixes #1980.
* "&Attr-26 := 0x01" now produces useful error messages.
* Handle connection error in rlm_ldap_cacheable_groupobj.
Fixes #1951.
* Fix endian issues in DHCP.
* Multiple minor fixes for Coverity complaints.
* Handle unexpected regex. Fixes #1959.
* Fix minor issues in dictionaries.
* Fix typos and grammar. Patches from Alan Buxey.
* Fix erroneous VP creation in rlm_preproces.
* Fix MIB. Patch from Jeff Gehlbach.
* Trust router updates from Alejandro Perez.
* Allow build with LibreSSL. Fixes #1989
* Use correct packet for channel bindings. Fixes #1990.
* Many fixes found by PVS-Studio. Thanks to PVS-Studio
for giving us a test license. Please see the git commit
history for more information.
* Fix incorrect length check in EAP-PWD. This may
be exploitable.
FreeRADIUS 3.0.13 Mon 06 Mar 2017 13:00:00 EDT urgency=medium
Feature improvements
* Add dictionary.rfc7930. Note that we do not implement
the RFC.
* Added 'cipher_server_preference' to mods-available/eap
Patch from #1797.
* OpenSSL 1.1.0 compatibility fixes.
* rlm_perl: radiusd::xlat to evaluate xlat string
within perl script
* Allow authentication retry in winbind. Patch from
Herwin Weststrate. See raddb/mods-available/mschap.
* Added "recv-coa" method to rlm_rest. It behaves the
same as "authorize".
* Document Trust Router tr_port option. Patch from
Stefan Paetow.
* Update elasticsearch/logstash examples so that they work
with elastic stack v5. Patch from Matthew Newton.
* Print information about packets, replies, and contents
in the detail file reader.
* Update abfab-tr policy. Pull request #1893
from Stefan Paetow.
* Reject packets which contain User-Password and
EAP-Message.
* Add example for filtering Access-Challenge.
See sites-enabled/default.
* Pull symlink fixes from v4.0.x. Fixes #1859.
* Add systemd reload. Not everything is reloaded, but
some is. Fixes #1662.
* Better documentation for listen "ipaddr". Fixes #1921
* Add dictionary.cnergee, updated dictionary.nomadix.
* radclient no longer needs -x to print statistics with -s.
Bug fixes
* Minor typos. Fixes #1763
* Fix typo in RPM build. Closes #1767.
* rlm_mschap check for password expiry only
if password was correct. Fixes #1762.
* Update debian build.
* update rlm_counter "man" page. Fixes #1775.
* Remove erroneous assert. Fixes #1778.
* fix mschap password change test. Fixes #1792.
* Cleanup config file on data remove. Fixes #1795.
* passwd module returns "notfound" if not found.
* Check for old OpenSSL, and don't build rlm_eap_fast
if it necessary. Fixes #1803
* Cleanup memory better after ldap version query.
Patch from Aleksey Katargin.
* Rename lt_* functions to avoid linker issues with
libtool. Fixes #1277
* Many miscellaneous fixes and typos.
* Allow long strings in %{%{foo} bar:-%{baz} blah".
Fixes #1866
* Fix filtering operators, along with more documentation and
more tests for them.
* Fix OpenSSL fixes. Fixes #1876.
* Finish SQL select queries even when SELECT returns no rows.
Fixes #1879.
* Set Module-Failure-Message for more EAP errors.
* Correct typo in dictionary.rfc5580. Fixes #1882
* Remove obselete systemd syslog.target.
* Client-Port-Balance load-balancing now uses client port.
* Radrelay examples fixed from Alex Clouter.
* Update systemd target. Pull request #1896.
* Trim starting whitespace in xlat strings.
* Get MySQL result lengths using normal API.
* suid down after fchown(). Fixes #1914.
* Fix cases of comparing pointer to NUL character. Fixes #1915.
* OpenSSL v1.1 fixes. Pull request #1921.
* Better Handle v4/v6 host names. Pull request #1919.
* Remove "Auth-Type = System" from docs and examples.
* Don't crash on malformed %{home_server}. Fixes #1922
* fix erroneous use of talloc destructor in rlm_eap
* Issue trigger modules.sql.fail. Fixes #1923
* Document python_path gotcha's. Fixes #1845
* dlopen() the specific version of Python. Fixes #1592
FreeRADIUS 3.0.12 Thur 29 Sep 2016 13:00:00 EDT urgency=medium
Feature improvements
* Add support for =~ and !~ in update sections.
See "man unlang"
* Add dictionary.checkpoint.
* Simultaneous-Use prints out more information.
* Print WARNING in debug mode when packets may be
truncated.
* Added expansions %{home_server:state} and
%{home_server_pool:state}, which show the
state of the server / pool.
* Mark rlm_sql_freetds as stable.
* Make rlm_perl less fragile. Patch from
Herwin Weststrate.
* Allow extended attributes to have "encrypt=2"
* Update dictionary.aruba.
* Add support for EAP-FAST. This is an isolated
feature which does not affect anything else.
* Update OpenSSL vulnerability list. Use a version
of OpenSSL released after September 20, 2016.
* EAP certificate verification is now done when
"verify" is enabled and "ocsp" is disabled.
* New dhcpclient and rlm_rad_counter man pages.
* Minor abfab and moonshot additions.
* Pass CFLAGS through from environment in RPM builds.
Allows more custom builds.
* Build with Heimdal in addition to libkrb5.
Bug fixes
* Use correct typedef for older versions of sqlite.
* Update mssql schema to add priority
* Don't complain on /dev/urandom in ldap
* Fix == operator in update sections
* Don't create DHCP strings with many trailing zeros.
Patch from Nicolas C. Fixes #1526.
* Allow MS-CHAP change passwords instead of complaining
on large buffer.
* Allow assignment or equality operator on SQL.
* Update aclocal tests for FreeBSD 10. Patches from
Mathieu Simon.
* Remove occasional hang in rlm_linelog.
* Copy VSAs to inner tunnel for TTLS and PEAP.
Fixes #1544
* A few minor bugfixes caught in v3.1.x cleanup, and
back-ported to v3.0.x.
* do_not_respond again works in post-proxy
* Allow realm "~^.*$" {} and User-Name with no realm.
* Fix leak when creating unknown attributes
* Fix Debian / logrotate.
* Make OpenSSL error functions thread-safe.
* Fix crash with rlm_sql and updating SQL-User-Name.
* Debian build updates.
* Allow regular expression comparisons in radclient
fixes #1574.
* Fix memory leak on unknown attributes in detail file
reader.
* Update example paths in "man" pages when installing
them
* Build fixes for rlm_mschap. Fixes #1489.
* BSD build fixes. Patch from issue #1583.
* Be more careful about /lib/ when building.
Fixes #1585.
* Correct ifdef placement error. Fixes #1572.
* Allow for more files in internal "exfile" API
So it will be possible to open more than 64
"detail" files at the same time.
* Remove support for statically built EAP modules.
Fixes #1591.
* Many fixes to rlm_python from Guillaume Pannatier.
* Use correct week adjustment in SQLcounter.
Fixes #1608
* Minor fixes to allow compilation without DHCP,
VMPS, or TCP.
* Fix checks for module / config file change on HUP.
* Compile regex comparisons when sent via
"debug condition". Fixes #1632.
* Update filenames in documentation and examples.
Patch from Alan Buxey, #1655.
* Don't crash if SQL connection becomes unavailable.
Fixes #1640.
* Disallow originate_coa when proxy_requests = no
Fixes #1684.
* Free rad_perlconf_hv in correct perl context.
Fixes #1675.
* Multiple fixes for Debian builds. #1510, among
others.
* Set OpenSSL FIPS compatibility flag when necessary.
* Pulled fixes for the build system over from other
branches.
* Fix OCSP for RADIUS over TLS.
* Fix skip_if_ocsp_ok behavior.
* Better fixes for systems without closefrom() but
which have /proc. Fixes #1757.
* Minor build fixes back-ported from v4.0.x.
* build --whout-ascend-binary. Fixes #1761.
* Be more aggressive about not opening new connections
in debug mode after CTRL-C. Address #1604.
FreeRADIUS 3.0.11 Mon 25 Jan 2016 14:00:00 EST urgency=medium
Feature improvements
* "unlang" comparisons of IP addresses to IP prefixes
are now detected, and types automatically cast.
* Allow shorthand form of ipv4prefix values e.g. 127/8.
* Add "auto_chain" to raddb/mods-available/eap, tls
subsection. This allows the disabling of OpenSSL
auto-chaining of certificates. Which might be wrong.
* Added printing of coa and disconnect stats (radmin).
* radclient defaults to expecting Access-Accept responses
to Status-Server.
* Updated dictionary.lancom, dictionary.starent.
* Portability fixes for Solaris.
* More errors from ntlm_auth gets passed to MS-CHAP.
* Update abfab-tr-idp virtual server.
* Added "filter_password" in policy.d/filter. This
removes embedded zero bytes in User-Password, for
compatibility with broken clients.
* The server now issues a WARNING message if duplicate
configuration items are found.
* TLS can skip the "verify" section if OCSP returns OK.
See raddb/mods-available/eap, "skip_if_ocsp_ok".
* Set TLS-OCSP-Cert-Valid = yes / no / skipped, which
is the result from the OCSP check.
* Interoperate with AD and "LmCompatibiltyLevel = 5",
by always setting WBC_MSV1_0_ALLOW_MSVCHAPV2 for
native winbind in rlm_mschap.
* TTLS and PEAP now require "virtual_server" to be a real server.
* Print WARNING when TTLS or PEAP identities are spoofed
or not properly anonymized. See RFC 7542 for requirements.
* Various rlm_python fixes from Herwin Weststrate.
* Allow setting Response-Packet-Type in "Post-Proxy-Type Fail",
which is useful when the home server does not respond.
* elasticsearch updates from Matthew Newton
Bug fixes
* Fix issue where field nas_type would not be accessible via
the %{client:} xlat, for clients loaded from SQL.
* Fix compatiblity issues with OpenSSL 1.0.2. Ignore
calls to msg_callback with 'pseudo' content types.
* Data type "ipv4prefix" is parsed correctly.
* Use correct talloc context in rlm_exec. Fixes #1338.
* Complain in unlang if "else" is used with no previous
"if" or "elsif".
* Send accounting status packets to the accounting port.
Fixes #1364.
* Print out CFLAGS when doing "radiusd -Xxv"
* Fixed bug with coa/acct stats value #1339. Based on patch from
Jorge Pereira.
* Fixes for LEAP proxying. Don't use LEAP!
* Fix issue with "directory already exists" seen when doing
"make install".
* Fixed bug with radmin related to the option "stats detail <filename>"
* Complain if the detail file reader does not have permission
to read the "detail.work" file. Fixes #1398
* Fixed SoH. Attributes were not being copied to the virtual server.
* Used a wrong list to global statistics in "stats".
* Create EAP-PWD identity correctly. Prevents segfaults.
* Dynamically validate authentication types for PEAP and EAP-MSCHAPv2.
* Fix includes in installed headers.
* OpenSSL 1.0.1f and 1.0.1g do NOT calculate TLS 1.2 keys correctly.
See raddb/mods-available/eap, "disable_tlsv1_2"
* Allow password change to work for MS-CHAP. This requires 'r=0',
because password changes are not retries.
* Fix home server fail-over for home servers using TCP and/or RadSec.
* Special characters in expanded regexes are now escaped
e.g. User-Name containing '.', and comparing /%{User-Name}/,
the '.' will now be escaped. See src/tests/keywords/regex-escape.
* Use correct authentication vector when sending Access-Reject replies
for RadSec.
* Set FreeRADIUS-Proxied-To in TTLS again. You should use the
"inner-tunnel" virtual server, instead of relying on this attribute.
* Fix debugging constants in rlm_perl. Patch from Herwin Weststrate.
* Add samba-dev / samba4-dev to debian builds so that rlm_mschap can
automatically use the new winbind API.
* Automatically skip zero-length attributes when sending packets,
instead of erroring out.
FreeRADIUS 3.0.10 Mon 05 Oct 2015 15:00:00 EDT urgency=medium
Feature improvements
* Do more optimization of unlang policies. This makes
run-time a bit faster.
* Re-name most of the functions in src/lib. Third-party
module authors will have to do the same.
* More documentation on contributing and how to write
modules.
* Update radiusd.service for systemd.
* Open IPv6 proxy socket if the server is listening on IPV6
auth / acct / coa packets.
* Create debian packages for DHCP. Fixes #1125.
* Add more tests for "update" section parsing.
* Update "man" pages.
* Update attributes for Alcatel 7750
* Add dictionary for Boingo Wi-Fi
* Add support for DHCP lease queries.
See raddb/sites-available/dhcp
* On HUP, check all modules for config files which have
changed. And only re-load those modules.
* Allow FreeRADIUS-Response-Delay(-USec) to be set for
RADIUS packets. Patch from Herwin Weststrate.
* Documentation fixes from Alan Buxey and Matthew Newton.
* Update "logrotate" script.
* Added more RFCs to doc/rfc for new standards implemented
by FreeRADIUS.
* Don't crash when doing "radmin -e "help hup".
Patch from Matthew Newton.
* The dictionary parser now does more sanity checks, which
prevents run-time problems with invalid attributes.
* Update debian packages. Patches from Christopher Hoskin.
* Many other debian packaging fixes from Matthew Netwon
and Herwin Weststrate.
* Add "session-state" to Perl. Patch from Herwin Weststrate.
Bug fixes
* Fix rlm_files so that there are no collisions when loading
10's of 1000's of users.
* Fix radclient to use our internal v4/v6 parsing functions.
v6 addresses with ports now work correctly.
* Fix sending/receiving packet messages to wrap v6 addresses
in square brackets '[]'.
* Check for sasl/sasl.h when building rlm_ldap, and disable
SASL functionality if unavailable.
* Fix issue which caused a non \0 terminated buffer to be
assigned to attributes if the value being assigned contained
an invalid escape sequence.
* Fix deadlock when reconnecting connections in the connection
pool.
* Fix potential overrun in functions that used fr_utf8_char
with a non nul terminated buffer.
* Fix decoding issue for Tunnel-Password type attributes
which were very long. Found by Denis Andzakovic.
* Fix radclient issue with TCP sockets on FreeBSD.
* The server now creates ${run_dir} and ${logdir} directories
in daemon mode, when running as "root".
* Handle tags when using maps. Fixes #1191.
* Fix crash when CoA packets time out.
* Fix parse error in rediswho
* Fix regex support in SQL radcheck the "users" file and radsniff.
* Register listen xlat earlier, so that it's available when the
virtual servers are being parsed.
* Parse Ascend-Data-Filter when given as "0x..."
* Print Ascend-Data-Filter correctly. Add test cases for both.
* Allow old-style clients again. They will be disallowed for
3.1.0 and following.
* Complain instead of crash when "else" and "elsif" are in
the wrong place.
* Clean up memory more aggressively. This lowers the
maximum memory used, most typically for TLS based EAP methods.
* Prevent the server from unlinking the control socket of an
already running instance.
* Fallback to using the configured OCSP URL if one exists, and
no URL is provided in the certificate.
* Return CoA-NAK if proxying CoA fails. Based on patch from
Jorge Pereira.
* Lower peak memory usage by decreasing size of internal
memory pools.
* The control socket is now left in place if a second copy
of the server is accidentally started.
* Allow virtual attributes in "switch", "case", etc.
Fixes #1240 and #1265.
* Many spell check / typo fixes in comments and example
configuration files.
* Better handle multiple DHCP listeners.
* Don't print secrets for old-style realms. Fixes #1267.
* Don't fall through in empty "case" statements.
Fixes #1274.
* Update EAP-TTLS so that MPPE keys are correctly calculated with TLSv1.2.
* Always delete MS-MPPE-* from the TTLS inner tunnel. This allows
TTLS / EAP-MSCHAPv2 to work. Fixes #1206.
* Fix off by one error that caused some MSCHAP-Error messages to
be sent without the password change version (V=3) and the textual
message component (M=).
* Always include C= V= and M= in MSCHAPv2 errors. RFC 2759 does not say
that any of these fields are optional, and not including V= caused
errors with wpa_supplicant.
* Do not include M= in MSCHAPv1 errors. It's not supported.
FreeRADIUS 3.0.9 Wed 08 Jul 2015 12:00:00 EDT urgency=medium
Feature improvements
* Make "pool" configurations more consistent, and
update documentation for them.
* Move connection pool logic to "most recently started",
instead of MRU. This should help with pool stability.
* More VSAs for 3GPP2
* Added examples of multi-value attributes to rlm_perl.
* LDAP-Group and SQL-Group attributes are now dynamically
allocated.
* Only the "sql" module registers SQL-Group. Other instances
register "instance-name-SQL-Group", similarly to "ldap".
* Unknown attributes are now complained about more often
when used in unlang statements. e.g. if (Foo-Bar == 3)
used to be a string to string comparison. It is now a
parse error.
* Rename RLM_COMPONENT_* to MOD_* in the code.
This makes many things easier.
* Move to C99 initializers for modules.
* Load modules in raddb/mods-enabled. This allows attributes
like "LDAP-Group" to be used in the "files" module,
without explicit ordering or listing in "instantiate".
* Added 'bootstrap' section to modules. Third-party modules
will need to be updated.
* When adding clients from a DB, add them to a virtual server
if that virtual server has a "listen" section. Otherwise,
add the clients to the global list.
* When reading dynamic clients from a file, don't expire them
if the underlying file is unchanged.
* Allow the server to originate CoA requests from the post-auth
stage.
* The server creates ${run_dir} and ${logdir} in daemon mode,
if they do not already exist.
* Add dictionary for Wi-Fi Alliance Hotspot 2.0. The server
now supports all mandatory and optional attributes for this
specification.
* HUP now re-loads the configuration only if the files have
changed. If all files are unchanged, HUP re-opens the
log file, and does nothing else.
* Much better debug messages for EAP-TLS, including which
attributes are cached, and when they are retrieved.
* Increase default max_requests to 16384. Memory is cheap now.
* Added "stats memory" commands to radmin. Debug build only.
* Aptilo controller dictionary updates.
* SQL modules now use Acct-Unique-Session-Id everywhere.
* The redis modules are now stable.
* The LDAP module now supports SASL "interactive bind" method.
This allows Kerberos based administrator and user binds.
* DHCP code is now in libfreeradius-dhcp.
* More DHCP encoding / decoding unit tests.
* rlm_replicate can now be listed in the "accounting" section.
* Better sqlite debugging output.
* Remove "required" option from many sql_ippool directives.
* Set default CA "basic constraints" to "critical". Fixes #1073
* Updates to help / man pages from Jorge Pereira.
* Added more tests.
Bug fixes
* Be more careful about unused config item warnings
when using -Xx.
* Move more defines to be auto-generated.
* Allow virtual servers in proxy fallback.
* Allow %{module:} to work.
* Don't crash in RadSec. Closes #980.
* Return better errors when a unix group / user
is not found.
* Re-enable detail module "locking" parameter.
* Don't crash when logging replies from Status-Server packets.
* The couchbase module now uses "update" instead of "map",
for consistent with the rest of the server. See
raddb/mods-available/couchbase
* Don't require NT-Password for MS-CHAP password changes.
* Be a bit more careful about decrypting MS-CHAP-MPPE-Key
attributes. Closes #1013. There is no perfect fix, tho.
* Fix security issues with EAP-PWD.
See http://freeradius.org/security.html#eap-pwd-2015
* Fix dynamic clients read from SQL in non-debug mode
* MS-CHAP now allows retries (i.e. password change) when
passwords are expired.
* Allow "user=radiusd" when the server is already user
"radiusd"
* suid up/down works on non-Linux systems. This means
that the control socket should have the correct
ownership.
* Fix issue which caused the server to sometimes have problems
when a home server was marked zombie.
* Fix format.pl because Perl is now more picky.
* Fix proxy to Packet-Dst-IP-Address, so that it uses the
correct destination port.
* Fix corner case with cursor functions and removal.
* OpenDirectory fixes and documentation.
* Fix leaks in rlm_redis.
* RFC 6929 "evs" attributes are now encoded / decoded
properly.
* Fix talloc pool leaks when receiving malformed or
retransmitted Accounting/CoA requests.
* Printed attributes again use double quotes instead of
single quotes.
* Set X509_V_FLAG_CRL_CHECK_ALL, and add "check_all_crl"
to eap.conf. Fixes oCert CVE-2015-4680.
* rlm_expr now errors out correctly on malformed attribute
references instead of triggering an assert.
* Make "break" work in "foreach" loops
* Allow dynamic expansions to work again in the "hints" file.
* Correct minor typos in comments and examples from Alan Buxy.
* Re-urlencode the path portion of ldapi:// urls before
passing it to ldap_initialise.
FreeRADIUS 3.0.8 Wed 22 Apr 2015 13:30:00 EDT urgency=medium
Feature improvements
* Allow syslog_severity to be set in rlm_linelog.
* Allow defaults to be set for bulk clients in LDAP and couchbase.
* Updates to dhcpclient. Patches from Nicolas C.
* rlm_mschap now supports direct connections to winbind, which
is faster than ntlm_auth. See raddb/mods-available/mschap.
Patch from Matthew Newton.
* Recommend /dev/urandom for TLS randomness, instead of
${certdir}/random
* Allow TLSv1 to be disabled via "disable_tlsv1" in tls{}.
* Allow Expanded EAP types where vendor is 0 (IETF) and
type is normal EAP type. Supplicants sending Expanded
EAP types like this are broken.
* Add support for server side sort controls when searching for
user objects in rlm_ldap.
Bug fixes
* Don't complain about "authorize" in "server {}" blocks, but
only if there's no "server" block.
* Fix cosmetic issue where debug from the first packet read by
a detail reader thread would be emited during config parsing.
* Fix ASSERT on truncated detail packets.
* Don't use main server log functions from within panic_action,
as in the case of syslog this would cause deadlocks if the
fault was triggered from within a malloc.
* Fix issue in "switch" when "correct_escapes = false".
Fixes #911.
* Fix sqlcounter configuration to use "%%b" instead of "%b",
otherwise the new syntax validation will fail.
* Allow forward references in configuration items. Modules
aren't always loaded in a sane order.
* Fix more escaping issues. Closes #912.
* Decode MAC addresses correctly for VMPS.
* Fix memory leak with TLS connections.
* Fix state machine threading issues for conflicting packets.
* Fix copy_request_to_tunnel issues for tagged attributes.
* Allow "ok" to over-ride "updated" inside of Auth-Type sections.
* Update state machine so that post-proxy is run though child
threads for performance, instead of blocking the main thread.
* Allow "netmask" to work again in client definitions.
* Relax restrictions on SQL group queries.
* track outgoing proxy sockets and clean them up more aggressively.
* track proxy statistics, including CoA and Disconnect.
* If radmin has a connection failure when running a command,
it re-connects and runs the command again.
* mark home servers "unknown" less aggressively.
* Fix potential SEGV in PostgreSQL driver on error.
* Fix issue where fields like nas_type would not be accessible via
the %{client:} xlat, for dynamic clients.
* Set default busy_timeout (of 200ms) in the sqlite driver, so writes
don't cause selects to fail in multithreaded mode. This is user
configurable, and may be increased if required.