chiark / gitweb /
innduct.git
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")

13 years agorename recentact to lowvol
Ian Jackson [Wed, 5 May 2010 20:36:39 +0000 (21:36 +0100)]
rename recentact to lowvol

13 years agodo not block reconnections due to us having successfully connected our only connection
Ian Jackson [Wed, 5 May 2010 20:35:57 +0000 (21:35 +0100)]
do not block reconnections due to us having successfully connected our only connection

13 years agonew aggressive close "recentact" aka "lowvol"; do not count idle connection disconnec...
Ian Jackson [Wed, 5 May 2010 20:33:20 +0000 (21:33 +0100)]
new aggressive close "recentact" aka "lowvol"; do not count idle connection disconnect as blocker

13 years agoMerge branch 'master' of login.chiark.greenend.org.uk:public-git/inn-innduct
Ian Jackson [Tue, 4 May 2010 08:44:31 +0000 (09:44 +0100)]
Merge branch 'master' of login.chiark.greenend.org.uk:public-git/inn-innduct

13 years agoFix writev rs iovec loop
Ian Jackson [Tue, 4 May 2010 08:43:11 +0000 (09:43 +0100)]
Fix writev rs iovec loop

13 years agotodo list item
Ian Jackson [Tue, 4 May 2010 08:36:08 +0000 (09:36 +0100)]
todo list item

13 years agoclarify C%d (now %d) messages
Ian Jackson [Mon, 3 May 2010 20:43:23 +0000 (21:43 +0100)]
clarify C%d (now %d) messages

13 years agoFix C%d[%d] messages
Ian Jackson [Mon, 3 May 2010 20:23:43 +0000 (21:23 +0100)]
Fix C%d[%d] messages

13 years agoimprove some messages
Ian Jackson [Mon, 3 May 2010 20:15:54 +0000 (21:15 +0100)]
improve some messages

13 years agoMerge branch 'master' of /u/ian/public-git/inn-innduct.git/
Ian Jackson [Mon, 3 May 2010 17:13:00 +0000 (18:13 +0100)]
Merge branch 'master' of /u/ian/public-git/inn-innduct.git/

13 years agoactually default site to fqdn
Ian Jackson [Mon, 3 May 2010 17:12:50 +0000 (18:12 +0100)]
actually default site to fqdn

13 years agodocs updates
Ian Jackson [Mon, 3 May 2010 16:55:08 +0000 (17:55 +0100)]
docs updates

13 years agoMerge branch 'master' of login.chiark.greenend.org.uk:public-git/inn-innduct
Ian Jackson [Mon, 3 May 2010 16:10:52 +0000 (17:10 +0100)]
Merge branch 'master' of login.chiark.greenend.org.uk:public-git/inn-innduct

13 years agomanpage fixes
Ian Jackson [Mon, 3 May 2010 16:10:49 +0000 (17:10 +0100)]
manpage fixes

13 years agoMore sensible use of paths for feedfile and chdir
Ian Jackson [Mon, 3 May 2010 16:10:04 +0000 (17:10 +0100)]
More sensible use of paths for feedfile and chdir

13 years agoset cwd
Ian Jackson [Mon, 3 May 2010 15:48:38 +0000 (16:48 +0100)]
set cwd

13 years agofix readable logic
Ian Jackson [Mon, 3 May 2010 14:16:49 +0000 (15:16 +0100)]
fix readable logic

13 years agoMerge branch 'master' of login.chiark.greenend.org.uk:public-git/inn-innduct
Ian Jackson [Mon, 3 May 2010 13:43:01 +0000 (14:43 +0100)]
Merge branch 'master' of login.chiark.greenend.org.uk:public-git/inn-innduct

Conflicts:

backends/innduct.c

13 years agosort out cli dir stuff
Ian Jackson [Mon, 3 May 2010 13:41:39 +0000 (14:41 +0100)]
sort out cli dir stuff

13 years agofixes
Ian Jackson [Mon, 3 May 2010 12:59:16 +0000 (13:59 +0100)]
fixes

13 years agorename control_ stuff to cli
Ian Jackson [Mon, 3 May 2010 12:45:15 +0000 (13:45 +0100)]
rename control_ stuff to cli

13 years agoMerge branch 'master' of login.chiark.greenend.org.uk:public-git/inn-innduct
Ian Jackson [Mon, 3 May 2010 12:35:28 +0000 (13:35 +0100)]
Merge branch 'master' of login.chiark.greenend.org.uk:public-git/inn-innduct