./net/freeradius-python, Free RADIUS rlm_python module

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 3.2.3nb1, Package name: freeradius-python-3.2.3nb1, Maintainer: pkgsrc-users

FreeRADIUS rlm_python module

This package provides python support for FreeRADIUS


Required to run:
[net/freeradius] [lang/python37]

Required to build:
[databases/gdbm] [devel/talloc] [pkgtools/cwrappers]

Master sites:

Filesize: 3373.896 KB

Version history: (Expand)


CVS history: (Expand)


   2023-08-14 07:25:36 by Thomas Klausner | Files touched by this commit (1247)
Log message:
*: recursive bump for Python 3.11 as new default
   2023-04-05 11:16:43 by Adam Ciarcinski | Files touched by this commit (12) | Package updated
Log message:
freeradius: updated to 3.2.2

Version 3.2.2

FEATURE IMPROVEMENTS

The "configure" process now gives a much clearer report when it's \ 
finished. Patches by Matthew Newton.
Fallback to "uname -n" on missing "hostname".
Export thread details in radmin "stats threads".
Improve queries for processing radacct into periodic usage data Fix from Nick Porter.
Update dictionary.juniper.
Add dictionary.calix.
Fix dictionary.rfc6519 DS-Lite-Tunnel-Name to be "octets".
Update documentation for robust-proxy-accounting, and be more aggressive about \ 
sending packets.
Add per-module README.md files in the source.
Add default Visual Studio configuration for developers.
Postgres can now automatically use alternate queries for errors other than \ 
duplicate keys.
%{listen:TLS-PSK-Identity} is now set when using PSK and psk_query This helps \ 
the server track the identity of the client which is connecting.
Include thread stats in Status-Server attributes.
Mark rlm_unbound stable and add to packages. Patches by Nick Porter.
Remove broken/unsupported Dockerfiles for centos8 and debian9.
Ensure Docker containers have stable uid/gid. Patches from Terry Burton.

BUG FIXES

Preliminary support for non-blocking TLS sockets.
Fix support for partial certificate chains after adding reload support.
Fix handling of debug_condition.
Clean up home server states, and re-sync with the dictionaries.
Correct certificate order when creating TLS-* attributes
Update use of isalpha() etc. so broken configurations have less impact on the server.
Outgoing TLS sockets now set SNI correctly from the "hostname" \ 
configuration item.
Support Apple Homebrew on the M1.
Better error messages when %{listen:TLS-...} is used.
Getting statistics via Status-Server can now be done within a virtual server.
Make TTLS+MS-CHAP work with TLS 1.3.
Fix md5 xlat memory leak when using OpenSSL 3. Fix by Terry Burton.

Version 3.2.1

FEATURE IMPROVEMENTS

Add dictionary.ciena, dictionary.nile, and DHCPv4 dictionaries,.
Add simultaneous-use queries for MS SQL.
Add radmin command for "stats pool <module-name>" Which prints \ 
out statistics about the connection pools.
Client statistics now shows "conflicts", to count conflicting packets.
New optional "lightweight accounting-on/off" strategy. When refreshing \ 
queries.conf you should also add the new nasreload table and corresponding \ 
GRANTs to your DB schema.
Add TLS-Client-Cert-X509v3-Certificate-Policies, which helps with Eduroam. \ 
Suggested by Stefan Winter.
Allow auth+acct for TCP sockets, too.
Add rlm_cache_redis. See raddb/mods-available/cache for details.
Allow radmin to look up home servers by name, too.
Ensure that dynamic clients don't create loops on duplicates Reported by Sam Yee.
Removed rlm_sqlhpwippool. There was no documentation, no configuration, and the \ 
module was ~15 years old with no one using it.
Marked rlm_python3 as stable.
Add sigalgs_list. See raddb/mods-available/eap. Patch from Boris Lytochkin.
For rlm_linelog, when opening files in /dev, look at "permissions" to \ 
see whether to open them r/w.
More flexibility for dynamic home servers. See \ 
doc/configuration/dynamic_home_servers.md and raddb/home_servers/README.md.
Allow setting of application_name for PostgreSQL. See mods-available/sql.

BUG FIXES

Correct test for open sessions in radacct for MS SQL.
The linelog module now opens /dev/stdout in "write-only" mode if the \ 
permissions are set to "u+w" (0002).
Various fixes to rlm_unbound from Nick Porter.
PEAP now correctly runs Post-Auth-Type Accept.
Create "TLS-Cert-*" for outbound Radsec, instead of TLS-Client-Cert-*. \ 
See sites-available/tls, and fix_cert_order.
Minor updates and fixes to CI, Dockerfiles and packaging.
Fix rlm_python3 build with python >= 3.10.
   2022-09-01 22:23:23 by Thomas Klausner | Files touched by this commit (2)
Log message:
freeradius-python: fix build

Bump PKGREVISION.
   2022-06-30 13:19:02 by Nia Alarie | Files touched by this commit (524)
Log message:
*: Revbump packages that use Python at runtime without a PKGNAME prefix
   2019-09-24 12:48:45 by Adam Ciarcinski | Files touched by this commit (1)
Log message:
freeradius-python: fix building when multiple Python versions are installed
   2019-07-04 09:44:53 by Adam Ciarcinski | Files touched by this commit (32) | Package updated
Log message:
freeradius: updated to 3.0.19

3.0.19:
FEATURE IMPROVEMENTS
Update dictionary.cisco.
Update sqlippool to allow for stored procedures with PostgreSQL. This increases \ 
performance substantially Patch from Nathan Ward.
Re-added "show client config" command to radmin.
Cleaned up mods-available/sql example so that it is easier to understand.
Added pfSense dictionary.
Update dictionary.h3c
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.
Fix systemd notify, watchdog and unit files
Fix erroneous length check in EAP-FAST.
Update documentation to remove old "ignore_null" configuration.
Fix default POD port. Should be 3799.
Correctly encode vendor-specific "encrypted" attributes

3.0.18:
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.
Add sql_session_start policy (raddb/policy.d/accounting) This minimizes race \ 
conditions when using Simultaneous-Use Patch from Philippe Wooding.
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.
The server is better at handling fail-over for outbound RadSec and TCP connections.
The server is now more aggressive about retrying failed outbound RadSec and TCP \ 
connections.
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. \ 
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.
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.
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
Updated Debian packages to allow for libssl1.1
Allow PSK and certificates at the same time Except for TLS 1.3 which does not \ 
support that.
Update Debian packages for newer releases
Update docker scripts.
Add crypt xlat.
MySQL connections can now skip verifying the server certificate.
Add better mechanism to detect MariaDB (Old MySQL).
Add RFC 7532 "bang path" support for realms
Update dictionary.ukerna documentation.
Add support for systemd service and watchdogs
Check for openss/rand.h, and allow building without OpenSSL engine.
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
Add username key for postauth table.
Better libpcap checks, when the header files or libraries are missing.
Allow building with old versions of OpenSSL
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.
Remove "expiry_time IS NULL" from allocate_update query.
Various dictionary cleanups and consistency checks
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
Typos in man pages. Patch from Nikolai Kondrashov
Check for correct OpenSSL version in vulnerability list. Patch from Christian Hesse.
Fix crash with CoA packets/
Fix crash in rlm_exec with CoA.
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
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
Fix rare occurance of bad xlat expansion.
Check for rare race condition when a proxy reply arrives too late.
   2019-04-25 09:33:32 by Maya Rashish | Files touched by this commit (620)
Log message:
PKGREVISION bump for anything using python without a PYPKGPREFIX.

This is a semi-manual PKGREVISION bump.
   2018-09-25 14:16:37 by Jonathan Perkin | Files touched by this commit (15) | Package updated
Log message:
freeradius*: Update to 3.0.17.

Provided by Coy Hile in joyent/pkgsrc#131.  Fixes an issue where the module
builds would fail if they found a system LDAP.  Fix print-PLIST while here.

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

        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.