AuthorCommitMessageCommit dateIssues
EfimEfim
328159ba5f6AUTO Version bump to 7.0.21
EfimEfim
b87395ed3a2Remove -Werror gcc flag fromt Makefile. gcc 4.8.5 if default compiler for vz7. Default compiler for vz7 does not know flag -Wno-delete-incomplete, last one may be use only for gcc 7.5.0+, thus we remove Werror.Signed-off-by: Efim Shevrin <efim.shevrin@virtuozzo.com>
EfimEfim
e66a9eca929AUTO Version bump to 7.0.20
EfimEfim
8e62900243eUpdate targets.listSigned-off-by: Efim Shevrin <efim.shevrin@virtuozzo.com>
EfimEfim
4750dfd0494Added memory release functions for netsnmp_mib_handler #PSBM-139802The netsnmp_mib_handler itself consists of a data pointer myvoid and a function pointer data_free. data_free is used to tell the netsnmp library to free data. We add a function to burn out the data, some kind of wrapper for the case when calling the destructor is important. Signed-off-by: Fima Shevrin <efim.shevrin@virtuozzo.com>PSBM-139802
Pavel VokhmyaninPavel Vokhmyanin
3fbd07231e3AUTO Version bump to 7.0.19
Pavel VokhmyaninPavel Vokhmyanin
eb295040037Remove vz8 from targets.list, bump vz7 version to u18Signed-off-by: Pavel Vokhmyanin <pvokhmyanin@virtuozzo.com>
Pavel VokhmyaninPavel Vokhmyanin
3d9c7dab436MMerge pull request #16 in OVZ/rmond from ~ALEKSANDR.LESKIN/rmond:PSBM-137790 to master* commit 'e8e5ab0b1b2f0473de26dda9ea9bd45704440853': update target list by adding dist-vz9-alpha #PSBM-137790 fix warnings for BOOST_BIND_GLOBAL_PLACEHOLDERS #PSBM-137790 fix build for vz9: add boost include file #PSBM-137790PSBM-137790
Aleksandr LeskinAleksandr Leskin
e8e5ab0b1b2update target list by adding dist-vz9-alpha #PSBM-137790PSBM-137790
Aleksandr LeskinAleksandr Leskin
a354686da86fix warnings for BOOST_BIND_GLOBAL_PLACEHOLDERS #PSBM-137790PSBM-137790
Aleksandr LeskinAleksandr Leskin
a872494a0b5fix build for vz9: add boost include file #PSBM-137790PSBM-137790
Igor BazhitovIgor Bazhitov
a441344b817AUTO Version bump to 7.0.18
Igor BazhitovIgor Bazhitov
43574270cccMMerge pull request #15 in OVZ/rmond from ~IBAZHITOV/rmond:PSBM-130820 to master* commit 'cbdf418d583a549c20fa3be925e82ae9f537b08f': Initialize plugin directly within the main threadPSBM-130820
Igor BazhitovIgor Bazhitov
cbdf418d583Initialize plugin directly within the main thread`net-snmp-5.8` introduced additional checks that prevent `SNMPD_CALLBACK_SEND_TRAP*` callbacks to be executed when there are no active snmp sessions. Because of that, the plugin becomes effectively disabled. The deferred, callback-based, initialization mechanism was introduced in the pre-systemd era. At the time, `snmpd` was forking itself during the startup like any other well-behaving unix d...PSBM-130820
Dmitry MishinDmitry Mishin
98984462698AUTO Version bump to 7.0.17
Dmitry MishinDmitry Mishin
d1c5e116ad6Add build targets
Dmitry MishinDmitry Mishin
c94d36ea99eMMerge pull request #14 in OVZ/rmond from ~EFIM SHEVRIN/rmond_:bugfix/PSBM-121353-rmond-fails-to-build-vz8linux to master* commit 'dd540229fe4c71aa0d6508b9a81b56325b3b62eb': Template key word for template-specific data types was added.std::auto_ptr was changed to std::unique_ptr. Remove snmp_session::remote_portPSBM-121353
EfimEfim
dd540229fe4Template key word for template-specific data types was added.std::auto_ptr was changed to std::unique_ptr.Remove snmp_session::remote_port
Igor BazhitovIgor Bazhitov
c6e395d8a2eAUTO Version bump to 7.0.16
Dmitry MishinDmitry Mishin
dc05de4aa9cMMerge pull request #13 in OVZ/rmond from ~IBAZHITOV/rmond:PSBM-121364 to master* commit '8d1a35b811449b0291ed250e2c6f96f9e9055730': Create a Virtuozzo-owned copy of the MIB filePSBM-121364
Igor BazhitovIgor Bazhitov
8d1a35b8114Create a Virtuozzo-owned copy of the MIB fileThe original PARALLELS-RMOND-SMI.txt can no longer be modified. Leave it as is and copy its contents into VIRTUOZZO-RMOND-SMI.txt replacing Parallels related identifiers with Virtuozzo ones. PARALLELS-RMOND-SMI.txt is now read-only and is left for compatibility with existing SNMP configurations. New SNMP configurations should use the VIRTUOZZO-RMOND-SMI.txt MIB file. Related to PSBM-121364 ...PSBM-121364
Denis SilakovDenis Silakov
0fce689f51fAUTO Version bump to 7.0.15
Denis SilakovDenis Silakov
b2678f2fe88Parallels -> Virtuozzo in API_VER
Denis SilakovDenis Silakov
62719a2093bAUTO Version bump to 7.0.14
Denis SilakovDenis Silakov
009fb4e1249Parallels.h has been moved to Virtuozzo.h
Sergey GalasSergey Galas
f87dd149802AUTO Version bump to 7.0.13
Sergey GalasSergey Galas
f95ca78dce5MMerge pull request #12 in OVZ/rmond from ~SHRIKE/rmond:master to master* commit 'bd81bf9fbd04f3a6b8fd467fe650768afc9bdb41': make asan happy
Sergey GalasSergey Galas
bd81bf9fbd0make asan happytype-o
Sergey GalasSergey Galas
d00615b7000AUTO Version bump to 7.0.12
Sergey GalasSergey Galas
744ffc4c32bMMerge pull request #11 in OVZ/rmond from ~SHRIKE/rmond:master to master* commit '7598868f86238d467ef89974b1212cbbd2e3f66d': fixes a heap corruption (use after free)
Sergey GalasSergey Galas
7598868f862fixes a heap corruption (use after free)netsnmp lib backs up a table row data in the request on traversal of the table. this is ok in case of a sequential execution but leads to ub if another thread removes the row from the table until the data is being accessed. the problem is we use a set to order table items thus it's impossible to check for existence in the set. let's have a simple hash for the purpose and make another test insid...
Konstantin BukharovKonstantin Bukharov
2c7ad25d592MMerge pull request #10 in OVZ/rmond from ~IGOR/rmond:master to master* commit '969021bb583ca664b0dfdfefb5abe6d61868657e': Update Copyright
Igor SukhihIgor Sukhih
969021bb583Update CopyrightCopyright (c) 2017-2019 Virtuozzo International GmbH. All rights reserved. Signed-off-by: Igor Sukhih <igor@virtuozzo.com>
Sergey GalasSergey Galas
f8090ffb893AUTO Version bump to 7.0.11
Sergey GalasSergey Galas
90ce87ac5f3MMerge pull request #9 in OVZ/rmond from ~SHRIKE/rmond:master to master* commit '50ca8bfc9d0d04b14ee23cda10309006c7a08b5e': bug #PSBM-92261 aka "net-snmp" crash: "snmpd killed by SIGSEGV"PSBM-92261
Sergey GalasSergey Galas
50ca8bfc9d0bug #PSBM-92261 aka "net-snmp" crash: "snmpd killed by SIGSEGV"we have a race between a find and a erase. if the erase wins it may delete the row before the find increments its reference counter. callee of the find will end with a bogus tuple. seems it's time to protect storage accesses with a lock to prevent these racesPSBM-92261
Sergey GalasSergey Galas
21f017fc5e7AUTO Version bump to 7.0.10
Sergey GalasSergey Galas
b01dc3927c0MMerge pull request #8 in OVZ/rmond from ~SHRIKE/rmond:master to master* commit 'd51fb41347aaf983c46737f36043c7edc673d5a4': bug #PSBM-89621 aka "net-snmp" crash: "snmpd killed by SIGSEGV"PSBM-89621
Sergey GalasSergey Galas
d51fb41347abug #PSBM-89621 aka "net-snmp" crash: "snmpd killed by SIGSEGV"somebody called exit. it was not snmpd because it doesn't use value 6 for its exit status code. thus plugins finalization has not been performed properly. prlsdk was still running while some of its dependencies have already been destroyed by glibc cleanup handlers. exit man suggests to register an atexit handler to perform cleanup of a shared library which is the case for rmond. as these handle...PSBM-89621
Sergey GalasSergey Galas
247f131fc4aAUTO Version bump to 7.0.9
Sergey GalasSergey Galas
58e5986ee26MMerge pull request #7 in OVZ/rmond from ~SHRIKE/rmond:master to master* commit 'ba18fbe83ff81b4daa89ab09faa6dfcea8ad4fab': bug #PSBM-89210 aka Dispatcher and snmpd huge memory consumptionPSBM-89210
Sergey GalasSergey Galas
ba18fbe83ffbug #PSBM-89210 aka Dispatcher and snmpd huge memory consumptionusers may set a huge number for a ct cpus value. rmond generates an entry per vcpu in memory. this results in a huge memory consumption of the process though these entries won't bear much info. let's limit the number of entries to prevent the memory overconsumption.PSBM-89210
Sergey GalasSergey Galas
e9651e39254AUTO Version bump to 7.0.8
Sergey GalasSergey Galas
92aa6c1ac97bug #PSBM-89210 aka Dispatcher and snmpd huge memory consumptionextra data is stored along the request when a new record is being inserted. we rely on correct snmp routine but current users don't follow the rules and don't provide free request in the end. noboby frees the memory and we have a leak. let's register a callback to free the memory.PSBM-89210
Sergey GalasSergey Galas
2a8c3ad3f55bug #PSBM-89210 aka Dispatcher and snmpd huge memory consumptioninsert can fail if a duplicate entry is inside the container already. we don't process that case and leak memory. range scan doesn't work because it uses exact match which we expect a partial one. use another predicate which meets the requirements.PSBM-89210
Sergey GalasSergey Galas
4a32dafe35cAUTO Version bump to 7.0.7
Sergey GalasSergey Galas
2e6c318e269MMerge pull request #6 in OVZ/rmond from ~ABONDROV/rmond:master to master* commit '2ce2601fb76097fe266f9292b706bf1ae5fe3d7b': Update copyrights ( #PSBM-58317 )PSBM-58317
Andrey BondrovAndrey Bondrov
2ce2601fb76Update copyrights ( #PSBM-58317 )PSBM-58317
Sergey GalasSergey Galas
1e147bf3cbfAUTO Version bump to 7.0.6
Sergey GalasSergey Galas
d2bec6bc310MMerge pull request #5 in OVZ/rmond from ~SHRIKE/rmond:master to master* commit 'ca75eff208303b0927814205fefd1ccc09abb3a7': bug #PSBM-58263 aka dump: core-QThread-1483037108.1214PSBM-58263