aboutsummaryrefslogtreecommitdiff
path: root/src/ban.c
AgeCommit message (Collapse)AuthorFiles
2019-02-14Minor changesSergey Poznyakoff1
2018-02-05Version 2.0Sergey Poznyakoff1
2018-02-02BugfixesSergey Poznyakoff1
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-01Rewrite for Varnish 5.xSergey Poznyakoff1
* 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.
2015-02-02Don't exit if unable to open Varnish memory fileSergey Poznyakoff1
* 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-28Clean up debugging output, document debugging tokens.Sergey Poznyakoff1
2014-11-28Include local.h from varnish_mib.hSergey Poznyakoff1
2014-11-28Remove banTableTimeout oid.Sergey Poznyakoff1
2014-11-27Make varnish CLI timeout configurable.Sergey Poznyakoff1
* 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-26Implement control over the banTable update interval (timeout)Sergey Poznyakoff1
* 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 Poznyakoff1
* 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-19New rw snmp variable clientBan allows to set bans via snmpSergey Poznyakoff1
* 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.

Return to:

Send suggestions and report system problems to the System administrator.