Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Time server on news.demon.co.uk

18 views
Skip to first unread message

Mike Pellatt

unread,
Mar 17, 1996, 3:00:00 AM3/17/96
to
Follows-up to own posting ( :-( )

In article <4ih1oe$o...@lurch.ktgroup.co.uk>, Mike Pellatt wrote:
>[mike@somewhere /tmp]$ telnet news.demon.co.uk time
>Trying 158.152.254.254...
>telnet: Unable to connect to remote host: Connection refused
>[mike@somewhere /tmp]$
>
>From my logs, it's been like this since somewhere around 00:30 this
>morning.
>
>Called the pager at 08:30 this morning. Nothing in status@gate, or
>sign of it being fixed, 4.5 hours later.
>
>Since slurp keeps kickin' until it gets in, this don't 'arf fill
>up my logs if I don't spot it.
>
>Come on, Demon, fix status@gate at least.....

Fixed by 13:11 (was about to call the pager again..). Still no mention
in status@gate.

--
Mike Pellatt, VCS Limited (A Knowledge Group company)
Tel: (+44) 117 9007500 Fax: (+44) 117 9007501 Mobile: (+44) 468 192021
Home Page: http://www.ktgroup.co.uk/~mike/


Simon Oke

unread,
Mar 22, 1996, 3:00:00 AM3/22/96
to
In article <4ih1oe$o...@lurch.ktgroup.co.uk>, Mike Pellatt
<mi...@lurch.ktgroup.co.uk> writes

>[mike@somewhere /tmp]$ telnet news.demon.co.uk time
>Trying 158.152.254.254...
>telnet: Unable to connect to remote host: Connection refused
>[mike@somewhere /tmp]$
>
>From my logs, it's been like this since somewhere around 00:30 this
>morning.
>
>Called the pager at 08:30 this morning. Nothing in status@gate, or
>sign of it being fixed, 4.5 hours later.
>
>Since slurp keeps kickin' until it gets in, this don't 'arf fill
>up my logs if I don't spot it.
>
>Come on, Demon, fix status@gate at least.....

If anything needs fixing, it's slurp. It doesn't have the
ability to use the 'date' command which the nntp server
understands.

office:/home/simono/tmp>telnet news.demon.co.uk 119
Trying 158.152.254.254 ...
Connected to news.news.demon.net.
Escape character is '^]'.
200 Demon Internet NewsBorg 1.09a (posting ok)
date
111 19960322162522
quit
205 goodbye office.demon.net
Connection closed by foreign host.
office:/home/simono/tmp>

Hmm, modifying slurp to kick like mad wasn't too hard...
Maybe one of these days I'll make it use 'date'.

--
Simon Oke

Mike Pellatt

unread,
Mar 26, 1996, 3:00:00 AM3/26/96
to
In article <GJQj4EAg...@loony.demon.co.uk>, Simon Oke wrote:
>In article <4ih1oe$o...@lurch.ktgroup.co.uk>, Mike Pellatt

[ snipped my rant about the time port on n.d.c.u ]

>If anything needs fixing, it's slurp. It doesn't have the
>ability to use the 'date' command which the nntp server
>understands.

Indeed. Then I'd have one less tcp port to worry about.

>Hmm, modifying slurp to kick like mad wasn't too hard...
>Maybe one of these days I'll make it use 'date'.

And it gets its knickers in a twist when collecting globs of old
news. I really must find and fix that. I tried "suck" but didn't
really feel comfortable with it. Better the devil you know....

I have ambitious plans to write a system that monitors the INN logs
for groups that people (try and) read, and when a new one comes along, adds
it to the list of newsgroups that slurp collects, and also goes off and
collects the last 2 weeks worth of news. Then, when they come back
in 5 or so minutes, all the news for that group will be available
locally. Will save collecting comp.* over the LL....

Should be quite trivial, really, but I'm short of Tuits, especially
the round variety.

Ian Stirling

unread,
Mar 27, 1996, 3:00:00 AM3/27/96
to
Mike Pellatt (mi...@lurch.ktgroup.co.uk) wrote:

: In article <GJQj4EAg...@loony.demon.co.uk>, Simon Oke wrote:
: >In article <4ih1oe$o...@lurch.ktgroup.co.uk>, Mike Pellatt

: [ snipped my rant about the time port on n.d.c.u ]

: >If anything needs fixing, it's slurp. It doesn't have the
: >ability to use the 'date' command which the nntp server
: >understands.

: Indeed. Then I'd have one less tcp port to worry about.

: >Hmm, modifying slurp to kick like mad wasn't too hard...
: >Maybe one of these days I'll make it use 'date'.

: And it gets its knickers in a twist when collecting globs of old
: news. I really must find and fix that. I tried "suck" but didn't
: really feel comfortable with it. Better the devil you know....

: I have ambitious plans to write a system that monitors the INN logs
: for groups that people (try and) read, and when a new one comes along, adds
: it to the list of newsgroups that slurp collects, and also goes off and
: collects the last 2 weeks worth of news. Then, when they come back
: in 5 or so minutes, all the news for that group will be available
: locally. Will save collecting comp.* over the LL....

: Should be quite trivial, really, but I'm short of Tuits, especially
: the round variety.

Alternatively, script to find all groups subscribed in .newsrcs


find /home -name .newsrc -exec awk '/^[^!]*$/{
print substr($1,0,length($1)-1)
}' {} \;|sort -u |tee list|xargs -n 1 /usr/lib/news/bin/ctlinnd newgroup

#Ok, created any groups that are new
#Be very sure you've not got lots in /usr/lib/news/subscriptions
#also run a script to pull demons active and newsgroups file every
#so often.

awk '{print $0 ",\\"}' <list |
cat /usr/lib/news/slurp.firstbit - slurp.lastbit >/usr/lib/news/slurp.sys


Argh, meant to post not really tested script, but vaped slurp.sys, and
this was the easyest way of recreating. It seems to work ok.
May reduce your traffic if you have lots of dead groups.

/usr/lib/news/slurp.firstbit is the start of slurp.sys, before the
list of newsgroups, and slurp.lastbit is the bit at the end, maybe needed
for flags.

Put a wrapper round tin, when it exits, run script, and if not getting
news at the time. Also maybe as a cron job.
This does not pick up root's subscriptions, as you don't want to
get some groups root should be reading (junk)

: --

Ray Auchterlounie

unread,
Mar 27, 1996, 3:00:00 AM3/27/96
to
Mike Pellatt <mi...@lurch.ktgroup.co.uk> wrote:
>In article <GJQj4EAg...@loony.demon.co.uk>, Simon Oke wrote:
>>In article <4ih1oe$o...@lurch.ktgroup.co.uk>, Mike Pellatt

>[ snipped my rant about the time port on n.d.c.u ]

>>If anything needs fixing, it's slurp. It doesn't have the
>>ability to use the 'date' command which the nntp server
>>understands.

Might understand - "date" is not in the rfc... ;)

[...]


>I have ambitious plans to write a system that monitors the INN logs
>for groups that people (try and) read, and when a new one comes along, adds
>it to the list of newsgroups that slurp collects, and also goes off and
>collects the last 2 weeks worth of news. Then, when they come back
>in 5 or so minutes, all the news for that group will be available
>locally. Will save collecting comp.* over the LL....

You might want to put some filters/operator-involvement on that...

[luser: hmm... whats in all these binaries groups ?]
~luser$ nn alt.binaries.*
No News
~luser$
[luser: nothing, oh well.]

<Fx: network/news hernia (2 wks of alt.binaries.* must be several Gb)>

You might want to look at "obnews" which allows you to download
overview only and "request" selected articles to be downloaded.
A similar sort of "request" could be added for unavailable groups.

It would be nice (at least on a small system) to be able to keep
overview info longer than articles and be able to request back dated
overview/articles (limited only by what's on news.d.c.u).

This all requires changes to newsreaders though (at least I can't
think of a sure way to do it otherwise).

>Should be quite trivial, really, but I'm short of Tuits, especially
>the round variety.

Me too. If you get a spare one marked "thesis" throw it my way :)

ray

--
Ray Auchterlounie Research Student (still) at:
<r...@kythera.demon.co.uk> Signal Processing Group
<r...@eng.cam.ac.uk> Cambridge University Engineering Dept.
"Don't ask me about my thesis (TM)"

Mike Pellatt

unread,
Mar 27, 1996, 3:00:00 AM3/27/96
to
In article <1996032709...@mauve.demon.co.uk>, Ian Stirling wrote:

>Mike Pellatt (mi...@lurch.ktgroup.co.uk) wrote:
>: In article <GJQj4EAg...@loony.demon.co.uk>, Simon Oke wrote:
>: >In article <4ih1oe$o...@lurch.ktgroup.co.uk>, Mike Pellatt
>
>: [ snipped my rant about the time port on n.d.c.u ]
>
>: >If anything needs fixing, it's slurp. It doesn't have the
>: >ability to use the 'date' command which the nntp server
>: >understands.
>
>: And it gets its knickers in a twist when collecting globs of old
>: news. I really must find and fix that. I tried "suck" but didn't
>: really feel comfortable with it. Better the devil you know....

Further examination seems to suggest that this might be the "read" on
demon's end timing out while the article list comes down. But this is
the wrong ng for that...

>: I have ambitious plans to write a system that monitors the INN logs


>: for groups that people (try and) read, and when a new one comes along, adds
>: it to the list of newsgroups that slurp collects, and also goes off and
>: collects the last 2 weeks worth of news. Then, when they come back
>: in 5 or so minutes, all the news for that group will be available
>: locally. Will save collecting comp.* over the LL....
>

>Alternatively, script to find all groups subscribed in .newsrcs

Not if most if your newsreaders are on workstations on the local LAN, using
Agent or some such. That's my problem, and why I need to use the inn
logs.

Now way off topic for demon.service. Tnx for the script, anyway.

--
Mike Pellatt, VCS Limited (A Knowledge Group company)
Tel: (+44) 117 9007500 Fax: (+44) 117 9007501 Mobile: (+44) 468 192021

Crappy Home Page: http://www.ktgroup.co.uk/~mike/


0 new messages