Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DRAFT: TCP support #112

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jake-scott
Copy link

@jake-scott jake-scott commented Feb 20, 2025

First stab at TCP support in pam_radius (#102).

To enable, add use_tcp to the PAM options.

To support separate connect vs read timeouts, the timeout parameter in the config now supports two integers, comma separated. The first is the read timeout and the second optional value is the connect timeout.

This needs eyes as there was a reasonable amount of refactoring to make this work, plus it needs testing on Solaris.

@jake-scott jake-scott marked this pull request as draft February 20, 2025 19:10
@jake-scott jake-scott mentioned this pull request Feb 20, 2025
The old versions did not support Linux/ARM
Refactor networking to properly support TCP
and import strlcat.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants