]> git.stg.codes - stg.git/log
stg.git
13 years agoDefine ConstSensor::ToString only in debug build
Maxim Mamontov [Sat, 3 Sep 2011 06:36:08 +0000 (09:36 +0300)]
Define ConstSensor::ToString only in debug build

13 years agoProduce debug output only if SMUX_DEBUG is defined 2.408-alpha
Maxim Mamontov [Thu, 1 Sep 2011 14:16:37 +0000 (17:16 +0300)]
Produce debug output only if SMUX_DEBUG is defined

13 years agoMove tariffUsers from users section to tariffs.tariffUsage and fix
Maxim Mamontov [Thu, 1 Sep 2011 13:52:00 +0000 (16:52 +0300)]
Move tariffUsers from users section to tariffs.tariffUsage and fix
lintian errors

13 years agoFix tariff and user subscription in SMUX
Maxim Mamontov [Thu, 1 Sep 2011 13:29:44 +0000 (16:29 +0300)]
Fix tariff and user subscription in SMUX

13 years agoIgnore deleted users while building new tariffs table
Maxim Mamontov [Thu, 1 Sep 2011 13:29:04 +0000 (16:29 +0300)]
Ignore deleted users while building new tariffs table

13 years agoAdd subscription for add/del tariffs
Maxim Mamontov [Thu, 1 Sep 2011 13:27:24 +0000 (16:27 +0300)]
Add subscription for add/del tariffs

13 years agoSet "deleted" flag for user before executing notifiers
Maxim Mamontov [Thu, 1 Sep 2011 13:26:35 +0000 (16:26 +0300)]
Set "deleted" flag for user before executing notifiers

13 years agoMake tariff table based on tariff list
Maxim Mamontov [Thu, 1 Sep 2011 10:59:54 +0000 (13:59 +0300)]
Make tariff table based on tariff list

13 years agoAdd assertions on OpenSearch result
Maxim Mamontov [Thu, 1 Sep 2011 10:58:54 +0000 (13:58 +0300)]
Add assertions on OpenSearch result

13 years agoAdd tables update on user add and del
Maxim Mamontov [Thu, 1 Sep 2011 10:58:23 +0000 (13:58 +0300)]
Add tables update on user add and del

13 years agoAdd assertions on OpenSearch results
Maxim Mamontov [Thu, 1 Sep 2011 10:57:52 +0000 (13:57 +0300)]
Add assertions on OpenSearch results

13 years agoShut up compiler about printing size_t variable
Maxim Mamontov [Thu, 1 Sep 2011 10:16:35 +0000 (13:16 +0300)]
Shut up compiler about printing size_t variable

13 years agoPrevent memory leak in smux plugin
Maxim Mamontov [Wed, 31 Aug 2011 15:04:07 +0000 (18:04 +0300)]
Prevent memory leak in smux plugin

13 years agoAdd -DLINUX for scriptexecuter
Maxim Mamontov [Wed, 31 Aug 2011 10:15:30 +0000 (13:15 +0300)]
Add -DLINUX for scriptexecuter

13 years agoFix test tariffs and users interface
Maxim Mamontov [Wed, 31 Aug 2011 10:15:06 +0000 (13:15 +0300)]
Fix test tariffs and users interface

13 years agoRules counter added to the SMUX plugin
Maxim Mamontov [Wed, 31 Aug 2011 10:04:17 +0000 (13:04 +0300)]
Rules counter added to the SMUX plugin

13 years agoAdd rules count in STG-MIB
Maxim Mamontov [Wed, 31 Aug 2011 10:03:22 +0000 (13:03 +0300)]
Add rules count in STG-MIB

13 years agoFix resource leak in file_store
Maxim Mamontov [Wed, 31 Aug 2011 10:02:51 +0000 (13:02 +0300)]
Fix resource leak in file_store

13 years agoRemove const qualifier from return type of assignement operator
Maxim Mamontov [Wed, 31 Aug 2011 10:02:14 +0000 (13:02 +0300)]
Remove const qualifier from return type of assignement operator

13 years agoPass config file via const reference in sgauth/sgathstress settings
Maxim Mamontov [Wed, 31 Aug 2011 10:01:29 +0000 (13:01 +0300)]
Pass config file via const reference in sgauth/sgathstress settings

13 years agoAdd rules count method to the traffcounter iface
Maxim Mamontov [Wed, 31 Aug 2011 10:01:02 +0000 (13:01 +0300)]
Add rules count method to the traffcounter iface

13 years agoFix accessing array element above array bounds in rsconf
Maxim Mamontov [Wed, 31 Aug 2011 10:00:32 +0000 (13:00 +0300)]
Fix accessing array element above array bounds in rsconf

13 years agoAssignement and comparsion operators removed from admin and tariff iface
Maxim Mamontov [Wed, 31 Aug 2011 09:59:52 +0000 (12:59 +0300)]
Assignement and comparsion operators removed from admin and tariff iface

13 years agoUse WaitPackets in CONFIGPROTO network interactions
Maxim Mamontov [Wed, 31 Aug 2011 09:34:09 +0000 (12:34 +0300)]
Use WaitPackets in CONFIGPROTO network interactions

13 years agoWaitPackets moved to common.lib
Maxim Mamontov [Wed, 31 Aug 2011 09:10:24 +0000 (12:10 +0300)]
WaitPackets moved to common.lib

13 years agoFix header length in RecvHdr
Maxim Mamontov [Wed, 31 Aug 2011 08:46:42 +0000 (11:46 +0300)]
Fix header length in RecvHdr

13 years agoSet services and corps to plugins
Maxim Mamontov [Sat, 13 Aug 2011 16:42:30 +0000 (19:42 +0300)]
Set services and corps to plugins

13 years agoAdd some assertions
Maxim Mamontov [Sat, 13 Aug 2011 16:16:46 +0000 (19:16 +0300)]
Add some assertions

13 years agoCorporations added to compilation
Maxim Mamontov [Sat, 13 Aug 2011 16:11:58 +0000 (19:11 +0300)]
Corporations added to compilation

13 years agoDefault constructor added for SERVICE_CONF
Maxim Mamontov [Sat, 13 Aug 2011 16:11:21 +0000 (19:11 +0300)]
Default constructor added for SERVICE_CONF

13 years agoSome fixes in service implementation
Maxim Mamontov [Sat, 13 Aug 2011 16:10:00 +0000 (19:10 +0300)]
Some fixes in service implementation

13 years agoGet<Something>Num -> Count in interfaces
Maxim Mamontov [Sat, 13 Aug 2011 16:09:21 +0000 (19:09 +0300)]
Get<Something>Num -> Count in interfaces

13 years agoBasic corporations implementation added
Maxim Mamontov [Sat, 13 Aug 2011 16:08:32 +0000 (19:08 +0300)]
Basic corporations implementation added

13 years agoGet<something>Num -> Count
Maxim Mamontov [Sat, 13 Aug 2011 16:07:49 +0000 (19:07 +0300)]
Get<something>Num -> Count

13 years agoFix compilation errors got after API changes
Maxim Mamontov [Sat, 13 Aug 2011 16:06:55 +0000 (19:06 +0300)]
Fix compilation errors got after API changes

13 years agoMore clear plugin API
Maxim Mamontov [Sat, 13 Aug 2011 16:06:02 +0000 (19:06 +0300)]
More clear plugin API

13 years agoSimplified admins API
Maxim Mamontov [Sat, 13 Aug 2011 16:04:25 +0000 (19:04 +0300)]
Simplified admins API

13 years agoAdmin, service and corporation sesnsors added for SUMX
Maxim Mamontov [Sat, 13 Aug 2011 12:43:58 +0000 (15:43 +0300)]
Admin, service and corporation sesnsors added for SUMX

13 years agoFix some headers in admins implementation
Maxim Mamontov [Sat, 13 Aug 2011 12:43:05 +0000 (15:43 +0300)]
Fix some headers in admins implementation

13 years agoInitial services implementation added
Maxim Mamontov [Sat, 13 Aug 2011 12:42:34 +0000 (15:42 +0300)]
Initial services implementation added

13 years agoFix fild types in services and corporations
Maxim Mamontov [Sat, 13 Aug 2011 12:42:04 +0000 (15:42 +0300)]
Fix fild types in services and corporations

13 years agoServices and coroprations interface added
Maxim Mamontov [Sat, 13 Aug 2011 12:41:07 +0000 (15:41 +0300)]
Services and coroprations interface added

13 years agoService and corporation permissions added
Maxim Mamontov [Sat, 13 Aug 2011 12:39:07 +0000 (15:39 +0300)]
Service and corporation permissions added

13 years agoTables update implemented
Maxim Mamontov [Mon, 8 Aug 2011 18:31:11 +0000 (21:31 +0300)]
Tables update implemented

13 years agoString coversion added to the sensors for debugging purpoces
Maxim Mamontov [Mon, 8 Aug 2011 18:30:24 +0000 (21:30 +0300)]
String coversion added to the sensors for debugging purpoces

13 years agoChange OID in responce for the GetNext request
Maxim Mamontov [Mon, 8 Aug 2011 18:29:34 +0000 (21:29 +0300)]
Change OID in responce for the GetNext request

13 years agoSuffix construction and prefix compare methods added to the OID
Maxim Mamontov [Mon, 8 Aug 2011 18:28:47 +0000 (21:28 +0300)]
Suffix construction and prefix compare methods added to the OID

13 years agoAdded specialization for std::string of Value2OS
Maxim Mamontov [Mon, 8 Aug 2011 18:27:33 +0000 (21:27 +0300)]
Added specialization for std::string of Value2OS

13 years agoTariff users table index fixed
Maxim Mamontov [Mon, 8 Aug 2011 18:26:28 +0000 (21:26 +0300)]
Tariff users table index fixed

13 years agoTable builders added for the SMUX plugin
Maxim Mamontov [Mon, 8 Aug 2011 18:25:03 +0000 (21:25 +0300)]
Table builders added for the SMUX plugin

13 years agoCosmetic changes and possible sgconfig hang's fix
Maxim Mamontov [Tue, 2 Aug 2011 12:34:43 +0000 (15:34 +0300)]
Cosmetic changes and possible sgconfig hang's fix

13 years agoReplace some unsigned types with size_t
Maxim Mamontov [Tue, 2 Aug 2011 12:09:28 +0000 (15:09 +0300)]
Replace some unsigned types with size_t

13 years agoReplace static void * CONFIGPROTO::Run(void *) with normal method
Maxim Mamontov [Tue, 2 Aug 2011 11:57:14 +0000 (14:57 +0300)]
Replace static void * CONFIGPROTO::Run(void *) with normal method

13 years agoFix some headers
Maxim Mamontov [Tue, 2 Aug 2011 11:52:23 +0000 (14:52 +0300)]
Fix some headers

13 years agoReplcae GetStore with new GetPlugin method from plugin creator
Maxim Mamontov [Tue, 2 Aug 2011 11:50:57 +0000 (14:50 +0300)]
Replcae GetStore with new GetPlugin method from plugin creator

13 years agoMake some methods inline
helen [Tue, 2 Aug 2011 11:46:47 +0000 (14:46 +0300)]
Make some methods inline

13 years agoReset delayed tariff change when setting new tariff immediately
Maxim Mamontov [Sat, 30 Jul 2011 12:11:26 +0000 (15:11 +0300)]
Reset delayed tariff change when setting new tariff immediately

13 years agoReplace -g3 with -ggdb3 (supported by gcc, clang and ekopath compilers)
Maxim Mamontov [Wed, 27 Jul 2011 14:43:52 +0000 (17:43 +0300)]
Replace -g3 with -ggdb3 (supported by gcc, clang and ekopath compilers)

13 years agoTypes mismatch fixed
Maxim Mamontov [Wed, 27 Jul 2011 14:37:39 +0000 (17:37 +0300)]
Types mismatch fixed

13 years agoSetup CFLAGS as a copy of CXXFLAGS
Maxim Mamontov [Wed, 27 Jul 2011 14:11:40 +0000 (17:11 +0300)]
Setup CFLAGS as a copy of CXXFLAGS

13 years agoFixed compilation issues
Maxim Mamontov [Wed, 27 Jul 2011 14:11:08 +0000 (17:11 +0300)]
Fixed compilation issues

13 years agoFix compilation and linkage issues
Maxim Mamontov [Wed, 27 Jul 2011 14:08:48 +0000 (17:08 +0300)]
Fix compilation and linkage issues

13 years agoFixed interface in stgcrypto
Maxim Mamontov [Wed, 27 Jul 2011 14:08:09 +0000 (17:08 +0300)]
Fixed interface in stgcrypto

13 years agoscriptexecuter become a plain C library
Maxim Mamontov [Wed, 27 Jul 2011 14:07:46 +0000 (17:07 +0300)]
scriptexecuter become a plain C library

13 years agocrypto.lib is now a plain C library
Maxim Mamontov [Wed, 27 Jul 2011 13:16:24 +0000 (16:16 +0300)]
crypto.lib is now a plain C library

13 years agoSome explicit inlining removed to fix linking in release mode
Maxim Mamontov [Wed, 27 Jul 2011 11:55:04 +0000 (14:55 +0300)]
Some explicit inlining removed to fix linking in release mode

13 years agoTemplate for plugin creation added
Maxim Mamontov [Wed, 27 Jul 2011 11:50:57 +0000 (14:50 +0300)]
Template for plugin creation added

13 years agosmux.lib added to build process
Maxim Mamontov [Wed, 27 Jul 2011 11:45:06 +0000 (14:45 +0300)]
smux.lib added to build process

13 years agoAdded specialization for unsigned in, long and unsigned long types
Maxim Mamontov [Wed, 27 Jul 2011 11:44:10 +0000 (14:44 +0300)]
Added specialization for unsigned in, long and unsigned long types

13 years agoBack to good old static libs (no more .so-hell!)
Maxim Mamontov [Wed, 27 Jul 2011 11:43:31 +0000 (14:43 +0300)]
Back to good old static libs (no more .so-hell!)

13 years agoHack for libsmux includes
Maxim Mamontov [Tue, 26 Jul 2011 16:08:32 +0000 (19:08 +0300)]
Hack for libsmux includes

13 years agoLink against smux library instead of plain object files
Maxim Mamontov [Tue, 26 Jul 2011 16:05:13 +0000 (19:05 +0300)]
Link against smux library instead of plain object files

13 years agoLibrary Makefile added
Maxim Mamontov [Tue, 26 Jul 2011 15:50:58 +0000 (18:50 +0300)]
Library Makefile added

13 years agoASN.1 sources moved to library
Maxim Mamontov [Tue, 26 Jul 2011 15:43:43 +0000 (18:43 +0300)]
ASN.1 sources moved to library

13 years agoASN.1 generated code moved to library
Maxim Mamontov [Tue, 26 Jul 2011 15:41:25 +0000 (18:41 +0300)]
ASN.1 generated code moved to library

13 years agoOther comparsion functions for OID added
Maxim Mamontov [Tue, 26 Jul 2011 15:40:01 +0000 (18:40 +0300)]
Other comparsion functions for OID added

13 years agoAdded a wrapper for correct oid comparsion
Maxim Mamontov [Tue, 26 Jul 2011 15:15:32 +0000 (18:15 +0300)]
Added a wrapper for correct oid comparsion

13 years agoIgnore compiled book contents
Maxim Mamontov [Tue, 26 Jul 2011 10:36:21 +0000 (13:36 +0300)]
Ignore compiled book contents

13 years agoCode deduplication (plugin creation via template PLUGIN_CREATOR)
Maxim Mamontov [Mon, 25 Jul 2011 19:55:13 +0000 (22:55 +0300)]
Code deduplication (plugin creation via template PLUGIN_CREATOR)

13 years agoCode deduplication
Maxim Mamontov [Mon, 25 Jul 2011 19:20:23 +0000 (22:20 +0300)]
Code deduplication

13 years agoSMUX plugin added to core build file
Maxim Mamontov [Mon, 25 Jul 2011 18:53:10 +0000 (21:53 +0300)]
SMUX plugin added to core build file

13 years agoSMUX plugin code separated to SNMP helper functions and core logic
Maxim Mamontov [Mon, 25 Jul 2011 18:52:18 +0000 (21:52 +0300)]
SMUX plugin code separated to SNMP helper functions and core logic

13 years agoHandlers moved to separate file and added to compilation
Maxim Mamontov [Mon, 25 Jul 2011 18:15:29 +0000 (21:15 +0300)]
Handlers moved to separate file and added to compilation

13 years agoFix name collision
Maxim Mamontov [Mon, 25 Jul 2011 17:58:20 +0000 (20:58 +0300)]
Fix name collision

13 years agoUse common filtering algorithm with predicate specialization
Maxim Mamontov [Mon, 25 Jul 2011 17:57:37 +0000 (20:57 +0300)]
Use common filtering algorithm with predicate specialization

13 years agoOld files removed
Maxim Mamontov [Mon, 25 Jul 2011 15:27:32 +0000 (18:27 +0300)]
Old files removed

13 years agosnma agent -> smux
Maxim Mamontov [Mon, 25 Jul 2011 15:26:40 +0000 (18:26 +0300)]
snma agent -> smux

13 years agoAdd missing password field in chg_admin method description
Maxim Mamontov [Sun, 24 Jul 2011 18:52:52 +0000 (21:52 +0300)]
Add missing password field in chg_admin method description

13 years agotariffChangeUsers param added to the SMUX plugin
Maxim Mamontov [Sat, 16 Jul 2011 11:53:17 +0000 (14:53 +0300)]
tariffChangeUsers param added to the SMUX plugin

13 years agoCorrect description for tariffUsers
Maxim Mamontov [Sat, 16 Jul 2011 11:48:20 +0000 (14:48 +0300)]
Correct description for tariffUsers

13 years ago/etc/rscriptd replaced with /etc/stargazer in rscriptd.conf
Maxim Mamontov [Sat, 16 Jul 2011 11:38:08 +0000 (14:38 +0300)]
/etc/rscriptd replaced with /etc/stargazer in rscriptd.conf

13 years agoUse PEN assigned by IANA instead of taken from Lev Valkin's sample
Maxim Mamontov [Wed, 13 Jul 2011 08:41:18 +0000 (11:41 +0300)]
Use PEN assigned by IANA instead of taken from Lev Valkin's sample

13 years agoFix the STG-MIB
Maxim Mamontov [Wed, 6 Jul 2011 12:41:48 +0000 (15:41 +0300)]
Fix the STG-MIB

13 years agoFix error with undefined CC and CXX
Maxim Mamontov [Mon, 20 Jun 2011 12:24:21 +0000 (15:24 +0300)]
Fix error with undefined CC and CXX

13 years agoReplace snakeCase with SnakeCase in params of storage modules
Maxim Mamontov [Mon, 20 Jun 2011 08:19:56 +0000 (11:19 +0300)]
Replace snakeCase with SnakeCase in params of storage modules

13 years agoLang attribute added to the book tag
Maxim Mamontov [Thu, 16 Jun 2011 14:10:03 +0000 (17:10 +0300)]
Lang attribute added to the book tag

13 years agoUse CC and CXX on various checks in build script
Maxim Mamontov [Thu, 16 Jun 2011 10:00:06 +0000 (13:00 +0300)]
Use CC and CXX on various checks in build script

Explicit gcc/g++ calls replaced with $CC and $CXX

13 years agoMissing headers added
Maxim Mamontov [Thu, 16 Jun 2011 09:54:26 +0000 (12:54 +0300)]
Missing headers added

13 years agoExplicit constructor initialization for the base class added
Maxim Mamontov [Thu, 16 Jun 2011 09:53:48 +0000 (12:53 +0300)]
Explicit constructor initialization for the base class added

13 years agoChapter 4 partialy complete
Maxim Mamontov [Wed, 15 Jun 2011 11:41:50 +0000 (14:41 +0300)]
Chapter 4 partialy complete