]> git.stg.codes - stg.git/log
stg.git
9 years agoTicket 12. The 'StopOnError' parameter added.
Elena Mamontova [Thu, 5 Nov 2015 15:36:00 +0000 (17:36 +0200)]
Ticket 12. The 'StopOnError' parameter added.

9 years agoTicket 12. The 'StopOnError' parameter added.
Elena Mamontova [Thu, 5 Nov 2015 15:34:20 +0000 (17:34 +0200)]
Ticket 12. The 'StopOnError' parameter added.

9 years agoTicket 12. In the ReadUsers() method: the error variable added; return -1 removed
Elena Mamontova [Wed, 4 Nov 2015 15:53:33 +0000 (17:53 +0200)]
Ticket 12. In the ReadUsers() method: the error variable added; return -1 removed
and error++ added after the ReadConf() and ReadStat() check; the error check
and return -1 after the checking added.

9 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

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

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

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

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

9 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.

9 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

9 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.

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

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

9 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.

9 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.

9 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.

9 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.

9 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.

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

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

9 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.

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

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

9 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.

9 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.

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

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

9 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.

9 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.

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

9 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".

9 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.

9 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.

9 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.

9 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.

9 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.

9 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.

9 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.

9 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.

9 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.

9 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.

9 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.

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

9 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.

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

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

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

9 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.

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

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

9 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.

9 years agoRemoved more unused stuff.
Maxim Mamontov [Wed, 22 Jul 2015 18:10:04 +0000 (21:10 +0300)]
Removed more unused stuff.

9 years agoRemoved some unused includes.
Maxim Mamontov [Wed, 22 Jul 2015 18:06:35 +0000 (21:06 +0300)]
Removed some unused includes.

9 years agoReduced public interface.
Maxim Mamontov [Wed, 22 Jul 2015 18:02:01 +0000 (21:02 +0300)]
Reduced public interface.

9 years agoExperimental implementation of SGCP using Boost.Asio.
Maxim Mamontov [Wed, 22 Jul 2015 18:00:10 +0000 (21:00 +0300)]
Experimental implementation of SGCP using Boost.Asio.

9 years agoRemoved some old experimental things.
Maxim Mamontov [Wed, 22 Jul 2015 17:57:41 +0000 (20:57 +0300)]
Removed some old experimental things.

9 years agoMerge branch 'stg-2.409' into stg-2.409-radius
Maxim Mamontov [Sat, 20 Jun 2015 09:32:23 +0000 (12:32 +0300)]
Merge branch 'stg-2.409' into stg-2.409-radius

9 years agoAnother iconv...
Maxim Mamontov [Mon, 1 Jun 2015 20:11:50 +0000 (23:11 +0300)]
Another iconv...

9 years agoFixed hardcoded iconv in sgconf.
Maxim Mamontov [Mon, 1 Jun 2015 20:01:09 +0000 (23:01 +0300)]
Fixed hardcoded iconv in sgconf.

9 years agoDon't compile c-file s with cxx-compiler. Clang doesn't like it.
Maxim Mamontov [Mon, 1 Jun 2015 19:04:47 +0000 (22:04 +0300)]
Don't compile c-file s with cxx-compiler. Clang doesn't like it.

9 years agoFixed iconv linkage.
Maxim Mamontov [Mon, 11 May 2015 17:41:04 +0000 (20:41 +0300)]
Fixed iconv linkage.

9 years agoAdded "smart" iconv 2nd arg const-ness detection.
Maxim Mamontov [Mon, 11 May 2015 17:04:06 +0000 (20:04 +0300)]
Added "smart" iconv 2nd arg const-ness detection.

9 years agoIntroduced SGCP library.
Maxim Mamontov [Mon, 11 May 2015 16:25:41 +0000 (19:25 +0300)]
Introduced SGCP library.

9 years agoIntroduced new mod_radius.
Maxim Mamontov [Mon, 11 May 2015 16:22:15 +0000 (19:22 +0300)]
Introduced new mod_radius.

9 years agoFinal icing on rlm_stg.
Maxim Mamontov [Tue, 14 Apr 2015 19:18:01 +0000 (22:18 +0300)]
Final icing on rlm_stg.

9 years agoAdded blockio library.
Maxim Mamontov [Wed, 8 Apr 2015 19:47:33 +0000 (22:47 +0300)]
Added blockio library.

9 years agoSome fixes in C-C++ bridge in rlm_stg.
Maxim Mamontov [Sun, 5 Apr 2015 11:05:28 +0000 (14:05 +0300)]
Some fixes in C-C++ bridge in rlm_stg.

9 years agoMoved sgconf* back to /usr/sbin for backward compatibility.
Maxim Mamontov [Tue, 31 Mar 2015 05:51:20 +0000 (08:51 +0300)]
Moved sgconf* back to /usr/sbin for backward compatibility.

9 years agoSyntactic fixes.
Maxim Mamontov [Mon, 16 Mar 2015 20:49:24 +0000 (22:49 +0200)]
Syntactic fixes.

9 years agoAnother bunch of fixes related to BSD-like install.
Maxim Mamontov [Mon, 16 Mar 2015 20:43:56 +0000 (22:43 +0200)]
Another bunch of fixes related to BSD-like install.

9 years agoFixes due to stupid behaviour of BSD-like install.
Maxim Mamontov [Mon, 16 Mar 2015 20:38:00 +0000 (22:38 +0200)]
Fixes due to stupid behaviour of BSD-like install.

9 years agoeq/neq fixes.
Maxim Mamontov [Mon, 16 Mar 2015 20:15:20 +0000 (22:15 +0200)]
eq/neq fixes.

9 years agoFixed installation on BSD-systems.
Maxim Mamontov [Mon, 16 Mar 2015 20:06:04 +0000 (22:06 +0200)]
Fixed installation on BSD-systems.

9 years agoAnother small fix in build script.
Maxim Mamontov [Sun, 1 Feb 2015 18:10:49 +0000 (20:10 +0200)]
Another small fix in build script.

9 years agoAnother small fix in a build script.
Maxim Mamontov [Sun, 1 Feb 2015 15:39:35 +0000 (17:39 +0200)]
Another small fix in a build script.

9 years agoFixes in dealing with external libs.
Maxim Mamontov [Sun, 1 Feb 2015 15:34:27 +0000 (17:34 +0200)]
Fixes in dealing with external libs.

9 years agoBackported some changes from 2.5.
Maxim Mamontov [Sat, 31 Jan 2015 18:28:14 +0000 (20:28 +0200)]
Backported some changes from 2.5.

9 years agoFixed compiler complaints.
Maxim Mamontov [Sat, 31 Jan 2015 18:15:48 +0000 (20:15 +0200)]
Fixed compiler complaints.

9 years agoFixed tests.
Maxim Mamontov [Sat, 31 Jan 2015 16:36:56 +0000 (18:36 +0200)]
Fixed tests.

9 years agoIgnore sgconf_xml.
Maxim Mamontov [Sat, 31 Jan 2015 15:30:32 +0000 (17:30 +0200)]
Ignore sgconf_xml.

9 years agoCorrected upload/download mess.
Maxim Mamontov [Sat, 31 Jan 2015 15:27:53 +0000 (17:27 +0200)]
Corrected upload/download mess.

9 years agoUserdata can also contain cyrilic symbols.
Maxim Mamontov [Sat, 31 Jan 2015 15:26:49 +0000 (17:26 +0200)]
Userdata can also contain cyrilic symbols.

9 years agoAdded necessary headers in netlink/nfq checks.
Maxim Mamontov [Sun, 25 Jan 2015 18:23:17 +0000 (20:23 +0200)]
Added necessary headers in netlink/nfq checks.

9 years agoHandle cash changes properly.
Maxim Mamontov [Sun, 25 Jan 2015 18:22:19 +0000 (20:22 +0200)]
Handle cash changes properly.

9 years agoAdded some handy funcs to work with IBPP statements.
Maxim Mamontov [Sun, 25 Jan 2015 18:21:16 +0000 (20:21 +0200)]
Added some handy funcs to work with IBPP statements.

9 years agoEncrypt including the last \0.
Maxim Mamontov [Sun, 25 Jan 2015 18:20:15 +0000 (20:20 +0200)]
Encrypt including the last \0.

9 years agoAdded SERVCONF dtor.
Maxim Mamontov [Sun, 25 Jan 2015 18:07:03 +0000 (20:07 +0200)]
Added SERVCONF dtor.

9 years agoFixed unary x2str.
Maxim Mamontov [Sun, 25 Jan 2015 18:06:12 +0000 (20:06 +0200)]
Fixed unary x2str.

9 years agoPhone number may contain cyrilic characters. Added conversion.
Maxim Mamontov [Sun, 25 Jan 2015 18:05:15 +0000 (20:05 +0200)]
Phone number may contain cyrilic characters. Added conversion.

9 years agoAdded default constructor for resetable USER_CONF.
Maxim Mamontov [Sun, 25 Jan 2015 18:04:10 +0000 (20:04 +0200)]
Added default constructor for resetable USER_CONF.

9 years agoAdded in-to-traff-type conversion.
Maxim Mamontov [Sun, 25 Jan 2015 18:03:33 +0000 (20:03 +0200)]
Added in-to-traff-type conversion.

9 years agoAllowed to build sgconf_xml on Darwin.
Maxim Mamontov [Sun, 18 Jan 2015 20:48:14 +0000 (22:48 +0200)]
Allowed to build sgconf_xml on Darwin.

9 years agoImproved release version checking.
Maxim Mamontov [Sun, 18 Jan 2015 20:38:55 +0000 (22:38 +0200)]
Improved release version checking.

9 years agoSome fixes in build scripts.
Maxim Mamontov [Sun, 18 Jan 2015 20:18:04 +0000 (22:18 +0200)]
Some fixes in build scripts.

9 years agoRemoved unused class fields.
Maxim Mamontov [Sun, 18 Jan 2015 18:33:50 +0000 (20:33 +0200)]
Removed unused class fields.

9 years agoFixed compilation of sgconf_xml.
Maxim Mamontov [Sun, 18 Jan 2015 18:12:00 +0000 (20:12 +0200)]
Fixed compilation of sgconf_xml.

9 years agoReplaced some .data() with .const_data().
Maxim Mamontov [Sun, 18 Jan 2015 18:08:56 +0000 (20:08 +0200)]
Replaced some .data() with .const_data().

9 years agoFixed compilation of sgconf.
Maxim Mamontov [Sun, 18 Jan 2015 18:01:57 +0000 (20:01 +0200)]
Fixed compilation of sgconf.

9 years agoFixed compilation of srvconf lib.
Maxim Mamontov [Sun, 18 Jan 2015 18:01:15 +0000 (20:01 +0200)]
Fixed compilation of srvconf lib.

9 years agoRemoved some unused stuff from netunit.cpp.
Maxim Mamontov [Sun, 18 Jan 2015 17:40:38 +0000 (19:40 +0200)]
Removed some unused stuff from netunit.cpp.