chiark / gitweb /
innduct.git
8 years agoSave errno in signal handler
Ian Jackson [Sun, 6 Dec 2015 01:44:38 +0000 (01:44 +0000)]
Save errno in signal handler

8 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')

8 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)

8 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

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

8 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)

8 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)

8 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

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

8 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

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

13 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

13 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

13 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

13 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

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

13 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

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

13 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

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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

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

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

13 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

13 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

13 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

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

13 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

13 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

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

13 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.

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

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

13 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

13 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

13 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

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

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

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

13 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

13 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

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

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

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

13 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

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

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

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

13 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

13 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

13 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

13 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

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

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

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

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

13 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

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

13 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

13 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

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

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

13 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

13 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

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

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

13 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

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

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

13 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

13 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

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

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

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

13 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

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

13 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

13 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

13 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)

13 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

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

13 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

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

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

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

13 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

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

13 years agoDo not assume that loop->on_fd is idempotent
Ian Jackson [Sat, 8 May 2010 13:45:05 +0000 (14:45 +0100)]
Do not assume that loop->on_fd is idempotent

13 years agosplit --no-daemon into --no-daemon and --interactive
Ian Jackson [Thu, 6 May 2010 18:47:05 +0000 (19:47 +0100)]
split --no-daemon into  --no-daemon and --interactive

13 years agoset period interval to 30s
Ian Jackson [Thu, 6 May 2010 18:32:58 +0000 (19:32 +0100)]
set period interval to 30s

13 years agolowvol fixes
Ian Jackson [Thu, 6 May 2010 18:32:39 +0000 (19:32 +0100)]
lowvol fixes

13 years agolowvol fixes
Ian Jackson [Wed, 5 May 2010 23:55:03 +0000 (00:55 +0100)]
lowvol fixes

13 years agofix so successful only connect really not blocker for another connect; lowvol in...
Ian Jackson [Wed, 5 May 2010 23:41:03 +0000 (00:41 +0100)]
fix so successful only connect really not blocker for another connect; lowvol in debug/dump

13 years agostore and print reason for idle timeouts ("quitting")
Ian Jackson [Wed, 5 May 2010 20:40:35 +0000 (21:40 +0100)]
store and print reason for idle timeouts ("quitting")