From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,NICE_REPLY_C,RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 28417 invoked from network); 6 Aug 2020 19:48:33 -0000 Received: from lists1.math.uh.edu (129.7.128.208) by inbox.vuxu.org with ESMTPUTF8; 6 Aug 2020 19:48:33 -0000 Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.94) (envelope-from ) id 1k3lro-005enL-RN; Thu, 06 Aug 2020 14:47:56 -0500 Received: from mx2.math.uh.edu ([129.7.128.33]) by lists1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1k3lrj-005elS-9C for ding@lists.math.uh.edu; Thu, 06 Aug 2020 14:47:51 -0500 Received: from quimby.gnus.org ([95.216.78.240]) by mx2.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1k3lrg-003wAO-Kz for ding@lists.math.uh.edu; Thu, 06 Aug 2020 14:47:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:Mime-Version:References :Message-ID:Date:Subject:From:To:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=vSDWRjsHbEE+JHU4sFfn9u/3+WiELMA9LeSTQFBii24=; b=CWaxms9rMMVxW1MoWX5AXJclcq sin+i6kdUXfhx2NlvPrxy3+ou1XUVzkGspurH/t6QJezLwHOkv0rGvRQtrswGwGH61xW4TDqq1b36 v+UomuLjK/imfsxiprhNTp0Ea7XkSpf3QutEBR5htEQePm9IUFP/cUdH0dcnBfTkByVg=; Received: from static.214.254.202.116.clients.your-server.de ([116.202.254.214] helo=ciao.gmane.io) by quimby with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k3lrY-0005M2-1a for ding@gnus.org; Thu, 06 Aug 2020 21:47:43 +0200 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1k3lrX-0004fi-8Z for ding@gnus.org; Thu, 06 Aug 2020 21:47:39 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: ding@gnus.org From: =?utf-8?Q?Adam_Sj=C3=B8gren?= Subject: Re: on downloading too much data when there's no news Date: Thu, 06 Aug 2020 21:47:34 +0200 Organization: koldfront - analysis & revolution, Copenhagen, Denmark Message-ID: <878serd0a1.fsf@tullinup.koldfront.dk> References: <864kpfoo9u.fsf@protonmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cancel-Lock: sha1:U80ZlT5LT3i++tcAWgWU/5vjlHA= OpenPGP: id=476630590A231909B0A0961A49D0746121BDE416; url=https://asjo.koldfront.dk/gpg.asc Mail-Follow-Up-To: never X-Face: )qY&CseJ?.:=8F#^~GcSA?F=9eu'{KAFfL1C3/A&:nE?PW\i65"ba0NS)97,Q(^@xk}n4Ou rPuR#V8I(J_@~H($[ym:`K_+]*kjvW>xH5jbgLBVFGXY:(#4P>zVBklLbdL&XxL\M)%T}3S/IS9lMJ ^St'=VZBR Precedence: bulk Wayne writes: > Every time I check for new news, about 12 KiB of data is downloaded Spying a little with ngrep: If I don't have any subscriptions on news.fidonet.fi, Gnus issues a LIST command, which returns all the newsgroups on the server, every time I check for news. Seems excessive, but ok. Next test is subscribing to fidonews. When I check news, Gnus then issues a "LIST ACTIVE fidonews" command. Which also returns a list of all newsgroups. Huh, I expected it to only return information for the group fidonews. Usually "LIST ACTIVE " only returns the group asked for, I think. For example, talking to another newsserver, running INN: asjo@tullinup:~$ telnet news.gmane.io nntp Trying 116.202.254.214... Connected to ciao.gmane.io. Escape character is '^]'. 200 news.gmane.io InterNetNews NNRP server INN 2.6.3 ready (posting ok) LIST ACTIVE gmane.test 215 Newsgroups in form "group high low status" gmane.test 0000008623 0000000051 m . QUIT 205 Bye! Connection closed by foreign host. asjo@tullinup:~$ But news.fidonet.fi returns the full list: asjo@tullinup:~$ telnet news.fidonet.fi nntp Trying 2001:41d0:401:3100::1030... Connected to news.fidonet.fi. Escape character is '^]'. 200 Welcome to SmapiNNTPd/Linux/IPv6 1.3 (posting may be allowed) AUTHINFO USER XXX 381 Received login name, now send password AUTHINFO PASS YYY 281 Authentication accepted LIST ACTIVE fidonews 215 List of newsgroups follows fido7.su.pol 41628 1 y fido7.su.pol.history 283 1 y [...] zyxel 0 0 y netmail 0 0 y +getaccess+ 14 1 y +localchat+ 59 1 y +localtest+ 104 1 y . QUIT 205 Goodbye Connection closed by foreign host. asjo@tullinup:~$ So it looks like it's specific to news.fidonet.fi. Maybe Thunderbird uses a different method than "LIST ACTIVE " to check for news? Yeah, Thunderbird doesn't use "LIST ACTIVE fidonews", instead it does a "GROUP fidonews". Which in the case of news.fidonet.fi (SmapiNNTPd/ Linux/IPv6 1.3) makes a difference. Maybe Gnus should detect that the server doesn't do LIST ACTIVE - because HELP on it says: 200 Welcome to SmapiNNTPd/Linux/IPv6 1.3 (posting may be allowed) HELP 100 Help text follows Recognized commands: ARTICLE AUTHINFO BODY GROUP HEAD HELP IHAVE (not implemented, messages are always rejected) LAST LIST NEWGROUPS (not implemented, always returns an empty list) NEWNEWS (not implemented, always returns an empty list) NEXT QUIT SLAVE (has no effect) STAT XOVER (partially implemented, byte count and line count are always empty) SmapiNNTPd supports most of RFC-977 and also has support for AUTHINFO and limited XOVER support (RFC-2980) . But now we are deeper into how Gnus works than what I know :-) Best regards, Adam -- "Jabba the Hutt meets Rudolf the Reindeer. I dunno, Adam Sjøgren Mom." asjo@koldfront.dk