aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFiles
2016-02-02vhostcname: allow for different per-zone servers/keys/ttlsSergey Poznyakoff1
* vhostcname/vhostcname: Rewrite configuration handling. Store zone settings in individual hash cells. Redefine exit codes. Implement status command. Clean up the semantics of start/forced-restart vs. reload. Accept abbreviated command names.
2015-07-10dgd: ensure gateways are probed from the corresponding interfacesSergey Poznyakoff2
* dgd/dgd (check_links): Bind to the corresponding interface before piniging. * dgd/rc.uplink (linksetup): Remove useless rules
2015-07-10Minor changesSergey Poznyakoff1
* axfr2acl/axfr2acl
2015-05-25Minor changeSergey Poznyakoff1
2015-05-23dgd: various improvements.Sergey Poznyakoff1
* dgd/dgd (get_default_gw): Rename to get_default_iface. Compare gateway interface name, instead of the gw address. All uses changed. (scan_links): Add missing conditional. Never exit on 'no active link configured'. (updown): If $name argument is a hash reference, read link parameters from it and pass it to the script in the command line. (serialize_link, cmplinks): New functions. (SIGHUP handler): Save away active link before reconfiguring. Call 'down', if it was removed.
2015-05-20Fix reconfiguration on SIGNUPSergey Poznyakoff1
* dgd/dgd (defconfig): New variable. (readconfig): Remove calls to check_mandatory (temporarly) (scan_links): Filter off incomplete link definitions. Don't panic if core.active points to an undefined link. (main): Initialize %config. (SIGHUP): Initialize %t.
2015-05-19BugfixesSergey Poznyakoff2
* dgd/dgd: Support for core.pidfile (readconfig): New keyword include.pathopt Use bsd_globr; don't complain if pattern does not match any file. (scan_links): Don't treat undefined core.active as error. * dgd/rc.uplink (linkup): Print semicolon after each IP.
2015-05-18New sub-package: dgdSergey Poznyakoff6
2015-05-18Minor changes.Sergey Poznyakoff2
* Make.rules: New rules for Makefile and install. * dnsdbck/dnsdbck: Minor change
2015-04-02dnsdbck: bugfixSergey Poznyakoff1
* dnsdbck/dnsdbck (private_network) (create_soa_allowed): Validate argument before trying cidrlookup Use --help to display man page, -h to display usual help summary Recursively try subdomains when checking ignored_zone
2015-04-01nsdbimport: use prepare/execute approachSergey Poznyakoff1
* nsdbimport/nsdbimport (parse_opts): New function. (readconfig): Special parsing for *-query statements. The values is a reference to array of 2 elements: the template (with placeholders) and an array for creating parameters (governor). (replvar): Third argument is a reference to governor. (query_expand): Remove. (sql_query): Use prepare_cached/execute. In debug mode, perform parameter substitution in a printable copy of the template.
2015-04-01nsdbimport: add makefilesSergey Poznyakoff5
2015-04-01BigfixesSergey Poznyakoff2
* nsdbimport/nsdbimport: Improve docs. * whoseip/Whoseip/DB.pm: Docs formatting fix.
2015-04-01Document nsdbimportSergey Poznyakoff1
2015-04-01nsdbimport: implement import to the database; optionally expand $GENERATE ↵Sergey Poznyakoff1
directives
2015-04-01Add nsdbimportSergey Poznyakoff2
2014-12-19vhostcname: add checks for domain name validitySergey Poznyakoff1
* vhostcname/vhostcname: New option --allow-wildcard-domains. (valid_domain_name): new sub (get_cnames): Skip domain names that don't pass the validity check.
2014-12-19Minor changeSergey Poznyakoff1
* whoseip/whoseip.pl: Use symbolic exit codes.
2014-10-20whoseip: ensure database consistency during exportSergey Poznyakoff1
* whoseip/Whoseip/DB.pm (ipdb_export): Operate on locked database.
2014-10-20whoseip: a kludgeSergey Poznyakoff1
* whoseip/whoseip.pl (ripe_decode): Handle networks transferred to another region.
2014-10-19whoseip: bugfixesSergey Poznyakoff2
* whoseip/Whoseip/DB.pm (ipdb_insert_unlocked): Insert into the last page in the chain. (ipdb_save_page): Preserve the leaf page chain. * whoseip/whoseip.pl (cidr_to_range): Start iterating from list tail.
2014-10-19whoseip: minor changesSergey Poznyakoff2
2014-10-19whoseip: set version 1.00Sergey Poznyakoff1
2014-10-19whoseip: recover gracefully after cache failuresSergey Poznyakoff3
* whoseip/Makefile.PL (WriteMakefile): Use VERSION_FROM. * whoseip/Whoseip/DB.pm (ipdb_lookup_unlocked): Add more data to the output. * whoseip/whoseip.pl: Protect ipdb_ calls by eval. (output): Rename to expandout. (format_out): Rename to print_result. Document return codes.
2014-10-18whoseip: New options --import and --exportSergey Poznyakoff3
* Makefile.PL: Require Data:Dumper * Whoseip/DB.pm (ipdb_export,ipdb_import): New functions (ipdb_insert_unlocked): Last argument is a hash reference. (ipdb_import,ipdb_export): New functions. * whoseip.pl: New options --import and --export
2014-10-16Cache ttl. BugfixesSergey Poznyakoff2
* whoseip/Whoseip/DB.pm (ipdb_open): New argument ttl=>N (ipdb_save_page): Bugfix: seek to the correct offset. (ipdb_lookup_unlocked): Handle ttl setting. * whoseip/whoseip.pl (ripe_fmt): New function. Pass -r option to ripe to avoid blacklisting our IP. New option --cache-ttl.
2014-10-16whoseip: bugfixesSergey Poznyakoff1
* whoseip.pl (ripe_decode): Handle %ERROR return (whois): Add server, port, and term keys to the %res. Correctly remove line terminators and trailing whitespace. (serve): pass server and port to ipdb_insert Update docs.
2014-10-16whoseip: fix caching algorithmSergey Poznyakoff2
* whoseip/Whoseip/DB.pm: Fix caching algorithm, improve debugging. Close all open databases before terminating. * whoseip/whoseip.pl: Implement ${source} and ${item} macro variables. Document new options and variables.
2014-10-15whoseip: improvementsSergey Poznyakoff3
* whoseip/Makefile.PL: Add dependencies * whoseip/Whoseip/DB.pm: Reload the database if it was modified on disk * whoseip.pl: Special handling for rwhois.nobistech.net (serve): Fall back to the recent reply if the referral failed. New option --single-query
2014-10-15whoseip: minor changeSergey Poznyakoff1
* whoseip/Whoseip/DB.pm (LEAF_IDX): New constant
2014-10-15whoseip: bugfixSergey Poznyakoff1
* whoseip/Whoseip/DB.pm (ipdb_save_page): Split the page being created if the data don't fit into pagesize. (ipdb_insert): Don't use fixed entry length to compute maximum number of entries.
2014-10-15whoseip: improve error diagnostics and debuggingSergey Poznyakoff2
2014-10-14whoseip: keep arbitrary additional data in the cache databaseSergey Poznyakoff2
* whoseip/Whoseip/DB.pm (ipdb_save_page): Save additional data (serialized hash). (ipdb_get_page): Decode serialized additional data. (ipdb_insert): Take hash as additional arguments. * whoseip/whoseip.pl (range2count): Handle multiple ranges. (cidr_to_range): New function. Use in all functions instead of Net::CIDR::cidr2range. (serve): Pass cidr as additional argument to ipdb_insert
2014-10-14whoseip: implement cache databaseSergey Poznyakoff6
* bootstrap.pl: Look for AutoInstall.pm both in $incdir and in the base directory. * whoseip/Whoseip/DB.pm: New file * whoseip/whoseip.pl: Implement caching * whoseip/Makefile.PL: New file * whoseip/MANIFEST: Update.
2014-10-14whoseip: bugfixes.Sergey Poznyakoff1
* whoseip/whoseip.pl (str2ipv4): Fix a by-one error. Fix documentation.
2014-10-10whoseip: implement fmt= (Fast)CGI parameterSergey Poznyakoff1
2014-10-09whoseip: finish the docs.Sergey Poznyakoff1
2014-10-09whoseip: Implement FastCGI, configurable formats and configuration filesSergey Poznyakoff2
* whoseip/GNUmakefile: Update whoseip.pl invocation. * whoseip/whoseip.pl: Implement FastCGI, configurable formats and configuration files. Improve docs.
2014-10-09vhostcname: minor fixes.Sergey Poznyakoff2
* vhostcname/Makefile.PL: Require Net::DNS 0.74 or higher. * vhostcname/vhostcname: Fix documentation.
2014-10-08New utility: whoseipSergey Poznyakoff6
Given an IPv4 address, whoseip determines the country where it is located and network it belongs to. It uses whois service for that.
2014-09-10vhostcname: use direvent instead of dircondSergey Poznyakoff1
2014-08-19Fixes in vhostcnameSergey Poznyakoff1
* vhostcname (nssetup): Remove. Use update_cnames_from_hash instead. (main): Call update_cnames_from_hash even if no cnames were gathered, so that it can generate the proper delete requests. Call nscleanup only if one of '*start' commands was given.
2014-06-17renewck: minor changesSergey Poznyakoff1
2014-04-14vhostcname: accept TSIG keySergey Poznyakoff1
* vhostcname/vhostcname ($nskey): Remove. (@tsig_args): New global. Change --ns-key option to accept the key in form NAME=KEY. New option --ns-key-file to specify the keyfile. (ns_update): Fix arguments to sign_tsig.
2014-04-09vhostcname: Fix dircond handler modeSergey Poznyakoff1
2014-04-08Minor fixSergey Poznyakoff1
* bootstrap.pl (find_subdirs): Reset $line
2014-04-08Use ExtUtils::AutoInstall to handle dependencies.Sergey Poznyakoff15
* .gitignore: Add inc * README: New file. * Makefile: Add copyleft statement (SUBDIRS): Add vhostcname * bootstrap.pl: New file. * axfr2acl/Makefile.PL: Use ExtUtils::AutoInstall * dnsdbck/Makefile.PL: Likewise. * renewck/Makefile.PL: Likewise. * rpsl2acl/Makefile.PL: Likewise. * vhostcname/Makefile.PL: Likewise. * vhostcname/MANIFEST: Add inc/ExtUtils/AutoInstall.pm * dnsdbck/MANIFEST: Likewise. * axfr2acl/MANIFEST: Likewise. * renewck/MANIFEST: Likewise. * rpsl2acl/MANIFEST: Likewise.
2014-04-08Revert b1a57003Sergey Poznyakoff4
2014-04-08vhostcname/Makefile.PL: Fix prerequisites, add AUTHOR and ABSTRACT.Sergey Poznyakoff1
2014-04-07vhostcname: reorganize debug levelsSergey Poznyakoff1

Return to:

Send suggestions and report system problems to the System administrator.