]>
git.stg.codes - stg.git/log
Maxim Mamontov [Fri, 20 Jun 2014 22:11:48 +0000 (01:11 +0300)]
Optimized sending answers in sgconfig.
Conflicts:
projects/stargazer/plugins/configuration/sgconfig/parser.cpp
projects/stargazer/plugins/configuration/sgconfig/parser.h
projects/stargazer/plugins/configuration/sgconfig/parser_auth_by.cpp
projects/stargazer/plugins/configuration/sgconfig/parser_user_info.cpp
projects/stargazer/plugins/configuration/sgconfig/rsconf.cpp
Maxim Mamontov [Fri, 20 Jun 2014 22:11:25 +0000 (01:11 +0300)]
Added modification time for session traffic.
Maxim Mamontov [Fri, 20 Jun 2014 22:10:48 +0000 (01:10 +0300)]
Added const version of GetPointer.
Maxim Mamontov [Fri, 20 Jun 2014 22:10:21 +0000 (01:10 +0300)]
Added full string encryption.
Maxim Mamontov [Fri, 20 Jun 2014 18:38:52 +0000 (21:38 +0300)]
Minor changes.
Maxim Mamontov [Fri, 20 Jun 2014 18:33:20 +0000 (21:33 +0300)]
Removed unused variables.
Maxim Mamontov [Fri, 20 Jun 2014 18:19:16 +0000 (21:19 +0300)]
Rearranged some headers in sgconfig.
Conflicts:
projects/stargazer/plugins/configuration/sgconfig/configproto.cpp
projects/stargazer/plugins/configuration/sgconfig/configproto.h
projects/stargazer/plugins/configuration/sgconfig/rsconf.cpp
Maxim Mamontov [Mon, 9 Jun 2014 09:41:27 +0000 (12:41 +0300)]
Use unicode for messages. Convert before sending.
Maxim Mamontov [Mon, 9 Jun 2014 09:16:49 +0000 (12:16 +0300)]
Simplified STG_LOCKER.
Maxim Mamontov [Mon, 9 Jun 2014 08:17:33 +0000 (11:17 +0300)]
More fixes after cppcheck.
Maxim Mamontov [Sun, 8 Jun 2014 21:06:15 +0000 (00:06 +0300)]
Fixed compilation issue.
Conflicts:
projects/stargazer/build
Maxim Mamontov [Sun, 8 Jun 2014 20:56:46 +0000 (23:56 +0300)]
Another set of minor fixes.
Maxim Mamontov [Sun, 8 Jun 2014 20:39:27 +0000 (23:39 +0300)]
Lots of stylistic fixes.
Conflicts:
projects/stargazer/plugins/configuration/sgconfig/parser.h
stglibs/srvconf.lib/netunit.cpp
stglibs/srvconf.lib/parsers/get_tariff.cpp
Maxim Mamontov [Sun, 8 Jun 2014 20:35:43 +0000 (23:35 +0300)]
Removed obsolete stuff.
Maxim Mamontov [Sun, 8 Jun 2014 19:06:32 +0000 (22:06 +0300)]
Merge branch 'naffanya-dev'
Maxim Mamontov [Sun, 8 Jun 2014 10:57:57 +0000 (13:57 +0300)]
Fixed build.
Maxim Mamontov [Sun, 8 Jun 2014 10:37:50 +0000 (13:37 +0300)]
Added configuration checks.
Conflicts:
projects/stargazer/build
Maxim Mamontov [Sun, 8 Jun 2014 10:33:42 +0000 (13:33 +0300)]
Implemented NFQ capturing.
Maxim Mamontov [Sun, 8 Jun 2014 09:54:52 +0000 (12:54 +0300)]
Small fixes.
Conflicts:
projects/stargazer/plugins/capture/pcap/pcap_cap.cpp
Maxim Mamontov [Sun, 8 Jun 2014 09:46:20 +0000 (12:46 +0300)]
Initial adding of netfilter_queue capturer.
Maxim Mamontov [Thu, 29 May 2014 14:36:54 +0000 (17:36 +0300)]
Fixed x2str for doubles.
Maxim Mamontov [Thu, 29 May 2014 14:36:26 +0000 (17:36 +0300)]
Fixed Split.
Maxim Mamontov [Thu, 29 May 2014 10:20:51 +0000 (13:20 +0300)]
Added Split utility.
Maxim Mamontov [Thu, 29 May 2014 10:20:26 +0000 (13:20 +0300)]
Added Splice method for resetables.
Maxim Mamontov [Sun, 18 May 2014 20:30:57 +0000 (23:30 +0300)]
Support all next FreeBSD versions by default.
Maxim Mamontov [Tue, 25 Mar 2014 19:21:27 +0000 (21:21 +0200)]
Pass debug flags to CFLAGS.
Maxim Mamontov [Mon, 17 Mar 2014 19:19:46 +0000 (21:19 +0200)]
Fixed stupid things in MySQL backend.
Maxim Mamontov [Mon, 6 Jan 2014 19:18:55 +0000 (21:18 +0200)]
Fixed merge issues.
Maxim Mamontov [Mon, 6 Jan 2014 15:51:09 +0000 (17:51 +0200)]
Merge branch 'new-daily-fee'
Conflicts:
include/stg/tariff_conf.h
projects/stargazer/plugins/store/firebird/Makefile
projects/stargazer/plugins/store/firebird/firebird_store.cpp
projects/stargazer/plugins/store/firebird/firebird_store.h
projects/stargazer/plugins/store/mysql/Makefile
projects/stargazer/plugins/store/mysql/mysql_store.cpp
projects/stargazer/plugins/store/mysql/mysql_store.h
projects/stargazer/plugins/store/postgresql/Makefile
projects/stargazer/plugins/store/postgresql/postgresql_store.cpp
projects/stargazer/plugins/store/postgresql/postgresql_store.h
projects/stargazer/plugins/store/postgresql/postgresql_store_tariffs.cpp
Maxim Mamontov [Thu, 14 Nov 2013 20:01:45 +0000 (22:01 +0200)]
Merge branch 'log-unauth-reasons'
Conflicts:
projects/stargazer/user_impl.cpp
Maxim Mamontov [Sat, 9 Nov 2013 13:40:24 +0000 (15:40 +0200)]
Removed some conflicting macros.
Maxim Mamontov [Sat, 9 Nov 2013 12:25:17 +0000 (14:25 +0200)]
Merge branch 'fix-gts-auth-errors'
Maxim Mamontov [Sun, 20 Oct 2013 08:44:41 +0000 (11:44 +0300)]
Added x2str for double type.
Maxim Mamontov [Tue, 8 Oct 2013 16:14:50 +0000 (19:14 +0300)]
USER_STAT refactoring.
Maxim Mamontov [Tue, 8 Oct 2013 16:01:48 +0000 (19:01 +0300)]
Changed USER_STAT_RES.
Maxim Mamontov [Tue, 8 Oct 2013 15:51:17 +0000 (18:51 +0300)]
Pre-allocate DIR_TRAFF container with DIR_NUM items.
Maxim Mamontov [Tue, 8 Oct 2013 15:19:42 +0000 (18:19 +0300)]
Added DIR_TRAFF_RES, refactored DIR_TRAFF.
Maxim Mamontov [Mon, 7 Oct 2013 21:28:02 +0000 (00:28 +0300)]
Return value from assignment operator.
Conflicts:
include/stg/admin_conf.h
Maxim Mamontov [Mon, 7 Oct 2013 20:36:59 +0000 (23:36 +0300)]
Use ::tolower from cctype in std::transform.
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
Maxim Mamontov [Mon, 7 Oct 2013 20:25:25 +0000 (23:25 +0300)]
Small refactoring in RESETABLE.
Maxim Mamontov [Fri, 23 Aug 2013 18:59:58 +0000 (21:59 +0300)]
Merge branch 'naffanya-dev'
Maxim Mamontov [Mon, 5 Aug 2013 17:45:43 +0000 (20:45 +0300)]
Re-organized includes.
Maxim Mamontov [Mon, 5 Aug 2013 17:27:29 +0000 (20:27 +0300)]
Added unary versions of x2str ans unsigned2str.
Maxim Mamontov [Mon, 5 Aug 2013 17:27:08 +0000 (20:27 +0300)]
Added const user accessors.
Maxim Mamontov [Mon, 5 Aug 2013 16:56:57 +0000 (19:56 +0300)]
Added last disconnect reason and last authorization time.
Maxim Mamontov [Fri, 2 Aug 2013 19:23:11 +0000 (22:23 +0300)]
Additional logging and small fixes.
Maxim Mamontov [Fri, 2 Aug 2013 19:09:39 +0000 (22:09 +0300)]
Log all SIGHUP-related activity.
Maxim Mamontov [Thu, 1 Aug 2013 10:24:39 +0000 (13:24 +0300)]
Fixed stupid bugs in BPF capturer.
Maxim Mamontov [Thu, 1 Aug 2013 10:24:21 +0000 (13:24 +0300)]
Allow to build sgconf on Darwin.
Maxim Mamontov [Sun, 28 Jul 2013 12:32:47 +0000 (15:32 +0300)]
Allow to assign 0.0.0.0 to multiple users.
Maxim Mamontov [Sat, 27 Jul 2013 17:04:03 +0000 (20:04 +0300)]
Added missing files.
Maxim Mamontov [Fri, 26 Jul 2013 18:30:28 +0000 (21:30 +0300)]
Minor fix.
Maxim Mamontov [Fri, 26 Jul 2013 18:29:41 +0000 (21:29 +0300)]
Adjusted XML RPC documentation.
Maxim Mamontov [Fri, 26 Jul 2013 18:22:09 +0000 (21:22 +0300)]
Added XML RPC method for getting user's authorizers.
Maxim Mamontov [Fri, 26 Jul 2013 17:54:38 +0000 (20:54 +0300)]
Small fix.
Maxim Mamontov [Fri, 26 Jul 2013 17:39:19 +0000 (20:39 +0300)]
Debug.
Maxim Mamontov [Fri, 26 Jul 2013 17:32:12 +0000 (20:32 +0300)]
Added forgotten 'break'.
Maxim Mamontov [Fri, 26 Jul 2013 17:25:54 +0000 (20:25 +0300)]
Added ability to list authorizers for 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.
Maxim Mamontov [Fri, 26 Jul 2013 16:24:10 +0000 (19:24 +0300)]
Check that IP is not in use before changing.
System Administrator [Sat, 6 Jul 2013 13:50:36 +0000 (16:50 +0300)]
Added support of Darwin platform.
System Administrator [Sat, 6 Jul 2013 13:48:12 +0000 (16:48 +0300)]
Fixed stupid errors in cap_bpf.
Maxim Mamontov [Wed, 20 Feb 2013 20:00:40 +0000 (22:00 +0200)]
AO: don't unauthorize user that was not authorized by us.
Maxim Mamontov [Tue, 5 Feb 2013 21:12:46 +0000 (23:12 +0200)]
Possibly fixed mod_cap_ipq compilation.
Maxim Mamontov [Tue, 5 Feb 2013 19:22:21 +0000 (21:22 +0200)]
Added separate touch time for traffcounter packet processor.
Maxim Mamontov [Tue, 5 Feb 2013 19:14:48 +0000 (21:14 +0200)]
Added missing include.
Maxim Mamontov [Tue, 5 Feb 2013 19:14:35 +0000 (21:14 +0200)]
Removed merge artifacts.
Maxim Mamontov [Tue, 5 Feb 2013 19:10:43 +0000 (21:10 +0200)]
Added missing method.
Maxim Mamontov [Tue, 5 Feb 2013 19:02:01 +0000 (21:02 +0200)]
Massive refactoring.
Maxim Mamontov [Mon, 28 Jan 2013 18:33:26 +0000 (20:33 +0200)]
Allowed to use dot in entity name.
Maxim Mamontov [Sat, 19 Jan 2013 08:50:21 +0000 (10:50 +0200)]
Fixed else/enif order.
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.
Maxim Mamontov [Thu, 17 Jan 2013 18:58:37 +0000 (20:58 +0200)]
Fixed rlm_stg removing broken by previous patch.
Maxim Mamontov [Thu, 17 Jan 2013 07:30:55 +0000 (09:30 +0200)]
Patch from SpiderX <spiderx@spiderx.dp.ua> - path to FreeRADIUS plugins.
Maxim Mamontov [Wed, 16 Jan 2013 18:25:08 +0000 (20:25 +0200)]
Removed artefact from previous patch.
Maxim Mamontov [Tue, 15 Jan 2013 20:13:15 +0000 (22:13 +0200)]
Patch from SpiderX <spiderx@spiderx.dp.ua> - build in debug mode.
Maxim Mamontov [Tue, 15 Jan 2013 19:58:14 +0000 (21:58 +0200)]
Allowed to bind for a particular address/hostname for sgauth.
Maxim Mamontov [Mon, 14 Jan 2013 20:04:57 +0000 (22:04 +0200)]
Cosmetic changes.
Maxim Mamontov [Mon, 14 Jan 2013 20:02:22 +0000 (22:02 +0200)]
Fixed parameters style in sgconv.conf.
Maxim Mamontov [Mon, 14 Jan 2013 19:55:54 +0000 (21:55 +0200)]
convertor.conf -> sgconv.conf
Maxim Mamontov [Mon, 14 Jan 2013 19:29:36 +0000 (21:29 +0200)]
Patch from SpiderX <spiderx@spiderx.dp.ua> - convertor -> sgconv
Maxim Mamontov [Mon, 14 Jan 2013 19:28:21 +0000 (21:28 +0200)]
Slightly changed patch from SpiderX <spiderx@spiderx.dp.ua> - sgauth.conf
Maxim Mamontov [Mon, 14 Jan 2013 19:20:12 +0000 (21:20 +0200)]
+tch from SpiderX <spiderx@spiderx.dp.ua> - rscriptd.conf
Maxim Mamontov [Mon, 14 Jan 2013 19:14:21 +0000 (21:14 +0200)]
Patch from SpiderX <spiderx@spiderx.dp.ua> - scripts.
Maxim Mamontov [Mon, 14 Jan 2013 19:01:32 +0000 (21:01 +0200)]
Convertor project is renamed to "sgconv".
Maxim Mamontov [Sat, 12 Jan 2013 11:43:13 +0000 (13:43 +0200)]
Fixed installation path for rlm_stg project.
Maxim Mamontov [Fri, 11 Jan 2013 19:51:17 +0000 (21:51 +0200)]
Unified build scripts.
Maxim Mamontov [Fri, 11 Jan 2013 19:46:06 +0000 (21:46 +0200)]
Fixed installation.
Maxim Mamontov [Fri, 11 Jan 2013 18:40:33 +0000 (20:40 +0200)]
Fixes in configuration files.
Maxim Mamontov [Fri, 4 Jan 2013 19:05:36 +0000 (21:05 +0200)]
Fixed linking with libfbclient.
Maxim Mamontov [Tue, 1 Jan 2013 16:05:51 +0000 (18:05 +0200)]
Code cleanup.
Maxim Mamontov [Tue, 11 Dec 2012 20:14:50 +0000 (22:14 +0200)]
Modiifed Gentoo init.d-script according to latest rules.
Maxim Mamontov [Sun, 2 Dec 2012 15:57:49 +0000 (17:57 +0200)]
Version bump.
Maxim Mamontov [Sun, 2 Dec 2012 15:32:42 +0000 (17:32 +0200)]
Added SMUX reconnect. Fixes #18.
Maxim Mamontov [Sun, 2 Dec 2012 14:55:06 +0000 (16:55 +0200)]
Lot of debug output for rscriptd.
Maxim Mamontov [Sun, 2 Dec 2012 14:51:43 +0000 (16:51 +0200)]
Removed redundand code. Fixes #24.
Maxim Mamontov [Sun, 2 Dec 2012 14:50:41 +0000 (16:50 +0200)]
Fixed problems with connect/disconnect notification.
Maxim Mamontov [Sat, 1 Dec 2012 19:08:24 +0000 (21:08 +0200)]
Use "connected" subscription for detecting connection and disconnection.
Maxim Mamontov [Sat, 1 Dec 2012 19:07:57 +0000 (21:07 +0200)]
Use namespace instead of prefix.