]> git.stg.codes - stg.git/log
stg.git
8 months agoRadiusю (#12)
HelenMamontova [Tue, 15 Jul 2025 12:37:18 +0000 (15:37 +0300)]
Radiusю (#12)

* Radius. Header file <mutex>, <jthread.hpp> added. Functions start, stop
declaration changed. Class members m_thread, m_mutex added. Function Run
declaration added.

* Radius. Header files added. Functions Start, Stop, Run definition added.

* Radius. New files server.h, server.cpp added.

* Radius. Definition of functions startReceive, makeResponse, handleSend,
handleReceive added.

* The Run function name fixed. Definition of secret variable sdded.

* The file server.cpp added to add_library command, command
find_package(OpenSSL 1.0.0 Required) added, OpenSSL::Crypto added to
target_link_libraries command in the block if(BUILD_MOD_RADIUS).

* Parameter token added to function Run() declaration.

* Radius. Method Start: variable isRunning=true removed, m_thread
definition changed. Method Stop: variable isRunning=false removed,
m_thread.joinable check added, isRunning check added, request_stop call added.
Method Run: parameter token added, variables secret, port removed,
object lock and isRunning=true added before cycle while,
cycle while added, isRunning=false added after cycle while.

* Radius. Hold the mutex removed,extra conditions
for m_thread.join() removed in the Stop function.

* Radius. Cycle while removed in function Run.

* Radius. The variables isRunning, errorStr replaced by m_running,
m_errorStr in class Radius.

* Radius. The variable isRunning replaced by m_running in function Run.

* Radius. Object name io_service changed to ioService in the function Run.

* Method SetRunning declaration added to the class RADIUS.

* Method SetRunning definition added. Method SetRunning call added to
function Run.

* Radius. Namespace STG added.

* Radius. Declaration using STG::Server added.

* Radius. Header file "stg/logger.h" added. RADIUS class member m_loger added.

* Radius. Header file "stg/common.h" added. Initialization of m_logger
added to constructor RADIUS. Output cerr replaced by logger and
printfd().

* Radius. Variable except added, messages fixed in the function Run.

* Radius. Thread join logic fixed in the function Stop.

* Keyword const added to std::lock_guard in the function SetRunning.

* Radius. Class member m_mutex moved to the top of list.

* Radius. Class member m_logger put after the m_running.

* Radius. Unnecessary variable except removed in the function Run.

* Radius. Extra whitespace removed in the function Stop. Function
IsRunning definition added.

* Radius. Function IsRunning declaration changed.

* Radius. Formatting fixed.

* Radius. Extra symbols '//' removed.

* Radius. Class member m_running initialization added to constructor
RADIUS.

* Radius.Header file "stg/module_settings.h" added. Class members variable
m_settings and method SetSettings added to class RADIUS.

* Radius. The parameters Secret, Dictionaries added, parameter Port
changed, other parameters removed.

* Radius. Header files added. Class RAD_SETTINGS added. Methods
SetSettings, copy constructor RADIUS, assignment operator added. Method
ParseSettings changed. Formatting fixed.

* Radius. Parameter default changed to optional and parameters value
commented out for the parameters dictionaries, port.

* Radius. Description of parameters secret, port, dictionaries changed.

* Radius. Copy constructor RADIUS and assignment operator declaration
changed and moved to public section.

* Radius. Class member m_mutex moved to the top of section private.

* Radius. The m_port variable value initialization changed to 1812,
m_dictionaries variable initialization added to constructor RAD_SETTINGS.

* Radius. Check for missing parameters port and dictionaries removed in function ParseSettings.

* Radius. The dist directory added.

* Radius. The methods declaration stop and start added.

* Radius. The methods stop, start definition added. Method start call
added to Server constructor.

* Radius. The header files "server.h", <boost/asio.hpp>, <memory> added.
The class members m_ioService, m_server added.

* Radius. The header files "server", <boost/asio.hpp>, <string> removed.
The method m_server->stop() call added to method Stop.

* Radius. Header files <stop_token> and <jthread.hpp> added. Parameter
token added to constructor Server. Class member m_token added.

* Radius. Parameter token and m_token class member initialization added to Server
constructor definition. The check m_token.stop_requested() added to
method handleSend before startReceive method call.

* Radius. The m_server class member initialization removed.

* Radius. The m_server->stop() call adnd m_thread.request_stop() call
reodered, the m_server check added before m_server->stop call in the
method Stop. Parameter token added to constructor Server in the function
Run.

* Radius. Header file "stg/logger.h" added. Class member m_logger added to
class Server.

* Radius. Header file "stg/common.h" added, header file <iostream>
removed. Class member m_logger initialization added to constructor
Server. Object std::cout replaced by function printfd and m_logger.

* Radius. Class member m_logger initialization changed in the constructor
Server. Check token moved before checking the error code in the
handleSend method.

* Radius. Check token added to handleReceive method.

* Radius. Header file <stop_token> replaced by <stop_token.hpp>, header
file <jthread.hpp> removed.

* Radius. Parameter m_logger added to constructor Server call in the
method Run.

* Radius. Parameter logger added to constructor Server declaration. Class
member m_logger added to class Server.

* Radius. Parameter logger added to constructor Server definition. Class
member m_logger initialization changed in the constructor Server.

* Radius. Extra whitespace removed ib the method Run.

* Radius. The order of operations changed in the method handleSend.

* Radius. The order of operations changed in the method handleReceive.

* Radius. Operator return removed when checking ec, operator else removed
when checking packet in the handleReceive method.

* Radius. Parameter token replaced by std::move(token) in the constructor Server
in method Run.

* Radius. Class member m_token initialization value changed to
std::move(token) in the constructor Server.

* Radius. The c_str() function added to message when checking error in the
handleSend and handleReceive methods.

* Radius. Header file <cstring> added.

* Radius. Header files "stg/users.h", "stg/user.h", "stg/user_property.h"
added. The using statements added. The findUser, SetUsers functions
declaration added. Class member m_users added.

* Radius. Header files "radproto/attribute_types.h", <cstdint> added.
The m_users class member initialization added to constructor Server. The
findUser function definition added. The findUser function call added to
makeResponse function.

* Radius. Getting the values of login and password fixed in the function
findUser. Extra functions printfd call added.

* Radius. Using statements added. Method SetUsers added, variable class
member m_users added to class RADIUS.

* Radius. The class member variable m_users initialization added to
constructor Radius. Parameter m_users added to constructor Server call
in the method Run.

* Radius. Parameter users added to constructir Server declaration.
Function SetUsers removed fron class Server.

* Radius. Parameter users added to constructor Server definition. Variable
class member m_users initialization added to constructor Server.

* Radius. Function c_str added to login and password in m_logger and
printfd function in the function findUser.

* Radius. Extra functions printfd removed.

* Radius. The using declaration for UserPtr, ConstUserPtr removed.

* Radius. Looking for user moved after check request type in the
makeResponse function.

* Radius. The using declaration for UserPtr, ConstUserPtr removed. Header
files "stg/user.h", "stg/users.h", "stg/user.property.h" removed.

* Radius. Header files "stg/user.h", "stg/users.h" added.

* Radius. Function findUser moved to private.

* Radius. Return type of function findUser changed to bool.

* Radius. Return type of function findUser definition and call changed to bool.

* Radius. Variables attributesEmpty, vendorSpecificEmpty added for packet
ACCESS_REJECT in the function makeResponse.

* Radius. Type STG::Users* replaced by Users* in parameter users in the
constructor Server definition.

* Radius. Condition and code order changed when packet is returned in
makeResponse function.

* Radius. Unnecessary variables attributeEmpty, vendorSpecificEmpty
replaced by {} when ACCESS_REJECT packet is returned in makeResponse
function.

* Radius. Prefix STG of user object removed, user is initialized by
nullptr and moved to the point before call FindByName function in the
findUser function.

* Radius. Extra printfd function call removed in the function findUser.

* Radius. The way of initializing the object user changed in the findUser
function. Error log removed in the makeResponse function.

* Radius. Prefix STG of class member m_users and of parameter u in
SetUsers function removed.

* Radius. Prefix STG of class member m_users and of parameter users
in the constructor Server declaration removed.

* Radius. The messages of m_logger and printfd changed in function
findUser.

* Radius. Search for parameters auth and send added to the ParseSettings function.

* Radius. Extra whitespace removed, unnecessary variables sendValue and
sectionsParams removed in ParseSettings function.

* Radius. The struct AttrValue added.

* Radius. Header files <boost/tokenizer.hpp>, <vector>, <utility> added.
Parsing attributes of field send in section auth of mod_radius.conf
added to the function ParseSettings.

* Radius. Filling vector of pairs attrSend added. Extra printfd function
removed.

* Radius. The Sign enumeration elements names changed in the struct
AttrValue.

* Radius. Using declaration for struct AttrValue added. Function ParseSendAttr definition added
and call in the function ParseSettings added.

* Radius. The enum class Sign renamed to Type, object sign renamed to
type.

* Radius. The enum class Sign renamed to Type, object sign renamed to type
in ParseSendAttr function and ParseSettings function.

* Radius. The enumerator names NOT_VALUE changed to PARAN_NAME, IS_VALUE
changed to VALUE in enum Type.

* Radius. Radius. The enumerator names NOT_VALUE changed to PARAM_NAME, IS_VALUE changed to VALUE in
ParseSendAttr function.

* Radius. The AttrValue struct moved into the RAD_SETTINGS class.

* Radius. The using statement for struct AttrValue removed. The using alias for
struct AttrValue added.

* Radius. The vector parsedSendAttr check added to the function
ParseSendAttr.

* Radius. The ParseSendAttr method added, m_logger variable class member
added to RAD_SETTINGS class.

* Radius. ParseSendAttr function changed to method of RAD_SETTINGS class.
Vector parsedSendAttr check for emptiness and check vector size added to
the ParseSendAttr method. Class member m_logger initialization added to
initialization list to RAD_SETTINGS constructor.

* Radius. Quotes check for the ValueName added to the ParseSendAttr
method.

* Radius. Extra variables attrValue.value and attrValue.type removed in
the ParseSendAttr method.

* Radius. Extra variable attrValue removed in ParseSendAttr method.

* Radius. Send attributes parsing changed in method ParseSendAttr.

* Radius. Argument fieldSendAttr name changed to value and argument type
changed to const std::string& in ParseSendAttr method. Vector
keyValuePairs name changed to res.

* Radius. Argument fieldSendAttr name changed to value and argument type
changed to const std::string& in ParseSendAttr method.

* Radius. Vector name parsedSendAttr changed to keyValue in ParseSendAttr
method.

* Radius. Functions front() and back() are used to get the first and last
characters of string valueName in ParseSendAttr method.

* Radius. Method declaration ParseSendAttr moved to private in class
RAD_SETTINGS.

* Radius. Formatting fixed. Class member m_res and public function
GetRes added to class RAD_SETTINGS.

* Radius. Extra variable res removed. Class member m_res definition added
to ParseSendAttr function and ParseSettings function.

* Radius. Vector res added, variable m_res replaced by res in
ParseSendAttr function.

* Radius. Function name GetRes changed to GetSendPairs, class member
vaiable name m_res changed to m_sendPairs in class RAD_SETTINGS.

* Radius. Class member vaiable name m_res changed to m_sendPairs in the
ParseSettings function.

* Radius. Parameter auth added to mod_radius.conf.

* Radius. The ParseMatchAttr method declaration and m_matchPairs class
member added to RAD_SETTINGS class.

* Radius. The ParseMatchAttr function definition added. Match attributes
parsing added to ParseSetting function.

* Radius. The ParseMatchAttr method removed, the ParseSendAttr method
renamed to ParseAuthAttr in the class RAD_SETTINGS.

* Radius. The ParseSendAttr method definition and call renamed to
ParseAuthAttr. Parameter paramName added to ParseAuthAttr method. The
ParseMatchAttr method definition removed. ParseMatchAttr method call
replaced by ParseAuthAttr.

* Radius. Attribute for parameter auth/match changed.

* Radius. Parameter autz added.

* Radius. ParseAuthAttr function renamed to ParseAuthAutzAttr.

* Radius. ParseAuthAttr function renamed to ParseAuthAutzAttr. The autz
attributes parsing added, m_logger and printfd messages changed in the
ParseAuthAutzAttr function.

* Radius. ParseAuthAutzAttr function renamed to ParseSectionsAttr. The MakeKeyValuePairs function
definition added.

* Radius. ParseAuthAutzAttr function renamed to ParseSectionsAttr. The messages
of m_logger and printfd changed in the ParseSectionsAttr function.
The MakeKeyValuePairs function definition and call added.

* Radius. Attributes of auth/send, autz/send, autz/match changed.

* Radius. ParseSectionsAttr function name changed to ParseRyles.

* Radius. ParseSectionsAttr function name definition and call changed to ParseRyles.

* Radius. Extra printfd function call removed in MakeKeyValuePairs
functions.

* Radius. The ShowRules, GetSendPairsAuth, GetMatchPairsAuth, GetSendPairsAutz, GetMatchPairsAutz
functions declaration added. The m_sendPairs, m_matchPairs class members
removed. The m_sendPairsAuth, m_matchPairsAuth, m_sendPairsAutz, m_matchPairsAutz
class members added.

* Radius. The ShowRules function definition added and its call in
MakeKeyValuePairs function added.

* Radius. The strRules string creating fixed and strRules string renamed to result
in the ShowRules function.

* Radius. Parameter name changed to attributes and & added to parameter in
the ParseRules function.

* Radius. The ShowRules function definition changed. Parameter name changed to attributes and & added to parameter in the ShowRules function.

* Radius. The struct ASection added. The getAuth, getAutz, parseASection
function declaration added. Class member m_auth, m_autz added.
Unnecessary code removed.

* Radius. The using ASection for alias added. The parseASection function
definition and call added, MakeKeyValuePairs function removed,
ParseSettings function changed. Extra printfd function added.

* Radius. The return added to parseASection function. Extra printfd
functions removed.

* Radius. GIT_TAG changed to 1.1.3 in the ExternalProject_Add for
async-radius.

* Radius. The m_ioService class member replaced by m_ioContext in class
Radius.

* Radius. The m_ioService class member replaced by m_ioContext in the
function Run.

* Radius. Parameter io_service replaced by io_context in the constructor Server.

* Radius. Parameter io_service replaced by io_context in the constructor Server definition.

* Radius. Parameters msg, ip commented out in the SendMessage function.

* Radius. Variable 'sep' declared 'const' in ParseRules function.

* Radius. Variables 'tokens', 'sp', 'tok' declared 'const' in ParseRules function.

* Radius. ShowRules function declaration removed from class RAD_SETTINGS.

* Radius. ShowRules function definition is made as a free function.

* Radius. ShowRules function definition is placed in the anonymous namespace.

* Radius. The code for determining the first element of vector changed in the function ShowRules.

* Radius. Function SetUsers declaration is made as override in the class
Radius.

* Radius. Header file <algorithm> added.

11 months agoRadius. (#11)
HelenMamontova [Wed, 23 Apr 2025 12:47:51 +0000 (15:47 +0300)]
Radius. (#11)

* Radius. Header file <mutex>, <jthread.hpp> added. Functions start, stop
declaration changed. Class members m_thread, m_mutex added. Function Run
declaration added.

* Radius. Header files added. Functions Start, Stop, Run definition added.

* Radius. New files server.h, server.cpp added.

* Radius. Definition of functions startReceive, makeResponse, handleSend,
handleReceive added.

* The Run function name fixed. Definition of secret variable sdded.

* The file server.cpp added to add_library command, command
find_package(OpenSSL 1.0.0 Required) added, OpenSSL::Crypto added to
target_link_libraries command in the block if(BUILD_MOD_RADIUS).

* Parameter token added to function Run() declaration.

* Radius. Method Start: variable isRunning=true removed, m_thread
definition changed. Method Stop: variable isRunning=false removed,
m_thread.joinable check added, isRunning check added, request_stop call added.
Method Run: parameter token added, variables secret, port removed,
object lock and isRunning=true added before cycle while,
cycle while added, isRunning=false added after cycle while.

* Radius. Hold the mutex removed,extra conditions
for m_thread.join() removed in the Stop function.

* Radius. Cycle while removed in function Run.

* Radius. The variables isRunning, errorStr replaced by m_running,
m_errorStr in class Radius.

* Radius. The variable isRunning replaced by m_running in function Run.

* Radius. Object name io_service changed to ioService in the function Run.

* Method SetRunning declaration added to the class RADIUS.

* Method SetRunning definition added. Method SetRunning call added to
function Run.

* Radius. Namespace STG added.

* Radius. Declaration using STG::Server added.

* Radius. Header file "stg/logger.h" added. RADIUS class member m_loger added.

* Radius. Header file "stg/common.h" added. Initialization of m_logger
added to constructor RADIUS. Output cerr replaced by logger and
printfd().

* Radius. Variable except added, messages fixed in the function Run.

* Radius. Thread join logic fixed in the function Stop.

* Keyword const added to std::lock_guard in the function SetRunning.

* Radius. Class member m_mutex moved to the top of list.

* Radius. Class member m_logger put after the m_running.

* Radius. Unnecessary variable except removed in the function Run.

* Radius. Extra whitespace removed in the function Stop. Function
IsRunning definition added.

* Radius. Function IsRunning declaration changed.

* Radius. Formatting fixed.

* Radius. Extra symbols '//' removed.

* Radius. Class member m_running initialization added to constructor
RADIUS.

* Radius.Header file "stg/module_settings.h" added. Class members variable
m_settings and method SetSettings added to class RADIUS.

* Radius. The parameters Secret, Dictionaries added, parameter Port
changed, other parameters removed.

* Radius. Header files added. Class RAD_SETTINGS added. Methods
SetSettings, copy constructor RADIUS, assignment operator added. Method
ParseSettings changed. Formatting fixed.

* Radius. Parameter default changed to optional and parameters value
commented out for the parameters dictionaries, port.

* Radius. Description of parameters secret, port, dictionaries changed.

* Radius. Copy constructor RADIUS and assignment operator declaration
changed and moved to public section.

* Radius. Class member m_mutex moved to the top of section private.

* Radius. The m_port variable value initialization changed to 1812,
m_dictionaries variable initialization added to constructor RAD_SETTINGS.

* Radius. Check for missing parameters port and dictionaries removed in function ParseSettings.

* Radius. The dist directory added.

* Radius. The methods declaration stop and start added.

* Radius. The methods stop, start definition added. Method start call
added to Server constructor.

* Radius. The header files "server.h", <boost/asio.hpp>, <memory> added.
The class members m_ioService, m_server added.

* Radius. The header files "server", <boost/asio.hpp>, <string> removed.
The method m_server->stop() call added to method Stop.

* Radius. Header files <stop_token> and <jthread.hpp> added. Parameter
token added to constructor Server. Class member m_token added.

* Radius. Parameter token and m_token class member initialization added to Server
constructor definition. The check m_token.stop_requested() added to
method handleSend before startReceive method call.

* Radius. The m_server class member initialization removed.

* Radius. The m_server->stop() call adnd m_thread.request_stop() call
reodered, the m_server check added before m_server->stop call in the
method Stop. Parameter token added to constructor Server in the function
Run.

* Radius. Header file "stg/logger.h" added. Class member m_logger added to
class Server.

* Radius. Header file "stg/common.h" added, header file <iostream>
removed. Class member m_logger initialization added to constructor
Server. Object std::cout replaced by function printfd and m_logger.

* Radius. Class member m_logger initialization changed in the constructor
Server. Check token moved before checking the error code in the
handleSend method.

* Radius. Check token added to handleReceive method.

* Radius. Header file <stop_token> replaced by <stop_token.hpp>, header
file <jthread.hpp> removed.

* Radius. Parameter m_logger added to constructor Server call in the
method Run.

* Radius. Parameter logger added to constructor Server declaration. Class
member m_logger added to class Server.

* Radius. Parameter logger added to constructor Server definition. Class
member m_logger initialization changed in the constructor Server.

* Radius. Extra whitespace removed ib the method Run.

* Radius. The order of operations changed in the method handleSend.

* Radius. The order of operations changed in the method handleReceive.

* Radius. Operator return removed when checking ec, operator else removed
when checking packet in the handleReceive method.

* Radius. Parameter token replaced by std::move(token) in the constructor Server
in method Run.

* Radius. Class member m_token initialization value changed to
std::move(token) in the constructor Server.

* Radius. The c_str() function added to message when checking error in the
handleSend and handleReceive methods.

* Radius. Header file <cstring> added.

* Radius. Header files "stg/users.h", "stg/user.h", "stg/user_property.h"
added. The using statements added. The findUser, SetUsers functions
declaration added. Class member m_users added.

* Radius. Header files "radproto/attribute_types.h", <cstdint> added.
The m_users class member initialization added to constructor Server. The
findUser function definition added. The findUser function call added to
makeResponse function.

* Radius. Getting the values of login and password fixed in the function
findUser. Extra functions printfd call added.

* Radius. Using statements added. Method SetUsers added, variable class
member m_users added to class RADIUS.

* Radius. The class member variable m_users initialization added to
constructor Radius. Parameter m_users added to constructor Server call
in the method Run.

* Radius. Parameter users added to constructir Server declaration.
Function SetUsers removed fron class Server.

* Radius. Parameter users added to constructor Server definition. Variable
class member m_users initialization added to constructor Server.

* Radius. Function c_str added to login and password in m_logger and
printfd function in the function findUser.

* Radius. Extra functions printfd removed.

* Radius. The using declaration for UserPtr, ConstUserPtr removed.

* Radius. Looking for user moved after check request type in the
makeResponse function.

* Radius. The using declaration for UserPtr, ConstUserPtr removed. Header
files "stg/user.h", "stg/users.h", "stg/user.property.h" removed.

* Radius. Header files "stg/user.h", "stg/users.h" added.

* Radius. Function findUser moved to private.

* Radius. Return type of function findUser changed to bool.

* Radius. Return type of function findUser definition and call changed to bool.

* Radius. Variables attributesEmpty, vendorSpecificEmpty added for packet
ACCESS_REJECT in the function makeResponse.

* Radius. Type STG::Users* replaced by Users* in parameter users in the
constructor Server definition.

* Radius. Condition and code order changed when packet is returned in
makeResponse function.

* Radius. Unnecessary variables attributeEmpty, vendorSpecificEmpty
replaced by {} when ACCESS_REJECT packet is returned in makeResponse
function.

* Radius. Prefix STG of user object removed, user is initialized by
nullptr and moved to the point before call FindByName function in the
findUser function.

* Radius. Extra printfd function call removed in the function findUser.

* Radius. The way of initializing the object user changed in the findUser
function. Error log removed in the makeResponse function.

* Radius. Prefix STG of class member m_users and of parameter u in
SetUsers function removed.

* Radius. Prefix STG of class member m_users and of parameter users
in the constructor Server declaration removed.

* Radius. The messages of m_logger and printfd changed in function
findUser.

11 months agoUpdate async-radius.
Maksym Mamontov [Fri, 11 Apr 2025 09:41:59 +0000 (12:41 +0300)]
Update async-radius.

12 months agoRadius (#9)
HelenMamontova [Tue, 18 Mar 2025 15:49:02 +0000 (17:49 +0200)]
Radius (#9)

* Radius. Header file <mutex>, <jthread.hpp> added. Functions start, stop
declaration changed. Class members m_thread, m_mutex added. Function Run
declaration added.

* Radius. Header files added. Functions Start, Stop, Run definition added.

* Radius. New files server.h, server.cpp added.

* Radius. Definition of functions startReceive, makeResponse, handleSend,
handleReceive added.

* The Run function name fixed. Definition of secret variable sdded.

* The file server.cpp added to add_library command, command
find_package(OpenSSL 1.0.0 Required) added, OpenSSL::Crypto added to
target_link_libraries command in the block if(BUILD_MOD_RADIUS).

* Parameter token added to function Run() declaration.

* Radius. Method Start: variable isRunning=true removed, m_thread
definition changed. Method Stop: variable isRunning=false removed,
m_thread.joinable check added, isRunning check added, request_stop call added.
Method Run: parameter token added, variables secret, port removed,
object lock and isRunning=true added before cycle while,
cycle while added, isRunning=false added after cycle while.

* Radius. Hold the mutex removed,extra conditions
for m_thread.join() removed in the Stop function.

* Radius. Cycle while removed in function Run.

* Radius. The variables isRunning, errorStr replaced by m_running,
m_errorStr in class Radius.

* Radius. The variable isRunning replaced by m_running in function Run.

* Radius. Object name io_service changed to ioService in the function Run.

* Method SetRunning declaration added to the class RADIUS.

* Method SetRunning definition added. Method SetRunning call added to
function Run.

* Radius. Namespace STG added.

* Radius. Declaration using STG::Server added.

* Radius. Header file "stg/logger.h" added. RADIUS class member m_loger added.

* Radius. Header file "stg/common.h" added. Initialization of m_logger
added to constructor RADIUS. Output cerr replaced by logger and
printfd().

* Radius. Variable except added, messages fixed in the function Run.

* Radius. Thread join logic fixed in the function Stop.

* Keyword const added to std::lock_guard in the function SetRunning.

* Radius. Class member m_mutex moved to the top of list.

* Radius. Class member m_logger put after the m_running.

* Radius. Unnecessary variable except removed in the function Run.

* Radius. Extra whitespace removed in the function Stop. Function
IsRunning definition added.

* Radius. Function IsRunning declaration changed.

* Radius. Formatting fixed.

* Radius. Extra symbols '//' removed.

* Radius. Class member m_running initialization added to constructor
RADIUS.

* Radius.Header file "stg/module_settings.h" added. Class members variable
m_settings and method SetSettings added to class RADIUS.

* Radius. The parameters Secret, Dictionaries added, parameter Port
changed, other parameters removed.

* Radius. Header files added. Class RAD_SETTINGS added. Methods
SetSettings, copy constructor RADIUS, assignment operator added. Method
ParseSettings changed. Formatting fixed.

* Radius. Parameter default changed to optional and parameters value
commented out for the parameters dictionaries, port.

* Radius. Description of parameters secret, port, dictionaries changed.

* Radius. Copy constructor RADIUS and assignment operator declaration
changed and moved to public section.

* Radius. Class member m_mutex moved to the top of section private.

* Radius. The m_port variable value initialization changed to 1812,
m_dictionaries variable initialization added to constructor RAD_SETTINGS.

* Radius. Check for missing parameters port and dictionaries removed in function ParseSettings.

* Radius. The dist directory added.

* Radius. The methods declaration stop and start added.

* Radius. The methods stop, start definition added. Method start call
added to Server constructor.

* Radius. The header files "server.h", <boost/asio.hpp>, <memory> added.
The class members m_ioService, m_server added.

* Radius. The header files "server", <boost/asio.hpp>, <string> removed.
The method m_server->stop() call added to method Stop.

* Radius. Header files <stop_token> and <jthread.hpp> added. Parameter
token added to constructor Server. Class member m_token added.

* Radius. Parameter token and m_token class member initialization added to Server
constructor definition. The check m_token.stop_requested() added to
method handleSend before startReceive method call.

* Radius. The m_server class member initialization removed.

* Radius. The m_server->stop() call adnd m_thread.request_stop() call
reodered, the m_server check added before m_server->stop call in the
method Stop. Parameter token added to constructor Server in the function
Run.

* Radius. Header file "stg/logger.h" added. Class member m_logger added to
class Server.

* Radius. Header file "stg/common.h" added, header file <iostream>
removed. Class member m_logger initialization added to constructor
Server. Object std::cout replaced by function printfd and m_logger.

* Radius. Class member m_logger initialization changed in the constructor
Server. Check token moved before checking the error code in the
handleSend method.

* Radius. Check token added to handleReceive method.

* Radius. Header file <stop_token> replaced by <stop_token.hpp>, header
file <jthread.hpp> removed.

* Radius. Parameter m_logger added to constructor Server call in the
method Run.

* Radius. Parameter logger added to constructor Server declaration. Class
member m_logger added to class Server.

* Radius. Parameter logger added to constructor Server definition. Class
member m_logger initialization changed in the constructor Server.

* Radius. Extra whitespace removed ib the method Run.

* Radius. The order of operations changed in the method handleSend.

* Radius. The order of operations changed in the method handleReceive.

* Radius. Operator return removed when checking ec, operator else removed
when checking packet in the handleReceive method.

* Radius. Parameter token replaced by std::move(token) in the constructor Server
in method Run.

* Radius. Class member m_token initialization value changed to
std::move(token) in the constructor Server.

* Radius. The c_str() function added to message when checking error in the
handleSend and handleReceive methods.

* Radius. Header file <cstring> added.

13 months agoUpdate CMakeLists.txt
Maksym Mamontov [Wed, 19 Feb 2025 14:55:11 +0000 (16:55 +0200)]
Update CMakeLists.txt

Update async-radius lib.

13 months agoRadius. (#8)
HelenMamontova [Mon, 10 Feb 2025 14:46:27 +0000 (16:46 +0200)]
Radius. (#8)

* Radius. Header file <mutex>, <jthread.hpp> added. Functions start, stop
declaration changed. Class members m_thread, m_mutex added. Function Run
declaration added.

* Radius. Header files added. Functions Start, Stop, Run definition added.

* Radius. New files server.h, server.cpp added.

* Radius. Definition of functions startReceive, makeResponse, handleSend,
handleReceive added.

* The Run function name fixed. Definition of secret variable sdded.

* The file server.cpp added to add_library command, command
find_package(OpenSSL 1.0.0 Required) added, OpenSSL::Crypto added to
target_link_libraries command in the block if(BUILD_MOD_RADIUS).

* Parameter token added to function Run() declaration.

* Radius. Method Start: variable isRunning=true removed, m_thread
definition changed. Method Stop: variable isRunning=false removed,
m_thread.joinable check added, isRunning check added, request_stop call added.
Method Run: parameter token added, variables secret, port removed,
object lock and isRunning=true added before cycle while,
cycle while added, isRunning=false added after cycle while.

* Radius. Hold the mutex removed,extra conditions
for m_thread.join() removed in the Stop function.

* Radius. Cycle while removed in function Run.

* Radius. The variables isRunning, errorStr replaced by m_running,
m_errorStr in class Radius.

* Radius. The variable isRunning replaced by m_running in function Run.

* Radius. Object name io_service changed to ioService in the function Run.

* Method SetRunning declaration added to the class RADIUS.

* Method SetRunning definition added. Method SetRunning call added to
function Run.

* Radius. Namespace STG added.

* Radius. Declaration using STG::Server added.

* Radius. Header file "stg/logger.h" added. RADIUS class member m_loger added.

* Radius. Header file "stg/common.h" added. Initialization of m_logger
added to constructor RADIUS. Output cerr replaced by logger and
printfd().

* Radius. Variable except added, messages fixed in the function Run.

* Radius. Thread join logic fixed in the function Stop.

* Keyword const added to std::lock_guard in the function SetRunning.

* Radius. Class member m_mutex moved to the top of list.

* Radius. Class member m_logger put after the m_running.

* Radius. Unnecessary variable except removed in the function Run.

* Radius. Extra whitespace removed in the function Stop. Function
IsRunning definition added.

* Radius. Function IsRunning declaration changed.

* Radius. Formatting fixed.

* Radius. Extra symbols '//' removed.

* Radius. Class member m_running initialization added to constructor
RADIUS.

* Radius.Header file "stg/module_settings.h" added. Class members variable
m_settings and method SetSettings added to class RADIUS.

* Radius. The parameters Secret, Dictionaries added, parameter Port
changed, other parameters removed.

* Radius. Header files added. Class RAD_SETTINGS added. Methods
SetSettings, copy constructor RADIUS, assignment operator added. Method
ParseSettings changed. Formatting fixed.

* Radius. Parameter default changed to optional and parameters value
commented out for the parameters dictionaries, port.

* Radius. Description of parameters secret, port, dictionaries changed.

* Radius. Copy constructor RADIUS and assignment operator declaration
changed and moved to public section.

* Radius. Class member m_mutex moved to the top of section private.

* Radius. The m_port variable value initialization changed to 1812,
m_dictionaries variable initialization added to constructor RAD_SETTINGS.

* Radius. Check for missing parameters port and dictionaries removed in function ParseSettings.

14 months agoMerge remote-tracking branch 'github/master'
Maksym Mamontov [Mon, 27 Jan 2025 15:03:37 +0000 (17:03 +0200)]
Merge remote-tracking branch 'github/master'

14 months agoFix debug build, use separate clang-tidy config.
Maksym Mamontov [Mon, 27 Jan 2025 15:03:04 +0000 (17:03 +0200)]
Fix debug build, use separate clang-tidy config.

14 months agoRadius (#7)
HelenMamontova [Mon, 27 Jan 2025 14:16:11 +0000 (16:16 +0200)]
Radius (#7)

* Radius. Header file <mutex>, <jthread.hpp> added. Functions start, stop
declaration changed. Class members m_thread, m_mutex added. Function Run
declaration added.

* Radius. Header files added. Functions Start, Stop, Run definition added.

* Radius. New files server.h, server.cpp added.

* Radius. Definition of functions startReceive, makeResponse, handleSend,
handleReceive added.

* The Run function name fixed. Definition of secret variable sdded.

* The file server.cpp added to add_library command, command
find_package(OpenSSL 1.0.0 Required) added, OpenSSL::Crypto added to
target_link_libraries command in the block if(BUILD_MOD_RADIUS).

* Parameter token added to function Run() declaration.

* Radius. Method Start: variable isRunning=true removed, m_thread
definition changed. Method Stop: variable isRunning=false removed,
m_thread.joinable check added, isRunning check added, request_stop call added.
Method Run: parameter token added, variables secret, port removed,
object lock and isRunning=true added before cycle while,
cycle while added, isRunning=false added after cycle while.

* Radius. Hold the mutex removed,extra conditions
for m_thread.join() removed in the Stop function.

* Radius. Cycle while removed in function Run.

* Radius. The variables isRunning, errorStr replaced by m_running,
m_errorStr in class Radius.

* Radius. The variable isRunning replaced by m_running in function Run.

* Radius. Object name io_service changed to ioService in the function Run.

* Method SetRunning declaration added to the class RADIUS.

* Method SetRunning definition added. Method SetRunning call added to
function Run.

* Radius. Namespace STG added.

* Radius. Declaration using STG::Server added.

* Radius. Header file "stg/logger.h" added. RADIUS class member m_loger added.

* Radius. Header file "stg/common.h" added. Initialization of m_logger
added to constructor RADIUS. Output cerr replaced by logger and
printfd().

* Radius. Variable except added, messages fixed in the function Run.

* Radius. Thread join logic fixed in the function Stop.

* Keyword const added to std::lock_guard in the function SetRunning.

* Radius. Class member m_mutex moved to the top of list.

* Radius. Class member m_logger put after the m_running.

* Radius. Unnecessary variable except removed in the function Run.

* Radius. Extra whitespace removed in the function Stop. Function
IsRunning definition added.

* Radius. Function IsRunning declaration changed.

* Radius. Formatting fixed.

* Radius. Extra symbols '//' removed.

* Radius. Class member m_running initialization added to constructor
RADIUS.

15 months agoUse async-radius.
Maksym Mamontov [Mon, 16 Dec 2024 16:00:40 +0000 (18:00 +0200)]
Use async-radius.

15 months agoFix compilation.
Maksym Mamontov [Mon, 16 Dec 2024 15:59:03 +0000 (17:59 +0200)]
Fix compilation.

15 months agoStargazer (#6)
HelenMamontova [Mon, 16 Dec 2024 11:53:46 +0000 (13:53 +0200)]
Stargazer (#6)

* Radius. Block if (BUILD_MOD_RADIUS) added.

* Radius. Catalog radius with radius.h and radius.cpp files added.

* Declaration of methods GetVersion, SendMessage, SetUsers, Start added.

* Definition of method SendMessage added.

* The option for BUILD_MOD_RADIUS added.

* Header files <string>, <vector>, <list> added. Virtual methods Start,
Stop declaration added. Private methods AddUser, DelUser, GetUser,
UpdateUserAuthorization added. Class member variable errorStr, users,
userList, isRunning, m_conns, m_onAddUserConn, m_onDelUserConn added.

* Header files <functional>, "stg/user.h" added. Overriding virtual
methods Start, Stop added.

* Private methods SetUserNotifiers, UnSetUserNotifiers declaration added.

* Header file <cassert> added. Definition methods GetUser, AddUser, DelUser,
UpdateUserAuthorization added.

* Unnecessary block private removed. Unnecessary header files removed.

* Unnecessary methods removed. Unnecessary header files removed.

* Overriding virtual methods Start, Stop, Reload, IsRunning, ParseSettings, GetStrErroor,
GetStartPosition, GetStopPosition, SendMessage added. Class member
variable errorStr, isRunning added.

* Definition of methods Start, Stop, SendMessage removed.

* Header file <string> added. The functions PrintHelp, PrintVersion added.
Parsing command line parameters added. The parameter of function settings
when it call changed.

* Radius. Variable bool noDaemon added. Parameter -f/--f added to parsing
command line. The call of function ForkAndWait changed - it is called if the variable
noDaemon is false.

* Radius. Command line parameter 'path' value fixed in the function
PrintHelp. Parsing command line parameters fixed. The key
-f/--foreground added to parsing command line parameters.

* Radius. Return value in the function GetVersion changed.

* Radius. Unnecessary check 'argc = i + 2' removed from parsing command
line parameters.

* The macro NO_DAEMON removed. The logic driven by the macro changed to
command line argument f analysis.

* Radius. The check variable noDaemon added when create function call.

* Radius. The variable startFile definition moved to block if(!noDaemon)
in main function.

16 months agoMerge remote-tracking branch 'github/master'
Maksym Mamontov [Fri, 8 Nov 2024 10:53:38 +0000 (12:53 +0200)]
Merge remote-tracking branch 'github/master'

3 years agoUpdate README.
Maksym Mamontov [Wed, 28 Dec 2022 14:55:20 +0000 (16:55 +0200)]
Update README.

3 years agoFix build on Darwin.
Maksym Mamontov [Wed, 28 Dec 2022 14:32:34 +0000 (16:32 +0200)]
Fix build on Darwin.

3 years agoAdd an option to opt-out Firebird store.
Maksym Mamontov [Wed, 28 Dec 2022 14:32:19 +0000 (16:32 +0200)]
Add an option to opt-out Firebird store.

3 years agoUse std::lock_guard instead of STG_LOCKER.
Maksym Mamontov [Wed, 31 Aug 2022 15:46:16 +0000 (18:46 +0300)]
Use std::lock_guard instead of STG_LOCKER.

3 years agoMore std::jthread stuff.
Maksym Mamontov [Mon, 29 Aug 2022 20:15:12 +0000 (23:15 +0300)]
More std::jthread stuff.

3 years agoDisable cppcheck for foreign libs by default.
Maksym Mamontov [Sun, 28 Aug 2022 15:26:01 +0000 (18:26 +0300)]
Disable cppcheck for foreign libs by default.

3 years agoRegen SMUX support library with more recent ASN1 compiler.
Maksym Mamontov [Sun, 28 Aug 2022 15:02:04 +0000 (18:02 +0300)]
Regen SMUX support library with more recent ASN1 compiler.

3 years agoFight CLang warnings.
Maksym Mamontov [Sat, 27 Aug 2022 15:41:54 +0000 (18:41 +0300)]
Fight CLang warnings.

3 years agoComplete replacement notifiers with subscriptions.
Maksym Mamontov [Fri, 26 Aug 2022 11:57:38 +0000 (14:57 +0300)]
Complete replacement notifiers with subscriptions.

3 years agoMore subscriptions, less notifiers.
Maksym Mamontov [Thu, 25 Aug 2022 13:16:56 +0000 (16:16 +0300)]
More subscriptions, less notifiers.

3 years agoStart replacing notifiers with subscriptions.
Maksym Mamontov [Tue, 23 Aug 2022 15:35:03 +0000 (18:35 +0300)]
Start replacing notifiers with subscriptions.

3 years agoUse async pool instead of EVENT_LOOP.
Maksym Mamontov [Tue, 23 Aug 2022 14:11:56 +0000 (17:11 +0300)]
Use async pool instead of EVENT_LOOP.

3 years agoAdd async pool (to replace EVENT_LOOP).
Maksym Mamontov [Tue, 23 Aug 2022 13:55:28 +0000 (16:55 +0300)]
Add async pool (to replace EVENT_LOOP).

3 years agoAdd subscriptions (to replace notifiers).
Maksym Mamontov [Tue, 23 Aug 2022 11:21:12 +0000 (14:21 +0300)]
Add subscriptions (to replace notifiers).

3 years agoSimplify notifiers.
Maksym Mamontov [Tue, 23 Aug 2022 11:17:59 +0000 (14:17 +0300)]
Simplify notifiers.

3 years agoBuild and test in both Debug and Release mode.
Maksym Mamontov [Mon, 22 Aug 2022 15:20:12 +0000 (18:20 +0300)]
Build and test in both Debug and Release mode.

3 years agoCheckout submodules in GitHub Actions.
Maksym Mamontov [Mon, 22 Aug 2022 14:56:10 +0000 (17:56 +0300)]
Checkout submodules in GitHub Actions.

3 years agoEnable binaries and mods in test builds.
Maksym Mamontov [Mon, 22 Aug 2022 14:52:19 +0000 (17:52 +0300)]
Enable binaries and mods in test builds.

3 years agoCheck if we can use C++17 with XMLRPC-C.
Maksym Mamontov [Mon, 22 Aug 2022 14:44:46 +0000 (17:44 +0300)]
Check if we can use C++17 with XMLRPC-C.

3 years agoMore XML-RPC related stuff.
Maksym Mamontov [Sun, 21 Aug 2022 19:49:29 +0000 (22:49 +0300)]
More XML-RPC related stuff.

3 years agoAdd missing include to conffiles.h.
Maksym Mamontov [Fri, 19 Aug 2022 20:19:21 +0000 (23:19 +0300)]
Add missing include to conffiles.h.

3 years agoFix XML-RPC module compilation on C++17-only compilers.
Maksym Mamontov [Fri, 19 Aug 2022 20:18:10 +0000 (23:18 +0300)]
Fix XML-RPC module compilation on C++17-only compilers.

3 years agoFix divert_cap in FreeBSD.
Maksym Mamontov [Fri, 19 Aug 2022 20:08:22 +0000 (23:08 +0300)]
Fix divert_cap in FreeBSD.

3 years agoMore FreeBSD paths.
Maksym Mamontov [Fri, 19 Aug 2022 19:44:14 +0000 (22:44 +0300)]
More FreeBSD paths.

3 years agoLook for mysql-connector in FreeBSD paths.
Maksym Mamontov [Fri, 19 Aug 2022 19:38:11 +0000 (22:38 +0300)]
Look for mysql-connector in FreeBSD paths.

3 years agoMove strategy into job.
Maksym Mamontov [Fri, 19 Aug 2022 18:00:25 +0000 (21:00 +0300)]
Move strategy into job.

3 years agoAdd clang to compilers on GitHub.
Maksym Mamontov [Fri, 19 Aug 2022 17:58:51 +0000 (20:58 +0300)]
Add clang to compilers on GitHub.

3 years agoRemove extra debug.
Maksym Mamontov [Fri, 19 Aug 2022 13:45:44 +0000 (16:45 +0300)]
Remove extra debug.

3 years agoFix sizeof.
Maksym Mamontov [Fri, 19 Aug 2022 13:29:05 +0000 (16:29 +0300)]
Fix sizeof.

3 years agoPretty-printing CTX diff.
Maksym Mamontov [Fri, 19 Aug 2022 12:38:02 +0000 (15:38 +0300)]
Pretty-printing CTX diff.

3 years agoPretty printing.
Maksym Mamontov [Fri, 19 Aug 2022 11:10:00 +0000 (14:10 +0300)]
Pretty printing.

3 years agoVerbose BLOWFISH_CTX failures.
Maksym Mamontov [Fri, 19 Aug 2022 10:55:28 +0000 (13:55 +0300)]
Verbose BLOWFISH_CTX failures.

3 years agoMake time-sensitive tests in local machine time.
Maksym Mamontov [Fri, 19 Aug 2022 10:50:29 +0000 (13:50 +0300)]
Make time-sensitive tests in local machine time.

3 years agoVerbose test reports on failures.
Maksym Mamontov [Fri, 19 Aug 2022 08:45:09 +0000 (11:45 +0300)]
Verbose test reports on failures.

3 years agoAdd missing library link.
Maksym Mamontov [Fri, 19 Aug 2022 08:42:02 +0000 (11:42 +0300)]
Add missing library link.

3 years agoFinalize transition to Boost.UnitTest.
Maksym Mamontov [Fri, 19 Aug 2022 08:36:42 +0000 (11:36 +0300)]
Finalize transition to Boost.UnitTest.

3 years agoEnable some more libs.
Maksym Mamontov [Wed, 17 Aug 2022 20:54:26 +0000 (23:54 +0300)]
Enable some more libs.

3 years agoFix Boost package name.
Maksym Mamontov [Wed, 17 Aug 2022 20:51:32 +0000 (23:51 +0300)]
Fix Boost package name.

3 years agoInstall Boost in GitHub Actions.
Maksym Mamontov [Wed, 17 Aug 2022 20:50:00 +0000 (23:50 +0300)]
Install Boost in GitHub Actions.

3 years agoEnable some libs in GitHub Actions.
Maksym Mamontov [Wed, 17 Aug 2022 20:44:00 +0000 (23:44 +0300)]
Enable some libs in GitHub Actions.

3 years agoConvert some tests from TUT to Boost.Test
Maksym Mamontov [Wed, 17 Aug 2022 20:40:36 +0000 (23:40 +0300)]
Convert some tests from TUT to Boost.Test

3 years agoTurn Firebird back on.
Maksym Mamontov [Wed, 17 Aug 2022 14:44:39 +0000 (17:44 +0300)]
Turn Firebird back on.

3 years agoAdd GitHub Actions.
Maksym Mamontov [Sat, 30 Jul 2022 21:19:44 +0000 (00:19 +0300)]
Add GitHub Actions.

3 years agoApply some Clang Tidy suggestions.
Maksym Mamontov [Sat, 30 Jul 2022 21:16:44 +0000 (00:16 +0300)]
Apply some Clang Tidy suggestions.

3 years agoAdd instrumentation.
Maksym Mamontov [Sat, 30 Jul 2022 21:16:14 +0000 (00:16 +0300)]
Add instrumentation.

3 years agoSome rscriptd refactoring.
Maksym Mamontov [Tue, 26 Jul 2022 17:13:50 +0000 (20:13 +0300)]
Some rscriptd refactoring.

3 years agoFight Optional
Maksym Mamontov [Sun, 24 Jul 2022 15:51:46 +0000 (18:51 +0300)]
Fight Optional

3 years agoMore jthreads.
Maksym Mamontov [Fri, 22 Jul 2022 19:39:12 +0000 (22:39 +0300)]
More jthreads.

3 years agoFix old-style casts.
Maksym Mamontov [Fri, 22 Jul 2022 19:38:56 +0000 (22:38 +0300)]
Fix old-style casts.

3 years agoCryptography with void* in the interfaces.
Maksym Mamontov [Fri, 22 Jul 2022 19:38:27 +0000 (22:38 +0300)]
Cryptography with void* in the interfaces.

3 years agoMore std::jthread
Maksym Mamontov [Wed, 20 Jul 2022 20:39:09 +0000 (23:39 +0300)]
More std::jthread

3 years agoUse std::jthread and C++17.
Maksym Mamontov [Tue, 12 Jul 2022 20:23:44 +0000 (23:23 +0300)]
Use std::jthread and C++17.

4 years agoMore stgTime cleanup.
Maksym Mamontov [Mon, 28 Jun 2021 19:23:18 +0000 (22:23 +0300)]
More stgTime cleanup.

5 years agoMerge remote-tracking branch 'github/master'
Maksym Mamontov [Mon, 1 Feb 2021 16:16:58 +0000 (18:16 +0200)]
Merge remote-tracking branch 'github/master'

5 years agoAnother `stgTime` case.
Maksym Mamontov [Sat, 23 Jan 2021 15:29:38 +0000 (17:29 +0200)]
Another `stgTime` case.

5 years agoUse `time` for message creation time.
Maksym Mamontov [Sat, 23 Jan 2021 15:14:03 +0000 (17:14 +0200)]
Use `time` for message creation time.

5 years agoAdd missing CMakeLists.txt
Maksym Mamontov [Sun, 17 Jan 2021 17:52:00 +0000 (19:52 +0200)]
Add missing CMakeLists.txt

5 years agoMove projects back into subfolder.
Maksym Mamontov [Sun, 17 Jan 2021 17:48:47 +0000 (19:48 +0200)]
Move projects back into subfolder.

5 years agoUpdate SMUX library.
Maksym Mamontov [Sun, 17 Jan 2021 15:58:38 +0000 (17:58 +0200)]
Update SMUX library.

5 years agoMerge pull request #1 from yuriio147/mysql-store-db-port
Maksym Mamontov [Tue, 25 Aug 2020 14:42:37 +0000 (17:42 +0300)]
Merge pull request #1 from yuriio147/mysql-store-db-port

Added optional DB port parameter for MySQL store.

5 years agoAdded optional DB port parameter for MySQL store.
Yurii Olenych [Tue, 25 Aug 2020 12:49:06 +0000 (15:49 +0300)]
Added optional DB port parameter for MySQL store.

5 years agoNon-virtual admin.
Maksym Mamontov [Mon, 25 May 2020 15:57:48 +0000 (18:57 +0300)]
Non-virtual admin.

5 years agoRemove (always broken) FreeRADIUS support.
Maksym Mamontov [Mon, 11 May 2020 09:59:50 +0000 (12:59 +0300)]
Remove (always broken) FreeRADIUS support.

5 years agoRemove useles cast.
Maksym Mamontov [Mon, 11 May 2020 09:59:27 +0000 (12:59 +0300)]
Remove useles cast.

6 years agoFix XMLRPC.
Maksym Mamontov [Mon, 24 Feb 2020 17:38:46 +0000 (19:38 +0200)]
Fix XMLRPC.

6 years agoMove some includes.
Maksym Mamontov [Mon, 24 Feb 2020 16:40:16 +0000 (18:40 +0200)]
Move some includes.

6 years agopacketSize -> STG::packetSize
Maksym Mamontov [Mon, 24 Feb 2020 16:38:57 +0000 (18:38 +0200)]
packetSize -> STG::packetSize

6 years agoFix compilation error.
Maksym Mamontov [Mon, 24 Feb 2020 16:37:42 +0000 (18:37 +0200)]
Fix compilation error.

6 years agopcktSize -> packetSize
Maksym Mamontov [Mon, 24 Feb 2020 16:27:56 +0000 (18:27 +0200)]
pcktSize -> packetSize

6 years agoRawPacket-related changes.
Maksym Mamontov [Mon, 24 Feb 2020 16:27:11 +0000 (18:27 +0200)]
RawPacket-related changes.

6 years agoAdd missing include.
Maksym Mamontov [Mon, 24 Feb 2020 16:24:48 +0000 (18:24 +0200)]
Add missing include.

6 years agoDisable NFQ on non-linux.
Maksym Mamontov [Mon, 24 Feb 2020 16:22:52 +0000 (18:22 +0200)]
Disable NFQ on non-linux.

6 years agoSome more BSD-related issues.
Maksym Mamontov [Mon, 24 Feb 2020 16:15:14 +0000 (18:15 +0200)]
Some more BSD-related issues.

6 years agoFix some BSD-related issues.
Maksym Mamontov [Mon, 24 Feb 2020 16:02:54 +0000 (18:02 +0200)]
Fix some BSD-related issues.

6 years agoPublic interfaces: part 4
Maksym Mamontov [Fri, 21 Feb 2020 16:54:23 +0000 (18:54 +0200)]
Public interfaces: part 4

6 years agoPublic interfaces: part 3
Maksym Mamontov [Thu, 20 Feb 2020 21:27:02 +0000 (23:27 +0200)]
Public interfaces: part 3

6 years agoPublic interfaces: part 2
Maksym Mamontov [Thu, 20 Feb 2020 20:49:04 +0000 (22:49 +0200)]
Public interfaces: part 2

6 years agoPublic interfaces: part 1
Maksym Mamontov [Thu, 20 Feb 2020 15:36:40 +0000 (17:36 +0200)]
Public interfaces: part 1

6 years agoUpdate travis dist.
Maksym Mamontov [Tue, 28 Jan 2020 17:33:24 +0000 (19:33 +0200)]
Update travis dist.

6 years agoTarget-specific, compiler-aware warnings.
Maksym Mamontov [Tue, 28 Jan 2020 17:31:40 +0000 (19:31 +0200)]
Target-specific, compiler-aware warnings.

6 years agoGCC version, warnings.
Maksym Mamontov [Tue, 28 Jan 2020 17:23:41 +0000 (19:23 +0200)]
GCC version, warnings.

6 years agoLower C++ version, minmal GCC version, compiler-related flags.
Maksym Mamontov [Tue, 28 Jan 2020 17:05:25 +0000 (19:05 +0200)]
Lower C++ version, minmal GCC version, compiler-related flags.

6 years agoRemove some more std::list.
Maksym Mamontov [Tue, 28 Jan 2020 16:43:43 +0000 (18:43 +0200)]
Remove some more std::list.

6 years agoFix build on OSX.
Maksym Mamontov [Tue, 28 Jan 2020 15:43:23 +0000 (17:43 +0200)]
Fix build on OSX.

6 years agoRemove some more std::list.
Maksym Mamontov [Mon, 27 Jan 2020 21:30:18 +0000 (23:30 +0200)]
Remove some more std::list.

6 years agoRemove std::list from actions.
Maksym Mamontov [Mon, 27 Jan 2020 21:23:57 +0000 (23:23 +0200)]
Remove std::list from actions.

6 years agoRemove std::list from tariffs.
Maksym Mamontov [Mon, 27 Jan 2020 21:20:21 +0000 (23:20 +0200)]
Remove std::list from tariffs.