chiark / gitweb /
innduct.git
2 years agoInstall the READMEs master
Ian Jackson [Sun, 6 Dec 2015 02:31:06 +0000 (02:31 +0000)]
Install the READMEs

2 years agodebian: Sort out some dependencies
Ian Jackson [Sun, 6 Dec 2015 02:13:44 +0000 (02:13 +0000)]
debian: Sort out some dependencies

2 years agoAdd stamp-h1 to .gitignore
Ian Jackson [Sun, 6 Dec 2015 01:55:10 +0000 (01:55 +0000)]
Add stamp-h1 to .gitignore

./configure seems to leave this behind.

2 years agoDebianisation (initial cut)
Ian Jackson [Sun, 6 Dec 2015 01:54:43 +0000 (01:54 +0000)]
Debianisation (initial cut)

2 years agoMove "autoconf" target stuff into autogen.sh
Ian Jackson [Sun, 6 Dec 2015 01:49:24 +0000 (01:49 +0000)]
Move "autoconf" target stuff into autogen.sh

Also, arranges for autogen.sh to strip the Makefile and config.h
targets from the generated Makefile.

2 years agoSupport caller simply setting CFLAGS
Ian Jackson [Sun, 6 Dec 2015 01:46:34 +0000 (01:46 +0000)]
Support caller simply setting CFLAGS

2 years agoSupport CMDLINE_CPPFLAGS
Ian Jackson [Sun, 6 Dec 2015 01:46:15 +0000 (01:46 +0000)]
Support CMDLINE_CPPFLAGS

2 years agoIn signal handler, crash if write() fails in an unexpected way
Ian Jackson [Sun, 6 Dec 2015 01:45:00 +0000 (01:45 +0000)]
In signal handler, crash if write() fails in an unexpected way

2 years agoSave errno in signal handler
Ian Jackson [Sun, 6 Dec 2015 01:44:38 +0000 (01:44 +0000)]
Save errno in signal handler

2 years agoSwitch to AM_CPPFLAGS as suggested by autoreconf
Ian Jackson [Sat, 5 Dec 2015 21:44:30 +0000 (21:44 +0000)]
Switch to AM_CPPFLAGS as suggested by autoreconf

Makefile.am:27: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')

2 years agoReran autogen.sh (zealot, jessie i386)
Ian Jackson [Sat, 5 Dec 2015 21:37:47 +0000 (21:37 +0000)]
Reran autogen.sh (zealot, jessie i386)

2 years agoUpdate to work with jessie's automake (tested with automake 1.14)
Ian Jackson [Sat, 5 Dec 2015 21:36:34 +0000 (21:36 +0000)]
Update to work with jessie's automake (tested with automake 1.14)

And provide autogen.sh

2 years agoCope with new NNTPconnect prototype
Ian Jackson [Sat, 5 Dec 2015 21:23:44 +0000 (21:23 +0000)]
Cope with new NNTPconnect prototype

2 years agoCope with NNTP_MSGID_MAXLEN abolishment (replaced with NNTP_MAXLEN_MSGID)
Ian Jackson [Sat, 5 Dec 2015 21:23:25 +0000 (21:23 +0000)]
Cope with NNTP_MSGID_MAXLEN abolishment (replaced with NNTP_MAXLEN_MSGID)

2 years agoCope with NNTP_STRLEN abolishment (replaced with NNTP_MAXLEN_COMMAND)
Ian Jackson [Sat, 5 Dec 2015 21:23:11 +0000 (21:23 +0000)]
Cope with NNTP_STRLEN abolishment (replaced with NNTP_MAXLEN_COMMAND)

2 years agoAdjust INNLOGSET to have debug instead of trace, as current libinn2 does
Ian Jackson [Sat, 5 Dec 2015 18:55:40 +0000 (18:55 +0000)]
Adjust INNLOGSET to have debug instead of trace, as current libinn2 does

2 years agoAdd missing <limits.h>
Ian Jackson [Sat, 5 Dec 2015 18:55:17 +0000 (18:55 +0000)]
Add missing <limits.h>

2 years agoReplace x[v]asprintf with m[v]asprintf; libinn2 has one now
Ian Jackson [Sat, 5 Dec 2015 18:36:45 +0000 (18:36 +0000)]
Replace x[v]asprintf with m[v]asprintf; libinn2 has one now

7 years agoAdd innduct-forall
Ian Jackson [Mon, 28 Jun 2010 12:45:34 +0000 (13:45 +0100)]
Add innduct-forall

7 years agoCount rejections of nochecked articles against nocheck threshold
Ian Jackson [Sat, 19 Jun 2010 17:01:58 +0000 (18:01 +0100)]
Count rejections of nochecked articles against nocheck threshold

7 years agoMerge branch 'master' of login.chiark.greenend.org.uk:public-git/innduct
Ian Jackson [Sun, 6 Jun 2010 18:09:59 +0000 (19:09 +0100)]
Merge branch 'master' of login.chiark.greenend.org.uk:public-git/innduct

7 years agoAdd diagram showing states article goes through and which counters are updated
Ian Jackson [Sun, 6 Jun 2010 18:09:52 +0000 (19:09 +0100)]
Add diagram showing states article goes through and which counters are updated

7 years agoDo not use a random exit status when connchild gets 501 to mode stream
Ian Jackson [Wed, 2 Jun 2010 14:36:00 +0000 (15:36 +0100)]
Do not use a random exit status when connchild gets 501 to mode stream

7 years agomore message tidying
Ian Jackson [Tue, 1 Jun 2010 20:26:43 +0000 (21:26 +0100)]
more message tidying

7 years agoMerge branch 'master' of login.chiark.greenend.org.uk:public-git/innduct
Ian Jackson [Tue, 1 Jun 2010 20:25:43 +0000 (21:25 +0100)]
Merge branch 'master' of login.chiark.greenend.org.uk:public-git/innduct

Conflicts:

filemon.c

7 years agowip message tidying
Ian Jackson [Tue, 1 Jun 2010 20:25:10 +0000 (21:25 +0100)]
wip message tidying

7 years agoMerge branch 'master' of /home/ian/public-git/innduct
Ian Jackson [Tue, 1 Jun 2010 19:14:40 +0000 (20:14 +0100)]
Merge branch 'master' of /home/ian/public-git/innduct

7 years agomake new filemon work
Ian Jackson [Tue, 1 Jun 2010 19:14:32 +0000 (20:14 +0100)]
make new filemon work

7 years agoReport input file start to debug log
Ian Jackson [Tue, 1 Jun 2010 19:14:13 +0000 (20:14 +0100)]
Report input file start to debug log

7 years agoShow backlog file completion to debug log
Ian Jackson [Tue, 1 Jun 2010 19:13:13 +0000 (20:13 +0100)]
Show backlog file completion to debug log

7 years agoWIP new filemon with linked list not array
Ian Jackson [Tue, 1 Jun 2010 18:59:37 +0000 (19:59 +0100)]
WIP new filemon with linked list not array

7 years agoMake FOR_LIST_NODE and use it for FOR_CONN
Ian Jackson [Tue, 1 Jun 2010 18:57:47 +0000 (19:57 +0100)]
Make FOR_LIST_NODE and use it for FOR_CONN

7 years agoshow completed backlog stats in dump
Ian Jackson [Tue, 1 Jun 2010 16:44:26 +0000 (17:44 +0100)]
show completed backlog stats in dump

7 years agoNewline after show's full stop
Ian Jackson [Tue, 1 Jun 2010 16:34:44 +0000 (17:34 +0100)]
Newline after show's full stop

7 years agoDo not show empty wd2ipf slots as there can be many
Ian Jackson [Tue, 1 Jun 2010 16:34:14 +0000 (17:34 +0100)]
Do not show empty wd2ipf slots as there can be many

7 years agoNew "show" command
Ian Jackson [Tue, 1 Jun 2010 16:33:23 +0000 (17:33 +0100)]
New "show" command

7 years agoComment out some excessive debugging
Ian Jackson [Tue, 1 Jun 2010 16:26:51 +0000 (17:26 +0100)]
Comment out some excessive debugging

7 years agoAlways call cancel_time before on_time to make sure we have only one queued up
Ian Jackson [Tue, 1 Jun 2010 15:21:03 +0000 (16:21 +0100)]
Always call cancel_time before on_time to make sure we have only one queued up

7 years agoAssert readable_callback before we call it
Ian Jackson [Tue, 1 Jun 2010 14:26:26 +0000 (15:26 +0100)]
Assert readable_callback before we call it

7 years agodo not regard everything as a child just because we daemonised
Ian Jackson [Tue, 1 Jun 2010 11:21:35 +0000 (12:21 +0100)]
do not regard everything as a child just because we daemonised

7 years agoinnduct-stats-report shows deferral
Ian Jackson [Tue, 1 Jun 2010 11:08:34 +0000 (12:08 +0100)]
innduct-stats-report shows deferral

7 years agobugfix: convert stats_log_periods to periods
Ian Jackson [Tue, 1 Jun 2010 10:54:38 +0000 (11:54 +0100)]
bugfix: convert stats_log_periods to periods

7 years agoFix crash bug in inputfile_queue_check_expired
Ian Jackson [Tue, 1 Jun 2010 10:14:27 +0000 (11:14 +0100)]
Fix crash bug in inputfile_queue_check_expired

7 years agofix grammar in message
Ian Jackson [Tue, 1 Jun 2010 00:14:06 +0000 (01:14 +0100)]
fix grammar in message

7 years agoimprove logging
Ian Jackson [Mon, 31 May 2010 16:46:03 +0000 (17:46 +0100)]
improve logging

- connection failed message puts requeued in parens
- connection success message, idle connection closed by us message,
   idle connection closed by peer message, are all info not notice
- flush timeout autodefer message is info not warn if we have no
   conns as this is normal with lack of conns and lack of conns
   already reported
- new notice messages summarising number of conns
- normal processed batch thing says "batch" not "feedfile"
- innduct-stats-report: count messages of priority info too.

7 years agoanother notice_processed fix
Ian Jackson [Sat, 29 May 2010 17:18:53 +0000 (18:18 +0100)]
another notice_processed fix

7 years agofix zero overwrite
Ian Jackson [Sat, 29 May 2010 17:16:12 +0000 (18:16 +0100)]
fix zero overwrite

7 years agoFix notice_processed_counts to use *counts not ipf->counts
Ian Jackson [Sat, 29 May 2010 17:07:20 +0000 (18:07 +0100)]
Fix notice_processed_counts to use *counts not ipf->counts

7 years agoAccumulate backlog counts rather than reporting every file
Ian Jackson [Sat, 29 May 2010 13:34:08 +0000 (14:34 +0100)]
Accumulate backlog counts rather than reporting every file

7 years agomake individual events in Counts into an array
Ian Jackson [Sat, 29 May 2010 13:16:58 +0000 (14:16 +0100)]
make individual events in Counts into an array

7 years agoGroup counters into struct
Ian Jackson [Sat, 29 May 2010 12:56:16 +0000 (13:56 +0100)]
Group counters into struct

7 years agocheck for inotify.h
Ian Jackson [Fri, 28 May 2010 21:57:00 +0000 (22:57 +0100)]
check for inotify.h

7 years agoinstall innduct-stats-report
Ian Jackson [Fri, 28 May 2010 21:54:24 +0000 (22:54 +0100)]
install innduct-stats-report

7 years agoRecalculate inqueue/spare for _use_ properly
Ian Jackson [Fri, 28 May 2010 21:46:21 +0000 (22:46 +0100)]
Recalculate inqueue/spare for _use_ properly

7 years agoRecalculate inqueue/spare for use properly
Ian Jackson [Fri, 28 May 2010 21:42:53 +0000 (22:42 +0100)]
Recalculate inqueue/spare for use properly

7 years agoInstall innduct-stats-report
Ian Jackson [Fri, 28 May 2010 21:28:51 +0000 (22:28 +0100)]
Install innduct-stats-report

7 years agomore work on stats report
Ian Jackson [Fri, 28 May 2010 21:14:36 +0000 (22:14 +0100)]
more work on stats report

7 years agoLog stats at intervals
Ian Jackson [Fri, 28 May 2010 19:56:30 +0000 (20:56 +0100)]
Log stats at intervals

7 years agoSeems to be able to format report
Ian Jackson [Fri, 28 May 2010 19:27:19 +0000 (20:27 +0100)]
Seems to be able to format report

7 years agologstats control command
Ian Jackson [Wed, 26 May 2010 17:33:38 +0000 (18:33 +0100)]
logstats control command

7 years agonotice_processed zeroes the counts
Ian Jackson [Wed, 26 May 2010 17:31:02 +0000 (18:31 +0100)]
notice_processed zeroes the counts

7 years agoFix doc ref
Ian Jackson [Sun, 23 May 2010 00:37:49 +0000 (01:37 +0100)]
Fix doc ref

7 years agoremove bogus tbl option innduct-0.1
Ian Jackson [Sun, 23 May 2010 00:31:20 +0000 (01:31 +0100)]
remove bogus tbl option

7 years agoput rationale in the manpage chiark
Ian Jackson [Sun, 23 May 2010 00:17:52 +0000 (01:17 +0100)]
put rationale in the manpage

7 years agoFix kloc count - it has grown due to splitting
Ian Jackson [Sat, 22 May 2010 23:54:18 +0000 (00:54 +0100)]
Fix kloc count - it has grown due to splitting

7 years agoLegal notice if no arguments supplied
Ian Jackson [Sat, 22 May 2010 23:53:21 +0000 (00:53 +0100)]
Legal notice if no arguments supplied

7 years agoAdd some missing copyright notices
Ian Jackson [Sat, 22 May 2010 23:50:18 +0000 (00:50 +0100)]
Add some missing copyright notices

7 years agoAdd rationale
Ian Jackson [Sat, 22 May 2010 23:50:06 +0000 (00:50 +0100)]
Add rationale

7 years agoAdd GPL-3
Ian Jackson [Sat, 22 May 2010 23:42:13 +0000 (00:42 +0100)]
Add GPL-3

7 years agoREORG remove old/ directory
Ian Jackson [Sat, 22 May 2010 12:32:09 +0000 (13:32 +0100)]
REORG remove old/ directory

7 years agoRationalise docs - get rid of README.notes
Ian Jackson [Sat, 22 May 2010 10:26:49 +0000 (11:26 +0100)]
Rationalise docs - get rid of README.notes

7 years agoInstall manpage
Ian Jackson [Sat, 22 May 2010 10:26:29 +0000 (11:26 +0100)]
Install manpage

7 years agorename innduct.c to duct.c - fix up comments
Ian Jackson [Thu, 20 May 2010 18:13:40 +0000 (19:13 +0100)]
rename innduct.c to duct.c - fix up comments

7 years agorename innduct.c to duct.c
Ian Jackson [Thu, 20 May 2010 18:11:30 +0000 (19:11 +0100)]
rename innduct.c to duct.c

7 years agosplit program compiles
Ian Jackson [Thu, 20 May 2010 18:08:57 +0000 (19:08 +0100)]
split program compiles

7 years agoAdd TAGS to .gitignore
Ian Jackson [Thu, 20 May 2010 18:08:29 +0000 (19:08 +0100)]
Add TAGS to .gitignore

7 years agowip split into multiple files and make compile
Ian Jackson [Thu, 20 May 2010 17:06:49 +0000 (18:06 +0100)]
wip split into multiple files and make compile

7 years agoturn on a bunch of warnings
Ian Jackson [Thu, 20 May 2010 14:17:51 +0000 (15:17 +0100)]
turn on a bunch of warnings

7 years agorerun autoconf etc.
Ian Jackson [Thu, 20 May 2010 13:55:09 +0000 (14:55 +0100)]
rerun autoconf etc.

7 years agoSet MAINTAINERCLEANFILES
Ian Jackson [Thu, 20 May 2010 13:54:41 +0000 (14:54 +0100)]
Set MAINTAINERCLEANFILES

7 years agoautomakeified, compiles, now for clean -x test
Ian Jackson [Thu, 20 May 2010 13:52:58 +0000 (14:52 +0100)]
automakeified, compiles, now for clean -x test

7 years agowip build system
Ian Jackson [Sat, 15 May 2010 16:33:49 +0000 (17:33 +0100)]
wip build system

7 years agoInitial configure.ac
Ian Jackson [Sat, 15 May 2010 16:25:11 +0000 (17:25 +0100)]
Initial configure.ac

7 years agoREORG Move everything that's not innduct into old/ directory
Ian Jackson [Sat, 15 May 2010 16:27:01 +0000 (17:27 +0100)]
REORG Move everything that's not innduct into old/ directory

7 years agoREORG Delete everything that's not innduct or build system or changed for innduct
Ian Jackson [Sat, 15 May 2010 16:17:27 +0000 (17:17 +0100)]
REORG Delete everything that's not innduct or build system or changed for innduct

7 years agodebugging for thing that crashed
Ian Jackson [Sat, 15 May 2010 00:48:36 +0000 (01:48 +0100)]
debugging for thing that crashed

7 years agochange messages to pipe
Ian Jackson [Wed, 12 May 2010 23:29:31 +0000 (00:29 +0100)]
change messages to pipe

7 years agofix a const-correctness bug
Ian Jackson [Wed, 12 May 2010 23:28:41 +0000 (00:28 +0100)]
fix a const-correctness bug

7 years agofix immediate auto expire list handling bug
Ian Jackson [Wed, 12 May 2010 23:28:26 +0000 (00:28 +0100)]
fix immediate auto expire list handling bug

7 years agoremove false assertion
Ian Jackson [Wed, 12 May 2010 23:21:04 +0000 (00:21 +0100)]
remove false assertion

7 years agouse libinn logging where applicable - debugged
Ian Jackson [Sat, 8 May 2010 15:27:53 +0000 (16:27 +0100)]
use libinn logging where applicable - debugged

7 years agoRevert "xfoo => mfoo, rename"
Ian Jackson [Sat, 8 May 2010 15:12:58 +0000 (16:12 +0100)]
Revert "xfoo => mfoo, rename"

This reverts commit fc30978d143c0aec21ab07c5a6cdd4835aa9167c.

Conflicts:

backends/innduct.c

7 years agouse libinn for die (rename fatal -> die)
Ian Jackson [Sat, 8 May 2010 15:12:07 +0000 (16:12 +0100)]
use libinn for die (rename fatal -> die)

7 years agouse libinn logging where applicable - compiles
Ian Jackson [Sat, 8 May 2010 15:08:39 +0000 (16:08 +0100)]
use libinn logging where applicable - compiles

7 years agouse libinn logging where applicable
Ian Jackson [Sat, 8 May 2010 15:01:52 +0000 (16:01 +0100)]
use libinn logging where applicable

7 years agorename [sys]die => [sys]crash and turn a few of them into dies
Ian Jackson [Sat, 8 May 2010 14:47:10 +0000 (15:47 +0100)]
rename [sys]die => [sys]crash and turn a few of them into dies

7 years agoxfoo => mfoo, add comment
Ian Jackson [Sat, 8 May 2010 14:28:19 +0000 (15:28 +0100)]
xfoo => mfoo, add comment

7 years agoxfoo => mfoo, rename
Ian Jackson [Sat, 8 May 2010 14:24:51 +0000 (15:24 +0100)]
xfoo => mfoo, rename

7 years agorm some todos
Ian Jackson [Sat, 8 May 2010 14:20:08 +0000 (15:20 +0100)]
rm some todos

7 years agoMerge branch 'running2' of login.chiark.greenend.org.uk:public-git/inn-innduct
Ian Jackson [Sat, 8 May 2010 13:49:05 +0000 (14:49 +0100)]
Merge branch 'running2' of login.chiark.greenend.org.uk:public-git/inn-innduct