Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Request status check of auth+acct home servers sends Accounting-Requests to authentication port #1364
Comments
alandekok
added a commit
that referenced
this issue
Oct 30, 2015
|
|
alandekok |
dd7fd14
|
alandekok
closed this
in a34b0bb
Oct 30, 2015
wflei
commented
Oct 30, 2015
|
That looks perfect. Thank you! |
ncopa
pushed a commit
to alpinelinux/aports
that referenced
this issue
Oct 30, 2015
|
|
rnalrd |
25b1fd3
|
ncopa
pushed a commit
to alpinelinux/aports
that referenced
this issue
Oct 30, 2015
|
|
rnalrd |
59a21ab
|
ncopa
pushed a commit
to alpinelinux/aports
that referenced
this issue
Oct 30, 2015
|
|
rnalrd |
a0dba76
|
alandekok
added a commit
that referenced
this issue
Nov 1, 2015
|
|
alandekok + arr2036 |
72a03f9
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
wflei commentedOct 30, 2015
If a home server is of type auth+acct and status check is configured to send requests in order to check if the server is alive, Accounting-Requests are sent to the authentication port of the home server. As according to the RFC the home server just drops accounting requests on the authentication port, a dead home server never returns to alive state.
This happens due to the check
} else if (home->type == HOME_TYPE_AUTH) {in theping_home_serverfunction in process.c. Because the condition is not met, the} else {branch is used and an accounting request is sent, however to the port specified by the port option, which in case of an auth+acct home server is pointing to the authentication port of the home server.Therefore the above check should be modified to include the
home->type == HOME_TYPE_AUTH_ACCTcase.