| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
For effiency (but triggered by calloc needing unistd.h on Darwin).
Conflicts:
lib/util.c
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Split rs_connection into rs_baseconn plus rs_connection and rs_listener.
Connections now has a state variable.
Connect buffer event and fd of _source_ connection, not that of
conn->active_peer. The connection object referred to by a peer is not
meant for using as a connection, only for reporting errors on.
Make sure things are sane even when not using a config file.
Bump library interface version to 1.0.0 since it's changed.
|
| |
|
| |
|
|
|
|
|
|
|
| |
Fixes 823ea9ba.
Conflicts:
lib/event.c
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
This is not a server. It's just testing server config atm.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
We're moving x509 and psk config from rs_realm to rs_peer while
allowing these to be configured on the realm level and overriden at
peer level.
Also, add support for printing the read configuration, for debugging.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
lib/include/radsec/radsec.h
Original commit message (1e3a2613):
Rename most 'package' to 'message'.
RADIUS (RFC2865) is defined to be transported over UDP so the term
"radius packet" makes a lot of sense. RADIUS/TCP (RFC6613) and
RADIUS/TLS (RFC6614), a.k.a. RadSec, use stream transport protocols
though. The term "message" doesn't imply any kind of transport -- a
message can be sent using datagrams as well as in a stream.
This (large) commit changes 'package' to 'message' where it makes
sense. It does not touch the 'radius' subdirectory. It includes
preprocessor directives (#define) to make the public interface
compatible with previous releases of the library.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
RADIUS (RFC2865) is defined to be transported over UDP so the term
"radius packet" makes a lot of sense. RADIUS/TCP (RFC6613) and
RADIUS/TLS (RFC6614), a.k.a. RadSec, use stream transport protocols
though. The term "message" doesn't imply any kind of transport -- a
message can be sent using datagrams as well as in a stream.
This (large) commit changes 'package' to 'message' where it makes
sense. It does not touch the 'radius' subdirectory. It includes
preprocessor directives (#define) to make the public interface
compatible with previous releases of the library.
|
| | |
|
| |
| |
| |
| | |
It's just a skeleton.
|
|/ |
|
|
|
|
|
|
|
|
|
| |
Uppercase to make them appear as the constants they are, as opposed to
variables.
Remove 'flag' suffix, typically used for variables.
Spell out HEADER.
|
|
|
|
| |
Don't segfault is a good start.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This is Solar Designers implementation from
http://openwall.info/wiki/people/solar/software/public-domain-source-code/md5 .
RS_MD5Transform goes away since it's not in md5.h. It's not used in
lib/radius/.
Might want to move this into lib/radius/ if we end up not using it in
lib/.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Whitespace fixes.
Say Debian instead of Ubuntu.
Update versions of library dependencies.
HACKING:
Revive the "fully reentrant" design goal.
Admit that we don't implement a server API.
|
| |
|
|
|
|
|
|
|
| |
This is for radius/client.h.
We will want an alternative way of getting MD5. Include md5.[ch] from
FreeBSD? Link with libnettle?
|
|
|
|
| |
#error messages.
|
| |
|
|
|
|
| |
And distribute LICENSE and HACKING.
|
|
|
|
|
|
|
| |
This follows the changes to the upstream radsecproxy repository.
Also, Stig Venaas is removed from all copyright, replaced by UNINETT.
Add JANET as copyright holder (avp.c).
|
| |
|
| |
|
|
|
|
| |
Fix from Luke Howard.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The functions are rs_packet_create_authn_request() and
rs_request_create_authn().
Attributes of type PW_USER_PASSWORD are supposed to be MD5
obfuscated (see vp2data_any()).
NOTE: This is a non-backward compatible API change.
|
| |
|
|
|
|
| |
We don't export err_create() and the error is ENOMEM nowadays.
|
| |
|
| |
|