]> git.stg.codes - stg.git/log
stg.git
9 years agoFixed bfstream test compilation.
Maxim Mamontov [Sat, 13 Sep 2014 21:58:03 +0000 (00:58 +0300)]
Fixed bfstream test compilation.

9 years agoAdded special function to read/write all data (for TCP).
Maxim Mamontov [Sat, 13 Sep 2014 21:57:22 +0000 (00:57 +0300)]
Added special function to read/write all data (for TCP).

9 years agoHandle short string correctly in blowfish encription.
Maxim Mamontov [Sat, 13 Sep 2014 21:56:48 +0000 (00:56 +0300)]
Handle short string correctly in blowfish encription.

9 years agoHandle callback errors in bfstreams.
Maxim Mamontov [Sat, 13 Sep 2014 21:55:55 +0000 (00:55 +0300)]
Handle callback errors in bfstreams.

9 years agoSome minor changes in bf stream.
Maxim Mamontov [Sun, 27 Jul 2014 17:06:32 +0000 (20:06 +0300)]
Some minor changes in bf stream.

9 years agoFixed encryption in srvconf.lib
Maxim Mamontov [Thu, 26 Jun 2014 13:38:36 +0000 (16:38 +0300)]
Fixed encryption in srvconf.lib

9 years agoAlways think about \0 and block boundry during encryption.
Maxim Mamontov [Thu, 26 Jun 2014 13:24:21 +0000 (16:24 +0300)]
Always think about \0 and block boundry during encryption.

9 years agoAdded stream encryption/decryption tests.
Maxim Mamontov [Sun, 22 Jun 2014 11:41:06 +0000 (14:41 +0300)]
Added stream encryption/decryption tests.

9 years agoAdded stream encryption/decryption.
Maxim Mamontov [Sat, 21 Jun 2014 20:39:36 +0000 (23:39 +0300)]
Added stream encryption/decryption.

9 years agoSome changes in crypto.lib. Added tests.
Maxim Mamontov [Sat, 21 Jun 2014 20:38:59 +0000 (23:38 +0300)]
Some changes in crypto.lib. Added tests.

9 years agoIgnore .d files.
Maxim Mamontov [Sat, 21 Jun 2014 20:37:39 +0000 (23:37 +0300)]
Ignore .d files.

9 years agoFixed tests.
Maxim Mamontov [Sat, 21 Jun 2014 20:36:56 +0000 (23:36 +0300)]
Fixed tests.

9 years agoCleaned up some headers.
Maxim Mamontov [Fri, 20 Jun 2014 22:28:36 +0000 (01:28 +0300)]
Cleaned up some headers.

9 years agoOptimized sending answers in sgconfig.
Maxim Mamontov [Fri, 20 Jun 2014 22:11:48 +0000 (01:11 +0300)]
Optimized sending answers in sgconfig.

9 years agoAdded modification time for session traffic.
Maxim Mamontov [Fri, 20 Jun 2014 22:11:25 +0000 (01:11 +0300)]
Added modification time for session traffic.

9 years agoAdded const version of GetPointer.
Maxim Mamontov [Fri, 20 Jun 2014 22:10:48 +0000 (01:10 +0300)]
Added const version of GetPointer.

9 years agoAdded full string encryption.
Maxim Mamontov [Fri, 20 Jun 2014 22:10:21 +0000 (01:10 +0300)]
Added full string encryption.

9 years agoMinor changes.
Maxim Mamontov [Fri, 20 Jun 2014 18:38:52 +0000 (21:38 +0300)]
Minor changes.

9 years agoRemoved unused variables.
Maxim Mamontov [Fri, 20 Jun 2014 18:33:20 +0000 (21:33 +0300)]
Removed unused variables.

9 years agoRearranged some headers in sgconfig.
Maxim Mamontov [Fri, 20 Jun 2014 18:19:16 +0000 (21:19 +0300)]
Rearranged some headers in sgconfig.

9 years agoUse unicode for messages. Convert before sending.
Maxim Mamontov [Mon, 9 Jun 2014 09:41:27 +0000 (12:41 +0300)]
Use unicode for messages. Convert before sending.

9 years agoSimplified STG_LOCKER.
Maxim Mamontov [Mon, 9 Jun 2014 09:16:49 +0000 (12:16 +0300)]
Simplified STG_LOCKER.

9 years agoMore fixes after cppcheck.
Maxim Mamontov [Mon, 9 Jun 2014 08:17:33 +0000 (11:17 +0300)]
More fixes after cppcheck.

9 years agoFixed compilation issue.
Maxim Mamontov [Sun, 8 Jun 2014 21:06:15 +0000 (00:06 +0300)]
Fixed compilation issue.

9 years agoAnother set of minor fixes.
Maxim Mamontov [Sun, 8 Jun 2014 20:56:46 +0000 (23:56 +0300)]
Another set of minor fixes.

9 years agoLots of stylistic fixes.
Maxim Mamontov [Sun, 8 Jun 2014 20:39:27 +0000 (23:39 +0300)]
Lots of stylistic fixes.

9 years agoRemoved obsolete stuff.
Maxim Mamontov [Sun, 8 Jun 2014 20:35:43 +0000 (23:35 +0300)]
Removed obsolete stuff.

9 years agoMerge branch 'naffanya-dev'
Maxim Mamontov [Sun, 8 Jun 2014 19:06:32 +0000 (22:06 +0300)]
Merge branch 'naffanya-dev'

9 years agoFixed build.
Maxim Mamontov [Sun, 8 Jun 2014 10:57:57 +0000 (13:57 +0300)]
Fixed build.

9 years agoAdded configuration checks.
Maxim Mamontov [Sun, 8 Jun 2014 10:37:50 +0000 (13:37 +0300)]
Added configuration checks.

9 years agoImplemented NFQ capturing.
Maxim Mamontov [Sun, 8 Jun 2014 10:33:42 +0000 (13:33 +0300)]
Implemented NFQ capturing.

9 years agoSmall fixes.
Maxim Mamontov [Sun, 8 Jun 2014 09:54:52 +0000 (12:54 +0300)]
Small fixes.

9 years agoInitial adding of netfilter_queue capturer.
Maxim Mamontov [Sun, 8 Jun 2014 09:46:20 +0000 (12:46 +0300)]
Initial adding of netfilter_queue capturer.

9 years ago'all' -> 'any'
Maxim Mamontov [Thu, 5 Jun 2014 20:38:54 +0000 (23:38 +0300)]
'all' -> 'any'

9 years agoFixed issues in cap_pcap.
Maxim Mamontov [Thu, 5 Jun 2014 20:31:26 +0000 (23:31 +0300)]
Fixed issues in cap_pcap.

9 years agoInitial adding of PCap capturer.
Maxim Mamontov [Thu, 5 Jun 2014 05:55:35 +0000 (08:55 +0300)]
Initial adding of PCap capturer.

9 years agoAdded --auth-by.
Maxim Mamontov [Wed, 4 Jun 2014 20:14:44 +0000 (23:14 +0300)]
Added --auth-by.

9 years agoFixed some encodings.
Maxim Mamontov [Tue, 3 Jun 2014 19:18:42 +0000 (22:18 +0300)]
Fixed some encodings.

9 years agoImplemented encoding for all parsers.
Maxim Mamontov [Tue, 3 Jun 2014 05:20:47 +0000 (08:20 +0300)]
Implemented encoding for all parsers.

9 years agoImplemented transcoders for some getters.
Maxim Mamontov [Mon, 2 Jun 2014 19:33:26 +0000 (22:33 +0300)]
Implemented transcoders for some getters.

9 years agoAdded possibility to transcode params to a proper encoding.
Maxim Mamontov [Mon, 2 Jun 2014 19:32:28 +0000 (22:32 +0300)]
Added possibility to transcode params to a proper encoding.

9 years agoMinor fix.
Maxim Mamontov [Fri, 30 May 2014 07:56:15 +0000 (10:56 +0300)]
Minor fix.

9 years agoAdded local binding.
Maxim Mamontov [Fri, 30 May 2014 07:55:15 +0000 (10:55 +0300)]
Added local binding.

9 years agoExpanded more abbreviations.
Maxim Mamontov [Fri, 30 May 2014 07:16:33 +0000 (10:16 +0300)]
Expanded more abbreviations.

9 years agoExpanded another abbreviation.
Maxim Mamontov [Fri, 30 May 2014 07:14:57 +0000 (10:14 +0300)]
Expanded another abbreviation.

9 years agoFixed typo.
Maxim Mamontov [Fri, 30 May 2014 07:11:03 +0000 (10:11 +0300)]
Fixed typo.

9 years agoFixed some abbreviations.
Maxim Mamontov [Fri, 30 May 2014 07:10:24 +0000 (10:10 +0300)]
Fixed some abbreviations.

9 years agoFixed traff type descritpion.
Maxim Mamontov [Fri, 30 May 2014 07:01:46 +0000 (10:01 +0300)]
Fixed traff type descritpion.

9 years agoFixed compilation on *BSD systems.
Maxim Mamontov [Thu, 29 May 2014 20:34:24 +0000 (23:34 +0300)]
Fixed compilation on *BSD systems.

9 years agoImplemented add-service, chg-service, add-corp and chg-corp.
Maxim Mamontov [Thu, 29 May 2014 20:29:55 +0000 (23:29 +0300)]
Implemented add-service, chg-service, add-corp and chg-corp.

9 years agoFixed processing of coma-separated lists.
Maxim Mamontov [Thu, 29 May 2014 20:15:19 +0000 (23:15 +0300)]
Fixed processing of coma-separated lists.

9 years agoFixed storing relation between users and services.
Maxim Mamontov [Thu, 29 May 2014 20:03:34 +0000 (23:03 +0300)]
Fixed storing relation between users and services.

9 years agoReset should be virtual.
Maxim Mamontov [Thu, 29 May 2014 20:03:20 +0000 (23:03 +0300)]
Reset should be virtual.

9 years agoFixed credit.
Maxim Mamontov [Thu, 29 May 2014 19:08:25 +0000 (22:08 +0300)]
Fixed credit.

9 years agoFixed cash-set.
Maxim Mamontov [Thu, 29 May 2014 19:05:59 +0000 (22:05 +0300)]
Fixed cash-set.

9 years agoAdded encoding of some strings.
Maxim Mamontov [Thu, 29 May 2014 19:00:32 +0000 (22:00 +0300)]
Added encoding of some strings.

9 years agoImplemented add-user and chg-user.
Maxim Mamontov [Thu, 29 May 2014 18:01:59 +0000 (21:01 +0300)]
Implemented add-user and chg-user.

9 years agoImplemented send-message.
Maxim Mamontov [Thu, 29 May 2014 15:05:42 +0000 (18:05 +0300)]
Implemented send-message.

9 years agoImplemented check-user.
Maxim Mamontov [Thu, 29 May 2014 14:49:48 +0000 (17:49 +0300)]
Implemented check-user.

9 years agoSerialize period info.
Maxim Mamontov [Thu, 29 May 2014 14:37:19 +0000 (17:37 +0300)]
Serialize period info.

9 years agoFixed x2str for doubles.
Maxim Mamontov [Thu, 29 May 2014 14:36:54 +0000 (17:36 +0300)]
Fixed x2str for doubles.

9 years agoFixed Split.
Maxim Mamontov [Thu, 29 May 2014 14:36:26 +0000 (17:36 +0300)]
Fixed Split.

9 years agoShow info about period.
Maxim Mamontov [Thu, 29 May 2014 14:36:02 +0000 (17:36 +0300)]
Show info about period.

9 years agoImplemented add-tariff and chg-tariff.
Maxim Mamontov [Thu, 29 May 2014 10:21:15 +0000 (13:21 +0300)]
Implemented add-tariff and chg-tariff.

9 years agoAdded Split utility.
Maxim Mamontov [Thu, 29 May 2014 10:20:51 +0000 (13:20 +0300)]
Added Split utility.

9 years agoAdded Splice method for resetables.
Maxim Mamontov [Thu, 29 May 2014 10:20:26 +0000 (13:20 +0300)]
Added Splice method for resetables.

9 years agoImplemeted chg-admin.
Maxim Mamontov [Thu, 29 May 2014 08:31:11 +0000 (11:31 +0300)]
Implemeted chg-admin.

9 years agoFixed setting admin's password.
Maxim Mamontov [Thu, 29 May 2014 08:27:30 +0000 (11:27 +0300)]
Fixed setting admin's password.

9 years agoImplemented --add-admin.
Maxim Mamontov [Wed, 28 May 2014 20:01:41 +0000 (23:01 +0300)]
Implemented --add-admin.

9 years agoAdded service and corporation params.
Maxim Mamontov [Wed, 28 May 2014 15:47:33 +0000 (18:47 +0300)]
Added service and corporation params.

9 years agoAdded user-related params.
Maxim Mamontov [Wed, 28 May 2014 15:42:41 +0000 (18:42 +0300)]
Added user-related params.

9 years agoAdded suboptions to tariffs and admins.
Maxim Mamontov [Wed, 28 May 2014 09:24:00 +0000 (12:24 +0300)]
Added suboptions to tariffs and admins.

9 years agoSimplified module interfaces.
Maxim Mamontov [Tue, 27 May 2014 18:19:56 +0000 (21:19 +0300)]
Simplified module interfaces.

9 years agoSome refactoring.
Maxim Mamontov [Tue, 27 May 2014 17:07:32 +0000 (20:07 +0300)]
Some refactoring.

9 years agoFixed version info.
Maxim Mamontov [Tue, 27 May 2014 15:32:05 +0000 (18:32 +0300)]
Fixed version info.

9 years agoFixed formatting.
Maxim Mamontov [Tue, 27 May 2014 15:04:42 +0000 (18:04 +0300)]
Fixed formatting.

9 years agoImplemented some service and corporation management functions.
Maxim Mamontov [Tue, 27 May 2014 14:55:56 +0000 (17:55 +0300)]
Implemented some service and corporation management functions.

9 years agoAdded handling of "AuthBy" info.
Maxim Mamontov [Tue, 27 May 2014 14:11:48 +0000 (17:11 +0300)]
Added handling of "AuthBy" info.

9 years agoFixed error handling.
Maxim Mamontov [Tue, 27 May 2014 13:59:12 +0000 (16:59 +0300)]
Fixed error handling.

9 years agoFixed getting user's login.
Maxim Mamontov [Tue, 27 May 2014 13:55:11 +0000 (16:55 +0300)]
Fixed getting user's login.

9 years agoRemoved unused files.
Maxim Mamontov [Tue, 27 May 2014 13:37:17 +0000 (16:37 +0300)]
Removed unused files.

9 years agoCode cleanup.
Maxim Mamontov [Tue, 27 May 2014 13:30:41 +0000 (16:30 +0300)]
Code cleanup.

9 years agoImplemented some user management functions.
Maxim Mamontov [Tue, 27 May 2014 12:59:09 +0000 (15:59 +0300)]
Implemented some user management functions.

9 years agoImplemented some operations with tariffs.
Maxim Mamontov [Tue, 20 May 2014 20:46:01 +0000 (23:46 +0300)]
Implemented some operations with tariffs.

9 years agoImplemented some operations with admins.
Maxim Mamontov [Tue, 20 May 2014 19:42:31 +0000 (22:42 +0300)]
Implemented some operations with admins.

9 years agoReplaced API functor with API function.
Maxim Mamontov [Tue, 20 May 2014 16:25:21 +0000 (19:25 +0300)]
Replaced API functor with API function.

9 years agoEnhanced config serializer.
Maxim Mamontov [Tue, 20 May 2014 16:24:28 +0000 (19:24 +0300)]
Enhanced config serializer.

9 years agoFixed formatting.
Maxim Mamontov [Sun, 18 May 2014 22:17:12 +0000 (01:17 +0300)]
Fixed formatting.

9 years agoImplemented raw XML API for sgconf.
Maxim Mamontov [Sun, 18 May 2014 22:12:37 +0000 (01:12 +0300)]
Implemented raw XML API for sgconf.

9 years agoSupport all next FreeBSD versions by default.
Maxim Mamontov [Sun, 18 May 2014 20:30:57 +0000 (23:30 +0300)]
Support all next FreeBSD versions by default.

10 years agoRemovee the spaces
Naffanya [Wed, 23 Apr 2014 19:17:27 +0000 (22:17 +0300)]
Removee the spaces

10 years agoMerge branch 'master' into naffanya-dev
Naffanya [Thu, 10 Apr 2014 00:39:50 +0000 (03:39 +0300)]
Merge branch 'master' into naffanya-dev

10 years agoRename tariff to tariffName
Naffanya [Thu, 10 Apr 2014 00:39:03 +0000 (03:39 +0300)]
Rename tariff to tariffName

10 years agoMove abbility get value 'tarrif' from parameter's name 'tarrifName' to GetParamValue
Naffanya [Fri, 4 Apr 2014 22:01:40 +0000 (01:01 +0300)]
Move abbility get value 'tarrif' from parameter's name 'tarrifName' to GetParamValue

10 years agoAdded COMMAND_FUNCTOR and COMMAND_ACTION.
Maxim Mamontov [Wed, 2 Apr 2014 18:57:29 +0000 (21:57 +0300)]
Added COMMAND_FUNCTOR and COMMAND_ACTION.

10 years agoPass debug flags to CFLAGS.
Maxim Mamontov [Tue, 25 Mar 2014 19:21:27 +0000 (21:21 +0200)]
Pass debug flags to CFLAGS.

10 years agoChange %i to %d
Naffanya [Mon, 24 Mar 2014 23:33:41 +0000 (01:33 +0200)]
Change %i to %d

10 years agoAdd send message to log about excess length of params
Naffanya [Wed, 19 Mar 2014 23:12:09 +0000 (01:12 +0200)]
Add send message to log about excess length of params

10 years agoMerge branch 'master' into naffanya-dev
Naffanya [Mon, 17 Mar 2014 21:08:43 +0000 (23:08 +0200)]
Merge branch 'master' into naffanya-dev

10 years agoFixed stupid things in MySQL backend.
Maxim Mamontov [Mon, 17 Mar 2014 19:19:46 +0000 (21:19 +0200)]
Fixed stupid things in MySQL backend.