Skip to content

Commit 74c1077

Browse files
committed
clarify outer vs parent issues
1 parent 102db43 commit 74c1077

1 file changed

Lines changed: 18 additions & 7 deletions

File tree

  • doc/antora/modules/reference/pages/unlang

doc/antora/modules/reference/pages/unlang/list.adoc

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,17 @@ processed. These attributes are never sent in any packet.
1616
`session-state`:: Attributes which are maintained across multi-packet
1717
exchanges.
1818

19-
There must be a dot `.` after the list name and before the attribute name.
20-
This syntax helps the server to distinguish between list names and attribute
21-
names.
19+
There must be a dot `.` after the list name, and before the attribute
20+
name. This syntax helps the server to distinguish between list names
21+
and attribute names.
2222

23-
NOTE: In version 3, there were additional lists such as `proxy`,
23+
[NOTE]
24+
====
25+
In version 3, there were additional lists such as `proxy`,
2426
`proxy-reply`, and `coa`. These lists have been removed in version 4.
2527
See the xref:unlang/subrequest.adoc[subrequest] keyword for how to create
2628
child requests.
29+
===
2730
2831
With the exception of `session-state`, all of the above lists are
2932
ephemeral. That is, they exist for one packet exchange, and only one
@@ -41,9 +44,17 @@ in sequence comes in. Once the packet exchange has been finished, the
4144
In some cases, there is a parent-child relationship between requests.
4245
In those situations, it is possible for the policy rules in the child
4346
to refer to attributes in the parent. This reference can be made by
44-
prefixing the _<list>_ name with the `parent` qualifier. The key word
45-
`outer` is also a synonym for `parent`. If there are multiple
46-
parent-child relationships, the `parent` qualifier can be repeated.
47+
prefixing the _<list>_ name with the `parent` qualifier. If there are
48+
multiple parent-child relationships, the `parent` qualifier can be
49+
repeated.
50+
51+
The `outer` key word refers to the outmost request which is usually
52+
the RADIUS request sent by the NAS. In an EAP session, `outer` is
53+
often the same as `parent`, since the outer EAP request is a parent of
54+
the inner (tunnelled) request. However, `outer` and `parent` are
55+
distinct and the key words `outer` and `parent` are not synonymous.
56+
The two lists will be different when one server uses
57+
xref:unlang/subrequest.adoc[subrequest] to create nested requests.
4758
4859
There is, however, no way for the parent to refer to the child. When
4960
the child is running, the parent is suspended. Once the child

0 commit comments

Comments
 (0)