~yolanda.robla/ubuntu/saucy/freeradius/dep-8-tests

« back to all changes in this revision

Viewing changes to redhat/freeradius.spec

  • Committer: Bazaar Package Importer
  • Author(s): Josip Rodin
  • Date: 2010-10-14 21:51:51 UTC
  • mfrom: (1.1.15 upstream)
  • Revision ID: james.westby@ubuntu.com-20101014215151-po7jgf8lyf0zq5ht
Tags: 2.1.10+dfsg-1
* New upstream version, closes a bunch of reproducible SNAFUs,
  including two tagged as security issues, CVE-2010-3696, CVE-2010-3697,
  closes: #600176.
* Build-depend on newer Libtool because of lt_dladvise_init(), also
  upstream now has a configure check so we no longer need a patch,
  yet we still don't want the old behaviour. Noticed by John Morrissey,
  closes: #584151.
* Added the /etc/default/freeradius file as suggested by
  Rudy Gevaert and Matthew Newton, closes: #564716.
* Stop symlinking /dev/urandom into /etc/freeradius/certs/random,
  it breaks grep -r in /etc. Instead, replace it inside eap.conf,
  both in the new shipped conffile and in postinst.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
Summary: High-performance and highly configurable free RADIUS server
2
2
Name: freeradius
3
 
Version: 2.1.9
4
 
Release: 2%{?dist}
 
3
Version: 2.1.10
 
4
Release: 1%{?dist}
5
5
License: GPLv2+ and LGPLv2+
6
6
Group: System Environment/Daemons
7
7
URL: http://www.freeradius.org/
325
325
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/detail.example.com
326
326
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/detail.log
327
327
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/digest
 
328
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/dynamic_clients
328
329
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/echo
329
330
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/etc_group
330
331
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/exec
339
340
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/mac2vlan
340
341
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/mschap
341
342
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/ntlm_auth
 
343
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/opendirectory
342
344
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/otp
343
345
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/pam
344
346
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/modules/pap
557
559
%{_libdir}/freeradius/rlm_sql_unixodbc-%{version}.so
558
560
 
559
561
%changelog
 
562
* Wed Sep 22 2010 John Dennis <jdennis@redhat.com> - 2.1.10-1
 
563
- upgrade to latest upstream release
 
564
  Feature improvements
 
565
  * Install the "radcrypt" program.
 
566
  * Enable radclient to send requests containing MS-CHAPv1
 
567
    Send packets with: MS-CHAP-Password = "password".  It will
 
568
    be automatically converted to the correct MS-CHAP attributes.
 
569
  * Added "-t" command-line option to radtest.  You can use "-t pap",
 
570
   "-t chap", "-t mschap", or "-t eap-md5".  The default is "-t pap"
 
571
  * Make the "inner-tunnel" virtual server listen on 127.0.0.1:18120
 
572
    This change and the previous one makes PEAP testing much easier.
 
573
  * Added more documentation and examples for the "passwd" module.
 
574
  * Added dictionaries for RFC 5607 and RFC 5904.
 
575
  * Added note in proxy.conf that we recommend setting
 
576
    "require_message_authenticator = yes" for all home servers.
 
577
  * Added example of second "files" configuration, with documentation.
 
578
    This shows how and where to use two instances of a module.
 
579
  * Updated radsniff to have it write pcap files, too.  See '-w'.
 
580
  * Print out large WARNING message if we send an Access-Challenge
 
581
    for EAP, and receive no follow-up messages from the client.
 
582
  * Added Cached-Session-Policy for EAP session resumption.  See
 
583
    raddb/eap.conf.
 
584
  * Added support for TLS-Cert-* attributes. For details, see
 
585
    raddb/sites-available/default, "post-auth" section.
 
586
  * Added sample raddb/modules/{opendirectory,dynamic_clients}
 
587
  * Updated Cisco and Huawei, HP, Redback, and ERX dictionaries.
 
588
  * Added RFCs 5607, 5904, and 5997.
 
589
  * For EAP-TLS, client certificates can now be validated using an
 
590
    external command.  See eap.conf, "validate" subsection of "tls".
 
591
  * Made rlm_pap aware of {nthash} prefix, for compatibility with
 
592
    legacy RADIUS systems.
 
593
  * Add Module-Failure-Message for mschap module (ntlm_auth)
 
594
  * made rlm_sql_sqlite database configurable.  Use "filename"
 
595
    in sql{} section.
 
596
  * Added %{tolower: ...string ... }, which returns the lowercase
 
597
    version of the string.
 
598
 
 
599
  Bug fixes
 
600
  * Fix endless loop when there are multiple sub-options for
 
601
    DHCP option 82.
 
602
  * More debug output when sending / receiving DHCP packets.
 
603
  * EAP-MSCHAPv2 should return the MPPE keys when used outside
 
604
    of a TLS tunnel.  This is needed for IKE.
 
605
  * Added SSL "no ticket" option to prevent SSL from creating sessions
 
606
    without IDs.  We need the IDs, so this option should be set.
 
607
  * Fix proxying of packets from inside a TTLS/PEAP tunnel.
 
608
    Closes bug #25.
 
609
  * Allow IPv6 address attributes to be created from domain names
 
610
    Closes bug #82.
 
611
  * Set the string length to the correct value when parsing double
 
612
    quotes.  Closes bug #88.
 
613
  * No longer look users up in /etc/passwd in the default configuration.
 
614
    This can be reverted by enabling "unix" in the "authorize" section.
 
615
  * More #ifdef's to enable building on systems without certain
 
616
    features.
 
617
  * Fixed SQL-Group comparison to register only if the group
 
618
    query is defined.
 
619
  * Fixed SQL-Group comparison to register <instance>-SQL-Group,
 
620
    just like rlm_ldap.  This lets you have multiple SQL group checks.
 
621
  * Fix scanning of octal numbers in "unlang".  Closes bug #89.
 
622
  * Be less aggressive about freeing "stuck" requests.  Closes bug #35.
 
623
  * Fix example in "originate-coa" to refer to the correct packet.
 
624
  * Change default timeout for dynamic clients to 1 hour, not 1 day.
 
625
  * Allow passwd module to map IP addresses, too.
 
626
  * Allow passwd module to be used for CoA packets
 
627
  * Put boot filename into DHCP header when DHCP-Boot-Filename
 
628
    is specified.
 
629
  * raddb/certs/Makefile no longer has certs depend on index.txt and
 
630
     serial.  Closes bug #64.
 
631
  * Ignore NULL errorcode in PostgreSQL client.  Closes bug #39
 
632
  * Made Exec-Program and Exec-Program-Wait work in accounting
 
633
    section again.  See sites-available/default.
 
634
  * Fix long-standing memory leak in esoteric conditions.  Found
 
635
    by Jerry Nichols.
 
636
  * Added "Password-With-Header == userPassword" to raddb/ldap.attrmap
 
637
    This will automatically convert more passwords.
 
638
  * Updated rlm_pap to decode Password-With-Header, if it was base64
 
639
    encoded, and to treat the contents as potentially binary data.
 
640
  * Fix Novell eDir code to use the right function parameters.
 
641
    Closes bug #86.
 
642
  * Allow spaces to be escaped when executing external programs.
 
643
    Closes bug #93.
 
644
  * Be less restrictive about checking permissions on control socket.
 
645
    If we're root, allow connecting to a non-root socket.
 
646
  * Remove control socket on normal server exit.  If the server isn't
 
647
    running, the control socket should not exist.
 
648
  * Use MS-CHAP-User-Name as Name field from EAP-MSCHAPv2 for MS-CHAP
 
649
    calculations.  It *MAY* be different (upper / lower case) from
 
650
    the User-Name attribute.  Closes bug #17.
 
651
  * If the EAP-TLS methods have problems, more SSL errors are now
 
652
    available in the Module-Failure-Message attribute.
 
653
  * Update Oracle configure scripts.  Closes bug #57.
 
654
  * Added text to DESC fields of doc/examples/openldap.schema
 
655
  * Updated more documentation to use "Restructured Text" format.
 
656
    Thanks to James Lockie.
 
657
  * Fixed typos in raddb/sql/mssql/dialup.conf.  Closes bug #11.
 
658
  * Return error for potential proxy loops when using "-XC"
 
659
  * Produce better error messages when slow databases block
 
660
    the server.
 
661
  * Added notes on DHCP broadcast packets for FreeBSD.
 
662
  * Fixed crash when parsing some date strings.  Closes bug #98
 
663
  * Improperly formatted Attributes are now printed as "Attr-##".
 
664
    If they are not correct, they should not use the dictionary name.
 
665
  * Fix rlm_digest to be check the format of the Digest attributes,
 
666
    and return "noop" rather than "fail" if they're not right.
 
667
  * Enable "digest" in raddb/sites-available/default.  This change
 
668
    enables digest authentication to work "out of the box".
 
669
  * Be less aggressive about marking home servers as zombie.
 
670
    If they are responding to some packets, they are still alive.
 
671
  * Added Packet-Transmit-Counter, to track detail file retransmits.
 
672
    Closes bug #13.
 
673
  * Added configure check for lt_dladvise_init().  If it exists, then
 
674
    using it solves some issues related to libraries loading libraries.
 
675
  * Added indexes to the MySQL IP Pool schema.
 
676
  * Print WARNING message if too many attributes are put into a packet.
 
677
  * Include dhcp test client (not built by default)
 
678
  * Added checks for LDAP constraint violation.  Closes bug #18.
 
679
  * Change default raddebug timeout to 60 seconds.
 
680
  * Made error / warning messages more consistent.
 
681
  * Correct back-slash handling in variable expansion.  Closes bug #46.
 
682
    You SHOULD check your configuration for backslash expansion!
 
683
  * Fix typo in "configure" script (--enable-libltdl-install)
 
684
  * Use local libltdl in more situations.  This helps to avoid
 
685
    compile issues complaining about lt__PROGRAM__LTX_preloaded_symbols.
 
686
  * Fix hang on startup when multiple home servers were defined
 
687
    with "src_ipaddr" field.
 
688
  * Fix 32/64 bit issue in rlm_ldap.  Closes bug #105.
 
689
  * If the first "listen" section uses 127.0.0.1, don't use that
 
690
    as the source IP for proxying.  It won't work.
 
691
  * When Proxy-To-Realm is set to a non-existent realm, the EAP module
 
692
    should handle the request, rather than expecting it to be proxied.
 
693
  * Fix IPv4 issues with udpfromto.  Closes bug #110.
 
694
  * Clean up child processes of raddebug.  Closes bugs #108 and #109
 
695
  * retry OTP if the OTP daemon fails.  Closes bug #58.
 
696
  * Multiple calls to ber_printf seem to work better.  Closes #106.
 
697
  * Fix "unlang" so that "attribute not found" is treated as a "false"
 
698
    comparison, rather than a syntax error in the configuration.
 
699
 
 
700
 
 
701
* Sat Jul 31 2010 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 2.1.9-3
 
702
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
 
703
 
 
704
* Tue Jun 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.1.9-2
 
705
- Mass rebuild with perl-5.12.0
 
706
 
 
707
* Mon May 24 2010 John Dennis <jdennis@redhat.com> - 2.1.9-1
 
708
- update to latest upstream, mainly bug fix release
 
709
  Feature improvements
 
710
  * Add radmin command "stats detail <file>" to see what
 
711
    is going on inside of a detail file reader.
 
712
  * Added documentation for CoA.  See raddb/sites-available/coa
 
713
  * Add sub-option support for Option 82.  See dictionary.dhcp
 
714
  * Add "server" field to default SQL NAS table, and documented it.
 
715
 
 
716
  Bug fixes
 
717
  * Reset "received ping" counter for Status-Server checks.  In some
 
718
    corner cases it was not getting reset.
 
719
  * Handle large VMPS attributes.
 
720
  * Count accounting responses from a home server in SNMP / statistics
 
721
    code.
 
722
  * Set EAP-Session-Resumed = Yes, not "No" when session is resumed.
 
723
  * radmin packet counter statistics are now unsigned, for numbers
 
724
    2^31..2^32.  After that they roll over to zero.
 
725
  * Be more careful about expanding data in PAP and MS-CHAP modules.
 
726
    This prevents login failures when passwords contain '{'.
 
727
  * Clean up zombie children if there were many "exec" modules being
 
728
    run for one packet, all with "wait = no".
 
729
  * re-open log file after HUP.  Closes bug #63.
 
730
  * Fix "no response to proxied packet" complaint for Coa / Disconnect
 
731
    packets.  It shouldn't ignore replies to packets it sent.
 
732
  * Calculate IPv6 netmasks correctly.  Closes bug #69.
 
733
  * Fix SQL module to re-open sockets if they unexpectedly close.
 
734
  * Track scope for IPv6 addresses.  This lets us use link-local
 
735
    addresses properly.  Closes bug #70.
 
736
  * Updated Makefiles to no longer use the shell for recursing into
 
737
    subdirs.  "make -j 2" should now work.
 
738
  * Updated raddb/sql/mysql/ippool.conf to use "= NULL".  Closes
 
739
    bug #75.
 
740
  * Updated Makefiles so that "make reconfig" no longer uses the shell
 
741
    for recursing into subdirs, and re-builds all "configure" files.
 
742
  * Used above method to regenerate all configure scripts.
 
743
    Closes bug #34.
 
744
  * Updated SQL module to allow "server" field of "nas" table
 
745
    to be blank: "".  This means the same as it being NULL.
 
746
  * Fixed regex realm example.  Create Realm attribute with value
 
747
    of realm from User-Name, not from regex.  Closes bug #40.
 
748
  * If processing a DHCP Discover returns "fail / reject", ignore
 
749
    the packet rather than sending a NAK.
 
750
  * Allow '%' to be escaped in sqlcounter module.
 
751
  * Fix typo internal hash table.
 
752
  * For PEAP and TTLS, the tunneled reply is added to the reply,
 
753
    rather than integrated via the operators.  This allows multiple
 
754
    VSAs to be added, where they would previously be discarded.
 
755
  * Make request number unsigned.  This changes nothing other than
 
756
    the debug output when the server receives more than 2^31 packets.
 
757
  * Don't block when reading child output in 'exec wait'.  This means
 
758
    that blocked children get killed, instead of blocking the server.
 
759
  * Enabled building without any proxy functionality
 
760
  * radclient now prefers IPv4, to match the default server config.
 
761
  * Print useful error when a realm regex is invalid
 
762
  * relaxed rules for preprocess module "with_cisco_vsa_hack".  The
 
763
    attributes can now be integer, ipaddr, etc.  (i.e. non-string)
 
764
  * Allow rlm_ldap to build if ldap_set_rebind_proc() has only
 
765
    2 arguments.
 
766
  * Update configure script for rlm_python to avoid dynamic linking
 
767
    problems on some platforms.
 
768
  * Work-around for bug #35
 
769
  * Do suid to "user" when running in debug mode as root
 
770
  * Make "allow_core_dumps" work in more situations.
 
771
  * In detail file reader, treat bad records as EOF.
 
772
    This allows it to continue working when the disk is full.
 
773
  * Fix Oracle default accounting queries to work when there are no
 
774
    gigawords attributes.  Other databases already had the fix.
 
775
  * Fix rlm_sql to show when it opens and closes sockets.  It already
 
776
    says when it cannot connect, so it should say when it can connect.
 
777
  * "chmod -x" for a few C source files.
 
778
  * Pull update spec files, etc. from RedHat into the redhat/ directory.
 
779
  * Allow spaces when parsing integer values.  This helps people who
 
780
    put "too much" into an SQL value field.
 
781
 
560
782
* Thu Jan  7 2010 John Dennis <jdennis@redhat.com> - 2.1.8-2
561
783
- resolves: bug #526559 initial install should run bootstrap to create certificates
562
784
  running radiusd in debug mode to generate inital temporary certificates