aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFiles
2018-02-05Update docs.release-2.05.2.0Sergey Poznyakoff2
2018-02-05Version 2.0Sergey Poznyakoff15
2018-02-04Document HashTableSergey Poznyakoff1
2018-02-04Rewrite hash table support.Sergey Poznyakoff11
* .gitignore: Update. * Makefile.am (EXTRA_DIST): Add perl modules from lib/VarnishMib * lib/VarnishMib/HashTable.pm: New file. * lib/VarnishMib/MIBTable.pm: New file. * src/Makefile.am (varnish_mib_la_SOURCES): Remove statdict. (.mib2c.c): Set PERL5LIB * src/betab.c (backend_dfn.vpt): Remove const qualifier. (backend_register): Store in vpt cloned points. (backend_clear): Destroy points in vpt. * src/statdict.c: Remove. * src/varnish_mib.mib2c: Use VarnishMib::MIBTable. Set mib2c variable $varnish_hash_table to an instance of VarnishMib::MIBTable. Use it to generate lookup table code section. (varnish_var_lookup, varnish_get_oid) (dict_clear, dict_install, dict_load): New functions. (handle_$i): Use direct addressing to obtain a vpt. Fix handling of ASN_TIMETICKS.
2018-02-03Redo varnish_translate_table and varnish_translateSergey Poznyakoff1
2018-02-02Fix docsSergey Poznyakoff3
2018-02-02BugfixesSergey Poznyakoff11
Use consistend debug token names. Make sure configuration settings are honored by opening VSM and doing initial loading after the configuration has been read and processed. Avoid inifinite recursion in dict_load. * src/modconf.c: New file. * src/modconf.h: New file. * src/vclient.h: New file. * src/Makefile.am: Add new files. * src/VARNISH-MIB.txt: Minor changes in descriptions. * src/backend.h (backend_collect_addr): Change prototype. * src/ban.c: Remove configuration management functions. * src/betab.c: Likewise. * src/statdict.c (dict_lookup): Remove debugging kludge. (dict_load): Don't call backend_collect_addr. It is responsibility of the caller. * src/varnish_mib.mib2c: Rearrange includes. Open VSM after parsing configuration. (init_$modulename): Allow loading of one instance only. * src/vcli.c: Rewrite socket support.
2018-02-01Minor changesSergey Poznyakoff2
* bootstrap: Remove generation of m4/varnish_mib.m4 * src/varnish_mib.mib2c: Remove stray comment.
2018-02-01Add new object IDs as per https://puszcza.gnu.org.ua/bugs/?362Sergey Poznyakoff3
* src/Makefile.am: Make sure VARNISH-MIB.txt is read from the src directory. * src/VARNISH-MIB.txt: Add new mibs. * src/varnish_mib.mib2c: Add new objects. Make sure objects marked with varnish_type NULL will never be returned.
2018-02-01Rewrite for Varnish 5.xSergey Poznyakoff10
* configure.ac (AC_CHECK_VSC_C_MAIN_MEMBERS): Remove. * src/.gitignore: Update. * src/Makefile.am (varnish_mib_la_SOURCES): Add new sources. * src/backend.h: New file. * src/belex.l: New file. * src/statdict.c: New file. * src/ban.c: Rewrite. * src/betab.c: Rewrite. * src/varnish_mib.mib2c: Rewrite. * src/vcli.c: Rewrite.
2016-04-27Support for Varnish 4.1Sergey Poznyakoff7
* NEWS: Update. * bootstrap: Rewrite as a Perl script; create m4/varnish_mib.m4 from src/varnish_mib.mib2c * configure.ac: Version 1.1.90 Use AC_CHECK_VSC_C_MAIN_MEMBERS Define VARNISHAPI_MAJOR, VARNISHAPI_MINOR and VARNISHAPI_PATCH for use in preprocessor directives. * src/betab.c [VARNISHAPI_MINOR] (VSC_POINT_FMT): Define depending on Varnish API minor version. * src/varnish_mib.mib2c (varnish_translate_table): New variable. It is used both by varnish_translate in this module, and by bootstrap to produce a list of macros checking for members of struct VSC_C_main. Output preprocessor conditionals in right places. * src/vcli.c (vcli_connect): Fix cc warnings. * src/varnish-mib.8: Update.
2015-09-25Minor fixes in MIBSergey Poznyakoff1
2015-09-25Minor changes.Sergey Poznyakoff3
* configure.ac (MIBDIR): Change default value * src/Makefile.am (mib_DATA): Set to VARNISH-MIB.txt * src/VARNISH-MIB.txt
2015-02-25Version 1.1release-1.1Sergey Poznyakoff2
2015-02-02Don't exit if unable to open Varnish memory fileSergey Poznyakoff12
* NEWS: Update. * configure.ac: Version 1.0.90 * src/ban.c (banTable_load): Check if vd is available. * src/betab.c: Likewise. * src/varnish_mib.mib2c (varnish_snmp_init): Don't open vd right now. * Makefile.am: Update copyright year. * README: Update copyright year. * git2chg.awk: Update copyright year. * src/Makefile.am: Update copyright year. * src/auth.c: Update copyright year. * src/varnish-mib.8: Update copyright year. * src/vcli.c: Update copyright year.
2014-11-28Version 1.0release-1.0Sergey Poznyakoff3
* NEWS: Update. * configure.ac: Update.
2014-11-28Clean up debugging output, document debugging tokens.Sergey Poznyakoff5
2014-11-28Include local.h from varnish_mib.hSergey Poznyakoff2
2014-11-28Remove banTableTimeout oid.Sergey Poznyakoff4
2014-11-28Implement backend statistics table.Sergey Poznyakoff5
* src/betab.c: New file. * src/Makefile.am (varnish_mib_la_SOURCES): Add betab.c * src/VARNISH-MIB.txt: Add backendTable oids * src/varnish_mib.mib2c: Implement totalPipeHeaderBytes, totalPipeIn, totalPipeOut, backendRequests and backendTable. * src/varnish-mib.8: Document changes.
2014-11-27Make varnish CLI timeout configurable.Sergey Poznyakoff4
* src/ban.c (varnish_mib_timeout_parser): New function. * src/varnish_mib.mib2c (varnish_mib_timeout_parser): New proto. (init_$modulename): Register config handler for varnishCLIPortTimeout. * src/vcli.c (vcli_timeout): Change type to unsigned. (varnish_vcli_timeout_parser): New function. * src/varnish-mib.8: Update.
2014-11-26Fix copy-paste errorsSergey Poznyakoff2
2014-11-26Implement control over the banTable update interval (timeout)Sergey Poznyakoff6
* configure.ac: Version 0.90.90 * NEWS: Likewise. * src/VARNISH-MIB.txt: New oid "agent.banTableTimeout" * src/ban.c: Implement setting the banTable timeout. * src/varnish_mib.mib2c: Register new configuration statement varnishBanTableTimeout; handle agent.banTableTimeout OID. * src/varnish-mib.8: Update.
2014-11-26Implement table of bansSergey Poznyakoff6
* src/varnish_mib.h: Removed; from now on it is generated from varnish_mib.mib2c in pair with varnish_mib.c * src/.gitignore: Add varnish_mib.h * src/Makefile.am: Change rules accordingly. * src/VARNISH-MIB.txt: Define table of bans. * src/ban.c: Implement table of bans. * src/varnish_mib.mib2c: Implement table support.
2014-11-24Add MIB subtree for bansSergey Poznyakoff2
2014-11-24Add more objects to the MIBSergey Poznyakoff2
2014-11-19Use 64-bit countersSergey Poznyakoff3
* src/Makefile.am (varnish_mib.c): Depend on VARNISH-MIB.txt * src/VARNISH-MIB.txt: Change all counters to 64 bit Fix time-stamp-format variable. * src/varnish_mib.mib2c: Handle ASN_COUNTER64
2014-11-19Add some automatic house-keeping info to VARNISH-MIB.txtSergey Poznyakoff1
2014-11-19Fix comments in src/varnish_mib.mib2cSergey Poznyakoff1
2014-11-19Minor fixSergey Poznyakoff1
2014-11-19Fix timeout valueSergey Poznyakoff1
2014-11-19Add missing files.Sergey Poznyakoff1
2014-11-19New rw snmp variable clientBan allows to set bans via snmpSergey Poznyakoff9
* src/varnish_mib.mib2c: Add support for rw variables. * src/Makefile.am (varnish_mib_la_SOURCES): Add new files. * src/VARNISH-MIB.txt (clientBan): New OID. * src/auth.c: New file. * src/ban.c: New file. * src/sha256.c: New file. * src/sha256.h: New file. * src/varnish_mib.h: New file. * src/vcli.c: New file.
2014-11-17Check if vsm is abandoned, reopen if so.Sergey Poznyakoff1
2014-11-17Minor changesSergey Poznyakoff2
* src/Makefile.am (.mib2c.c): Fix MIBDIRS * src/varnish_mib.mib2c: Don't check for $i.settable - all OIDs are read-only.
2014-11-16Minor changesSergey Poznyakoff1
2014-11-16Add bootstrap scriptSergey Poznyakoff1
2014-11-15Improve build systemSergey Poznyakoff3
2014-11-15Initial commitSergey Poznyakoff12

Return to:

Send suggestions and report system problems to the System administrator.