]> git.stg.codes - stg.git/log
stg.git
9 years agoReturn value from assignment operator.
Maxim Mamontov [Mon, 7 Oct 2013 21:28:02 +0000 (00:28 +0300)]
Return value from assignment operator.

Conflicts:
include/stg/admin_conf.h

9 years agoUse ::tolower from cctype in std::transform.
Maxim Mamontov [Mon, 7 Oct 2013 20:36:59 +0000 (23:36 +0300)]
Use ::tolower from cctype in std::transform.

9 years agoFixed compilation issues.
Maxim Mamontov [Mon, 7 Oct 2013 20:25:47 +0000 (23:25 +0300)]
Fixed compilation issues.

Conflicts:
projects/sgconf/common_sg.cpp
projects/sgconf/main.cpp
stglibs/srvconf.lib/include/stg/servconf.h

9 years agoSmall refactoring in RESETABLE.
Maxim Mamontov [Mon, 7 Oct 2013 20:25:25 +0000 (23:25 +0300)]
Small refactoring in RESETABLE.

9 years agoMerge branch 'naffanya-dev'
Maxim Mamontov [Fri, 23 Aug 2013 18:59:58 +0000 (21:59 +0300)]
Merge branch 'naffanya-dev'

9 years agoRe-organized includes.
Maxim Mamontov [Mon, 5 Aug 2013 17:45:43 +0000 (20:45 +0300)]
Re-organized includes.

11 years agoAdded unary versions of x2str ans unsigned2str.
Maxim Mamontov [Mon, 5 Aug 2013 17:27:29 +0000 (20:27 +0300)]
Added unary versions of x2str ans unsigned2str.

11 years agoAdded const user accessors.
Maxim Mamontov [Mon, 5 Aug 2013 17:27:08 +0000 (20:27 +0300)]
Added const user accessors.

11 years agoAdded last disconnect reason and last authorization time.
Maxim Mamontov [Mon, 5 Aug 2013 16:56:57 +0000 (19:56 +0300)]
Added last disconnect reason and last authorization time.

11 years agoAdditional logging and small fixes.
Maxim Mamontov [Fri, 2 Aug 2013 19:23:11 +0000 (22:23 +0300)]
Additional logging and small fixes.

11 years agoLog all SIGHUP-related activity.
Maxim Mamontov [Fri, 2 Aug 2013 19:09:39 +0000 (22:09 +0300)]
Log all SIGHUP-related activity.

11 years agoFixed stupid bugs in BPF capturer.
Maxim Mamontov [Thu, 1 Aug 2013 10:24:39 +0000 (13:24 +0300)]
Fixed stupid bugs in BPF capturer.

11 years agoAllow to build sgconf on Darwin.
Maxim Mamontov [Thu, 1 Aug 2013 10:24:21 +0000 (13:24 +0300)]
Allow to build sgconf on Darwin.

11 years agoAllow to assign 0.0.0.0 to multiple users.
Maxim Mamontov [Sun, 28 Jul 2013 12:32:47 +0000 (15:32 +0300)]
Allow to assign 0.0.0.0 to multiple users.

11 years agoAdded missing files.
Maxim Mamontov [Sat, 27 Jul 2013 17:04:03 +0000 (20:04 +0300)]
Added missing files.

11 years agoMinor fix.
Maxim Mamontov [Fri, 26 Jul 2013 18:30:28 +0000 (21:30 +0300)]
Minor fix.

11 years agoAdjusted XML RPC documentation.
Maxim Mamontov [Fri, 26 Jul 2013 18:29:41 +0000 (21:29 +0300)]
Adjusted XML RPC documentation.

11 years agoAdded XML RPC method for getting user's authorizers.
Maxim Mamontov [Fri, 26 Jul 2013 18:22:09 +0000 (21:22 +0300)]
Added XML RPC method for getting user's authorizers.

11 years agoSmall fix.
Maxim Mamontov [Fri, 26 Jul 2013 17:54:38 +0000 (20:54 +0300)]
Small fix.

11 years agoDebug.
Maxim Mamontov [Fri, 26 Jul 2013 17:39:19 +0000 (20:39 +0300)]
Debug.

11 years agoAdded forgotten 'break'.
Maxim Mamontov [Fri, 26 Jul 2013 17:32:12 +0000 (20:32 +0300)]
Added forgotten 'break'.

11 years agoAdded ability to list authorizers for user.
Maxim Mamontov [Fri, 26 Jul 2013 17:25:54 +0000 (20:25 +0300)]
Added ability to list authorizers for user.

11 years agoAdded a function that lists all plugins that authorize the user.
Maxim Mamontov [Fri, 26 Jul 2013 16:33:05 +0000 (19:33 +0300)]
Added a function that lists all plugins that authorize the user.

11 years agoCheck that IP is not in use before changing.
Maxim Mamontov [Fri, 26 Jul 2013 16:24:10 +0000 (19:24 +0300)]
Check that IP is not in use before changing.

11 years agoAdded support of Darwin platform.
System Administrator [Sat, 6 Jul 2013 13:50:36 +0000 (16:50 +0300)]
Added support of Darwin platform.

11 years agoFixed stupid errors in cap_bpf.
System Administrator [Sat, 6 Jul 2013 13:48:12 +0000 (16:48 +0300)]
Fixed stupid errors in cap_bpf.

11 years agoAO: don't unauthorize user that was not authorized by us.
Maxim Mamontov [Wed, 20 Feb 2013 20:00:40 +0000 (22:00 +0200)]
AO: don't unauthorize user that was not authorized by us.

11 years agoPossibly fixed mod_cap_ipq compilation.
Maxim Mamontov [Tue, 5 Feb 2013 21:12:46 +0000 (23:12 +0200)]
Possibly fixed mod_cap_ipq compilation.

11 years agoAdded separate touch time for traffcounter packet processor.
Maxim Mamontov [Tue, 5 Feb 2013 19:22:21 +0000 (21:22 +0200)]
Added separate touch time for traffcounter packet processor.

11 years agoAdded missing include.
Maxim Mamontov [Tue, 5 Feb 2013 19:14:48 +0000 (21:14 +0200)]
Added missing include.

11 years agoRemoved merge artifacts.
Maxim Mamontov [Tue, 5 Feb 2013 19:14:35 +0000 (21:14 +0200)]
Removed merge artifacts.

11 years agoAdded missing method.
Maxim Mamontov [Tue, 5 Feb 2013 19:10:43 +0000 (21:10 +0200)]
Added missing method.

11 years agoMassive refactoring.
Maxim Mamontov [Tue, 5 Feb 2013 19:02:01 +0000 (21:02 +0200)]
Massive refactoring.

11 years agoAllowed to use dot in entity name.
Maxim Mamontov [Mon, 28 Jan 2013 18:33:26 +0000 (20:33 +0200)]
Allowed to use dot in entity name.

11 years agoFixed else/enif order.
Maxim Mamontov [Sat, 19 Jan 2013 08:50:21 +0000 (10:50 +0200)]
Fixed else/enif order.

11 years agoPatch from SpiderX <spiderx@spiderx.dp.ua> - added installing demo scripts for
Maxim Mamontov [Thu, 17 Jan 2013 18:59:41 +0000 (20:59 +0200)]
Patch from SpiderX <spiderx@spiderx.dp.ua> - added installing demo scripts for
rscriptd.

11 years agoFixed rlm_stg removing broken by previous patch.
Maxim Mamontov [Thu, 17 Jan 2013 18:58:37 +0000 (20:58 +0200)]
Fixed rlm_stg removing broken by previous patch.

11 years agoPatch from SpiderX <spiderx@spiderx.dp.ua> - path to FreeRADIUS plugins.
Maxim Mamontov [Thu, 17 Jan 2013 07:30:55 +0000 (09:30 +0200)]
Patch from SpiderX <spiderx@spiderx.dp.ua> - path to FreeRADIUS plugins.

11 years agoRemoved artefact from previous patch.
Maxim Mamontov [Wed, 16 Jan 2013 18:25:08 +0000 (20:25 +0200)]
Removed artefact from previous patch.

11 years agoPatch from SpiderX <spiderx@spiderx.dp.ua> - build in debug mode.
Maxim Mamontov [Tue, 15 Jan 2013 20:13:15 +0000 (22:13 +0200)]
Patch from SpiderX <spiderx@spiderx.dp.ua> - build in debug mode.

11 years agoAllowed to bind for a particular address/hostname for sgauth.
Maxim Mamontov [Tue, 15 Jan 2013 19:58:14 +0000 (21:58 +0200)]
Allowed to bind for a particular address/hostname for sgauth.

11 years agoCosmetic changes.
Maxim Mamontov [Mon, 14 Jan 2013 20:04:57 +0000 (22:04 +0200)]
Cosmetic changes.

11 years agoFixed parameters style in sgconv.conf.
Maxim Mamontov [Mon, 14 Jan 2013 20:02:22 +0000 (22:02 +0200)]
Fixed parameters style in sgconv.conf.

11 years agoconvertor.conf -> sgconv.conf
Maxim Mamontov [Mon, 14 Jan 2013 19:55:54 +0000 (21:55 +0200)]
convertor.conf -> sgconv.conf

11 years agoPatch from SpiderX <spiderx@spiderx.dp.ua> - convertor -> sgconv
Maxim Mamontov [Mon, 14 Jan 2013 19:29:36 +0000 (21:29 +0200)]
Patch from SpiderX <spiderx@spiderx.dp.ua> - convertor -> sgconv

11 years agoSlightly changed patch from SpiderX <spiderx@spiderx.dp.ua> - sgauth.conf
Maxim Mamontov [Mon, 14 Jan 2013 19:28:21 +0000 (21:28 +0200)]
Slightly changed patch from SpiderX <spiderx@spiderx.dp.ua> - sgauth.conf

11 years ago+tch from SpiderX <spiderx@spiderx.dp.ua> - rscriptd.conf
Maxim Mamontov [Mon, 14 Jan 2013 19:20:12 +0000 (21:20 +0200)]
+tch from SpiderX <spiderx@spiderx.dp.ua> - rscriptd.conf

11 years agoPatch from SpiderX <spiderx@spiderx.dp.ua> - scripts.
Maxim Mamontov [Mon, 14 Jan 2013 19:14:21 +0000 (21:14 +0200)]
Patch from SpiderX <spiderx@spiderx.dp.ua> - scripts.

11 years agoConvertor project is renamed to "sgconv".
Maxim Mamontov [Mon, 14 Jan 2013 19:01:32 +0000 (21:01 +0200)]
Convertor project is renamed to "sgconv".

11 years agoFixed installation path for rlm_stg project.
Maxim Mamontov [Sat, 12 Jan 2013 11:43:13 +0000 (13:43 +0200)]
Fixed installation path for rlm_stg project.

11 years agoUnified build scripts.
Maxim Mamontov [Fri, 11 Jan 2013 19:51:17 +0000 (21:51 +0200)]
Unified build scripts.

11 years agoFixed installation.
Maxim Mamontov [Fri, 11 Jan 2013 19:46:06 +0000 (21:46 +0200)]
Fixed installation.

11 years agoFixes in configuration files.
Maxim Mamontov [Fri, 11 Jan 2013 18:40:33 +0000 (20:40 +0200)]
Fixes in configuration files.

11 years agoFixed linking with libfbclient.
Maxim Mamontov [Fri, 4 Jan 2013 19:05:36 +0000 (21:05 +0200)]
Fixed linking with libfbclient.

11 years agoCode cleanup.
Maxim Mamontov [Tue, 1 Jan 2013 16:05:51 +0000 (18:05 +0200)]
Code cleanup.

12 years agoModiifed Gentoo init.d-script according to latest rules.
Maxim Mamontov [Tue, 11 Dec 2012 20:14:50 +0000 (22:14 +0200)]
Modiifed Gentoo init.d-script according to latest rules.

12 years agoVersion bump.
Maxim Mamontov [Sun, 2 Dec 2012 15:57:49 +0000 (17:57 +0200)]
Version bump.

12 years agoAdded SMUX reconnect. Fixes #18.
Maxim Mamontov [Sun, 2 Dec 2012 15:32:42 +0000 (17:32 +0200)]
Added SMUX reconnect. Fixes #18.

12 years agoLot of debug output for rscriptd.
Maxim Mamontov [Sun, 2 Dec 2012 14:55:06 +0000 (16:55 +0200)]
Lot of debug output for rscriptd.

12 years agoRemoved redundand code. Fixes #24.
Maxim Mamontov [Sun, 2 Dec 2012 14:51:43 +0000 (16:51 +0200)]
Removed redundand code. Fixes #24.

12 years agoFixed problems with connect/disconnect notification.
Maxim Mamontov [Sun, 2 Dec 2012 14:50:41 +0000 (16:50 +0200)]
Fixed problems with connect/disconnect notification.

12 years agoUse "connected" subscription for detecting connection and disconnection.
Maxim Mamontov [Sat, 1 Dec 2012 19:08:24 +0000 (21:08 +0200)]
Use "connected" subscription for detecting connection and disconnection.

12 years agoUse namespace instead of prefix.
Maxim Mamontov [Sat, 1 Dec 2012 19:07:57 +0000 (21:07 +0200)]
Use namespace instead of prefix.

12 years agoAdded const-ness for some params.
Maxim Mamontov [Sat, 1 Dec 2012 19:07:20 +0000 (21:07 +0200)]
Added const-ness for some params.

12 years agoFixed invalid parameter passing.
Maxim Mamontov [Sat, 1 Dec 2012 15:21:09 +0000 (17:21 +0200)]
Fixed invalid parameter passing.

12 years agoUse old password for enciphering password change answer.
Maxim Mamontov [Sun, 18 Nov 2012 18:13:33 +0000 (20:13 +0200)]
Use old password for enciphering password change answer.

12 years agoFixed admin provoledges reseting after password change. Fixes #28.
Maxim Mamontov [Sun, 18 Nov 2012 18:02:47 +0000 (20:02 +0200)]
Fixed admin provoledges reseting after password change. Fixes #28.

12 years agoBetter logging for ipq_cap.
Maxim Mamontov [Sun, 11 Nov 2012 19:08:48 +0000 (21:08 +0200)]
Better logging for ipq_cap.

12 years agoDo not compile mod_cap_ipq on systems where ip_queue is not available.
Maxim Mamontov [Sun, 11 Nov 2012 19:08:07 +0000 (21:08 +0200)]
Do not compile mod_cap_ipq on systems where ip_queue is not available.

12 years agoFixed invalid check of pthread_create return value.
Maxim Mamontov [Sun, 11 Nov 2012 17:05:11 +0000 (19:05 +0200)]
Fixed invalid check of pthread_create return value.

12 years agoFixed ip_queue.h checking.
Maxim Mamontov [Sun, 11 Nov 2012 17:00:13 +0000 (19:00 +0200)]
Fixed ip_queue.h checking.

12 years agoAdded missing dependency.
Maxim Mamontov [Sun, 11 Nov 2012 16:50:48 +0000 (18:50 +0200)]
Added missing dependency.

12 years agoFixed compilation with linux-3.5.1 and higher.
Maxim Mamontov [Sun, 11 Nov 2012 16:50:14 +0000 (18:50 +0200)]
Fixed compilation with linux-3.5.1 and higher.

12 years agoChanges in rlm_stg for better integration with FreeRADIUS.
Maxim Mamontov [Sat, 6 Oct 2012 14:40:25 +0000 (17:40 +0300)]
Changes in rlm_stg for better integration with FreeRADIUS.

12 years agoLog errors from plugins to server log.
Maxim Mamontov [Thu, 2 Aug 2012 14:10:58 +0000 (17:10 +0300)]
Log errors from plugins to server log.

12 years agoIntroduced logger for plugins.
Maxim Mamontov [Thu, 2 Aug 2012 12:31:53 +0000 (15:31 +0300)]
Introduced logger for plugins.

12 years agoAdded notifiers for the "disabled" property.
Maxim Mamontov [Thu, 2 Aug 2012 12:30:28 +0000 (15:30 +0300)]
Added notifiers for the "disabled" property.

12 years agoError messages unified.
Maxim Mamontov [Mon, 4 Jun 2012 11:04:51 +0000 (14:04 +0300)]
Error messages unified.

12 years agoAllow to start mod_rscript without subnets file
Maxim Mamontov [Sat, 19 May 2012 17:13:38 +0000 (20:13 +0300)]
Allow to start mod_rscript without subnets file

12 years agoDisableForwarding parameter added to the divert plugin
Maxim Mamontov [Sat, 19 May 2012 16:45:35 +0000 (19:45 +0300)]
DisableForwarding parameter added to the divert plugin

12 years agoExplicitly recurse through subdirs in stglibs.
Maxim Mamontov [Sun, 22 Apr 2012 07:25:05 +0000 (10:25 +0300)]
Explicitly recurse through subdirs in stglibs.

12 years agoValidate data for a forbidden combination of alwaysOnline and ips
Maxim Mamontov [Sat, 3 Mar 2012 21:42:04 +0000 (23:42 +0200)]
Validate data for a forbidden combination of alwaysOnline and ips

12 years agoFix occasional crash on second and more reload in SMUX plugin
Maxim Mamontov [Wed, 29 Feb 2012 13:01:14 +0000 (15:01 +0200)]
Fix occasional crash on second and more reload in SMUX plugin

12 years agoNew fee charge algo added
Maxim Mamontov [Wed, 29 Feb 2012 12:59:03 +0000 (14:59 +0200)]
New fee charge algo added

12 years agoFix dependency on fbclient for mod_store_firebird.so
Maxim Mamontov [Sun, 26 Feb 2012 12:29:12 +0000 (14:29 +0200)]
Fix dependency on fbclient for mod_store_firebird.so

12 years agoDefault scripts search path changed for rscriptd
Maxim Mamontov [Thu, 16 Feb 2012 12:20:24 +0000 (14:20 +0200)]
Default scripts search path changed for rscriptd

12 years agoSnake replaced with Camel
Maxim Mamontov [Thu, 9 Feb 2012 13:00:17 +0000 (15:00 +0200)]
Snake replaced with Camel

12 years agoMinor ChangeLog fix 2.408
Maxim Mamontov [Thu, 9 Feb 2012 11:24:37 +0000 (13:24 +0200)]
Minor ChangeLog fix

12 years agoChangeLog update
Maxim Mamontov [Thu, 9 Feb 2012 10:14:43 +0000 (12:14 +0200)]
ChangeLog update

12 years agoPlugin loading order fixed
Maxim Mamontov [Thu, 9 Feb 2012 09:19:16 +0000 (11:19 +0200)]
Plugin loading order fixed

12 years agoAdd <ostream> to fix missing header in xmlrpc-c
Maxim Mamontov [Thu, 9 Feb 2012 08:47:57 +0000 (10:47 +0200)]
Add <ostream> to fix missing header in xmlrpc-c

12 years agoMinor echo fix
Maxim Mamontov [Tue, 7 Feb 2012 10:41:33 +0000 (12:41 +0200)]
Minor echo fix

12 years agoC-style cast replaced with sattic_cast
Maxim Mamontov [Tue, 7 Feb 2012 10:35:40 +0000 (12:35 +0200)]
C-style cast replaced with sattic_cast

12 years agoUnused variable removed
Maxim Mamontov [Tue, 7 Feb 2012 10:35:22 +0000 (12:35 +0200)]
Unused variable removed

12 years agoUnused struct member removed
Maxim Mamontov [Tue, 7 Feb 2012 10:32:55 +0000 (12:32 +0200)]
Unused struct member removed

12 years agoC-style pointer cast replaced with normal static_cast
Maxim Mamontov [Tue, 7 Feb 2012 10:30:34 +0000 (12:30 +0200)]
C-style pointer cast replaced with normal static_cast

12 years agoVariable scope narrowed
Maxim Mamontov [Tue, 7 Feb 2012 10:30:07 +0000 (12:30 +0200)]
Variable scope narrowed

12 years agoUnused variables removed
Maxim Mamontov [Tue, 7 Feb 2012 10:29:52 +0000 (12:29 +0200)]
Unused variables removed

12 years agoFix strange prontf usage
Maxim Mamontov [Tue, 7 Feb 2012 10:29:00 +0000 (12:29 +0200)]
Fix strange prontf usage

12 years agoUnused variables removed in user properties
Maxim Mamontov [Tue, 7 Feb 2012 10:28:26 +0000 (12:28 +0200)]
Unused variables removed in user properties