]> git.stg.codes - stg.git/log
stg.git
12 years agoFix raw ip tests
Maxim Mamontov [Fri, 16 Sep 2011 17:45:38 +0000 (20:45 +0300)]
Fix raw ip tests

12 years agoReturn correct core if stop fails
Maxim Mamontov [Fri, 16 Sep 2011 17:45:17 +0000 (20:45 +0300)]
Return correct core if stop fails

12 years agoNew signal handling infrastructure. Prevent unloading running module.
Maxim Mamontov [Fri, 16 Sep 2011 17:44:39 +0000 (20:44 +0300)]
New signal handling infrastructure. Prevent unloading running module.

12 years agoBlock all signals in threads other than main
Maxim Mamontov [Fri, 16 Sep 2011 17:44:06 +0000 (20:44 +0300)]
Block all signals in threads other than main

12 years agoReplace deprecated usleep with POSIX-compliant nanosleep
Maxim Mamontov [Fri, 16 Sep 2011 16:11:58 +0000 (19:11 +0300)]
Replace deprecated usleep with POSIX-compliant nanosleep

12 years agoExtra semicolon removed
Maxim Mamontov [Thu, 15 Sep 2011 20:41:11 +0000 (23:41 +0300)]
Extra semicolon removed

12 years agoAnother way of splitting c- and cpp- files
Maxim Mamontov [Thu, 15 Sep 2011 20:40:27 +0000 (23:40 +0300)]
Another way of splitting c- and cpp- files

12 years agoWhitespace removed from the name of a file
Maxim Mamontov [Thu, 15 Sep 2011 20:39:58 +0000 (23:39 +0300)]
Whitespace removed from the name of a file

12 years agoHide or add proper copy ctor and assignement operator, initialize
Maxim Mamontov [Thu, 15 Sep 2011 20:05:10 +0000 (23:05 +0300)]
Hide or add proper copy ctor and assignement operator, initialize
members via initialization lists in rpcconfig code

12 years agoHide or add proper copy ctor and assignement operator, initialize
Maxim Mamontov [Thu, 15 Sep 2011 19:44:58 +0000 (22:44 +0300)]
Hide or add proper copy ctor and assignement operator, initialize
members via initialization lists in storages code

12 years agoHide or add proper copy ctor and assignement operator, initialize
Maxim Mamontov [Thu, 15 Sep 2011 19:28:58 +0000 (22:28 +0300)]
Hide or add proper copy ctor and assignement operator, initialize
members via initialization lists in core code

12 years agoHide or add proper copy ctor and assignement operator, initialize
Maxim Mamontov [Thu, 15 Sep 2011 19:11:03 +0000 (22:11 +0300)]
Hide or add proper copy ctor and assignement operator, initialize
members via initialization lists in radius code

12 years agoHide or add proper copy ctor and assignement operator, initialize
Maxim Mamontov [Thu, 15 Sep 2011 15:02:44 +0000 (18:02 +0300)]
Hide or add proper copy ctor and assignement operator, initialize
members via initialization lists in radius code

12 years agoHide or add proper copy ctor and assignement operator, initialize
Maxim Mamontov [Thu, 15 Sep 2011 14:24:57 +0000 (17:24 +0300)]
Hide or add proper copy ctor and assignement operator, initialize
members via initialization lists in rscript code

12 years agoHide or add proper copy ctor and assignement operator, initialize
Maxim Mamontov [Thu, 15 Sep 2011 09:28:30 +0000 (12:28 +0300)]
Hide or add proper copy ctor and assignement operator, initialize
members via initialization lists in ping code

12 years agoHide or add proper copy ctor and assignement operator, initialize
Maxim Mamontov [Thu, 15 Sep 2011 09:16:25 +0000 (12:16 +0300)]
Hide or add proper copy ctor and assignement operator, initialize
members via initialization lists in sgconfig code

12 years agoHide or add proper copy ctor and assignement operator, initialize
Maxim Mamontov [Thu, 15 Sep 2011 08:48:41 +0000 (11:48 +0300)]
Hide or add proper copy ctor and assignement operator, initialize
members via initialization lists

12 years agoAdd name to anonymous union
Maxim Mamontov [Wed, 14 Sep 2011 15:21:56 +0000 (18:21 +0300)]
Add name to anonymous union

12 years agoInitialize some members in initialization lists
Maxim Mamontov [Wed, 14 Sep 2011 15:14:03 +0000 (18:14 +0300)]
Initialize some members in initialization lists

12 years agoInitialize some fields via initializer lists in USER_IMPL and
Maxim Mamontov [Wed, 14 Sep 2011 14:59:42 +0000 (17:59 +0300)]
Initialize some fields via initializer lists in USER_IMPL and
USER_PROPERTIES

12 years agoInitialize class members for SMUX_SETTINGS in constructor
Maxim Mamontov [Wed, 14 Sep 2011 14:36:19 +0000 (17:36 +0300)]
Initialize class members for SMUX_SETTINGS in constructor
Hide copy constructor and assignement operator for SMUX

12 years agoInitialize arcs member in all OID constructors
Maxim Mamontov [Wed, 14 Sep 2011 14:35:30 +0000 (17:35 +0300)]
Initialize arcs member in all OID constructors

12 years agoAdd virtual destructor for Sensor
Maxim Mamontov [Wed, 14 Sep 2011 14:35:07 +0000 (17:35 +0300)]
Add virtual destructor for Sensor

12 years agoHide assignement operator for USER_IMPL
Maxim Mamontov [Wed, 14 Sep 2011 14:34:40 +0000 (17:34 +0300)]
Hide assignement operator for USER_IMPL

12 years agoInitialize additional members in constructor for PROPERTY
Maxim Mamontov [Wed, 14 Sep 2011 14:34:07 +0000 (17:34 +0300)]
Initialize additional members in constructor for PROPERTY

12 years agoInitialize class members in EVENT_LOOP constructor
Maxim Mamontov [Wed, 14 Sep 2011 14:33:20 +0000 (17:33 +0300)]
Initialize class members in EVENT_LOOP constructor

12 years agoHide copy constructor and assignement operator for ACTION
Maxim Mamontov [Wed, 14 Sep 2011 14:32:24 +0000 (17:32 +0300)]
Hide copy constructor and assignement operator for ACTION
Add virtual destructor for ACTIONS_LIST

12 years agoAdd virtual destructor for settings and traffcounter
Maxim Mamontov [Wed, 14 Sep 2011 14:31:47 +0000 (17:31 +0300)]
Add virtual destructor for settings and traffcounter

12 years agoHide copy constructor and assignement operator for PLUGIN_CREATOR
Maxim Mamontov [Wed, 14 Sep 2011 14:31:08 +0000 (17:31 +0300)]
Hide copy constructor and assignement operator for PLUGIN_CREATOR

12 years agoUse correct compiler and flags for sources in libs
Maxim Mamontov [Wed, 14 Sep 2011 14:07:58 +0000 (17:07 +0300)]
Use correct compiler and flags for sources in libs

12 years agoDo not mix CFLAGS and CXXFLAGS
Maxim Mamontov [Wed, 14 Sep 2011 13:58:11 +0000 (16:58 +0300)]
Do not mix CFLAGS and CXXFLAGS

12 years agoDefault constructor added in resetable structures
Maxim Mamontov [Wed, 14 Sep 2011 13:34:50 +0000 (16:34 +0300)]
Default constructor added in resetable structures

12 years agoStylistic changes in RESETABLE
Maxim Mamontov [Wed, 14 Sep 2011 13:34:29 +0000 (16:34 +0300)]
Stylistic changes in RESETABLE

12 years agoVirtual destructor added to interface classes
Maxim Mamontov [Wed, 14 Sep 2011 13:13:17 +0000 (16:13 +0300)]
Virtual destructor added to interface classes

12 years agoShut up compilers
Maxim Mamontov [Wed, 14 Sep 2011 11:55:43 +0000 (14:55 +0300)]
Shut up compilers

12 years agoHide bufSize when NDEBUG is defined
Maxim Mamontov [Wed, 14 Sep 2011 11:37:48 +0000 (14:37 +0300)]
Hide bufSize when NDEBUG is defined

12 years agoUse ptrdiff_t type for length variable to prevent comparsion signed and
Maxim Mamontov [Wed, 14 Sep 2011 11:29:25 +0000 (14:29 +0300)]
Use ptrdiff_t type for length variable to prevent comparsion signed and
unsigned types

12 years agoAdd authorization in test users class
Maxim Mamontov [Wed, 14 Sep 2011 11:17:25 +0000 (14:17 +0300)]
Add authorization in test users class

12 years agoAdd notifications in test tariffs class
Maxim Mamontov [Wed, 14 Sep 2011 11:16:53 +0000 (14:16 +0300)]
Add notifications in test tariffs class

12 years agoCheck write result and replace int with bool in return type of handlers
Maxim Mamontov [Wed, 14 Sep 2011 11:15:54 +0000 (14:15 +0300)]
Check write result and replace int with bool in return type of handlers

12 years agoAnother code cleanup
Maxim Mamontov [Tue, 13 Sep 2011 14:25:24 +0000 (17:25 +0300)]
Another code cleanup

12 years agoCode cleanup
Maxim Mamontov [Tue, 13 Sep 2011 14:22:37 +0000 (17:22 +0300)]
Code cleanup

12 years agoFix some typos
Maxim Mamontov [Tue, 13 Sep 2011 14:20:10 +0000 (17:20 +0300)]
Fix some typos

12 years agoInitializing constructor added for IA_USER
Maxim Mamontov [Tue, 13 Sep 2011 14:19:38 +0000 (17:19 +0300)]
Initializing constructor added for IA_USER

12 years agoStrange code removed
Maxim Mamontov [Mon, 12 Sep 2011 19:44:13 +0000 (22:44 +0300)]
Strange code removed

12 years agoOne more stupid comment erased
Maxim Mamontov [Mon, 12 Sep 2011 19:42:46 +0000 (22:42 +0300)]
One more stupid comment erased

12 years agoStupid comments erased
Maxim Mamontov [Mon, 12 Sep 2011 19:42:09 +0000 (22:42 +0300)]
Stupid comments erased

12 years agoLight inetaccess plugin refactoring
Maxim Mamontov [Mon, 12 Sep 2011 19:38:23 +0000 (22:38 +0300)]
Light inetaccess plugin refactoring

12 years agoCleanup ip2user on errors
Maxim Mamontov [Mon, 12 Sep 2011 10:56:14 +0000 (13:56 +0300)]
Cleanup ip2user on errors

12 years agoStylistic changes
Maxim Mamontov [Mon, 12 Sep 2011 09:39:01 +0000 (12:39 +0300)]
Stylistic changes

12 years agoDead code removed
Maxim Mamontov [Mon, 12 Sep 2011 09:38:24 +0000 (12:38 +0300)]
Dead code removed

12 years agoStylistic changes
Maxim Mamontov [Mon, 12 Sep 2011 09:37:54 +0000 (12:37 +0300)]
Stylistic changes

12 years agoSMUX reload with reconnect implemented
Maxim Mamontov [Mon, 12 Sep 2011 09:37:33 +0000 (12:37 +0300)]
SMUX reload with reconnect implemented

12 years agoFull and correct rollback in SMUX::Stop method
Maxim Mamontov [Mon, 12 Sep 2011 08:48:48 +0000 (11:48 +0300)]
Full and correct rollback in SMUX::Stop method

12 years agoCheck IP in USERS_IMPL::Authorize as early as possible
Maxim Mamontov [Mon, 12 Sep 2011 08:10:25 +0000 (11:10 +0300)]
Check IP in USERS_IMPL::Authorize as early as possible

12 years agoFix service payDay type for correct work on 32/64-bit
Maxim Mamontov [Sat, 10 Sep 2011 16:54:09 +0000 (19:54 +0300)]
Fix service payDay type for correct work on 32/64-bit

12 years agoFix unsigned types while working with IBPP
Maxim Mamontov [Sat, 10 Sep 2011 16:32:21 +0000 (19:32 +0300)]
Fix unsigned types while working with IBPP

12 years agoFix creator method call
Maxim Mamontov [Sat, 10 Sep 2011 16:25:01 +0000 (19:25 +0300)]
Fix creator method call

12 years agoFix authorization in plugins
Maxim Mamontov [Sat, 10 Sep 2011 16:07:51 +0000 (19:07 +0300)]
Fix authorization in plugins

12 years agoMove authorization from USER to USERS
Maxim Mamontov [Sat, 10 Sep 2011 16:07:13 +0000 (19:07 +0300)]
Move authorization from USER to USERS

12 years ago\n added
Maxim Mamontov [Wed, 7 Sep 2011 15:16:23 +0000 (18:16 +0300)]
\n added

12 years agoReport about headers reading error
Maxim Mamontov [Sat, 3 Sep 2011 17:42:50 +0000 (20:42 +0300)]
Report about headers reading error

12 years agoVersion fix
Maxim Mamontov [Sat, 3 Sep 2011 08:13:08 +0000 (11:13 +0300)]
Version fix

12 years agomod_smux config samples added
Maxim Mamontov [Sat, 3 Sep 2011 06:46:01 +0000 (09:46 +0300)]
mod_smux config samples added

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

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

12 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

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

12 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

12 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

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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

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

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

12 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

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

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

12 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

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

12 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

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

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

12 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

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