Age | Commit message (Collapse) | Author | Files |
|
* 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.
|
|
* dgd/dgd (check_links): Bind to the corresponding interface
before piniging.
* dgd/rc.uplink (linksetup): Remove useless rules
|
|
* axfr2acl/axfr2acl
|
|
|
|
* 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.
|
|
* 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.
|
|
* 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.
|
|
|
|
* Make.rules: New rules for Makefile and install.
* dnsdbck/dnsdbck: Minor change
|
|
* 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
|
|
* 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.
|
|
|
|
* nsdbimport/nsdbimport: Improve docs.
* whoseip/Whoseip/DB.pm: Docs formatting fix.
|
|
|
|
directives
|
|
|
|
* vhostcname/vhostcname: New option --allow-wildcard-domains.
(valid_domain_name): new sub
(get_cnames): Skip domain names that don't pass the validity
check.
|
|
* whoseip/whoseip.pl: Use symbolic exit codes.
|
|
* whoseip/Whoseip/DB.pm (ipdb_export): Operate on locked database.
|
|
* whoseip/whoseip.pl (ripe_decode): Handle networks transferred to another
region.
|
|
* 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.
|
|
|
|
|
|
* 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.
|
|
* 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
|
|
* 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.
|
|
* 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.
|
|
* 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.
|
|
* 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
|
|
* whoseip/Whoseip/DB.pm (LEAF_IDX): New constant
|
|
* 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.
|
|
|
|
* 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
|
|
* 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.
|
|
* whoseip/whoseip.pl (str2ipv4): Fix a by-one error.
Fix documentation.
|
|
|
|
|
|
* whoseip/GNUmakefile: Update whoseip.pl invocation.
* whoseip/whoseip.pl: Implement FastCGI, configurable formats
and configuration files. Improve docs.
|
|
* vhostcname/Makefile.PL: Require Net::DNS 0.74 or higher.
* vhostcname/vhostcname: Fix documentation.
|
|
Given an IPv4 address, whoseip determines the country where it
is located and network it belongs to. It uses whois service
for that.
|
|
|
|
* 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.
|
|
|
|
* 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.
|
|
|
|
* bootstrap.pl (find_subdirs): Reset $line
|
|
* .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.
|
|
|
|
|
|
|