]> git.stg.codes - stg.git/log
stg.git
10 years agoFinished new implementation of sgconfig plugin.
Maxim Mamontov [Mon, 22 Sep 2014 20:28:31 +0000 (23:28 +0300)]
Finished new implementation of sgconfig plugin.

10 years agoBetter error reporting from plugin runner.
Maxim Mamontov [Mon, 22 Sep 2014 20:28:06 +0000 (23:28 +0300)]
Better error reporting from plugin runner.

10 years agoAnother changes on API.
Maxim Mamontov [Mon, 22 Sep 2014 20:27:45 +0000 (23:27 +0300)]
Another changes on API.

10 years agoAdded missing include.
Maxim Mamontov [Mon, 22 Sep 2014 20:27:29 +0000 (23:27 +0300)]
Added missing include.

10 years agoFixes due to changes in API.
Maxim Mamontov [Mon, 22 Sep 2014 20:26:58 +0000 (23:26 +0300)]
Fixes due to changes in API.

10 years agoFixed parsing admins in srvconf.
Maxim Mamontov [Mon, 22 Sep 2014 20:26:29 +0000 (23:26 +0300)]
Fixed parsing admins in srvconf.

10 years agoFixed srvconf due to changes in BFStream.
Maxim Mamontov [Mon, 22 Sep 2014 20:25:58 +0000 (23:25 +0300)]
Fixed srvconf due to changes in BFStream.

10 years agoFixed BFStream work with large strings, allowed null put on last.
Maxim Mamontov [Mon, 22 Sep 2014 20:25:10 +0000 (23:25 +0300)]
Fixed BFStream work with large strings, allowed null put on last.

10 years agoImplemented parser registry.
Maxim Mamontov [Mon, 22 Sep 2014 12:02:22 +0000 (15:02 +0300)]
Implemented parser registry.

10 years agoAdded parser factories.
Maxim Mamontov [Mon, 22 Sep 2014 09:29:06 +0000 (12:29 +0300)]
Added parser factories.

10 years agoHandle failures in Conn ctor.
Maxim Mamontov [Sun, 21 Sep 2014 20:14:24 +0000 (23:14 +0300)]
Handle failures in Conn ctor.

10 years agoBrand new connection handling.
Maxim Mamontov [Sun, 21 Sep 2014 20:09:57 +0000 (23:09 +0300)]
Brand new connection handling.

10 years agoMinor changes in plugin interface.
Maxim Mamontov [Sun, 21 Sep 2014 20:09:22 +0000 (23:09 +0300)]
Minor changes in plugin interface.

10 years agoRemoved rsconf.cpp.
Maxim Mamontov [Sun, 21 Sep 2014 20:08:43 +0000 (23:08 +0300)]
Removed rsconf.cpp.

10 years agoRemoved unused stuff.
Maxim Mamontov [Thu, 18 Sep 2014 20:06:51 +0000 (23:06 +0300)]
Removed unused stuff.

10 years agoUser parser refactoring.
Maxim Mamontov [Thu, 18 Sep 2014 19:44:42 +0000 (22:44 +0300)]
User parser refactoring.

10 years agoUse netinet/in.h instead of linux/in.h.
Maxim Mamontov [Thu, 18 Sep 2014 19:44:10 +0000 (22:44 +0300)]
Use netinet/in.h instead of linux/in.h.

10 years agoAdded a function to check user existance.
Maxim Mamontov [Thu, 18 Sep 2014 19:43:34 +0000 (22:43 +0300)]
Added a function to check user existance.

10 years agoAdjusted Makefile due to new source files.
Maxim Mamontov [Wed, 17 Sep 2014 06:38:10 +0000 (09:38 +0300)]
Adjusted Makefile due to new source files.

10 years agoFixed compilation errors.
Maxim Mamontov [Wed, 17 Sep 2014 06:37:58 +0000 (09:37 +0300)]
Fixed compilation errors.

10 years agoReduced scopes plus graceful connection shutdown.
Maxim Mamontov [Wed, 17 Sep 2014 06:37:29 +0000 (09:37 +0300)]
Reduced scopes plus graceful connection shutdown.

10 years agoAdded client connection class into sgconfig.
Maxim Mamontov [Wed, 17 Sep 2014 06:36:51 +0000 (09:36 +0300)]
Added client connection class into sgconfig.

10 years agoSplit sgconfig parsers into seaparate files.
Maxim Mamontov [Wed, 17 Sep 2014 06:36:24 +0000 (09:36 +0300)]
Split sgconfig parsers into seaparate files.

10 years agoFixed compilation with new TRAFF_TYPE.
Maxim Mamontov [Wed, 17 Sep 2014 06:34:59 +0000 (09:34 +0300)]
Fixed compilation with new TRAFF_TYPE.

10 years agoMinor change in BFStream.
Maxim Mamontov [Wed, 17 Sep 2014 06:34:18 +0000 (09:34 +0300)]
Minor change in BFStream.

10 years agoAdded const qualifier.
Maxim Mamontov [Wed, 17 Sep 2014 06:33:12 +0000 (09:33 +0300)]
Added const qualifier.

10 years agoTraff type become an enumeration in scope of TARIFF.
Maxim Mamontov [Wed, 17 Sep 2014 06:32:40 +0000 (09:32 +0300)]
Traff type become an enumeration in scope of TARIFF.

10 years agoTARIFFS::GetTariffsData become constant.
Maxim Mamontov [Wed, 17 Sep 2014 06:31:49 +0000 (09:31 +0300)]
TARIFFS::GetTariffsData become constant.

10 years agoCOmpose CXXFLAGS for tests correctly.
Maxim Mamontov [Sat, 13 Sep 2014 22:05:25 +0000 (01:05 +0300)]
COmpose CXXFLAGS for tests correctly.

10 years agoHandle string for encryption properly.
Maxim Mamontov [Sat, 13 Sep 2014 22:01:44 +0000 (01:01 +0300)]
Handle string for encryption properly.

10 years agoStore parser answer in configproto.
Maxim Mamontov [Sat, 13 Sep 2014 22:01:14 +0000 (01:01 +0300)]
Store parser answer in configproto.

10 years agoGetPlugin should be extern "C".
Maxim Mamontov [Sat, 13 Sep 2014 22:00:44 +0000 (01:00 +0300)]
GetPlugin should be extern "C".

10 years agoUSe bfstream in srvconf.
Maxim Mamontov [Sat, 13 Sep 2014 22:00:20 +0000 (01:00 +0300)]
USe bfstream in srvconf.

10 years agoShow more information abot XML parsing error.
Maxim Mamontov [Sat, 13 Sep 2014 21:59:43 +0000 (00:59 +0300)]
Show more information abot XML parsing error.

10 years agoFixed bfstream test compilation.
Maxim Mamontov [Sat, 13 Sep 2014 21:58:03 +0000 (00:58 +0300)]
Fixed bfstream test compilation.

10 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).

10 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.

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

10 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.

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

10 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.

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

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

10 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.

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

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

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

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

10 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.

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

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

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

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

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

10 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.

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

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

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

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

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

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

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

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

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

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

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

10 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.

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

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

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

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

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

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

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

10 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.

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

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

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

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

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

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

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

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

10 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.

10 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.

10 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.

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

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

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

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

10 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.

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

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

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

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

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

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

10 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.

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

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