aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFiles
2017-11-17CleanupHEADmasterSergey Poznyakoff8
* include/radius/radius.h (grad_avl_fprint): Add missing prototype. * lib/ascend.c (_get_hex_string): Fix boundary violation. * lib/raddb.c (continuation_line_p) (grad_read_raddb_file): Fix arguments to get_argcv. * radiusd/auth.c: Likewise. * radiusd/log.c (category_set_flag): Cast to int through intptr_t. * radiusd/rewrite.y: Use union type to handle stack and code segment data. * radtest/gram.y: Minor fix. * scripts/mktypes.c: Minor change.
2014-05-26Fix expiration maths.Sergey Poznyakoff5
* configure.ac: Check for tm.tm_gmtoff * include/radius/radius.h (grad_julianday) (grad_tm_to_epoch): New protos. * lib/users.y (grad_create_pair): Use grad_tm_to_epoch to convert tm to time_t. * lib/util.c (grad_parse_time_string): Initialize all members of struct tm to 0. (grad_julianday,grad_tm_to_epoch): New functions. * tests/raddb/users.in (no-expire): Use 2038 instead of 2111, because of possible integer overflow.
2014-05-26Fix build systemSergey Poznyakoff15
* bootstrap (gnulib_extra_files): Remove "missing". * gint: Upgrade. * client/pam_radius/Makefile.am: Use AM_CPPFLAGS instead of INCLUDES. * radscripts/radscripts.m4: Use [] for quoting. * lib/Makefile.am: Likewise. * radiusd/Makefile.am: Likewise. * radlast/Makefile.am: Likewise. * radscm/Makefile.am: Likewise. * radtest/Makefile.am: Likewise. * raduse/Makefile.am: Likewise. * radwho/Makefile.am: Likewise. * radzap/Makefile.am: Likewise. * snmplib/Makefile.am: Likewise. * sql/Makefile.am: Likewise.
2013-01-12Update .gitignoreSergey Poznyakoff1
2013-01-12Remove obsolete php module.Sergey Poznyakoff5
2013-01-12Update copyright statementsSergey Poznyakoff293
2013-01-12Remove RFC texts.Sergey Poznyakoff21
2012-05-09Minor fix.Sergey Poznyakoff1
* scripts/radius.m4 (AM_GNU_RADIUS): Fix quoting.
2011-06-20Bugfixes.Sergey Poznyakoff3
* configure.ac (LIBRADEXTRA): Link with libgnu.a (not .la). * raddb/dict/standard (NAS-Port-Id-String): Change type to string. * tests/raddb/users.in: Put Expiration 100 years in the future.
2010-05-11Update gint.Sergey Poznyakoff2
* gint: Update to a5774356 * configure.ac: Minor change.
2010-05-11Fix GINT_INIT usage.Sergey Poznyakoff2
* gint: Update to 4e48677eee5a * configure.ac (--without-guile): Remove option. Handled by GINT_INIT. (GINT_INIT): Don't call it within a conditional.
2010-04-18Minor change.Sergey Poznyakoff1
* Makefile.am (make-ChangeLog): Remove. (ChangeLog): Improve formatting.
2010-04-18Use GINT for Guile support.Sergey Poznyakoff27
* am/guile.m4: Remove. * gint: New module. * scripts/guile/1.6/Makefile.am: Remove. * scripts/guile/1.6/guile-doc-snarf: Remove. * scripts/guile/1.6/guile-doc-snarf.awk: Remove. * scripts/guile/Makefile.am: Remove. * scripts/guile/: Remove. * scripts/Makefile.am (SUBDIRS): Remove. * tests/atlocal.in (GUILE_CONFIG): Rename to RA_GUILE_ENABLE. * doc/man/Makefile.am: Add AM_V_GEN markers. * radscm/Makefile.am: Likewise. * radscripts/Makefile.am: Likewise. * Makefile.am (ACLOCAL_AMFLAGS): add -I gint. (SUBDIRS): Conditionally add gint and radscm depending on the RA_COND_GUILE condition. * bootstrap.conf: Initialize git modules. * configure.ac (AM_INIT_AUTOMAKE): Update. Enable silent rules. Call GINT_INIT. Remove no longer needed substitutions. * radscm/Makefile.am: Rewrite using GINT. * radscm/gnuradius.scm4: Remove unnecessary re-exports. Add guile-procedures.txt to the list of documentation files. * radscm/radiusd.scm4: Remove unnecessary re-exports. * radscm/radscm.c: Use lower-case identifiers for function arguments. Rewrite docstrings. * radscm/rscm_avl.c: Likewise. * radscm/rscm_dict.c: Likewise. * radscm/rscm_hash.c: Likewise. * radscm/rscm_radlog.c: Likewise. * radscm/rscm_rewrite.c: Likewise. * radscm/rscm_sql.c: Likewise. * radscm/rscm_syslog.c: Likewise. * radscm/rscm_utmp.c: Likewise. * radscm/radscm.c: Likewise. Export global variables. * radiusd/scheme.c (scheme_safe_exec_body): Return the ed->handler result. (scheme_safe_exec, scheme_call_proc, scheme_boot): Use scm_c_catch instead of the deprecated scm_internal_lazy_catch.
2010-04-02Prepare for Guile 2.0: Replace obsolete and deprecated Guile calls.Sergey Poznyakoff15
* am/guile.m4: Rewrite based on the latest MU version. * include/radius/radscm.h (RAD_SCM_EVAL_X) (RAD_SCM_EVAL, RAD_SCM_SYMBOL_VALUE): Remove. All uses changed. * radiusd/scheme.c (eval_catch_body): Use scm_apply_0 to avoid unnecessary evaluating the arguments. (scheme_debug): Protect calls to SCM_DEVAL_P &c. by #ifdef GUILE_DEBUG_MACROS Replace obsolete and deprecated Guile calls with the new (1.8+) ones. * radiusd/rewrite.y: Replace obsolete and deprecated Guile calls with the new (1.8+) ones. * radiusd/sql.c: Likewise. * radscm/radscm.c: Likewise. * radscm/rscm_avl.c: Likewise. * radscm/rscm_dict.c: Likewise. * radscm/rscm_hash.c: Likewise. * radscm/rscm_lib.c: Likewise. * radscm/rscm_radlog.c: Likewise. * radscm/rscm_rewrite.c: Likewise. * radscm/rscm_sql.c: Likewise. * radscm/rscm_syslog.c: Likewise. * radscm/rscm_utmp.c: Likewise.
2010-04-02Remove .cvsignoresSergey Poznyakoff37
2010-04-02Update copyright years.Sergey Poznyakoff287
2008-12-17Minor changes.Sergey Poznyakoff11
* am/guile.m4: Remove useless checks for functions. * configure.ac: Minor changes. * lib/users.l, radtest/input.l: Refer to current buffer through YY_CURRENT_BUFFER. * m4/*: Remove.
2008-12-16Version 1.6.1Sergey Poznyakoff11
2008-12-16Update .gitignoresSergey Poznyakoff2
2008-12-16Rewrite test suite using new server mode.Sergey Poznyakoff10
* tests/findport.c: Remove. * tests/Makefile.am: Remove findport. * radiusd/radiusd.c: New option --select-free-ports. * tests/atlocal.in (make_raddb): Do not use findport. (start_server): Start the server in `select-free-ports' mode. (begin_server): Get actual ports servers listen on from the port files they create. * tests/begin.at: Add keyword start-server. * tests/proxy/Makefile.am, tests/raddb/Makefile.am (CLEANFILES): Add ports. * tests/proxy/client.conf.in, tests/proxy/realms.in: Use {} to mark macros. * tests/raddb/client.conf.in, tests/raddb/realms.in: Likewise. * tests/proxy/config.in (option): Remove exec-program-user. (auth,acct): Remove port statements. * tests/raddb/config.in: Likewise.
2008-12-16Bugfix.Sergey Poznyakoff4
* lib/list.c (grad_list_destroy): Zero *plist before actually freeing its contents. This makes list destroying an atomical operation. In particular, it is important when destroying _grad_debug_list.
2008-12-14Fix compilation with gcc >= 4.3.0.Sergey Poznyakoff3
* configure.ac, radiusd/Makefile.am: Explicitly disable aliasing if using gcc * radiusd/rewrite.y: Bugfix: make fmain static.
2008-12-14Bugfixes.Sergey Poznyakoff2
* lib/numtostr.c: Bugfix. * README-hacking: Fix typo.
2008-12-08Update .gitignoresSergey Poznyakoff9
2008-12-08Update .gitignoresSergey Poznyakoff2
2008-12-08Switch to Git repositorySergey Poznyakoff32
2008-12-06Remove obsolete directivesSergey Poznyakoff1
2008-12-06BugfixesSergey Poznyakoff14
* configure.ac, NEWS: Version 1.6 * lib/getgr.c, lib/getpw_r.c, lib/numtostr.c: include string.h. * radiusd/rewrite.y (bi_gsub,bi_sub): Add typecasts. * scripts/mktypes.c (print_number): Return also numeric representation. (main): Define GRAD_VERSION_NUMBER. * tests/raddb/auth.scm: Replace L_INFO with GRAD_LOG_INFO. * radscm/radiusd.scm4, radscm/ttl.scm: Likewise.
2008-12-06scripts/radius.m4: New file.Sergey Poznyakoff4
2008-12-06Namespace normalization.Sergey Poznyakoff67
* include/radius/list.h: Rename struct list/iterator to grad_list/ grad_iterator * include/radius/radius.h: Rename L_ log macros to GRAD_LOG_ All uses updated.
2008-12-06Fix minor bugSergey Poznyakoff1
2008-12-04Bugfixes.Sergey Poznyakoff6
* lib/radpdu.c (decode_vsa): Fix bail-out condition. * lib/slist.c (grad_slist_head): Bigfix. * lib/users.y: Use INT_BUFSIZE_BOUND, not INT_STRLEN_BOUND. * lib/util.c: Likewise.
2008-12-02Minor changes.Sergey Poznyakoff8
* bootstrap: Replace with the gnulib version. * bootstrap.conf: Read local configuration file. * configure.ac: Add AC_CONFIG_MACRO_DIR * lib/client.c: Minor change * lib/raddb.c (grad_read_raddb_file): Remove leftover fprintf. * radiusd/log.c (radiusd_logger): Check if loc->line != NULL. * m4/.cvsignore: Update.
2008-08-16* NEWS, configure.ac: Version 1.5.91Sergey Poznyakoff9
* include/radius/radius.h (grad_recompute_timeout): New function. * lib/client.c (grad_client_send0): Fix send-and-wait loop. * lib/util.c (grad_recompute_timeout): New function. * radiusd/config.y (typestr): New entries. (_get_value): Handle CFG_UNSIGNED, CFG_SIZE_T, and CFG_INTEGER. * radiusd/rpp.c (recompute_timeout): Replace by extern grad_recompute_timeout.
2008-06-03* lib/Makefile.am (libgnuradius_la_SOURCES): Add deflog.c (movedSergey Poznyakoff3
from libradextra_a_SOURCES. * lib/logger.c (_grad_logger): Initialize with grad_default_logger. (grad_log, grad_log_req, grad_log_loc): Do nothing if _grad_logger is NULL.
2008-06-03* lib/Makefile.am (libgnuradius_la_SOURCES): Add deflog.c (movedSergey Poznyakoff1
from libradextra_a_SOURCES. * lib/logger.c (_grad_logger): Initialize with grad_default_logger. (grad_log, grad_log_req, grad_log_loc): Do nothing if _grad_logger is NULL.
2008-05-25UpdateSergey Poznyakoff1
2008-05-25(grad_list_insert_sorted): Update list->count.Sergey Poznyakoff1
2008-03-25* include/radiusd.h (struct channel): Redesign union id;Sergey Poznyakoff5
* radiusd/log.c (log_to_channel): LM_SYSLOG branch: fix inconsistencies. Call openlog to properly initialize syslog. This also allows to set a preconfigured syslog tag. (channel_free): Free chan->id.sl.tag. (register_channel): Initialize syslog data. (channel_syslog_handler): Take an optional 4th argument - syslog tag. * configure.texi, NEWS: Update.
2008-02-08* radscm/radsession.in: Bugfix. Use #f, not nil.Sergey Poznyakoff13
* lib/slist.c (grad_slist_coalesce): Use c89 * NEWS: Update. * README: Remove references to --with-include-path and --with-include-path. * bootstrap: Place auxiliary files in build-aux * bootstrap.conf: Update. * THANKS: Update. Fixes proposed by Jakub Bogusz: * configure.ac: Version 1.15.90. (AC_CONFIG_AUX_DIR): Change to build-aux (INCLUDEPATH): Remove. (M4): use build-aux Use AC_SEARCH_LIBS instead of AC_CHECK_LIB (RA_RADIUSD_LDADD,LIBRADEXTRA,LIBGNURADIUS): Use relative references to .la files rather than -L/-l options in order to prevent relative directories from being referenced in installed .la files. * radiusd/Makefile.am (AM_CPPFLAGS): Define RADIUS_LIBDIR * radiusd/dynload.c (dynload_stmt_term): Search in RADIUS_LIBDIR, not RADIUS_DATADIR. * sql/Makefile.am (moddir): Install under pkglibdir. * radscm/Makefile.am (libradscm_la_LIBADD): Add GUILE_LIBS.
2007-12-13UpdateSergey Poznyakoff1
2007-12-13* bootstrap.conf: Do not use --source-base inSergey Poznyakoff16
gnulib_tool_option_extras, to avoid triggering gnulib bootstrap bug. * configure.ac, NEWS: Version 1.15.90. * Makefile.am (distuninstallcheck_listfiles): Fix rule. * include/radiusd.h (struct request.srv_addr): New field. (struct request_class.decode): Change signature. (request_create,radius_auth_req_decode) (radius_acct_req_decode,snmp_req_decode): Change signature. * raddb/dict/standard (GNU-Server-Address,GNU-Server-Port): New attributes. * radiusd/radius.c (radius_auth_req_decode) (radius_acct_req_decode): Change signature. Add GNU-Server-Address, GNU-Server-Port to the request. * radiusd/radiusd.c (udp_input_handler): Update call to request_create. * radiusd/request.c (request_create): Change signature. Update call to decode. * radiusd/rpp.c (rpp_comparator): Fix declaration. (struct rpp_request.srv_addr): New member. (struct rpp_request.addr): Rename to clt_addr. (rpp_request_handler): update call to request_create. * radiusd/snmpserv.c (snmp_req_decode): Change signature. * radiusd/sql.c: Include radscm.h conditionally. * tests/scheme-acct.at: Ignore GNU-Server-Address and GNU-Server-Port attributes.
2007-11-12UpdateSergey Poznyakoff1
2007-11-12(rad_sql_mlc_close): Pass NAS-IP-AddressSergey Poznyakoff1
2007-11-04UpdateSergey Poznyakoff4
2007-11-04(rpp_request_handler): Move call to scheme_redirect_output to ↵Sergey Poznyakoff1
scheme.c:catch_body.
2007-11-04Switch to Guile 1.8Sergey Poznyakoff17
2007-11-04Require Guile v. 1.8.0 at least.Sergey Poznyakoff1
2007-11-04(_get_type): Fix typo (ipx instead of ip).Sergey Poznyakoff1
2007-11-04(grad_ut_setent,grad_utmp_putent,grad_radwtmp_putent): First arg is const ↵Sergey Poznyakoff2
char *.

Return to:

Send suggestions and report system problems to the System administrator.