dmacnet / fastresolve Goto Github PK
View Code? Open in Web Editor NEWA fast DNS resolver for web log files
License: GNU General Public License v2.0
A fast DNS resolver for web log files
License: GNU General Public License v2.0
Fastresolve is a package of programs to process web log files to get DNS information for log analysis. It sends out many queries in parallel, and caches results, for speed. Its DNS resolver is about 10 times as fast as logresolve.pl from the Apache 1.3.9 distribution, and about 50 times as fast as logresolve.c from that distribution. When last tested, it is 5-20 times as fast as the adnslogres program that comes with the adns library, and about 3 times as fast as jdresolve, which is a Perl program that uses similar algorithms (https://github.com/jdrowell/jdresolve). Fastresolve is written in C++ and Perl. Versions of it have been tested on GNU/Linux, FreeBSD, and Solaris. Fastresolve consists of the following programs: dns-terror Reads log files, resolves the IP addresses that are resolvable, and optionally writes the results back out. Optionally it reads and saves the results in a DB file. reresolve Makes another pass trying to resolve unresolved IP addresses in a DB file, using dns-terror. convert-ip-db Converts the DB file written by dns-terror into an ASCII Analog DNS cache file. This is an alternative to rewriting the (huge) log files with the IP addresses resolved in them. On the other hand, Analog then has to do lookups from its big DNS cache file. make-report Runs the above programs and Analog to produce a web report. rebuild-ip-db Recreate the DB files from the ASCII files written by the convert-ip-db script, for recovering from corrupted DB files. expire-ip-db Removes old entries from the DB file written by dns-terror. Fastresolve requires the following: Perl. Any version 5 from the last few years should work. A C++ compiler. A recent version supporting the Standard Template Library is required. Clang, EGCS, GCC 2.95, or other recent GCC should work. (GCC 2.7.x is not recent enough; its support for exceptions is buggy.) The Berkeley DB library, version 2.x-5.x. It's probably best to get the latest (2.x, 3.x, 4.x, or 5.x) version. The DB library must be configured with --enable-cxx in order to support the C++ interface. The Perl BerkeleyDB module. ADNS, an asynchronous resolver library. (http://www.chiark.greenend.org.uk/~ian/adns/) Fastresolve comes with a patch to apply to ADNS to improve performance. zlib, a compression library. Version 1.0.6 or newer is required. Analog 3.0 or later. Needed by make-report. Fastresolve is distributed under the GNU General Public License. Please send bug reports, improvements, suggestions, etc. to [email protected].
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.