]> git.stg.codes - stg.git/log
stg.git
8 years agoTicket 26. The const MODULE_SETTINGS & ms parameter added to the
Elena Mamontova [Thu, 10 Mar 2016 08:07:45 +0000 (10:07 +0200)]
Ticket 26. The const MODULE_SETTINGS & ms parameter added to the
Reload() method of the class RADIUS in the radius.h file.

8 years agoTicket 26. The const MODULE_SETTINGS & ms parameter added to the
Elena Mamontova [Thu, 10 Mar 2016 07:41:34 +0000 (09:41 +0200)]
Ticket 26. The const MODULE_SETTINGS & ms parameter added to the
Reload() method of the class PING in the ping.h file.

8 years agoTicket 26. The const MODULE_SETTINGS & ms parameter added to the
Elena Mamontova [Thu, 10 Mar 2016 07:35:27 +0000 (09:35 +0200)]
Ticket 26. The const MODULE_SETTINGS & ms parameter added to the
Reload() method of the class NFQ_CAP in the nfqueue.h file.

8 years agoTicket 26. The const MODULE_SETTINGS & ms parameter added to the
Elena Mamontova [Wed, 9 Mar 2016 14:18:51 +0000 (16:18 +0200)]
Ticket 26. The const MODULE_SETTINGS & ms parameter added to the
Reload() method of the class IPQ_CAP in the ipq_cap.h plugin.

8 years agoTicket 26. The const MODULE_SETTINGS & ms parameter added to the
Elena Mamontova [Wed, 9 Mar 2016 14:14:07 +0000 (16:14 +0200)]
Ticket 26. The const MODULE_SETTINGS & ms parameter added to the
Reload() method of the class ETHER_CAP in the ether_cap.h plugin.

8 years agoTicket 26. The const MODULE_SETTINGS & ms parameter added to the
Elena Mamontova [Wed, 9 Mar 2016 09:34:46 +0000 (11:34 +0200)]
Ticket 26. The const MODULE_SETTINGS & ms parameter added to the
Reload() method of the class BPF_CAP in the ether_cap.h plugin.

8 years agoTicket 26. The const MODULE_SETTINGS & ms parameter added to the
Elena Mamontova [Wed, 9 Mar 2016 09:29:22 +0000 (11:29 +0200)]
Ticket 26. The const MODULE_SETTINGS & ms parameter added to the
Reload() method of the class DIVERT_CAP in the divert_cap.h plugin.

8 years agoTicket 26. The const MODULE_SETTINGS & ms parameter added to the
Elena Mamontova [Wed, 9 Mar 2016 09:24:00 +0000 (11:24 +0200)]
Ticket 26. The const MODULE_SETTINGS & ms parameter added to the
Reload() method of the class NF_CAP in the cap_nf.h plugin.

8 years agoTicket 26. The const MODULE_SETTINGS & ms parameter added to the
Elena Mamontova [Wed, 9 Mar 2016 09:08:48 +0000 (11:08 +0200)]
Ticket 26. The const MODULE_SETTINGS & ms parameter added to the
Reload() method of the class DEBUG_CAP in the debug_cap.h plugin.

8 years agoTicket 26. The const MODULE_SETTINGS & ms parameter added to the
Elena Mamontova [Wed, 9 Mar 2016 08:52:55 +0000 (10:52 +0200)]
Ticket 26. The const MODULE_SETTINGS & ms parameter added to the
Reload() method of the class AUTH_STRESS in the stress.h plugin.

8 years agoTicket 26. The const MODULE_SETTINGS & ms parameter added to the
Elena Mamontova [Wed, 9 Mar 2016 08:50:06 +0000 (10:50 +0200)]
Ticket 26. The const MODULE_SETTINGS & ms parameter added to the
Reload() method of the class RPC_CONFIG in the rpconfig.h plugin.

8 years agoTicket 26. The const MODULE_SETTINGS & ms parameter added to the
Elena Mamontova [Wed, 9 Mar 2016 08:12:58 +0000 (10:12 +0200)]
Ticket 26. The const MODULE_SETTINGS & ms parameter added to the
Reload() function in the stgconfig.h plugin.

8 years agoTicket 26. The const MODULE_SETTINGS & ms parameter added to the
Elena Mamontova [Wed, 9 Mar 2016 07:21:45 +0000 (09:21 +0200)]
Ticket 26. The const MODULE_SETTINGS & ms parameter added to the
    Reload() function in the ao.h plugin.

8 years agoTicket 26. The const MODULE_SETTINGS & ms parameter added,
Elena Mamontova [Mon, 29 Feb 2016 15:11:26 +0000 (17:11 +0200)]
Ticket 26. The const MODULE_SETTINGS & ms parameter added,
       MODULE_SETTINGS newSettings object removed, the newSettings
       parameter changed to ms when newIaSettings.ParseSettings() method
       call in the Reload() method.

8 years agoTicket 26. The 'const MODULE_SETTINGS & ms' parameter added in the
Elena Mamontova [Mon, 29 Feb 2016 14:57:42 +0000 (16:57 +0200)]
Ticket 26. The 'const MODULE_SETTINGS & ms' parameter added in the
Reload() method.

8 years agoTicket 26. The ms parameter added when m_plugin.Reload() method call in the
Elena Mamontova [Mon, 29 Feb 2016 14:48:23 +0000 (16:48 +0200)]
Ticket 26. The ms parameter added when m_plugin.Reload() method call in the
Reload() method.

8 years agoTicket 26. The const MODULE_SETTINGS & parameter added in the virtual
Elena Mamontova [Fri, 26 Feb 2016 09:06:03 +0000 (11:06 +0200)]
Ticket 26. The const MODULE_SETTINGS & parameter added in the virtual
int Reload() function.

8 years agoTicket 26. The const MODULE_SETTINGS & ms parameter added to the
Elena Mamontova [Fri, 19 Feb 2016 14:11:46 +0000 (16:11 +0200)]
Ticket 26. The const MODULE_SETTINGS & ms parameter added to the
Reload() function.

8 years agoTicket 26. The const MODULE_SETTINGS & ms parameter added to the
Elena Mamontova [Fri, 19 Feb 2016 14:09:35 +0000 (16:09 +0200)]
Ticket 26. The const MODULE_SETTINGS & ms parameter added to the
Reload() function.

8 years agoTicket 26. In the reload() function modSettings vector is defined, a cycle for the
Elena Mamontova [Fri, 19 Feb 2016 14:01:35 +0000 (16:01 +0200)]
Ticket 26. In the reload() function modSettings vector is defined, a cycle for the
modSettins vector is added, the modSettings[j] parameter is added in the
m_modules[i]->Reload() function.

8 years agoTicket 26. The 'moduleName' variable is defined and parameter 'moduleName' added
Elena Mamontova [Thu, 18 Feb 2016 08:53:38 +0000 (10:53 +0200)]
Ticket 26. The 'moduleName' variable is defined and parameter 'moduleName' added
in the new PLUGIN_RUNNER() in the constructor.

8 years agoTicket 26. The 'name' parameter and 'pluginName' variable initialization added in the
Elena Mamontova [Thu, 18 Feb 2016 08:17:43 +0000 (10:17 +0200)]
Ticket 26. The 'name' parameter and 'pluginName' variable initialization added in the
constructor.

8 years agoTicket 26. The pluginName variable, GetName() method, pluginName
Elena Mamontova [Thu, 18 Feb 2016 08:06:15 +0000 (10:06 +0200)]
Ticket 26. The pluginName variable, GetName() method, pluginName
parameter to the  constructor added.

8 years agoTicket 26. The 'const SETTINGS_IMPL settings' parametr added in the
Elena Mamontova [Wed, 17 Feb 2016 14:26:43 +0000 (16:26 +0200)]
Ticket 26. The 'const SETTINGS_IMPL settings' parametr added in the
void PluginManager::reload() method.

8 years agoTicket 26. The 'const SETTINGS_IMPL settings' parametr added in the void reload(...
Elena Mamontova [Wed, 17 Feb 2016 14:24:50 +0000 (16:24 +0200)]
Ticket 26. The 'const SETTINGS_IMPL settings' parametr added in the void reload() method.

8 years agoTicket 26. The 'settings' parametr added in the manager.reload() method.
Elena Mamontova [Wed, 17 Feb 2016 14:14:38 +0000 (16:14 +0200)]
Ticket 26. The 'settings' parametr added in the manager.reload() method.

8 years agoTicket 26. #include "stg/logger.h" directive removed.
Elena Mamontova [Mon, 15 Feb 2016 13:40:02 +0000 (15:40 +0200)]
Ticket 26. #include "stg/logger.h" directive removed.

8 years agoTicket 26. if (&set == this) checking removed in the operator().
Elena Mamontova [Wed, 10 Feb 2016 13:28:02 +0000 (15:28 +0200)]
Ticket 26. if (&set == this) checking removed in the operator().

8 years agoTicket 26. The int AUTH_IA::Reload() function definition added.
Elena Mamontova [Tue, 9 Feb 2016 16:11:29 +0000 (18:11 +0200)]
Ticket 26. The int AUTH_IA::Reload() function definition added.

8 years agoTicket 26. The Reload() function declaration added.
Elena Mamontova [Tue, 9 Feb 2016 16:09:17 +0000 (18:09 +0200)]
Ticket 26. The Reload() function declaration added.

8 years agoTicket 26. The SETTINGS_IMPL & SETTINGS_IMPL::operator() definition added.
Elena Mamontova [Tue, 9 Feb 2016 16:06:00 +0000 (18:06 +0200)]
Ticket 26. The SETTINGS_IMPL & SETTINGS_IMPL::operator() definition added.

8 years agoTicket 26. The SETTINGS_IMPL & operator() declaration added.
Elena Mamontova [Tue, 9 Feb 2016 16:04:26 +0000 (18:04 +0200)]
Ticket 26. The SETTINGS_IMPL & operator() declaration added.

8 years agoTicket 26. The SETTINGS_IMPL newSettings object declaration moved into
Elena Mamontova [Tue, 9 Feb 2016 15:57:06 +0000 (17:57 +0200)]
Ticket 26. The SETTINGS_IMPL newSettings object declaration moved into
case SIGHUP. The settings = newSettings added to case SIGHUP.

8 years agoTicket 26. SETTING_IMPL newSettings object - copy of the settings object
Elena Mamontova [Thu, 4 Feb 2016 08:08:37 +0000 (10:08 +0200)]
Ticket 26. SETTING_IMPL newSettings object - copy of the settings object
added. The newSetings.ReadSettings() call and checking of result added
in the 'switch' after the case SIGHUP.

8 years agoMerge branch 'stg-2.409' into stg-2.409-radius
Maxim Mamontov [Sun, 20 Dec 2015 20:18:22 +0000 (22:18 +0200)]
Merge branch 'stg-2.409' into stg-2.409-radius

8 years agoImmediate disconnect on Unauthorize if not authorized.
Maxim Mamontov [Sun, 20 Dec 2015 20:17:35 +0000 (22:17 +0200)]
Immediate disconnect on Unauthorize if not authorized.

8 years agoMerge branch 'stg-2.409' into stg-2.409-radius
Maxim Mamontov [Sun, 20 Dec 2015 20:05:06 +0000 (22:05 +0200)]
Merge branch 'stg-2.409' into stg-2.409-radius

8 years agoStop plugins before stopping core.
Maxim Mamontov [Sun, 20 Dec 2015 20:04:44 +0000 (22:04 +0200)]
Stop plugins before stopping core.

8 years agoDo not flush indexes on stop (fixes #44).
Maxim Mamontov [Sun, 20 Dec 2015 19:36:04 +0000 (21:36 +0200)]
Do not flush indexes on stop (fixes #44).

8 years agoMerge branch 'stg-2.409' into stg-2.409-radius
Maxim Mamontov [Sun, 20 Dec 2015 17:26:36 +0000 (19:26 +0200)]
Merge branch 'stg-2.409' into stg-2.409-radius

8 years agoFixed editing tariffs.
Maxim Mamontov [Sun, 20 Dec 2015 17:25:55 +0000 (19:25 +0200)]
Fixed editing tariffs.

8 years ago"*" is also not a single IP.
Maxim Mamontov [Fri, 18 Dec 2015 21:49:51 +0000 (23:49 +0200)]
"*" is also not a single IP.

8 years agoMerge remote-tracking branch 'origin/ticket42' into stg-2.409
Maxim Mamontov [Mon, 14 Dec 2015 21:57:01 +0000 (23:57 +0200)]
Merge remote-tracking branch 'origin/ticket42' into stg-2.409

8 years agoMerge branch 'stg-2.409' into stg-2.409-radius
Maxim Mamontov [Wed, 9 Dec 2015 20:32:04 +0000 (22:32 +0200)]
Merge branch 'stg-2.409' into stg-2.409-radius

8 years agoAdded specialization of str2x for doubles.
Maxim Mamontov [Wed, 9 Dec 2015 20:21:45 +0000 (22:21 +0200)]
Added specialization of str2x for doubles.

8 years agoCorrect conversion of resetable structures.
Maxim Mamontov [Wed, 9 Dec 2015 20:21:07 +0000 (22:21 +0200)]
Correct conversion of resetable structures.

8 years agoAdded ability to optionally transfer resetable value to a real var.
Maxim Mamontov [Wed, 9 Dec 2015 20:19:52 +0000 (22:19 +0200)]
Added ability to optionally transfer resetable value to a real var.

8 years agoOptional authorization.
Maxim Mamontov [Wed, 9 Dec 2015 20:28:48 +0000 (22:28 +0200)]
Optional authorization.

8 years agoAdded specialization of str2x for doubles.
Maxim Mamontov [Wed, 9 Dec 2015 20:21:45 +0000 (22:21 +0200)]
Added specialization of str2x for doubles.

8 years agoCorrect conversion of resetable structures.
Maxim Mamontov [Wed, 9 Dec 2015 20:21:07 +0000 (22:21 +0200)]
Correct conversion of resetable structures.

8 years agoAdded ability to optionally transfer resetable value to a real var.
Maxim Mamontov [Wed, 9 Dec 2015 20:19:52 +0000 (22:19 +0200)]
Added ability to optionally transfer resetable value to a real var.

8 years agoTicket 42. 'DOTCONF++:' removed, 'file' changed to 'File' in the
Elena Mamontova [Thu, 3 Dec 2015 09:00:45 +0000 (11:00 +0200)]
Ticket 42. 'DOTCONF++:' removed, 'file' changed to 'File' in the
snprintf() third parameter in if(lineNum) construction of error() function. The third parameter
changed to "%s", fourth parameter removed in the if(realpath() == Null)
of setContent() function.

8 years agoMerge branch 'stg-2.409' into stg-2.409-radius
Maxim Mamontov [Sun, 25 Oct 2015 16:51:30 +0000 (18:51 +0200)]
Merge branch 'stg-2.409' into stg-2.409-radius

8 years agoAdded more tests for cryptography.
Maxim Mamontov [Sun, 25 Oct 2015 16:47:04 +0000 (18:47 +0200)]
Added more tests for cryptography.

8 years agoFixed parsers.
Maxim Mamontov [Sun, 25 Oct 2015 16:45:42 +0000 (18:45 +0200)]
Fixed parsers.

8 years agoFixed receiving partial streams.
Maxim Mamontov [Sun, 25 Oct 2015 16:45:19 +0000 (18:45 +0200)]
Fixed receiving partial streams.

8 years agoAdded protocol dumper.
Maxim Mamontov [Sun, 25 Oct 2015 16:44:26 +0000 (18:44 +0200)]
Added protocol dumper.

8 years agoSkip port number parsing when UNIX socket is specified.
Maxim Mamontov [Sun, 18 Oct 2015 15:05:41 +0000 (18:05 +0300)]
Skip port number parsing when UNIX socket is specified.

8 years agoMerge branch 'stg-2.409' into stg-2.409-radius
Maxim Mamontov [Sun, 18 Oct 2015 14:49:24 +0000 (17:49 +0300)]
Merge branch 'stg-2.409' into stg-2.409-radius

8 years agoFixed parsing parameters with empty values.
Maxim Mamontov [Sun, 18 Oct 2015 14:47:50 +0000 (17:47 +0300)]
Fixed parsing parameters with empty values.

8 years agoParse TCP port correctly.
Maxim Mamontov [Thu, 15 Oct 2015 14:47:26 +0000 (17:47 +0300)]
Parse TCP port correctly.

8 years agoCheck NULL value pairs.
Maxim Mamontov [Thu, 15 Oct 2015 14:47:04 +0000 (17:47 +0300)]
Check NULL value pairs.

8 years agoUse received return code on no-match in rlm_stg.
Maxim Mamontov [Wed, 7 Oct 2015 19:27:33 +0000 (22:27 +0300)]
Use received return code on no-match in rlm_stg.

8 years agoAdded no_match settings to the radius plugin.
Maxim Mamontov [Wed, 7 Oct 2015 19:26:46 +0000 (22:26 +0300)]
Added no_match settings to the radius plugin.

8 years agoApply owner/group/mode settings to a UNIX socket.
Maxim Mamontov [Tue, 22 Sep 2015 19:51:14 +0000 (22:51 +0300)]
Apply owner/group/mode settings to a UNIX socket.

8 years agoAdded functions to convert strings into uids/gids/modes.
Maxim Mamontov [Tue, 22 Sep 2015 19:50:38 +0000 (22:50 +0300)]
Added functions to convert strings into uids/gids/modes.

8 years agoFixed problem running plugin in non-debug mode.
Maxim Mamontov [Mon, 21 Sep 2015 19:05:55 +0000 (22:05 +0300)]
Fixed problem running plugin in non-debug mode.

8 years agoDeclare unary ctors explicit.
Maxim Mamontov [Mon, 21 Sep 2015 18:13:04 +0000 (21:13 +0300)]
Declare unary ctors explicit.

8 years agoFixed mutex locking.
Maxim Mamontov [Sat, 12 Sep 2015 12:14:09 +0000 (15:14 +0300)]
Fixed mutex locking.

8 years agoMoved all sync/async boundary code into the client.
Maxim Mamontov [Sat, 12 Sep 2015 11:32:32 +0000 (14:32 +0300)]
Moved all sync/async boundary code into the client.

8 years agoFixed const-related warning message.
Maxim Mamontov [Sat, 12 Sep 2015 11:32:10 +0000 (14:32 +0300)]
Fixed const-related warning message.

8 years agoAdded new files to build.
Maxim Mamontov [Sat, 12 Sep 2015 11:31:42 +0000 (14:31 +0300)]
Added new files to build.

8 years agoAllowed to pass mutex by reference into STG_LOCKER.
Maxim Mamontov [Sat, 12 Sep 2015 11:28:52 +0000 (14:28 +0300)]
Allowed to pass mutex by reference into STG_LOCKER.

8 years agoMoved connection-related functions into a separate file.
Maxim Mamontov [Sat, 12 Sep 2015 11:27:45 +0000 (14:27 +0300)]
Moved connection-related functions into a separate file.

8 years agoLimited waiting for response.
Maxim Mamontov [Sun, 6 Sep 2015 10:26:49 +0000 (13:26 +0300)]
Limited waiting for response.

8 years agoCatch proper exception.
Maxim Mamontov [Sun, 6 Sep 2015 10:26:28 +0000 (13:26 +0300)]
Catch proper exception.

8 years agoFixed crash on stopping mod_radius.
Maxim Mamontov [Sun, 6 Sep 2015 10:05:32 +0000 (13:05 +0300)]
Fixed crash on stopping mod_radius.

8 years agoImplemeted reconnect in rlm_stg when the connection is lost.
Maxim Mamontov [Sun, 6 Sep 2015 09:26:10 +0000 (12:26 +0300)]
Implemeted reconnect in rlm_stg when the connection is lost.

8 years agoAdded copyable reference wrapper.
Maxim Mamontov [Sat, 5 Sep 2015 12:32:52 +0000 (15:32 +0300)]
Added copyable reference wrapper.

8 years agorlm_stg is now "thread-unsafe".
Maxim Mamontov [Sat, 5 Sep 2015 12:32:26 +0000 (15:32 +0300)]
rlm_stg is now "thread-unsafe".

8 years agoUse separate config sections for each session stage.
Maxim Mamontov [Sat, 5 Sep 2015 12:24:52 +0000 (15:24 +0300)]
Use separate config sections for each session stage.

8 years agoClear completion flag before making request.
Maxim Mamontov [Sat, 5 Sep 2015 12:24:27 +0000 (15:24 +0300)]
Clear completion flag before making request.

8 years agoFree reply pair list before filling.
Maxim Mamontov [Sat, 5 Sep 2015 12:24:04 +0000 (15:24 +0300)]
Free reply pair list before filling.

8 years agoAllow to have multi-leveled module settings.
Maxim Mamontov [Sat, 5 Sep 2015 12:23:37 +0000 (15:23 +0300)]
Allow to have multi-leveled module settings.

8 years agoHandle EINTR in mod_radius correctly.
Maxim Mamontov [Mon, 31 Aug 2015 18:58:34 +0000 (21:58 +0300)]
Handle EINTR in mod_radius correctly.

8 years agoFixed config parser for mod_radius.
Maxim Mamontov [Mon, 31 Aug 2015 18:58:02 +0000 (21:58 +0300)]
Fixed config parser for mod_radius.

8 years agoImplemented aysnc parser in STG::Conn.
Maxim Mamontov [Mon, 31 Aug 2015 18:57:18 +0000 (21:57 +0300)]
Implemented aysnc parser in STG::Conn.

8 years agoImplemented async parser in rlm_stg.
Maxim Mamontov [Mon, 31 Aug 2015 18:56:45 +0000 (21:56 +0300)]
Implemented async parser in rlm_stg.

8 years agoFixed appending pairs in rlm_stg.
Maxim Mamontov [Mon, 31 Aug 2015 18:56:02 +0000 (21:56 +0300)]
Fixed appending pairs in rlm_stg.

8 years agoAdded logging for rlm_stg C-C++ interface.
Maxim Mamontov [Mon, 31 Aug 2015 18:54:20 +0000 (21:54 +0300)]
Added logging for rlm_stg C-C++ interface.

8 years agoFixed check for empty pair in rlm_stg.
Maxim Mamontov [Mon, 31 Aug 2015 18:53:28 +0000 (21:53 +0300)]
Fixed check for empty pair in rlm_stg.

8 years agoMinor fixes in JSON parser.
Maxim Mamontov [Mon, 31 Aug 2015 18:53:03 +0000 (21:53 +0300)]
Minor fixes in JSON parser.

8 years agoFixed build script for rlm_stg.
Maxim Mamontov [Mon, 31 Aug 2015 18:51:35 +0000 (21:51 +0300)]
Fixed build script for rlm_stg.

8 years agoAdded logger for rlm_stg.
Maxim Mamontov [Mon, 31 Aug 2015 18:51:10 +0000 (21:51 +0300)]
Added logger for rlm_stg.

8 years agoImplemented rlm_stg.
Maxim Mamontov [Mon, 24 Aug 2015 13:03:20 +0000 (16:03 +0300)]
Implemented rlm_stg.

8 years agoImplemented backend for rlm_stg.
Maxim Mamontov [Mon, 24 Aug 2015 13:02:51 +0000 (16:02 +0300)]
Implemented backend for rlm_stg.

8 years agoAdded checks for boost and yajl.
Maxim Mamontov [Mon, 24 Aug 2015 13:02:22 +0000 (16:02 +0300)]
Added checks for boost and yajl.

8 years agoRemoved sgcp, added json.
Maxim Mamontov [Mon, 24 Aug 2015 13:00:11 +0000 (16:00 +0300)]
Removed sgcp, added json.

8 years agoFixed Makefile.
Maxim Mamontov [Wed, 22 Jul 2015 18:14:45 +0000 (21:14 +0300)]
Fixed Makefile.

8 years agoFixed deps between conn and proto.
Maxim Mamontov [Wed, 22 Jul 2015 18:13:58 +0000 (21:13 +0300)]
Fixed deps between conn and proto.