2024-04-09 15:49  ale2003

	* [r119] INSTALL:
	  Reflow several paragraphs,
	  few typos.
	  
	  READMEipv6:
	  Describe on-disk representation.
	  
	  ibd-del.pod.in:
	  Document --ls-field-separator.
	  
	  ibd-white.pod.in:
	  Document --expiration.
	  
	  release-notes.2.00.txt:
	  Summary of changes.

2024-03-22 10:30  ale2003

	* [r118] ibd-del.c:
	  Add option --ls-field-separator.

2024-03-21 18:53  ale2003

	* [r117] test/TESTjudge.c:
	  Fix bit-field in parse_pkt().

2024-03-21 17:56  ale2003

	* [r116] ibd-del.c:
	  Add --ranges option, to report ranges, if any.
	  
	  ibd-del.pod.in:
	  Document --ranges

2024-03-21 12:13  ale2003

	* [r115] Makefile.am:
	  TESTipv6 conditionally check_PROGRAM,
	  add logarithmic-growth.png.
	  
	  READMEipv6:
	  New file with some notes on IPv6.
	  
	  ibd-ban.pod.in:
	  IPv6 notes,
	  document --index-factor.
	  
	  ibd-del.c:
	  Align list output.
	  
	  ibd-del.pod.in:
	  Note running twice if no IP type.
	  
	  ibd-parse.pod.in:
	  Document --index-factor.
	  
	  logarithmic-growth.png:
	  Binary file.
	  
	  test/TESTipv6.c:
	  Help string.

2024-03-17 18:05  ale2003

	* [r114] ibd-judge.c:
	  Re-fix af assignment.

2024-03-17 17:53  ale2003

	* [r113] ibd-judge.c:
	  New function dump_buf(),
	  check attr[NFQA_PAYLOAD] before passing it,
	  count martians and display/log them.

2024-03-17 15:36  ale2003

	* [r112] ibd-judge.c:
	  Display af= on TRACE.

2024-03-16 18:55  ale2003

	* [r111] ibd-judge.c:
	  Fix again int const af = (payload[0] & 0xf0) >> 4.

2024-03-16 17:12  ale2003

	* [r110] ibd-parse.c:
	  Fix uninitialized block in block_matched().

2024-03-16 17:07  ale2003

	* [r109] configure.ac
	  Bump version from 2.00alfa to 2.00beta.
	  
	  ibd-judge.c:
	  Fix possibly undefined qu in queue_cb().
	  
	  ibd-parse.c:
	  Added possible error block_matched_no_db.
	  
	  ip_util.h:
	  Fix nu[] size to 8 chars.

2024-03-16 16:14  ale2003

	* [r108] svn merge didn't work. See:
	  https://stackoverflow.com/questions/78172461/subversion-svn-merge-failure

2022-04-28 18:27  ale2003

	* [r91] abuserdap: add options -4 and -6.

2022-04-28 17:57  ale2003

	* [r90] abuserdap.c:
	  don't use strndup in do_dup(),
	  lower CURLOPT_TIMEOUT to 15sec.,
	  fix memory leak on redirect.

2021-03-16 18:24  ale2003

	* [r89] TESTrehabilitated_prob:
	  Modified so as to also increase probabilities.

2021-01-22 08:09  ale2003

	* [r88] READMEreportcategory: fix code snippets.

2021-01-20 11:50  ale2003

	* [r82] READMEreportcategory: been there, done that.

2021-01-15 19:13  ale2003

	* [r80] Makefile: add setsig_func.h to noinst_HEADERS.
	  
	  ibd-judge: silent compiler warning.

2021-01-15 19:05  ale2003

	* [r78] abuserdap:
	  replace rewind() with fseek(fp, 0L, SEEK_SET),
	  report an error on illegal seek.
	  
	  abuserdap.1: revise examples.

2021-01-15 12:45  ale2003

	* [r77] abuserdap: skip duplicate tokens.

2021-01-15 12:11  ale2003

	* [r76] abuserdap:
	  new option -@, to display tokens,
	  function grep_v() moved downward, after the definition of addrlst,
	  new function insert_addrlst().
	  
	  READMEreportcategory: new file.
	  
	  release-notes.1.07: revised.
	  
	  ibd-parse.1, ibd-ban.1: --log-category.
	  
	  ibd-parse: remove spurious newline in help string.

2021-01-14 11:15  ale2003

	* [r75] ibd-configure:
	  new utility program to insert categories,
	  man page too.
	  
	  Makefile, configure: update accordingly.
	  
	  INSTALL, README, READMEconcurrency, READMEcrash, READMEiptables-list,
	  READMEphp, ibd-ban.1, ibd-del.1: reviewed.
	  
	  config_names: adjust copyright to 2019.
	  
	  dbstruct.h, ibd-del, ibd-judge, ibd-parse, ibd-white:
	  remove caught_signal,
	  possibly include setsig_func.h.
	  
	  ibd-ban:
	  remove caught_signal,
	  always set descr_fname.
	  
	  percent_prob.h: check probability range.
	  
	  rehabilitated_prob.h:
	  check probability range,
	  check output range.
	  
	  setsig_func.h:
	  adjust for SIGUSR1,
	  minor tweaks.

2021-01-12 17:07  ale2003

	* [r74] ibd-{ban,del,judge,parse,white}.c:
	  factorized setsigs() and sig_catcher() function.
	  
	  setsig_func.h: new include file.

2021-01-12 11:22  ale2003

	* [r73] abuserdap.1: use IP number directly.
	  
	  configure: bump version to 1.07.
	  
	  dbstruct.h:
	  add report_category in bynumber_descr_t,
	  add get_descr_add_category flag for get_descr(),
	  add an int flag to write_block_cb prototype,
	  add write_block_force_add_category to write_block() flags.
	  
	  ibd-ban:
	  new option --log-category,
	  set "force" flag to add category when the new option is set,
	  pass the "force" flag in calls to display_written_block() and logline_written_block(),
	  on popt error, display poptBadOption() too.
	  
	  ibd-del: display the category (if != 0) for --stat.
	  
	  ibd-del.1: document category display.
	  
	  ibd-parse:
	  new option --log-category,
	  set "force" flag to add category when the new option is set.
	  
	  logline_written_block.h:
	  when the "force" flag has the category option, set get_descr_add_category in the call to
	  get_descr().
	  
	  opendb2.c:
	  if get_descr_add_category is set, add the category after the description.
	  
	  release-notes.1.07.txt: new file, explain use of categories.

2020-07-23 09:13  ale2003

	* [r72] abuserdap.c: Under option -s, output a third line of text whith number of recipients
	  excluded from output.
	  
	  abuserdap.1: document changed option -s.

2020-07-10 18:27  ale2003

	* [r71] ibd-ban: increase size of local small buffer.
	  
	  ibd-del: pragma warning implicit fallthrough.
	  
	  ibd-parse: increase size of local small buffer,
	  pragma warning implicit fallthrough.

2020-05-19 16:16  ale2003

	* [r70] ibd-report.sh: Fix abuserdap call, and exemplify ibd-ban if no abuse team.
	  
	  ibd-ban.pod: typo, s/line/like/

2020-05-19 15:29  ale2003

	* [r69] ibd-judge: display buffer size in hex (log line)

2020-04-13 17:46  ale2003

	* [r68] ibd-judge: replace nfnl_rcvbufsiz() with setsockopt(), as suggested by Duncan Roe.

2020-02-14 08:22  ale2003

	* [r67] abuserdap: fix bug in rdap_query() that allowed just one redirect.

2020-02-04 13:06  ale2003

	* [r66] TESTrehabilitated_prob: tweak arguments to make it more useful

2020-02-04 11:53  ale2003

	* [r65] configure: bump version to 1.07alfa.
	  
	  abuserdap: allow a bare IP as argument,
	  new function file_or_IP(),
	  reduce function read_file(),
	  increase max_redirect from 2 to 3,
	  add option -m to further increase max_redirect.
	  
	  update abuserdap man page.

2019-11-02 16:54  ale2003

	* [r64] README: add libcurl

2019-11-02 12:34  ale2003

	* [r63] Makefile: use wildcard for release notes

2019-11-02 12:29  ale2003

	* [r62] ibd-ban: fix core dump when no IP address given.
	  adjust variable names so they don't seem to conflict.
	  
	  ibd-ban man: clarify interaction between log and verbose options.
	  
	  ibd-judge man: display the names of compile time variables.
	  explain IPQBDB_REPETITION_MAX.
	  
	  ibd-report: use abuserdap.
	  silent curl.
	  
	  abuserdap: fix typo.
	  
	  Makefile: distribute release notes
	  
	  configure: version 1.06
	  
	  release-notes.1.06: added

2019-08-27 11:02  ale2003

	* [r61] abuserdap: fix 0 addresses found and option -s

2019-08-25 10:48  ale2003

	* [r59] configure: bump version to 1.06pre
	  
	  abuserdap: on -l log to LOG_DAEMON (was LOG_MAIL)
	  
	  logline_written_block.h dbstruct.h opendb2.c ibd-ban.c:
	  add the (caught) reason_id to the logline call. In v1.05
	  the logged reason was the one stored in the DB record,
	  which is the "most severe" as per the worsening logic.

2019-08-25 09:39  ale2003

	* [r58] COPYING erroneously was at v2. Changed to GPLv3.
	  
	  abuserdap: added new utility, with man page.
	  
	  configure: abuserdap is compiled conditionally
	  if libcurl*-dev exists.
	  
	  jsmn.h: see https://github.com/zserge/jsmn
	  
	  jsmn_LICENSE: MIT license for jsmn.

2019-06-06 11:11  ale2003

	* [r56] configure.ac: add IPQBDB_REPETITION_MAX.
	  
	  ibd-config: add IPQBDB_REPETITION_MAX.
	  
	  INSTALL: make subsections,
	  expand trimming the database,
	  DB_CONFIG link.
	  
	  TESTrehabilitated_prob: new simple test program, n.u.
	  
	  ibd-judge: fixed bug #56447 (Verdict repetition),
	  it uses IPQBDB_REPETITION_MAX.
	  
	  dbstruct.h: add rep_ruling field.
	  
	  ibd-config: add IPQBDB_REPETITION_MAX.
	  
	  ibd-parse: fix verbosity to work differently in -D,
	  fix elapsed time in RE list reporting.
	  
	  ibd-parse man: document signals.
	  
	  ibd-report.sh: add a simple listing if no "new" shows up.
	  
	  example-trim.sh: new file
	  
	  ibd-del: don't print total of a single line for --stat.
	  
	  ibd-del man: fix B<>
	  
	  Makefile.am: add header logline_written_block.h,
	  add script ibd-report.sh
	  add TESTrehabilitated_prob.

2019-05-16 18:13  ale2003

	* [r55] add release notes for v. 1.05.

2019-05-16 18:08  ale2003

	* [r54] INSTALL: simplified the section on testing ibd-judge with iptables.
	  
	  ibd-del: added option --ls-simple for simpler output.
	  
	  ibd-del.pod.in: use defined database names,
	  mentions fields displayed by --ls and --stat.
	  
	  ibd-judge: get old_mark for existing mark (n.u.),
	  fix various TRACEs.
	  
	  ibd-parse: add a [0fF:]* to <HOST> replacement, to account for IPv4 mapped addresses.
	  
	  opendb.c, opendb2.c, report_error.c, TESTjudge.c: fix GNU_SOURCE/USE_BSD.

2019-05-08 11:27  ale2003

	* [r53] Renamed ban_report.sh to ibd-report.sh.
	  Options changed to use zcat for compressed log files.
	  
	  configure: version: 1.05 (without alfa).
	  Rewritten assignment of non-default values in 4 steps.
	  Added PARSE_SOCKET, DESCR_MAX_LENGTH, INITIAL_COUNT,
	  NEVER_DECAY, RECENT_DROP_TIME, and UPDATE_TICK_TIME.
	  
	  ibd-judge.pod.in: new man page.
	  
	  ibd-parse.pod.in: new man page.
	  
	  ibd-config.c: use new definitions.
	  
	  ibd-del.c: use new definition of UPDATE_TICK_TIME.
	  
	  ibd-judge.c: use new definitions.
	  
	  config_names.h: use new definitions.
	  
	  rehabilitated_prob.h: use new definition of UPDATE_TICK_TIME.
	  
	  initial_count.h: include config.h and use new definition.
	  
	  ibd-ban.pod.in: INITIAL_COUNT from definition.
	  
	  Makefile.am: add _GNU_SOURCE definition.
	  
	  test/Makefile.am: ditto.
	  
	  ibd-ban.c: remove __USE_BSD, which doesn't work any more.
	  
	  ibd-white.c: remove __USE_BSD.

2019-03-29 11:28  ale2003

	* [r52] ban_report.sh: new file: a script to report banned IPs sorted by IP number.
	  Accepts .0 as an argument, to read daemon.log.0.
	  The minimum number of lines by the same IP can also be specified.

2019-03-29 09:36  ale2003

	* [r51] ibd-ban.c: include logline_written_block.h,
	  if option -l, log the written block line,
	  if option --version, print also db version.
	  
	  ibd-parse.c: move function display_written_block() to
	  its own file logline_written_block.h.
	  
	  logline_written_block.h: new file.
	  
	  ibd-config.c: add IPQBDB_INITIAL_COUNT (5), which was
	  previously hardcoded in ibd-{ban,parse}.
	  
	  INSTALL: update CFLAGS and rsyslog calls.
	  
	  ibd-judge and TESTjudge: unsigned payload.

2019-03-28 08:18  ale2003

	* [r50] configure: version 0.5alfa.
	  
	  ibd-parse.c: tweak log line adding descr for changes,
	  add elapsed time in summary line.
	  
	  ibd-judge.c and TESTjudge.c: upgrade function prototypes,
	  use nfq_set_verdict2().
	  
	  INSTALL, ibd-del, opendb: aesthetic adjustments.

2013-09-09 10:21  ale2003

	* [r48] ext_exec.c: avoid compiler warning with NDEBUG

2013-07-08 17:43  ale2003

	* [r47] Added ibd-white man page.

2013-06-21 18:36  ale2003

	* [r46] Added ibd-del man page (ibd-del.pod.in)
	  ibd-del.c: reorder options according to man page.
	  ibd-ban.c: exit status according to man page.

2013-06-19 16:06  ale2003

	* [r45] ibd-ban.c: modified for multiple ip addresses.
	  configure.ac: added more variables for pod.in's.
	  opendb2.c: change some deprecated c_ cursor method names.
	  testsuite: test banning two IP addresses in one command.

2013-06-14 16:31  ale2003

	* [r44] ipv4_util2: new pair of sources to parse IPv4 mapped IPv6 addresses too.
	  ibd-ban.pod.in: man page for ibd-ban.
	  ibd-ban.c: reordered options, most used first.
	  
	  Got rid of IPQBDB_DECAY_ADDEND_ON_THRESHOLD. On threshold the decay
	  gets doubled.
	  
	  Raised IPQBDB_INITIAL_DECAY from 2 minutes to 6 hours.

2013-06-11 17:42  ale2003

	* [r43] configure.ac: accept BDB version > 4; bump to ipqbdb 1.04.

2013-06-11 16:56  ale2003

	* [r42] ext_exec.c: fixed format in the testing part.
	  Compiled for BDB 5.1

2011-07-04 09:06  ale2003

	* [r41] ibd-parse: reworked online help message

2011-03-15 15:03  ale2003

	* [r40] ibd-del: added a max-time option, for selecting recently blocked records.

2011-03-14 11:05  ale2003

	* [r39] ibd-del: adjust values before comparing to min- and max-probabilities.
	  ibd-del: changed intet_ntoa to inet_ntop to avoid compiler warning.

2011-03-13 15:06  ale2003

	* [r38] configure: added dependency for pkg-config.
	  makefile: re-enable dependency tracking
	  initial_count: in the include file only one function is always defined, one or both of the
	  remaining ones are optional.

2011-03-09 11:24  ale2003

	* [r36] READMElist: added this esy Perl script to extract reports from iptables.
	  Makefile: add READMElist, and READMEphp, since it was missing
	  INSTALL: wrote the list of commands for upgrading
	  
	  This is the final commit for release 1.03

2011-03-04 13:15  ale2003

	* [r35] initial_count.h: new header file collecting various quircks related to initial
	  count.
	  ibd-config: moved max_initial_count to the new header.
	  ibd-ban: changed initial_count determination by introducing rounding; the initial
	  probability is larger by one with respect to the previous version: this more closely
	  reaches the value RAND_MAX than before.
	  ibd-parse: changed initial_count as in ibd-ban.
	  ibd-del: guessing initial count moved to the new header; ban_opt (--ls-ban) changed to
	  also get the time-adjusted value of probability; raw listing is now the only means to read
	  the actual number written on the db.
	  testsuite: increased decay values for initial count testing, to avoid that the output be
	  noticeably changed. Also, eliminated test that depends on quoting capabilities of
	  autotest, as it changed on upgrading.
	  install: mention the ban_opt (--ls-ban)

2011-03-02 20:34  ale2003

	* [r34] ibd-parse: added exec-connkill option and a spawn_exec function.
	  INSTALL: mention db_upgrade.
	  TESTjudge: add limits.h and unused parameters
	  ibd-judge: add limits.h (how was it included before?)

2011-02-17 18:31  ale2003

	* [r33] INSTALL: review first section, added exec-connkill documentation.
	  README: added /etc/ipqbdb-connkill.cmd config file.
	  ibd-config: added IPQBDB_CONNKILL_CMD.
	  TESTexec: added options --help and -v (verbose, for arg numbers).
	  configure: just removed comment.

2011-02-16 18:59  ale2003

	* [r32] report_error: new source files for the function taken from dbstruct.h and opendb.c
	  ibd-ban: added exec-connkill option
	  testsuite: added several tests for connkill and its parsing
	  ext_exec: added a main() function for testing

2011-02-14 15:38  ale2003

	* [r31] ext_exec: new source file for external tool execution
	  dbstruct: change the write_block function prototype so as to return the final probability
	  to its caller
	  opendb2: change the write_block function
	  config_names: define the name /etc/ipqbdb-connkill.cmd
	  configure: option for the above
	  ibd-ban: prepare for calling the execution of external tool
	  ibd-parse: ditto

2011-02-09 16:18  ale2003

	* [r30] ibd-config: display the max initial-count
	  ibd-judge: revise help output
	  ibd-ban: use percent_prob instead of redefine
	  INSTALL: new text in view of --exec option

2011-02-07 18:23  ale2003

	* [r29] ibd-judge: add options netlink-bufsize, netlink-no-enobufs, and length of each
	  queue.
	  ibd-judge: for ENOBUFS, just report the error (don't reinitialize).
	  TESTjudge: add dummy functions as needed.
	  check: added test for parsing queue lengths.
	  version: bump to 1.03

2011-02-07 14:11  ale2003

	* [r28] ibd-del: --ls display current probability (as rehabilitated).

2011-02-07 11:48  ale2003

	* [r27] factored rehabilitated_prob function for use in reporting

2011-02-07 10:42  ale2003

	* [r26] factored percent_prob function

2010-07-30 18:09  ale2003

	* [r24] READMEphp: added
	  README, INSTALL, READMEcrash: updated stuff about the strange error. After another month,
	  it seems v1.02
	  with libnetfilter_queue 0.0.17 runs smoothly, and it's fine to release it.

2010-06-14 17:02  ale2003

	* [r23] ibd-judge: log error exits from the main loop.
	  ibd-judge: after recv error (once in a blue moon) attempt reentering the loop.
	  TESTjudge: set funny return code -123 after EBADF, to exit the test cleanly.

2010-03-15 18:05  ale2003

	* [r22] ibd-del: allow --max-records=4M instead of 4194304; allow -S as short for --stats
	  ibd-del: fix display of --version
	  INSTALL: paragraph for installing compatible versions

2010-03-15 16:48  ale2003

	* [r21] ibd-ban: fixed error messages for bad arguments not going to syslog as required

2010-02-12 13:54  ale2003

	* [r20] configure: define extensions and c99 in autoconf

2010-01-30 13:33  ale2003

	* [r19] opendb: fixed ibd-ban failing with cannot createdir /var/lib/ipqbdb: Permission
	  denied.
	  version: bump to 1.01

2010-01-25 09:16  ale2003

	* [r17] fix typo in Makefile.am that prevented inclusion of READMEc*

2010-01-24 18:02  ale2003

	* [r14] NEWS: release today!

2010-01-24 17:18  ale2003

	* [r13] ibd-judge: set htonl for the mark value
	  revise README*, INSTALL, comment t1-in

2010-01-22 17:18  ale2003

	* [r12] ibd-parse: (run_pcre) cleaned up return code handling for pcre actions
	  ibd-parse: (try_run_pcre) keep existing config on SIGHUP re-read error
	  opendb: (database_fname_with_home) create fname in the same directory
	  ibd-parse: (my_database_fname) ensure all db's in the same directory
	  ibd-parse: added test options --exit-on-eof and --no-run / -n
	  ibd-del: removed short name of options -n and -o, long name changed to
	  "--only-never-blocked"
	  ibd-del: removed short name of --max-probability and added --min-probability, added help
	  note
	  testsuite: added test for ibd-parse with multiple databases
	  configure: prepared for release 1.0

2010-01-21 18:22  ale2003

	* [r11] added a testsuite for simple database operations
	  TESTjudge: fixed printout for testsuite
	  ibd-judge: fixed printout for examining probability of being blocked
	  ibd-white: fixed record format
	  ibd-white: display prompt on a tty

2010-01-19 14:17  ale2003

	* [r10] ibd-judge: removed cumbersome options queue-num and address-match
	  ibd-judge: modified callback so that can handle multiple queues
	  ibd-judge: set argument syntax to allow either DROP or MARK for blocking
	  TESTjudge: added commands to simulate packets arriving while time elapses

2010-01-18 11:33  ale2003

	* [r9] renamed ipqbdbd ibd-judge for executable names homogeneity
	  renamed TESTipqbdbd as TESTjudge, consequently

2010-01-17 18:01  ale2003

	* [r8] ibd-del: added option to print by-reason statistics
	  ibd-del: set stats update on deletion
	  ibd-del: fix description by regex selection

2010-01-17 15:36  ale2003

	* [r7] ibd-parse: added call to set description counters
	  fix bug in opendb2.c (closing db1 twice on open error)
	  add default timeout to db environment

2010-01-16 18:31  ale2003

	* [r6] added TESTipqbdbd for testing the daemon with faked packets
	  in ipqbdbd, when running in a terminal don't call syslog
	  added function for updating description counters

2010-01-13 16:14  ale2003

	* [r5] added ibd-config utility to display settings

2010-01-13 12:34  ale2003

	* [r4] Changed database structures, INCOMPATIBLE with existing files
	  ibd-del: added adaptive deletion via option max-records
	  ibd-del: added option ls-ban to write calls to ibd-ban
	  ibd-del: option raw-ls renamed to ls-raw
	  opendb2: improved concurrency control

2009-04-24 16:53  ale2003

	* [r3] Examine the packet direction, to allow filtering responses

2008-12-22 12:21  ale2003

	* [r2] Added fields in the DB (will need to clear the old db before instlling.)
	  
	  * dbstruct.h (ip_data_t): added cought_cnt and chk signature.
	  
	  * ibd-del.c (popt options): removed -D that other progs use for "debug".
	  
	  * ibd-del.c (popt options): added only-blocked, non-blocked, reason, raw-ls.
	  
	  * ibd-del.c (do_del): modified for new options
	  
	  * ibd-del.c: added functions add_reason_id, all_reason_id, have_reason_id.
	  
	  * ibd-del.c (time_string): fix white spaces to ease identifying fields.
	  
	  * ibd-parse.c (read_pcre): handle lines longer than expected.
	  
	  * ipqbdbd.c (daemon_loop): fail db->get if record size doesn't match.
	  
	  * ibd-white.c: new file for bare whitelist management
	  
	  * ipv4_util.c ipv4_util.h: new files factoring IPv4 address parsing

2008-12-22 11:37  ale2003

	* [r1] Initial import -working system

