🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
17 messages
17 total messages Started by Morten Brynjolf Wed, 30 Oct 2002 20:52
How to feed hamster 2 hamster
#61723
Author: Morten Brynjolf
Date: Wed, 30 Oct 2002 20:52
9 lines
905 bytes
Hi!

Anyone who have a link explaining how to peer news between two hamsters in 
a local network?

-- 
Regards,
Morten Brynjolf
Re: How to feed hamster 2 hamster
#61722
Author: Heiko Studt
Date: Wed, 30 Oct 2002 22:17
27 lines
2017 bytes
Hi Dmitry,

On 30.10.2002 22:19:09 these lines were written down...

> > Anyone who have a link explaining how to peer news between two
> > hamsters in a local network?
> I have test the feed with hamster but hamster is no really a good 
> server for feeding and peer ...

because there is no one who knows feeding *very* well of daily usage and
possibility to improove/debug. Please explain your real problem...

@Morten

Most Hamster-Experts are sitting in the hierachy hamster.* 
Please repost your more detail question to hamster.en.misc
BTW: There is a FAQ of feeding for Hamster. It should be translated by
Obbe-Jan's Team, in the next stable there will hopefully be the latest english
helpfile included. The link should also be found in hamster.en.*


MFG

-- 
Heiko Studt

Re: How to feed hamster 2 hamster
#61729
Author: Heiko Studt
Date: Thu, 31 Oct 2002 12:48
40 lines
2402 bytes
Hi Dmitry,

On 31.10.2002 07:22:27 these lines were written down...

> The Hamster not have got a cleanfeed, this is the problem. The other 
> problem :

I only have a rare know of CleanFeed. AFAIK it is the "filter" of feeding INN?

> 1) impossibility of stream mode

? You mean "MODE STREAM"?
The command is implemented, but I don't know what different is. I don't know
much of feeding, I was on the very first steps of looking around how to do
such things while this was programmed.

> 2) Hamster not recognize difference of binary or text files

How should he do? He don't know the size of an article before the feed sends
the article. It only get the message-ID, wether it is used IHAVE or TAKETHIS.

> 3) Any newsreader can join any header with hamster

?
You mean newsreaders can make any headers of their wish?
What is bad on such a thing?

> excusme for my bad english. Can help my, please?

Am also not best in english, but I will try.
BTW: IMO we should be here, cause most people with knowing of feeding and it's
     implementation in INN are reading here.


MFG

-- 
Heiko Studt

Re: How to feed hamster 2 hamster
#61737
Author: Juergen Helbing
Date: Thu, 31 Oct 2002 15:32
16 lines
1092 bytes
Morten Brynjolf <news@remove.brynjolf.nu> wrote:

>Anyone who have a link explaining how to peer news between two hamsters in 
>a local network?

Private NewsServers usually use sucking downloads also for peering.
So your Hamster#1 is downlaoding everything from #2
and #2 is downlaoding everything from #1 - all scheduled.

Done.  HTH

-- 
Juergen


Re: How to feed hamster 2 hamster
#61730
Author: Juergen Helbing
Date: Thu, 31 Oct 2002 15:51
76 lines
3688 bytes
Heiko Studt <UsenetBecky@goldpool.org> wrote:

>> 1) impossibility of stream mode
>
>? You mean "MODE STREAM"?
>The command is implemented, but I don't know what different is. 

MODE STREAM would permit to send a bunch of commands without
waiting for the responses. One could for example send out
article 567 CRLF article 568 CRLF article 569 ....  as one send()
Then the server could answer much faster - because the latency
time (ping time) when waiting for all response codes would 
be no longer important. The reader can then evaulate the 
"answer_stream" and pick the articles (and those reponse codes
which indicate that the article could not be retrieved).
Of course this is HARD for the server - and there will be also 
(undocumented) restrictions because you cannot expect to
send out 100.000 article commands in one stream. 

MODE STREAM combined with an XHDR Subject 1- command
is the fastest method for a sucking feed from a server.
Unfortunately it is a pain to write it for multiple simultanously 
running parallel sucking tasks.

For feeding with MODE STREAM you could also 
send a bunch of commands (CHECKTHIS) and then feed also
the articles without waiting for every single reply.....

The programming is difficult because complete queues 
must be implemented. And I doubt that the throughput
is really necessary for "private servers".....

>I don't know much of feeding, I was on the very first steps 
>of looking around how to do such things while this was programmed.

I dont know how much data the Hamster can meanwhile handle
properly. But offering "streaming mode" would be also a step
to a "full news server" - and people who need 100.000 messages
(or more) might not be the targeted usergroup.

>> 2) Hamster not recognize difference of binary or text files
>
>How should he do? He don't know the size of an article before the feed sends
>the article. It only get the message-ID, wether it is used IHAVE or TAKETHIS.

There are good reasons why we programmers for "private servers"
are using sucking feeds :-))   <giggle>

>> 3) Any newsreader can join any header with hamster
>
>You mean newsreaders can make any headers of their wish?
>What is bad on such a thing?

I believe he is talking about authentication and access-security.

>BTW: IMO we should be here, cause most people with knowing 
>     of feeding and it's
>     implementation in INN are reading here.

Yes, some "grandmasters" of full feeds are here.
But I dont believe that "stream feeding" is a good method
for Hamsters (or other personal newsservers). 

In MyNews I did implement the command "request upload"
which causes the feedee to start a regular sucking feed.
The feedee knows better what he wants than the feeder.
So he should be always the active part - as long as it does
not come to 500 Gigs/day  ;-)


Good Luck & HTH

-- 
Juergen

Re: How to feed hamster 2 hamster
#61731
Author: Morten Brynjolf
Date: Thu, 31 Oct 2002 17:02
25 lines
1846 bytes
Heiko Studt wrote:

>> > Anyone who have a link explaining how to peer news between two
>> > hamsters in a local network?
> 
> because there is no one who knows feeding *very* well of daily usage
> and possibility to improove/debug. Please explain your real problem...

I was fooling around with two Hamsters on different computers in my local 
network trying to do some local feed-testing just to know what is 
happening. But i messed up some ipadresses and that was the reason it did 
not work. There is no problem now except some wishes for the Hamster :)

Is it in any way possible to let the Hamster automaticly add a newsgroup if 
a feeding Hamster got new groups in a wanted hierachy?

> Most Hamster-Experts are sitting in the hierachy hamster.* 
> Please repost your more detail question to hamster.en.misc

Can't find this hierachy at my ISP.

-- 
Regards,
Morten Brynjolf
Re: How to feed hamster 2 hamster
#61732
Author: Morten Brynjolf
Date: Thu, 31 Oct 2002 18:46
13 lines
1243 bytes
Dmitry wrote:


> Please, test my Hamster server at this addrres: news.x-privat.org and 
> send me suggestions :)

Allmost everything is in italian which I don't understand.
But I tried downloading som pictures with 6-10 Kb/s.

-- 
Regards,
Morten Brynjolf
Re: How to feed hamster 2 hamster
#61738
Author: Morten Brynjolf
Date: Thu, 31 Oct 2002 19:29
14 lines
1275 bytes
Dmitry wrote:

>> But I tried downloading som pictures with 6-10 Kb/s.
> 
> Good?

The pictures or the speed? :)

Well the speed depends of your max uploadspeed.

-- 
Regards,
Morten Brynjolf
Re: How to feed hamster 2 hamster
#61740
Author: Heiko Studt
Date: Thu, 31 Oct 2002 22:11
35 lines
2467 bytes
Hi Dmitry,

On 31.10.2002 19:13:41 these lines were written down...

> > I only have a rare know of CleanFeed. AFAIK it is the "filter" of
> > feeding INN? 
> Yes

I can't really remember, but AFAIR there was a change to implement filters in
Hamster for feeding (after 1.3.21.10x).

> > You mean newsreaders can make any headers of their wish?
> yes, this is problematic situations for feed..
> example: x-complaints-to:

???
You mean the NNRP should be programmed in such a way that those Headers are
deleted or those articles are aborted? And what other headers are "bad"?
BTW: You will never be able to make it completly ok. For example one could
send above an *old* INN. Of course I don't know when this was implemented in
INN, but X-Headers are not only for internal (;-)) use of Newsserver but also
possible to set by newsreaders. So you can't stop all X-Headers.

> Please test my news server at news.x-privat.org and send me suggestions   

Your own written?
BTW: I had done that as you had Hamster... *g*


MFG

-- 
Heiko Studt

Re: How to feed hamster 2 hamster
#61745
Author: Andrew - Supernews
Date: Fri, 01 Nov 2002 06:46
26 lines
2277 bytes
In article <0551g.va2201@archiver.winews.net>, Juergen Helbing wrote:
> MODE STREAM would permit to send a bunch of commands without
> waiting for the responses. One could for example send out
> article 567 CRLF article 568 CRLF article 569 ....  as one send()

this is wrong.

If you want to pipeline _reader_ commands (like ARTICLE, HEAD, XOVER,
XHDR, etc.), then just go ahead and send them in one go - you do NOT
need to send a MODE command first.

MODE STREAM is for _feeder_ connections, which would otherwise use IHAVE
to transfer articles. IHAVE can't be pipelined because you have to wait
for the response each time before knowing whether you can send the article;
a successful response from MODE STREAM means that the receiving server
understands the CHECK and TAKETHIS commands, which allow pipelined
article transfer. The MODE STREAM command itself does nothing.

(Programming the receiving end of a streaming feed is trivial. The sending
end is a bit harder, but it's just a matter of keeping a small queue of
message-ids which have been offered and not yet transferred.)

-- 
Andrew, Supernews
http://www.supernews.com - individual and corporate NNTP services
Re: How to feed hamster 2 hamster
#61749
Author: those who know me have no need o...
Date: Fri, 01 Nov 2002 07:44
13 lines
1517 bytes
in news.software.nntp i read:

>If you want to pipeline _reader_ commands (like ARTICLE, HEAD, XOVER,
>XHDR, etc.), then just go ahead and send them in one go - you do NOT
>need to send a MODE command first.

apart from `mode reader' (which is really a server command, but readers may
need to issue it), which might discard anything received prior to the
response.

-- 
bringing you boring signatures for 17 years
Re: How to feed hamster 2 hamster
#61750
Author: Heiko Studt
Date: Fri, 01 Nov 2002 10:35
17 lines
1661 bytes
Hi Andrew - Supernews,

On 01.11.2002 07:46:41 these lines were written down...

> a successful response from MODE STREAM means that the receiving server
> understands the CHECK and TAKETHIS commands, which allow pipelined
> article transfer. The MODE STREAM command itself does nothing.

Then Hamster support MODE STREAM. Both commands are implemented.


MFG

-- 
Heiko Studt

Re: How to feed hamster 2 hamster
#61751
Author: Heiko Studt
Date: Fri, 01 Nov 2002 15:51
17 lines
1713 bytes
Hi Dmitry,

On 01.11.2002 12:16:23 these lines were written down...

> > Then Hamster support MODE STREAM. Both commands are implemented.
> How to set my hamster for mode stream?

His _server_ itself support it. I don't know whether it is implemented in his
"client" or how to activate that. Sorry.


MFG

-- 
Heiko Studt

Re: How to feed hamster 2 hamster
#61752
Author: Curt Welch
Date: Fri, 01 Nov 2002 15:52
11 lines
1619 bytes
andrew@supernews.com wrote:
> (Programming the receiving end of a streaming feed is trivial. The
> sending end is a bit harder, but it's just a matter of keeping a small
> queue of message-ids which have been offered and not yet transferred.)

Yeah, in theory at least. :)

-- 
-------------------- http://NewsReader.Com/ --------------------
                    Usenet Newsgroup Service
Re: How to feed hamster 2 hamster
#61753
Author: Heiko Studt
Date: Fri, 01 Nov 2002 18:07
39 lines
2336 bytes
Hi Dmitry,

On 31.10.2002 23:22:05 these lines were written down...

> 1) a filter implementations, cleanfeed and the possibility of cancel

I have posted a filter-implementation, perhaps (!) it will be included after
next stable of Classic-Hamster.

>    the *cancebot* message.

What do you want? Do you want to execute Cancel-Messages?

> 2) mode stream for the peef feeding

?
Was that question answered yet?

> 3) the possibility to insert automatically determines header

Insert? When should it be inserted? Can't u use the actions
Pre-Process or "local-posting"? See Configuration-->Automation in latest BETA.

> 4) other? 

You wrote an italian posting, please translate it to english or German so that
I will be able to read it... :)

> Thanks for supporting :)

No Problemo.


MFG

-- 
Heiko Studt

Re: How to feed hamster 2 hamster
#61755
Author: Heiko Studt
Date: Fri, 01 Nov 2002 21:53
25 lines
2047 bytes
Hi Dmitry,

On 01.11.2002 20:58:49 these lines were written down...

> > I have posted a filter-implementation, perhaps (!) it will be
> > included after next stable of Classic-Hamster.
> Can you give me the script, please?

It's not a script but a change to Hamster's source.
I will send you a mail later.

> > What do you want? Do you want to execute Cancel-Messages?
> yes

Hamster can execute feeded Cancel-Messages. I don't use it and so I don't know
if there is a pgpverify possibility.



MFG

-- 
Heiko Studt

Re: How to feed hamster 2 hamster
#61756
Author: Heiko Studt
Date: Fri, 01 Nov 2002 22:56
33 lines
2350 bytes
Hi Morten Brynjolf,

On 31.10.2002 18:02:25 these lines were written down...

> not work. There is no problem now except some wishes for the Hamster :)

Post them in the hamster.* Hierachy.
That Hierachy is very widely accessible. Anyway you can give your ISP's
news-administration the link www.nethamster.org so that they include the
Hierachy... :)

> Is it in any way possible to let the Hamster automaticly add a newsgroup if 
> a feeding Hamster got new groups in a wanted hierachy?

No and you don't want to have this.
I could "crosspost" to this and any group I can believe which doesn't exist.
For example to news.mis.configured.;->
You would add that NG on your Hamster-DB with such a feature.

BTW: You can let Hamster post all news to a "junk" NG, if you need that...

> Can't find this hierachy at my ISP.

www.nethamster.org There is AFAIR also a list of "free" server which has this
hierachy. news@ISP will be lucky to get that link too! ;-P


MFG

-- 
Heiko Studt

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads