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

MPPE final vector access API; needed by pppd. #17

Open
wants to merge 193 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
193 commits
Select commit Hold shift + click to select a range
9ea74c6
Added legacy functions to common.c/h
Mar 2, 2015
ebe8a56
removed rc_getifname
Mar 2, 2015
68e442c
removed rc_mksid
nmav Dec 21, 2014
4781c77
removed RSA's copyright; the codebase doesn't include any code from R…
Mar 3, 2015
0fe6892
Added support for radius with TLS (RFC6614) and DTLS (RFC7360)
May 15, 2015
b1f6dfc
Use a single connection for both auth and acct when in TLS/DTLS.
nmav May 23, 2015
6220b63
tests: added a radius/TLS test suite
May 15, 2015
b106d6a
tests: added TLS restart check
nmav May 16, 2015
72fb14d
.travis.yml: test TLS on commits
May 15, 2015
0b45a74
removed auto-generated files from repo
nmav Jun 3, 2015
cc2cb65
removed ancient rpm and debian rules
nmav Jun 3, 2015
6aabffa
updated autoconf macros
nmav Jun 3, 2015
e7b0717
Merge remote-tracking branch 'origin/remove-unneeded'
nmav Jun 3, 2015
d581c5b
Merge remote-tracking branch 'origin/no-rsa-code'
nmav Jun 3, 2015
209371c
do not require options only applicable to radlogin to be present
May 18, 2015
da3f213
updated README
nmav Jun 3, 2015
c71e968
more files to ignore
nmav Jun 3, 2015
fccc45b
tools: removed radlogin
nmav Jun 3, 2015
59f0e3a
removed autogenerated radiusclient-tls.conf
nmav Jun 3, 2015
07d43cf
ignore backup files
nmav Jun 3, 2015
ee334b2
Added pkgconfig file
nmav Jun 3, 2015
df4e247
use nettle by default if found
nmav Jun 3, 2015
20ecf80
corrected typo
nmav Jun 3, 2015
5ee486a
removed login.radius files
nmav Jun 3, 2015
4f014fa
removed legacy settings
nmav Jun 3, 2015
8f38a7e
updated lib URL
nmav Jun 3, 2015
3e6e5ce
Added build status in README
nmav Jun 3, 2015
b233784
removed obsolete patches
nmav Jun 3, 2015
0d95b66
more autogenerated files removed
nmav Jun 3, 2015
67d8e23
simplified rc_new()
nmav Dec 21, 2014
633deff
Added empty m4 directory to ease autogeneration
nmav Jun 3, 2015
876d6e7
added script to perform auto-generation
nmav Jun 3, 2015
bd3703d
makefile: removed patches subdir
Jun 4, 2015
cd8af1b
added more descriptive error messages when attribute is missing
Jun 4, 2015
53fb4d0
renamed project to simply radcli
Jun 4, 2015
c27dec9
changed header and library name, but kept source compatibility
Jun 4, 2015
6924815
ignore test suite files
Jun 4, 2015
b0352c7
dictionary: added Delegated-IPv6-Prefix
Jun 4, 2015
20efd79
updated example text and do not install any programs by default
Jun 4, 2015
06b0ab9
removed legacy files and config options
Jun 4, 2015
ef8a4ac
tools: link against radcli
Jun 4, 2015
7627159
configure: use better var names for soversion and enabled TLS by default
Jun 4, 2015
2f3360f
separated library for internal tools
Jun 4, 2015
4310176
Added NEWS file
Jun 4, 2015
a95e569
removed unaccounted files to allow make dist
Jun 4, 2015
0298ccc
configure: relaxed automake requirement
Jun 4, 2015
0dd492c
radcli.h: put exported functions into a doxygen group
Jun 5, 2015
52b2699
rc_get_id(): no longer exported
Jun 5, 2015
dcdbec4
doxygen: added automatic manpage generation
Jun 5, 2015
f06680b
removed legacy README
nmav Jun 5, 2015
2425e45
doc update
nmav Jun 5, 2015
41e6b71
eliminated some doxygen warnings
nmav Jun 5, 2015
23dd2a6
radexample: corrected typo
nmav Jun 5, 2015
99a9060
removed the env API
nmav Jun 5, 2015
1f28417
doc: regenerate manpages after make clean
nmav Jun 5, 2015
9759450
radcli.h: several exported structures were made internal
nmav Jun 5, 2015
8649d0d
doc: allow build without doxygen
nmav Jun 5, 2015
197716a
doc update
nmav Jun 5, 2015
c8d70c8
do not export an API to access MD5
nmav Jun 5, 2015
58e2078
Removed the mapid API; it is not required by modern applications
nmav Jun 5, 2015
e7ecfff
updated auto-generated files
nmav Jun 5, 2015
45f58a4
ignore more auto-generated files
nmav Jun 5, 2015
98130c8
introduced rc_read_config2 which combines rc_read_config() with rc_re…
nmav Jun 5, 2015
ef62a69
doc update
nmav Jun 5, 2015
37b1bb2
added AUTHORS file
nmav Jun 5, 2015
665c4ae
updated project URLs
nmav Jun 5, 2015
495677e
doc update
nmav Jun 5, 2015
2ad83bf
Added names to generated manpages
nmav Jun 5, 2015
0d30e29
removed cvs versioning id from files
nmav Jun 5, 2015
ee5e578
doc: updated example code
nmav Jun 5, 2015
1f83f9e
updated documentation for rc_openlog
nmav Jun 5, 2015
b75a965
don't export rc_log()
nmav Jun 5, 2015
fa6ae63
removed unused file
nmav Jun 5, 2015
6e97318
eliminated compilation warnings
nmav Jun 5, 2015
a1681a1
updated auto-generated files (for rc_log removal)
nmav Jun 5, 2015
3385f8e
configure: removed legacy config checks
nmav Jun 6, 2015
7022cbc
Do not export TLS-related functions
nmav Jun 6, 2015
faaed86
updated auto-generated files
nmav Jun 6, 2015
da63676
doc update
nmav Jun 6, 2015
222ef2a
radcli.h: provide rc_log as a definition to syslog
nmav Jun 6, 2015
86ca2b3
doc update
nmav Jun 6, 2015
e78e96c
space fixes
nmav Jun 6, 2015
25e4d1c
improved radexample and other doc updates
nmav Jun 6, 2015
98092e0
updated auto-generated files
nmav Jun 6, 2015
ea1f893
radexample: removed unneeded header and removed unused variables.
nmav Jun 6, 2015
81e037e
Allow specifying nas-identifier in the config files
nmav Jun 6, 2015
2b7edd0
Added missing file
nmav Jun 6, 2015
9221054
include config files into examples
nmav Jun 6, 2015
003e620
tests: use nas-identifier
nmav Jun 6, 2015
aee79e7
radiusclient-tls.conf: list all options for serv-auth-type
nmav Jun 6, 2015
126be82
removed rc_str2tm() from the API, and avoid documenting internal func…
nmav Jun 6, 2015
bb168f6
updated auto-generated files
nmav Jun 6, 2015
2cefd8f
doc: removed rc_md5 and rc_getaddrinfo from the misc group
nmav Jun 6, 2015
d4568a2
groupped definitions to enumerations for better documentation
nmav Jun 6, 2015
3b6a8b3
moved all definitions to enums
nmav Jun 6, 2015
dc41821
radcli.h moved to radcli/radcli.h and added radcli/version.h
nmav Jun 6, 2015
d0bc21f
doc update
nmav Jun 6, 2015
79d7c39
Use attribute packed in AUTH_HDR
nmav Jun 7, 2015
a7e466d
use unsigned for attribute type but mention the real type in doc
nmav Jun 7, 2015
ad725fc
combined rc_read_config() with rc_read_config2()
nmav Jun 7, 2015
76025fe
add NAS-Port only when it is not already set
nmav Jun 7, 2015
173afa5
updated-autogenerated files
nmav Jun 7, 2015
4e1dc1b
eliminated reference to read_config2
nmav Jun 7, 2015
3b956ca
radiusclient-tls.conf: removed duplicate entry
nmav Jun 7, 2015
d12320a
added example servers file for TLS-PSK
nmav Jun 7, 2015
1c04bfc
radcli.h: updated radius port definitions
nmav Jun 7, 2015
ff61114
return codes for rc_send_server() were moved to enumeration
nmav Jun 7, 2015
469bc97
updated auto-generated files
nmav Jun 7, 2015
9ee6478
radcli.h: rearranged defs
nmav Jun 7, 2015
dc54a99
link: force creation
nmav Jun 7, 2015
d7bcad0
ignore version.h
nmav Jun 7, 2015
bca9906
corrected header install path and defined PW_DELEGATED_IPV6_PREFIX
nmav Jun 7, 2015
0629874
doc update
nmav Jun 7, 2015
c86e68d
updated README files
nmav Jun 7, 2015
ffbdacd
Added high level functions to access the value pair struct
nmav Jun 7, 2015
a4fadaf
Added small test for avpair reading
nmav Jun 7, 2015
3869e3b
Documented the expected input for formats
nmav Jun 7, 2015
8054288
doc update
nmav Jun 7, 2015
0c86253
removed old README file
nmav Jun 7, 2015
43fa831
Added new manpages
nmav Jun 7, 2015
e7922a5
added radiusclient-tls.conf.in to dist
nmav Jun 7, 2015
0a115d5
doc updates
nmav Jun 7, 2015
7e77913
updated auto-generated files
nmav Jun 7, 2015
34de295
radacct: include the needed headers for getopt() and isspace()
Jun 8, 2015
c77295a
corrected IPv6 types in dictionary
Jun 8, 2015
a29fbf1
combine malloc+memset calls to calloc()
Jun 8, 2015
767febb
removed non-standard attributes from the default dictionary
Jun 8, 2015
16f8bf0
configure be more verbose about linked libraries
Jun 8, 2015
e68ad32
tests: distribute test scripts
Jun 8, 2015
fa518f3
use DESTDIR/libdir for making the link
Jun 8, 2015
ad05a21
Added m4 files needed for autoreconf
Jun 8, 2015
64a26f1
removed port-id-map from distribution
Jun 8, 2015
f38cb53
Added compatibility headers for radiusclient-ng
Jun 8, 2015
97551ca
doc update
Jun 8, 2015
000330e
removed all but a basic dictionary from distribution
Jun 8, 2015
6046708
Only installed compat files if they are requested
Jun 8, 2015
3ebf883
included programs: use the radcli header
Jun 8, 2015
473c86f
bumped version
Jun 8, 2015
09272b9
ignore the generated files in tests/
Jun 8, 2015
f641b47
doc update
nmav Jun 8, 2015
e85f917
doc update
Jun 9, 2015
bf925de
include the compat headers into doc
Jun 9, 2015
f19b724
doc: Added prefix into manpage include file
Jun 9, 2015
3afa7d9
.travis.yml: check make dist
Jun 9, 2015
e1f6030
rc_send_server: properly close socket on errors
Jun 11, 2015
5f788ba
Added API to access the request vector.
Jun 9, 2015
64567d3
Added check for the new context API
Jun 9, 2015
c10feef
removed unused variables from rc_conf
Jun 15, 2015
9db451b
Eliminated support for multiple servers
Jun 15, 2015
ed02273
doc update
Jun 15, 2015
08e2f9c
Added documentation for rc_aaa_ctx and moved rc_send_server_ctx in th…
Jun 15, 2015
a832245
documented new functions
Jun 15, 2015
ed807c8
released 1.2.1
Jun 15, 2015
cee4a39
config files: removed references to deadtime
Jun 15, 2015
6dc008a
prevent writing into auto-generated files
Jun 15, 2015
1fa8ab5
removed irrelevant macros from documentation
Jun 15, 2015
9248b5d
Added versioned symbols
Jun 15, 2015
8608a97
radcli.h: use extern C directly
Jun 15, 2015
7dc0cd4
Makefile.am
Jun 15, 2015
5f84b00
bumped lib revision
Jun 15, 2015
be2e667
require the initial value of the context to be NULL in rc_aaa_ctx
Jun 16, 2015
11430ed
updated radexample
nmav Jun 20, 2015
520d881
Further simplify radexample
Jun 18, 2015
5fdb668
removed unused definitions
Jul 31, 2015
295464b
configure: use the LT_INIT macro instead of the deprecated LIBTOOL ones
Aug 21, 2015
cf8790b
configure: use AC_CONFIG_HEADERS instead of the obsolete AM_CONFIG_HE…
Aug 21, 2015
fee6c8e
bumped version for 1.2.2
Aug 21, 2015
d8fcead
removed BIG_ENDIAN and LITTLE_ENDIAN
Jul 22, 2015
9810539
move variables inside #ifdef to avoid warnings
Jul 22, 2015
75e0d93
added note about indent style (add vim too)
Jul 22, 2015
103e0c8
added microsoft and RP vendor IDs and attributes
Jul 24, 2015
e38a099
minor reformat
Jul 24, 2015
66717dd
added avpair_copy
Jul 24, 2015
64053a1
added rc_mksid
Jul 25, 2015
8f499a1
added rc_aaa_ctx_server to select a specific auth/acct,
Jul 25, 2015
16672c2
removed extra comment opener
Jul 25, 2015
b0704d5
added MS and RP definitions to dictionary
Jul 25, 2015
b98c20a
VENDOR_NONE should be 0, but even if it is not, take care to show ven…
Jul 25, 2015
da53513
note C-style for emacs users
Jul 25, 2015
08d48e2
make ipv4addr alias for ipaddr, to keep things symmetric with ipv6
Jul 25, 2015
93662bb
whitespace changes
Aug 13, 2015
345c7e8
restore ability to parse more than one authserver
Aug 13, 2015
ba81d36
removed unused definitions
Jul 31, 2015
e86fe4c
added failover-tests.sh, turn on debug output, and show output as it …
Aug 13, 2015
6918e28
use relative path names for auxiliary dictionaries so that they can b…
Aug 13, 2015
28799ea
fix DEBUG() macro to use proper cpp varargs format, and permit it to …
Aug 13, 2015
cb8f224
added -D option to radiusclient, causes it to openlog to stderr
Aug 13, 2015
c89cc48
adjust server could not be contacted message; format IP to string onl…
Aug 14, 2015
3940277
turn on client debugging from config file
Aug 14, 2015
7b9c074
when failing over from server to server, log which kind of server it was
Aug 14, 2015
f79313e
turn off debugging
Aug 16, 2015
68f9f73
move dictionary files to /usr/share
mcr Aug 26, 2015
3ba05df
older gcc (F10) do not like to see duplicate typedefs
Aug 17, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,47 @@ lib/.deps
src/.libs
src/.deps
etc/radiusclient.conf
etc/radiusclient-tls.conf
include/radcli/version.h
src/libtools.a
lib/radcli.pc
doc/Doxyfile
doc/stamp_mans
doc/xml
doc/html
doc/doxygen_sqlite3.db
tests/avpair
tests/tls-restart
tests/docker/Dockerfile
tests/.libs
tests/*.log
tests/*.trs
.deps

# Configure and Automake
configure
config.status
config.cache
config.log
config.h
libtool
stamp-h*
Makefile
Makefile.in
autom4te.cache/
compile
test-driver
config.rpath
aclocal.m4
config.h.in
config.guess
config.sub
depcomp
install-sh
ltmain.sh
missing

# Misc
*.swp
*~

10 changes: 7 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,17 @@ before_script:
- sudo apt-get update -qq
- sudo apt-get install -qq cppcheck
- sudo apt-get install freeradius
- sudo apt-get install libgnutls28-dev
- sudo cp tests/docker/freeradius-users /etc/freeradius/users
- sudo cp tests/docker/radius-clients.conf /etc/freeradius/clients.conf
- sudo sed -i 's/auth+acct/auth/g' tests/docker/tls.conf
- sudo cp tests/docker/tls.conf /etc/freeradius/sites-enabled/tls
- sudo sed -i 's|ipaddr = 0.0.0.0/0|ipaddr = 127.0.0.1|g' /etc/freeradius/clients.conf
- sudo sed -i 's|ipv6addr = ::|ipv6addr = ::1|g' /etc/freeradius/clients.conf
- sudo killall freeradius
- sudo /usr/sbin/freeradius -X >/dev/null 2>&1 &
- autoreconf -fvi && ./configure
- sudo /usr/sbin/freeradius -fxx -l stdout >/dev/null 2>&1 &
- touch config.rpath && autoreconf -fvi && ./configure --with-tls

script: make && SERVER_IP=127.0.0.1 SERVER_IP6=127.0.0.1 make check && make dist

script: make && SERVER_IP=127.0.0.1 SERVER_IP6=127.0.0.1 make check
after_script: cppcheck -q -Iinclude lib src
6 changes: 6 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
The radiusclient-ng library was originally written by Lars Fenneberg.

It is maintained by Nikos Mavrogiannopoulos <[email protected]>

For support requests please use the issue tracker at:
https://github.com/radcli/radcli
16 changes: 0 additions & 16 deletions BUGS

This file was deleted.

22 changes: 0 additions & 22 deletions COPYRIGHT
Original file line number Diff line number Diff line change
Expand Up @@ -78,25 +78,3 @@ THAT OPERATION WILL BE UNINTERRUPTED OR ERROR FREE. The Regents of the
University of Michigan and Merit Network, Inc. shall not be liable for any
special, indirect, incidental or consequential damages with respect to any
claim by Licensee or any third party arising from use of the software.
------------------------------------------------------------------------------
Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991.
All rights reserved.

License to copy and use this software is granted provided that it
is identified as the "RSA Data Security, Inc. MD5 Message-Digest
Algorithm" in all material mentioning or referencing this software
or this function.

License is also granted to make and use derivative works provided
that such works are identified as "derived from the RSA Data
Security, Inc. MD5 Message-Digest Algorithm" in all material
mentioning or referencing the derived work.

RSA Data Security, Inc. makes no representations concerning either
the merchantability of this software or the suitability of this
software for any particular purpose. It is provided "as is"
without express or implied warranty of any kind.

These notices must be retained in any copies of any part of this
documentation and/or software.
------------------------------------------------------------------------------
18 changes: 15 additions & 3 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,24 @@

AUTOMAKE_OPTIONS = foreign

INCLUDES = -D_GNU_SOURCE
ACLOCAL_AMFLAGS = -I m4
AM_CPPFLAGS = -D_GNU_SOURCE

ACLOCAL = @ACLOCAL@
LTLIBOBJS = @LTLIBOBJS@

SUBDIRS = include lib src etc man doc patches login.radius rpm tests
EXTRA_DIST = BUGS CHANGES COPYRIGHT README.rst README.radexample
SUBDIRS = include lib src etc man doc tests
EXTRA_DIST = NEWS COPYRIGHT README.rst

compare-exported: include/radcli/radcli.h
doc/scripts/getfuncs.pl <$^|sort -u >tmp-head-$@
doc/scripts/getfuncs-map.pl <lib/radcli.map|sort -u >tmp-exp-$@
@echo "******************************************************************************"
@echo "If the following step fails there is a symbol in headers that is not exported or vice-versa"
@echo "******************************************************************************"
diff -u tmp-exp-$@ tmp-head-$@
rm -f tmp-exp-$@ tmp-head-$@

dist-hook: compare-exported

CLEANFILES = *~
Loading