Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
puppet-freeradius
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Projets publics
puppet-freeradius
Commits
02221f39
Commit
02221f39
authored
Feb 10, 2016
by
Jonathan Gazeley
Browse files
Options
Downloads
Patches
Plain Diff
Also package cache_tls module while is required by the tls_cache server
parent
c124da25
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
files/cache_tls
+42
-0
42 additions, 0 deletions
files/cache_tls
manifests/init.pp
+3
-0
3 additions, 0 deletions
manifests/init.pp
with
45 additions
and
0 deletions
files/cache_tls
0 → 100644
+
42
−
0
View file @
02221f39
cache cache_tls_session {
driver = "rlm_cache_rbtree"
# The key used to index the cache. It is dynamically expanded
# at run time.
key = &TLS-Session-Id
# The TTL of cache entries, in seconds. Entries older than this
# will be expired.
#
# This value should be between 10 and 86400.
ttl = 3600 # 60 mins
update {
&session-state:TLS-Session-Data := &session-state:TLS-Session-Data
#
# If you want to store authorization attributes too, consider
# performing LDAP/SQL lookups in the tls-cache virtual server
# and storing the results in &session-state:
#
# The complete list can then be restored along with the
# TLS-Session-Data using the entry below.
#
# Policies run in Post-Auth then have access to the same data
# irrespective of whether the session is being resumed.
#
# &session-state: += &session-state:
}
}
cache cache_ocsp {
driver = "rlm_cache_rbtree"
# The key used to index the cache. It is dynamically expanded
# at run time.
key = &session-state:TLS-Client-Cert-Serial
update {
&control:TLS-OCSP-Cert-Valid := &TLS-OCSP-Cert-Valid
}
}
This diff is collapsed.
Click to expand it.
manifests/init.pp
+
3
−
0
View file @
02221f39
...
...
@@ -78,6 +78,9 @@ class freeradius (
freeradius::site
{
'tls-cache'
:
source
=>
'puppet:///modules/freeradius/tls-cache'
,
}
freeradius::module
{
'cache_tls'
:
source
=>
'puppet:///modules/freeradius/cache_tls'
,
}
# Set up concat policy file, as there is only one global policy
# We also add standard header and footer
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment