public:retro-fitting_fticks_logging_to_freeradius
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| public:retro-fitting_fticks_logging_to_freeradius [2024/03/19 08:17] – admin | public:retro-fitting_fticks_logging_to_freeradius [2024/11/22 09:54] (current) – admin | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| =====Retro-fitting FTICKS to FreeRADIUS===== | =====Retro-fitting FTICKS to FreeRADIUS===== | ||
| - | |||
| - | **IN PROGRESS** | ||
| For a [[public: | For a [[public: | ||
| Line 9: | Line 7: | ||
| To do this there are a few stages. | To do this there are a few stages. | ||
| - | 1. Modify the client stanzas to include an ' | + | 1. Modify the [[siteadmin: |
| < | < | ||
| client somesite { | client somesite { | ||
| Line 18: | Line 16: | ||
| } | } | ||
| </ | </ | ||
| - | 2. Modify the client stanzas to identify all the Jisc NRPS as ' | + | |
| + | 2. Modify the [[[[siteadmin: | ||
| < | < | ||
| client roaming0 { | client roaming0 { | ||
| Line 24: | Line 23: | ||
| ipaddr = 192.168.0.1 | ipaddr = 192.168.0.1 | ||
| operator = " | operator = " | ||
| + | |||
| + | } | ||
| + | |||
| + | #Govroam server configuration | ||
| + | home_server roaming0 { | ||
| + | ipaddr = roaming0.govroam.uk | ||
| + | port = 1812 | ||
| + | type = auth | ||
| + | secret = something | ||
| + | operator = " | ||
| } | } | ||
| </ | </ | ||
| - | 3. Add a log section for FTICKS which sends the logs to syslog. | ||
| - | 4. Modify the post-auth stanza to use the above log section only where the source and destination aren't ' | + | 3. Ensure that the [[siteadmin: |
| + | < | ||
| + | update request { | ||
| + | Operator-Name = " | ||
| + | } | ||
| + | </ | ||
| + | Replace ' | ||
| + | |||
| + | 4. Add a [[siteadmin: | ||
| + | < | ||
| + | # F-TICKS | ||
| + | linelog f_ticks { | ||
| + | filename = syslog | ||
| + | format = "" | ||
| + | reference = " | ||
| + | f_ticks { | ||
| + | Access-Accept =" | ||
| + | |||
| + | } | ||
| + | </ | ||
| + | |||
| + | 5. Modify the [[siteadmin: | ||
| < | < | ||
| # Only send F-TICKS to Jisc when proxying between sites. | # Only send F-TICKS to Jisc when proxying between sites. | ||
| - | if ( " | + | if ( " |
| f_ticks | f_ticks | ||
| } | } | ||
| </ | </ | ||
| - | 5. Configure a [[siteadmin: | + | |
| + | 6. Configure a [[siteadmin: | ||
| + | < | ||
| + | destination d_jisc { | ||
| + | syslog(" | ||
| + | }; | ||
| + | |||
| + | filter f_fticks { | ||
| + | facility(local0) and match (" | ||
| + | }; | ||
| + | |||
| + | log { | ||
| + | source(s_src); | ||
| + | filter(f_fticks); | ||
| + | destination(d_jisc); | ||
| + | }; | ||
| + | |||
| + | </ | ||
public/retro-fitting_fticks_logging_to_freeradius.1710836239.txt.gz · Last modified: 2024/03/19 08:17 by admin
