]> git.stg.codes - stg.git/log
stg.git
11 years ago[NY] Made NETUNIT private.
Maxim Mamontov [Sun, 15 Sep 2013 02:08:32 +0000 (05:08 +0300)]
[NY] Made NETUNIT private.

11 years ago[NY] Implemented SERVCONF using PIMPL.
Maxim Mamontov [Sun, 15 Sep 2013 02:05:04 +0000 (05:05 +0300)]
[NY] Implemented SERVCONF using PIMPL.

11 years ago[NY] Removed more garbage.
Maxim Mamontov [Sun, 15 Sep 2013 01:35:14 +0000 (04:35 +0300)]
[NY] Removed more garbage.

11 years ago[NY] Removed garbage.
Maxim Mamontov [Sun, 15 Sep 2013 01:33:25 +0000 (04:33 +0300)]
[NY] Removed garbage.

11 years ago[NY] Code deduplication.
Maxim Mamontov [Sun, 15 Sep 2013 01:30:53 +0000 (04:30 +0300)]
[NY] Code deduplication.

11 years ago[NY] Simplified SERVCONF interface.
Maxim Mamontov [Sun, 15 Sep 2013 01:27:32 +0000 (04:27 +0300)]
[NY] Simplified SERVCONF interface.

11 years agooptimization method USER_IMPL::GetParamValue
Naffanya [Sat, 14 Sep 2013 23:37:21 +0000 (02:37 +0300)]
optimization method USER_IMPL::GetParamValue

11 years ago[NY Flight] Improvements in parser dispatching.
Maxim Mamontov [Fri, 6 Sep 2013 17:55:55 +0000 (20:55 +0300)]
[NY Flight] Improvements in parser dispatching.

11 years ago[NY Flight] Improved XML parsing.
Maxim Mamontov [Fri, 6 Sep 2013 17:41:27 +0000 (20:41 +0300)]
[NY Flight] Improved XML parsing.

11 years ago[NY Flight] Improved socket reading for sgconf.
Maxim Mamontov [Fri, 6 Sep 2013 16:57:05 +0000 (19:57 +0300)]
[NY Flight] Improved socket reading for sgconf.

11 years ago[NY Flight] Use common encryption/decryption functions.
Maxim Mamontov [Fri, 6 Sep 2013 16:42:47 +0000 (19:42 +0300)]
[NY Flight] Use common encryption/decryption functions.

11 years ago[NY Flight] One time protocol initialization.
Maxim Mamontov [Fri, 6 Sep 2013 16:31:52 +0000 (19:31 +0300)]
[NY Flight] One time protocol initialization.

11 years agoFixed "always online" parameter.
Maxim Mamontov [Fri, 23 Aug 2013 19:19:51 +0000 (22:19 +0300)]
Fixed "always online" parameter.

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

11 years agoRemoved some unused stuff.
Maxim Mamontov [Fri, 23 Aug 2013 16:13:05 +0000 (19:13 +0300)]
Removed some unused stuff.

11 years agoImproved handling errors got from server.
Maxim Mamontov [Fri, 23 Aug 2013 15:59:53 +0000 (18:59 +0300)]
Improved handling errors got from server.

11 years agoAdded result on success for GetAuthBy.
Maxim Mamontov [Fri, 23 Aug 2013 15:59:29 +0000 (18:59 +0300)]
Added result on success for GetAuthBy.

11 years agoFixed response for GetAuthBy on error.
Maxim Mamontov [Fri, 23 Aug 2013 15:58:13 +0000 (18:58 +0300)]
Fixed response for GetAuthBy on error.

11 years agoAdded result and reason attributes for <user>.
Maxim Mamontov [Fri, 23 Aug 2013 15:57:37 +0000 (18:57 +0300)]
Added result and reason attributes for <user>.

11 years agoDelete debug output scriptParams
Naffanya [Fri, 23 Aug 2013 12:06:09 +0000 (15:06 +0300)]
Delete debug output scriptParams

11 years agoBetter handling of errors from server. Refactoring.
Maxim Mamontov [Mon, 19 Aug 2013 05:57:38 +0000 (08:57 +0300)]
Better handling of errors from server. Refactoring.

11 years agoCorrecting return in method GetParamValue and cycle in methods OnConnect and OnDisconnect
Naffanya [Sun, 18 Aug 2013 20:22:13 +0000 (23:22 +0300)]
Correcting return in method GetParamValue and cycle in methods OnConnect and OnDisconnect

11 years agoFixed error handling in SetUser.
Maxim Mamontov [Sun, 18 Aug 2013 10:16:42 +0000 (13:16 +0300)]
Fixed error handling in SetUser.

11 years agoMinor changes.
Maxim Mamontov [Sun, 18 Aug 2013 09:56:51 +0000 (12:56 +0300)]
Minor changes.

11 years agoRemoved unused parser.cpp.
Maxim Mamontov [Sun, 18 Aug 2013 09:46:39 +0000 (12:46 +0300)]
Removed unused parser.cpp.

11 years agoSend message parser was moved to a separate files.
Maxim Mamontov [Sun, 18 Aug 2013 09:45:56 +0000 (12:45 +0300)]
Send message parser was moved to a separate files.

11 years agoFixed compilation issues.
Maxim Mamontov [Sat, 10 Aug 2013 20:35:00 +0000 (23:35 +0300)]
Fixed compilation issues.

11 years agoAdded setter.
Maxim Mamontov [Sat, 10 Aug 2013 19:56:09 +0000 (22:56 +0300)]
Added setter.

11 years agoRemoved "stg" prefix from inclusion of parser.h
Maxim Mamontov [Sat, 10 Aug 2013 19:55:38 +0000 (22:55 +0300)]
Removed "stg" prefix from inclusion of parser.h

11 years agoAdded license header.
Maxim Mamontov [Sat, 10 Aug 2013 19:55:25 +0000 (22:55 +0300)]
Added license header.

11 years agoMade getters work.
Maxim Mamontov [Sat, 10 Aug 2013 15:57:29 +0000 (18:57 +0300)]
Made getters work.

11 years agoFixed stupid bug in case conversion functions.
Maxim Mamontov [Sat, 10 Aug 2013 15:54:50 +0000 (18:54 +0300)]
Fixed stupid bug in case conversion functions.

11 years agoDifferent small fixes plus error logging.
Maxim Mamontov [Sat, 10 Aug 2013 07:51:39 +0000 (10:51 +0300)]
Different small fixes plus error logging.

11 years agoRenamed a variable.
Maxim Mamontov [Sat, 10 Aug 2013 07:04:49 +0000 (10:04 +0300)]
Renamed a variable.

11 years agoCosmetic changes.
Maxim Mamontov [Sat, 10 Aug 2013 07:03:42 +0000 (10:03 +0300)]
Cosmetic changes.

11 years agoFoxed compilation errors.
Maxim Mamontov [Fri, 9 Aug 2013 18:04:49 +0000 (21:04 +0300)]
Foxed compilation errors.

11 years agoSmall name fixes.
Maxim Mamontov [Thu, 8 Aug 2013 15:01:46 +0000 (18:01 +0300)]
Small name fixes.

11 years agoMany changes related to getting user information via sgconf.
Maxim Mamontov [Thu, 8 Aug 2013 14:56:57 +0000 (17:56 +0300)]
Many changes related to getting user information via sgconf.

11 years agoSmall fixes.
Maxim Mamontov [Thu, 8 Aug 2013 09:03:30 +0000 (12:03 +0300)]
Small fixes.

11 years agoAdded missing semicolon.
Maxim Mamontov [Thu, 8 Aug 2013 08:35:34 +0000 (11:35 +0300)]
Added missing semicolon.

11 years agoAdded missing includes.
Maxim Mamontov [Thu, 8 Aug 2013 08:34:59 +0000 (11:34 +0300)]
Added missing includes.

11 years agoFactored out users' parser.
Maxim Mamontov [Thu, 8 Aug 2013 08:28:49 +0000 (11:28 +0300)]
Factored out users' parser.

11 years agoFactored out user's parser.
Maxim Mamontov [Thu, 8 Aug 2013 06:04:05 +0000 (09:04 +0300)]
Factored out user's parser.

11 years agosrvconf refactoring: auth_by, server_info and check_user.
Maxim Mamontov [Mon, 5 Aug 2013 19:22:45 +0000 (22:22 +0300)]
srvconf refactoring: auth_by, server_info and check_user.

11 years agoConfiguration library refactoring (AUTH_BY)
Maxim Mamontov [Mon, 5 Aug 2013 18:24:16 +0000 (21:24 +0300)]
Configuration library refactoring (AUTH_BY)

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

11 years agoSome refactoring.
Maxim Mamontov [Mon, 5 Aug 2013 17:41:55 +0000 (20:41 +0300)]
Some refactoring.

11 years agoAdded GetUserInfo parser.
Maxim Mamontov [Mon, 5 Aug 2013 17:28:05 +0000 (20:28 +0300)]
Added GetUserInfo parser.

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 agoCorrection of adding parameters' values in methods USER_IMPL::Connect, USER_IMPL...
Naffanya [Mon, 29 Jul 2013 22:25:33 +0000 (01:25 +0300)]
Correction of adding parameters' values in methods USER_IMPL::Connect, USER_IMPL::Disconnect

11 years agoCorrection of adding parameters' values in methods USER_IMPL::Connect, USER_IMPL...
Naffanya [Mon, 29 Jul 2013 12:56:23 +0000 (15:56 +0300)]
Correction of adding parameters' values in methods USER_IMPL::Connect, USER_IMPL::Disconnect

11 years agoReduction in code in method GetParamValue, correcting methods USER_IMPL::Disconnect...
Naffanya [Sun, 28 Jul 2013 20:00:33 +0000 (23:00 +0300)]
Reduction in code in method GetParamValue, correcting methods USER_IMPL::Disconnect, USER_IMPL::Connect, USER_PROPERTY::ToString

11 years agoCorrecting data conversion in GetParamValue
Naffanya [Sun, 28 Jul 2013 18:10:38 +0000 (21:10 +0300)]
Correcting data conversion in GetParamValue

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 agoMethod GetParamValue and correction method Connect(user_imp)
Naffanya [Wed, 24 Jul 2013 22:17:39 +0000 (01:17 +0300)]
Method GetParamValue and correction method Connect(user_imp)

11 years agoMethod GetParamValue
Naffanya [Sun, 14 Jul 2013 18:50:14 +0000 (21:50 +0300)]
Method GetParamValue

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 agocode correction: removal spaces
Naffanya [Fri, 28 Jun 2013 21:47:06 +0000 (00:47 +0300)]
code correction: removal spaces

11 years agocode correction: removal spaces
Naffanya [Wed, 12 Jun 2013 11:03:52 +0000 (14:03 +0300)]
code correction: removal spaces

11 years agoCorrecting code
Naffanya [Mon, 27 May 2013 16:52:49 +0000 (19:52 +0300)]
Correcting code

11 years agoFirst stage of ticket 10
Naffanya [Fri, 24 May 2013 23:18:54 +0000 (02:18 +0300)]
First stage of ticket 10

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.