siteadmin:fticks_logging_for_cisco_ise
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| siteadmin:fticks_logging_for_cisco_ise [2024/05/15 09:55] – admin | siteadmin:fticks_logging_for_cisco_ise [2024/05/20 12:37] (current) – admin | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ======Logging for Cisco ISE====== | ======Logging for Cisco ISE====== | ||
| + | |||
| + | **NOTE: This is untested.** | ||
| + | |||
| + | **This only applies to Federation Operators and not to individual sites** | ||
| Unfortunately ISE can't generate custom logs in the format required (FTICKS) but, fortunately, | Unfortunately ISE can't generate custom logs in the format required (FTICKS) but, fortunately, | ||
| Line 6: | Line 10: | ||
| =====Configuring Cisco ISE====== | =====Configuring Cisco ISE====== | ||
| + | |||
| + | ====Enabling the Operator-Name attribute==== | ||
| + | |||
| + | * Go to **Policy** -> **Policy Elements** -> **Dictionaries**. | ||
| + | * Open up the **System** dropdown. | ||
| + | * Open up the **Radius** dropdown. | ||
| + | * Click on **IETF**. | ||
| + | * Click on **unknown-126** and enter | ||
| + | * **Attribute Name** as ' | ||
| + | * **Data Type** as STRING | ||
| + | * **Direction** as IN | ||
| + | * Click **Save** | ||
| + | |||
| + | {{: | ||
| + | |||
| + | ====Logging==== | ||
| This has been done with ISE 2.6 but the principle should apply to other versions. | This has been done with ISE 2.6 but the principle should apply to other versions. | ||
| Line 31: | Line 51: | ||
| Here are two options for possible syslog servers and config but you set up any syslog server as long as it has the following behaviour: | Here are two options for possible syslog servers and config but you set up any syslog server as long as it has the following behaviour: | ||
| - | * Proxies to utilities.govroam.uk on port 601/TCP with Facility local6 | + | |
| - | * Includes in the FTICKS '# | + | |
| + | * Includes in the FTICKS '# | ||
| * Filters down the proxied log to just those for | * Filters down the proxied log to just those for | ||
| * Successful authentications | * Successful authentications | ||
| - | * Only authentications between member sites (i.e. NOT those to or from the Jisc NRPS) | + | * Only authentications between member sites (i.e. NOT those to or from the Jisc NRPS, or within an organisation) |
| The two options: | The two options: | ||
| Line 61: | Line 82: | ||
| destination d_jisc { | destination d_jisc { | ||
| syslog(" | syslog(" | ||
| - | transport(" | + | transport(" |
| - | port("601") | + | port("514") |
| template(" | template(" | ||
| ); | ); | ||
| Line 71: | Line 92: | ||
| source(s_remote_udp); | source(s_remote_udp); | ||
| filter(f_local0); | filter(f_local0); | ||
| - | filter{ match(" | ||
| parser { | parser { | ||
| kv-parser (prefix(" | kv-parser (prefix(" | ||
| Line 92: | Line 112: | ||
| * Install [[https:// | * Install [[https:// | ||
| * Use this configuration (with paths changed appropriately) | * Use this configuration (with paths changed appropriately) | ||
| + | |||
| + | **Note: This doesn' | ||
| < | < | ||
| Line 119: | Line 141: | ||
| <Input tcp_ise> | <Input tcp_ise> | ||
| Module im_tcp | Module im_tcp | ||
| - | Host 10.10.10.10 | + | Host 10.10.10.10 |
| Port 514 | Port 514 | ||
| < | < | ||
| - | if $SyslogFacility != "local6" drop(); | + | if $SyslogFacility != "local0" drop(); |
| if $raw_event !~ / | if $raw_event !~ / | ||
| - | $FedID=" | + | $FedID=" |
| + | $SyslogFacility = " | ||
| </ | </ | ||
| </ | </ | ||
| + | ## For future use | ||
| <Output syslog_tls> | <Output syslog_tls> | ||
| Module | Module | ||
| Host 212.219.243.132 | Host 212.219.243.132 | ||
| Port 6514 | Port 6514 | ||
| - | # | + | # CAFile |
| # CertFile | # CertFile | ||
| # CertKeyFile c:/Program Files (x86)/ | # CertKeyFile c:/Program Files (x86)/ | ||
| Line 146: | Line 170: | ||
| OutputType | OutputType | ||
| Exec to_syslog_ietf(); | Exec to_syslog_ietf(); | ||
| - | Exec $SyslogFacility = " | ||
| </ | </ | ||
| Line 156: | Line 179: | ||
| </ | </ | ||
| - | * Change | + | * Change |
| - | * Change the ' | + | * Change the ' |
| * (Ignore the syslog_tls part, that's for future use) | * (Ignore the syslog_tls part, that's for future use) | ||
| * Restart the Service | * Restart the Service | ||
| + | |||
| + | ====Untested Advanced Configuration==== | ||
| + | |||
| + | There' | ||
| + | |||
| + | Problem: Not all member organisations can or do set the Operater-Name attribute in their Requests. Ideally the RFO should be able to insert an O-N with a value set on behalf of your site but only some RADIUS servers are capable of doing this (FreeRADIUS, | ||
| + | |||
| + | When an RFO, scarfolk.gov.uk, | ||
| + | - If the Operator-Name is set to, say, 1arkham.nhs.uk then leave it as is. | ||
| + | - If the Operator-Name is missing the insert an Operator-Name with the value ' | ||
| + | - If there' | ||
| + | |||
| + | This way the home site will, at best, see an Operator-Name with the source site's value or, at worst, with it set to the Federation' | ||
| + | |||
| + | However, this conditional setting of Operator-Name isn't something found in servers like ClearPass, ISE or NPS. NPS is completely incapable of setting the Operator-Name. ClearPass can't do any sort of conditional setting. ISE might be able to. | ||
| + | |||
| + | ===Conditional Setting of Operator-Name=== | ||
| + | |||
| + | For each RADIUS Server Sequence dealing with proxying to a member organisation for authentication, | ||
| + | |||
| + | Set it to //Update Radius: | ||
| + | |||
| + | which should replace the Operator-Name' | ||
| + | |||
| + | {{: | ||
| + | |||
| + | Unfortunately, | ||
| + | |||
| + | |||
siteadmin/fticks_logging_for_cisco_ise.1715766935.txt.gz · Last modified: 2024/05/15 09:55 by admin
