Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
en:dpi:bras_bng:radius_integration:radius_auth_coa [2024/12/04 15:35] – ↷ Page moved from en:dpi:bras_bng:radius_integration:radius_auth_server_integration:radius_auth_coa to en:dpi:bras_bng:radius_integration:radius_auth_coa elena.krasnobryzh | en:dpi:bras_bng:radius_integration:radius_auth_coa [2024/12/05 15:03] (current) – elena.krasnobryzh | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
{{indexmenu_n> | {{indexmenu_n> | ||
- | [[https:// | + | [[https:// |
CoA-Request нотификация говорит о том, что пользователь авторизован и, опционально, | CoA-Request нотификация говорит о том, что пользователь авторизован и, опционально, | ||
Line 9: | Line 9: | ||
* the user went from "not authorized" | * the user went from "not authorized" | ||
* the authorized user's parameters have changed (enabling/ | * the authorized user's parameters have changed (enabling/ | ||
- | <note important> | + | <note important> |
</ | </ | ||
Types of СоА: | Types of СоА: | ||
- | - Simplified CoA-Request - on receipt of the CoA fastDPI consideres the user's attributes have changed and re-authorization is required. Upon receiving such a notification, | + | - Simplified CoA-Request - on receipt of the CoA fastDPI consideres the user's attributes have changed and re-authorization is required. Upon receiving such a notification, |
- Full CoA-Request - the '' | - Full CoA-Request - the '' | ||
- Disconnect-Request - resets the authorization status of the user. | - Disconnect-Request - resets the authorization status of the user. | ||
====== Notification types ====== | ====== Notification types ====== | ||
- | <note important> | + | <note important> |
[[en: | [[en: | ||
Line 41: | Line 41: | ||
==== Response to the simplified notification ==== | ==== Response to the simplified notification ==== | ||
- | According to RFC5176, CoA-Request with Service-Type=8 (Authenticate-Only) should be responded with a CoA-NAK response containing the '' | + | According to RFC5176, CoA-Request with Service-Type=8 (Authenticate-Only) should be responded with a CoA-NAK response containing the '' |
The fastPCRF has a '' | The fastPCRF has a '' | ||
* 0 (the default value) - standard behavior: to respond by CoA-NAK with Error-Cause=507 | * 0 (the default value) - standard behavior: to respond by CoA-NAK with Error-Cause=507 | ||
* 1 - non-standard behavior: to respond by CoA-ACK | * 1 - non-standard behavior: to respond by CoA-ACK | ||
- | This option can be set in the fastpcrf.conf both globally for all radius-servers and specifically for each radius-server: | + | This option can be set in the fastpcrf.conf both globally for all RADIUS-servers and specifically for each RADIUS-server: |
< | < | ||
# global settings | # global settings | ||
Line 92: | Line 92: | ||
* **0x0001** – '' | * **0x0001** – '' | ||
- | * **0x0002** – '' | + | * **0x0002** – '' |
* **0x0004** – '' | * **0x0004** – '' | ||
* **0x0008** – respond to DHCP Request with NAK. Allows you to shorten the reauthorization time by terminating the IP address lease. | * **0x0008** – respond to DHCP Request with NAK. Allows you to shorten the reauthorization time by terminating the IP address lease. | ||
Line 102: | Line 102: | ||
* send acct stop | * send acct stop | ||
- | * the following DHCP request (Discover or Request) is sent to Radius | + | * the following DHCP request (Discover or Request) is sent to RADIUS |
* reset the L3 session time, which results in an L3 auth on the first non-DHCP packet from the subscriber | * reset the L3 session time, which results in an L3 auth on the first non-DHCP packet from the subscriber | ||
\\ | \\ | ||
Line 108: | Line 108: | ||
* **do not** send acct stop | * **do not** send acct stop | ||
- | * the following DHCP request (Discover or Request) is sent to Radius | + | * the following DHCP request (Discover or Request) is sent to RADIUS |
* reset the L3 session time, which results in an L3 auth on the first non-DHCP packet from the subscriber | * reset the L3 session time, which results in an L3 auth on the first non-DHCP packet from the subscriber | ||
\\ | \\ | ||
Line 114: | Line 114: | ||
* send (2) / do not send (3) acct stop | * send (2) / do not send (3) acct stop | ||
- | * the following DHCP request (Discover or Request) is sent to Radius | + | * the following DHCP request (Discover or Request) is sent to RADIUS |
\\ | \\ | ||
**'' | **'' | ||
* send (4) / do not send (5) acct stop | * send (4) / do not send (5) acct stop | ||
- | * the following DHCP request (Discover or Request) is sent to Radius | + | * the following DHCP request (Discover or Request) is sent to RADIUS |
* reset the L3-reauthorization time, which leads to L3 auth on the first non-DHCP packet from the subscriber | * reset the L3-reauthorization time, which leads to L3 auth on the first non-DHCP packet from the subscriber | ||
\\ | \\ | ||
Line 125: | Line 125: | ||
* send (6) / do not send (7) acct stop | * send (6) / do not send (7) acct stop | ||
- | * the following DHCP request (Discover or Request) is sent to Radius | + | * the following DHCP request (Discover or Request) is sent to RADIUS |
* traffic from the subscriber is dropped | * traffic from the subscriber is dropped | ||
\\ | \\ | ||
Line 132: | Line 132: | ||
* send (8) / do not send (9) acct stop | * send (8) / do not send (9) acct stop | ||
* reset the L3-reauthorization time, which leads to L3 auth on the first non-DHCP packet from the subscriber | * reset the L3-reauthorization time, which leads to L3 auth on the first non-DHCP packet from the subscriber | ||
- | * DHCP Request – respond with NAK, DHCP Discover – send to Radius | + | * DHCP Request – respond with NAK, DHCP Discover – send to RADIUS |
\\ | \\ | ||
**'' | **'' | ||
* send (10) / do not send (11) acct stop | * send (10) / do not send (11) acct stop | ||
- | * DHCP Request – respond with NAK, DHCP Discover – send to Radius | + | * DHCP Request – respond with NAK, DHCP Discover – send to RADIUS |
* L3 auth disabled | * L3 auth disabled | ||
\\ | \\ | ||
Line 143: | Line 143: | ||
* send (12) / do not send (13) acct stop | * send (12) / do not send (13) acct stop | ||
- | * DHCP Request – respond with NAK, DHCP Discover – send to Radius | + | * DHCP Request – respond with NAK, DHCP Discover – send to RADIUS |
* traffic from the subscriber is dropped | * traffic from the subscriber is dropped | ||
* reset L3-reauthorization time, which leads to L3 auth on the first non-DHCP packet from the subscriber | * reset L3-reauthorization time, which leads to L3 auth on the first non-DHCP packet from the subscriber | ||
Line 150: | Line 150: | ||
* send (14) / do not send (15) acct stop | * send (14) / do not send (15) acct stop | ||
- | * DHCP Request – respond with NAK, DHCP Discover – send to Radius | + | * DHCP Request – respond with NAK, DHCP Discover – send to RADIUS |
* traffic from the subscriber is dropped | * traffic from the subscriber is dropped | ||
* L3 auth disabled | * L3 auth disabled | ||
Line 158: | Line 158: | ||
* send (16) / do not send (17) acct stop | * send (16) / do not send (17) acct stop | ||
* reset L3-reauthorization time, which leads to L3 auth on the first non-DHCP packet from the subscriber | * reset L3-reauthorization time, which leads to L3 auth on the first non-DHCP packet from the subscriber | ||
- | * DHCP Request is ignored (drop), DHCP Discover – send to Radius | + | * DHCP Request is ignored (drop), DHCP Discover – send to RADIUS |
\\ | \\ | ||
**'' | **'' | ||
* send (18) / do not send (19) acct stop | * send (18) / do not send (19) acct stop | ||
- | * DHCP Request is ignored (drop), DHCP Discover – send to Radius | + | * DHCP Request is ignored (drop), DHCP Discover – send to RADIUS |
* L3 auth disabled | * L3 auth disabled | ||
\\ | \\ | ||
Line 169: | Line 169: | ||
* send (20) / do not send (21) acct stop | * send (20) / do not send (21) acct stop | ||
- | * DHCP Request is ignored (drop), DHCP Discover – send to Radius | + | * DHCP Request is ignored (drop), DHCP Discover – send to RADIUS |
* traffic from the subscriber is dropped | * traffic from the subscriber is dropped | ||
* reset L3-reauthorization time, which leads to L3 auth L3 auth on the first non-DHCP packet from the subscriber | * reset L3-reauthorization time, which leads to L3 auth L3 auth on the first non-DHCP packet from the subscriber | ||
Line 176: | Line 176: | ||
* send (22) / do not send (23) acct stop | * send (22) / do not send (23) acct stop | ||
- | * DHCP Request is ignored (drop), DHCP Discover – send to Radius | + | * DHCP Request is ignored (drop), DHCP Discover – send to RADIUS |
* traffic from the subscriber is dropped | * traffic from the subscriber is dropped | ||
* L3 auth disabled | * L3 auth disabled | ||
Line 184: | Line 184: | ||
<note important> | <note important> | ||
====== Individual CoA clients ====== | ====== Individual CoA clients ====== | ||
- | The CoA client sending the Disconnect-Request and CoA-Request CoA requests in some configurations may be a separate entity that is not a radius | + | The CoA client sending the Disconnect-Request and CoA-Request CoA requests in some configurations may be a separate entity that is not a RADIUS |
< | < | ||
- | * '' | + | * '' |
* '' | * '' | ||
* '' | * '' | ||
Line 194: | Line 194: | ||
Each CoA-client is described by separate '' | Each CoA-client is described by separate '' | ||
- | Fastpcrf accepts the CoA requests only from registered (described in the configuration file) radius | + | Fastpcrf accepts the CoA requests only from registered (described in the configuration file) RADIUS |
====== Accounting session request using CoA ====== | ====== Accounting session request using CoA ====== |