Skip to content

Commit

Permalink
document "perl_flags" and "-T"
Browse files Browse the repository at this point in the history
  • Loading branch information
alandekok committed Jul 3, 2018
1 parent 4530a9a commit 3308363
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
7 changes: 4 additions & 3 deletions doc/ChangeLog
Expand Up @@ -11,9 +11,10 @@ FreeRADIUS 3.0.18 Tue 17 Apr 2018 14:00:00 EDT urgency=low
* 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.
This should only affect people who are using variables
in insecure ways.
* 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.

Bug fixes
* The session-state list is no longer cleaned in the
Expand Down
11 changes: 11 additions & 0 deletions raddb/mods-available/perl
Expand Up @@ -13,6 +13,17 @@ perl {
#
filename = ${modconfdir}/${.:instance}/example.pl

#
# Options which are passed to the Perl interpreter.
# These are (mostly) the same options as are passed
# to the "perl" command line.
#
# The most useful flag is "-T". This sets tainting on. And
# as of 3.0.18, makes it impossible to leverage bad
# User-Names into local command execution.
#
perl_flags = "-T"

#
# The following hashes are given to the module and
# filled with value-pairs (Attribute names and values)
Expand Down

0 comments on commit 3308363

Please sign in to comment.