From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/13334 Path: main.gmane.org!not-for-mail From: Randal Schwartz Newsgroups: gmane.emacs.gnus.general Subject: somewhat urgent: puzzled about using ssh for foreigh group Date: 22 Dec 1997 15:12:41 -0700 Sender: owner-ding@hpc.uh.edu Message-ID: <8cn2htni1y.fsf@gadget.cscaper.com> NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035152720 8765 80.91.224.250 (20 Oct 2002 22:25:20 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:25:20 +0000 (UTC) Return-Path: Original-Received: from xemacs.org (xemacs.cs.uiuc.edu [128.174.252.16]) by altair.xemacs.org (8.8.8/8.8.8) with ESMTP id PAA02506 for ; Mon, 22 Dec 1997 15:02:06 -0800 Original-Received: from gizmo.hpc.uh.edu (gizmo.hpc.uh.edu [129.7.102.31]) by xemacs.org (8.8.5/8.8.5) with ESMTP id RAA12486 for ; Mon, 22 Dec 1997 17:03:24 -0600 (CST) Original-Received: from sina.hpc.uh.edu (sina.hpc.uh.edu [129.7.3.5]) by gizmo.hpc.uh.edu (8.7.6/8.7.3) with ESMTP id QAN03325; Mon, 22 Dec 1997 16:54:44 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 22 Dec 1997 16:13:33 -0600 (CST) Original-Received: from claymore.vcinet.com (claymore.vcinet.com [208.205.12.23]) by sina.hpc.uh.edu (8.7.3/8.7.3) with SMTP id QAA25579 for ; Mon, 22 Dec 1997 16:13:26 -0600 (CST) Original-Received: (qmail 23939 invoked by uid 504); 22 Dec 1997 22:13:02 -0000 Original-Received: (qmail 23936 invoked from network); 22 Dec 1997 22:13:02 -0000 Original-Received: from gadget.cscaper.com (206.67.186.3) by claymore.vcinet.com with SMTP; 22 Dec 1997 22:13:02 -0000 Original-Received: (from merlyn@localhost) by gadget.cscaper.com (8.8.3/8.8.3) id PAA09715; Mon, 22 Dec 1997 15:12:41 -0700 (MST) Original-To: ding@gnus.org Original-Lines: 31 X-Mailer: Quassia Gnus v0.13/Emacs 20.2 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:13334 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:13334 OK, I followed the instructions as faithfully as I could: 1) went to the server buffer 2) created with "a" a new server "news2.teleport.com" 3) used "e" to edit parameters as follows: (nntp "news2.teleport.com" (nntp-address "user1.teleport.com") (nntp-open-connection-function nntp-open-rlogin) (nntp-rlogin-program "ssh") (nntp-rlogin-parameters '("-x" "-C" "telnet" "-8" "news2" "nntp"))) 4) I still get "denied" on opening, even though: ssh user1.teleport.com -x -C telnet -8 news2 nntp works just fine from the prompt. Where do I look next? And this is urgent. I just found out today that on *thursday* this ISP will be cutting over from news1.teleport.com to news2.teleport.com with *different* article numbers, so I need to do one of those funny resync moving things. -- Name: Randal L. Schwartz / Stonehenge Consulting Services (503)777-0095 Keywords: Perl training, UNIX[tm] consulting, video production, skiing, flying Email: Snail: (Call) PGP-Key: (finger merlyn@ora.com) Web: My Home Page! Quote: "I'm telling you, if I could have five lines in my .sig, I would!" -- me From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/13335 Path: main.gmane.org!not-for-mail From: Felix Lee Newsgroups: gmane.emacs.gnus.general Subject: Re: somewhat urgent: puzzled about using ssh for foreigh group Date: Mon, 22 Dec 1997 14:29:38 -0800 Sender: owner-ding@hpc.uh.edu Message-ID: <199712222227.OAA14527@smtp3.teleport.com> References: <8cn2htni1y.fsf@gadget.cscaper.com> NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035152721 8773 80.91.224.250 (20 Oct 2002 22:25:21 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:25:21 +0000 (UTC) Cc: ding@gnus.org Return-Path: Original-Received: from xemacs.org (xemacs.cs.uiuc.edu [128.174.252.16]) by altair.xemacs.org (8.8.8/8.8.8) with ESMTP id PAA02558 for ; Mon, 22 Dec 1997 15:10:43 -0800 Original-Received: from gizmo.hpc.uh.edu (gizmo.hpc.uh.edu [129.7.102.31]) by xemacs.org (8.8.5/8.8.5) with ESMTP id RAA12524 for ; Mon, 22 Dec 1997 17:12:13 -0600 (CST) Original-Received: from sina.hpc.uh.edu (sina.hpc.uh.edu [129.7.3.5]) by gizmo.hpc.uh.edu (8.7.6/8.7.3) with ESMTP id RAN03370; Mon, 22 Dec 1997 17:10:56 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 22 Dec 1997 16:27:55 -0600 (CST) Original-Received: from claymore.vcinet.com (claymore.vcinet.com [208.205.12.23]) by sina.hpc.uh.edu (8.7.3/8.7.3) with SMTP id QAA25833 for ; Mon, 22 Dec 1997 16:27:48 -0600 (CST) Original-Received: (qmail 23996 invoked by uid 504); 22 Dec 1997 22:27:31 -0000 Original-Received: (qmail 23993 invoked from network); 22 Dec 1997 22:27:31 -0000 Original-Received: from smtp3.teleport.com (192.108.254.5) by claymore.vcinet.com with SMTP; 22 Dec 1997 22:27:30 -0000 Original-Received: from teleport.com (ip-pdx33-20.teleport.com [206.163.127.22]) by smtp3.teleport.com (8.8.7/8.7.3) with ESMTP id OAA14527; Mon, 22 Dec 1997 14:27:27 -0800 (PST) Original-To: Randal Schwartz In-reply-to: Your message of 22 Dec 1997 15:12:41 MST. <8cn2htni1y.fsf@gadget.cscaper.com> Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:13335 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:13335 > X-Mailer: Quassia Gnus v0.13/Emacs 20.2 if it's what I think it is, either fetch a newer qgnus, or in function nntp-open-rlogin in nntp.el, change the (nntp-wait-for-string "^\r*200") to (nntp-wait-for-string "^\r*20[01]") since teleport answers with "hi, no posting". -- From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/13336 Path: main.gmane.org!not-for-mail From: Randal Schwartz Newsgroups: gmane.emacs.gnus.general Subject: Re: somewhat urgent: puzzled about using ssh for foreigh group Date: 22 Dec 1997 15:38:49 -0700 Sender: owner-ding@hpc.uh.edu Message-ID: <8chg81ngue.fsf@gadget.cscaper.com> References: <199712222227.OAA14527@smtp3.teleport.com> NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035152722 8784 80.91.224.250 (20 Oct 2002 22:25:22 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:25:22 +0000 (UTC) Cc: ding@gnus.org Return-Path: Original-Received: from xemacs.org (xemacs.cs.uiuc.edu [128.174.252.16]) by altair.xemacs.org (8.8.8/8.8.8) with ESMTP id PAA02698 for ; Mon, 22 Dec 1997 15:18:11 -0800 Original-Received: from gizmo.hpc.uh.edu (gizmo.hpc.uh.edu [129.7.102.31]) by xemacs.org (8.8.5/8.8.5) with ESMTP id RAA12567 for ; Mon, 22 Dec 1997 17:19:41 -0600 (CST) Original-Received: from sina.hpc.uh.edu (sina.hpc.uh.edu [129.7.3.5]) by gizmo.hpc.uh.edu (8.7.6/8.7.3) with ESMTP id RAN03423; Mon, 22 Dec 1997 17:18:37 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 22 Dec 1997 16:39:32 -0600 (CST) Original-Received: from claymore.vcinet.com (claymore.vcinet.com [208.205.12.23]) by sina.hpc.uh.edu (8.7.3/8.7.3) with SMTP id QAA26133 for ; Mon, 22 Dec 1997 16:39:26 -0600 (CST) Original-Received: (qmail 24043 invoked by uid 504); 22 Dec 1997 22:39:12 -0000 Original-Received: (qmail 24040 invoked from network); 22 Dec 1997 22:39:11 -0000 Original-Received: from gadget.cscaper.com (206.67.186.3) by claymore.vcinet.com with SMTP; 22 Dec 1997 22:39:11 -0000 Original-Received: (from merlyn@localhost) by gadget.cscaper.com (8.8.3/8.8.3) id PAA10053; Mon, 22 Dec 1997 15:38:49 -0700 (MST) Original-To: Felix Lee In-Reply-To: Felix Lee's message of "Mon, 22 Dec 1997 14:29:38 -0800" Original-Lines: 28 X-Mailer: Quassia Gnus v0.13/Emacs 20.2 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:13336 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:13336 >>>>> "Felix" == Felix Lee writes: >> X-Mailer: Quassia Gnus v0.13/Emacs 20.2 Felix> if it's what I think it is, either fetch a newer qgnus, Felix> or in function nntp-open-rlogin in nntp.el, Felix> change the Felix> (nntp-wait-for-string "^\r*200") Felix> to Felix> (nntp-wait-for-string "^\r*20[01]") Felix> since teleport answers with "hi, no posting". That's not it. In fact, it comes back *waaay* too fast for it to even be firing up ssh. Where can I stick some debugging on this? Felix, It even fails when I try news1.teleport.com, which *does* allow posting. I'm reading offsite using the username/password authentication instead, but news2 doesn't allow that yet. Argh. -- Name: Randal L. Schwartz / Stonehenge Consulting Services (503)777-0095 Keywords: Perl training, UNIX[tm] consulting, video production, skiing, flying Email: Snail: (Call) PGP-Key: (finger merlyn@ora.com) Web: My Home Page! Quote: "I'm telling you, if I could have five lines in my .sig, I would!" -- me From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/13337 Path: main.gmane.org!not-for-mail From: Felix Lee Newsgroups: gmane.emacs.gnus.general Subject: Re: somewhat urgent: puzzled about using ssh for foreigh group Date: Mon, 22 Dec 1997 15:22:08 -0800 Sender: owner-ding@hpc.uh.edu Message-ID: <199712222319.PAA22638@smtp3.teleport.com> References: <8chg81ngue.fsf@gadget.cscaper.com> NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035152723 8794 80.91.224.250 (20 Oct 2002 22:25:23 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:25:23 +0000 (UTC) Cc: ding@gnus.org Return-Path: Original-Received: from xemacs.org (xemacs.cs.uiuc.edu [128.174.252.16]) by altair.xemacs.org (8.8.8/8.8.8) with ESMTP id PAA03179 for ; Mon, 22 Dec 1997 15:59:05 -0800 Original-Received: from gizmo.hpc.uh.edu (gizmo.hpc.uh.edu [129.7.102.31]) by xemacs.org (8.8.5/8.8.5) with ESMTP id SAA12583 for ; Mon, 22 Dec 1997 18:00:35 -0600 (CST) Original-Received: from sina.hpc.uh.edu (sina.hpc.uh.edu [129.7.3.5]) by gizmo.hpc.uh.edu (8.7.6/8.7.3) with ESMTP id RAN03547; Mon, 22 Dec 1997 17:59:43 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 22 Dec 1997 17:20:22 -0600 (CST) Original-Received: from claymore.vcinet.com (claymore.vcinet.com [208.205.12.23]) by sina.hpc.uh.edu (8.7.3/8.7.3) with SMTP id RAA27113 for ; Mon, 22 Dec 1997 17:20:14 -0600 (CST) Original-Received: (qmail 24198 invoked by uid 504); 22 Dec 1997 23:20:00 -0000 Original-Received: (qmail 24195 invoked from network); 22 Dec 1997 23:20:00 -0000 Original-Received: from smtp3.teleport.com (192.108.254.5) by claymore.vcinet.com with SMTP; 22 Dec 1997 23:20:00 -0000 Original-Received: from teleport.com (ip-pdx33-20.teleport.com [206.163.127.22]) by smtp3.teleport.com (8.8.7/8.7.3) with ESMTP id PAA22638; Mon, 22 Dec 1997 15:19:57 -0800 (PST) Original-To: Randal Schwartz In-reply-to: Your message of 22 Dec 1997 15:38:49 MST. <8chg81ngue.fsf@gadget.cscaper.com> Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:13337 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:13337 ok, better answer. (which I actually tested :) 1. delete the ' in the parameter below: (nntp-rlogin-parameters '("-x" "-C" "telnet" "-8" "news2" "nntp"))) 2. apply the patch below to nntp.el. diagnosis: nntp-open-rlogin pastes all the nntp-rlogin-parameters into a single arg, which ssh barfs on. this patch passes the strings as separate args, which does an equivalent thing without loss of generality. (there's a small backward compatibility problem, but it shouldn't affect anyone unless someone tries to use a really weird program instead of rlogin or ssh, and the workaround is pretty simple.) *** nntp.el 1997/12/22 23:13:44 1.1 --- nntp.el 1997/12/22 23:17:03 *************** *** 1103,1117 **** (defun nntp-open-rlogin (buffer) "Open a connection to SERVER using rsh." (let ((proc (if nntp-rlogin-user-name ! (start-process "nntpd" buffer nntp-rlogin-program nntp-address "-l" nntp-rlogin-user-name ! (mapconcat 'identity ! nntp-rlogin-parameters " ")) ! (start-process "nntpd" buffer nntp-rlogin-program nntp-address ! (mapconcat 'identity ! nntp-rlogin-parameters " "))))) (set-buffer buffer) (nntp-wait-for-string "^\r*20[01]") (beginning-of-line) --- 1103,1115 ---- (defun nntp-open-rlogin (buffer) "Open a connection to SERVER using rsh." (let ((proc (if nntp-rlogin-user-name ! (apply 'start-process "nntpd" buffer nntp-rlogin-program nntp-address "-l" nntp-rlogin-user-name ! nntp-rlogin-parameters) ! (apply 'start-process "nntpd" buffer nntp-rlogin-program nntp-address ! nntp-rlogin-parameters)))) (set-buffer buffer) (nntp-wait-for-string "^\r*20[01]") (beginning-of-line) -- From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/13338 Path: main.gmane.org!not-for-mail From: Randal Schwartz Newsgroups: gmane.emacs.gnus.general Subject: Re: somewhat urgent: puzzled about using ssh for foreigh group Date: 22 Dec 1997 16:33:45 -0700 Sender: owner-ding@hpc.uh.edu Message-ID: <8csorl7y1y.fsf@gadget.cscaper.com> References: <199712222319.PAA22638@smtp3.teleport.com> NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035152723 8804 80.91.224.250 (20 Oct 2002 22:25:23 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:25:23 +0000 (UTC) Cc: ding@gnus.org Return-Path: Original-Received: from xemacs.org (xemacs.cs.uiuc.edu [128.174.252.16]) by altair.xemacs.org (8.8.8/8.8.8) with ESMTP id QAA03300 for ; Mon, 22 Dec 1997 16:13:01 -0800 Original-Received: from gizmo.hpc.uh.edu (gizmo.hpc.uh.edu [129.7.102.31]) by xemacs.org (8.8.5/8.8.5) with ESMTP id SAA12596 for ; Mon, 22 Dec 1997 18:14:30 -0600 (CST) Original-Received: from sina.hpc.uh.edu (sina.hpc.uh.edu [129.7.3.5]) by gizmo.hpc.uh.edu (8.7.6/8.7.3) with ESMTP id SAN03593; Mon, 22 Dec 1997 18:13:32 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 22 Dec 1997 17:34:30 -0600 (CST) Original-Received: from claymore.vcinet.com (claymore.vcinet.com [208.205.12.23]) by sina.hpc.uh.edu (8.7.3/8.7.3) with SMTP id RAA27340 for ; Mon, 22 Dec 1997 17:34:24 -0600 (CST) Original-Received: (qmail 24259 invoked by uid 504); 22 Dec 1997 23:34:09 -0000 Original-Received: (qmail 24256 invoked from network); 22 Dec 1997 23:34:09 -0000 Original-Received: from gadget.cscaper.com (206.67.186.3) by claymore.vcinet.com with SMTP; 22 Dec 1997 23:34:09 -0000 Original-Received: (from merlyn@localhost) by gadget.cscaper.com (8.8.3/8.8.3) id QAA10846; Mon, 22 Dec 1997 16:33:46 -0700 (MST) Original-To: Felix Lee In-Reply-To: Felix Lee's message of "Mon, 22 Dec 1997 15:22:08 -0800" Original-Lines: 21 X-Mailer: Quassia Gnus v0.18/Emacs 20.2 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:13338 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:13338 >>>>> "Felix" == Felix Lee writes: Felix> ok, better answer. (which I actually tested :) Felix> 1. delete the ' in the parameter below: Felix> (nntp-rlogin-parameters Felix> '("-x" "-C" "telnet" "-8" "news2" "nntp"))) Felix> 2. apply the patch below to nntp.el. bingo! that did it! Now to figure out whether writing a Perl script to do the message-id remapping will be faster or slower than letting a bunch of gnu-lisp code chunk through this. -- Name: Randal L. Schwartz / Stonehenge Consulting Services (503)777-0095 Keywords: Perl training, UNIX[tm] consulting, video production, skiing, flying Email: Snail: (Call) PGP-Key: (finger merlyn@ora.com) Web: My Home Page! Quote: "I'm telling you, if I could have five lines in my .sig, I would!" -- me From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/13339 Path: main.gmane.org!not-for-mail From: Lars Balker Rasmussen Newsgroups: gmane.emacs.gnus.general Subject: Re: somewhat urgent: puzzled about using ssh for foreigh group Date: 23 Dec 1997 00:42:36 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: <0f4t416j2r.fsf@fenris.mjolner.dk> References: <199712222319.PAA22638@smtp3.teleport.com> <8csorl7y1y.fsf@gadget.cscaper.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035152724 8805 80.91.224.250 (20 Oct 2002 22:25:24 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:25:24 +0000 (UTC) Return-Path: Original-Received: from xemacs.org (xemacs.cs.uiuc.edu [128.174.252.16]) by altair.xemacs.org (8.8.8/8.8.8) with ESMTP id QAA03414 for ; Mon, 22 Dec 1997 16:21:29 -0800 Original-Received: from gizmo.hpc.uh.edu (gizmo.hpc.uh.edu [129.7.102.31]) by xemacs.org (8.8.5/8.8.5) with ESMTP id SAA12611 for ; Mon, 22 Dec 1997 18:22:59 -0600 (CST) Original-Received: from sina.hpc.uh.edu (sina.hpc.uh.edu [129.7.3.5]) by gizmo.hpc.uh.edu (8.7.6/8.7.3) with ESMTP id SAN03626; Mon, 22 Dec 1997 18:22:00 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 22 Dec 1997 17:43:00 -0600 (CST) Original-Received: from claymore.vcinet.com (claymore.vcinet.com [208.205.12.23]) by sina.hpc.uh.edu (8.7.3/8.7.3) with SMTP id RAA27537 for ; Mon, 22 Dec 1997 17:42:53 -0600 (CST) Original-Received: (qmail 24302 invoked by uid 504); 22 Dec 1997 23:42:39 -0000 Original-Received: (qmail 24299 invoked from network); 22 Dec 1997 23:42:38 -0000 Original-Received: from fenris.mjolner.dk (130.225.8.214) by claymore.vcinet.com with SMTP; 22 Dec 1997 23:42:38 -0000 Original-Received: (from lbr@localhost) by fenris.mjolner.dk (8.7.6/8.7.3) id AAA17483; Tue, 23 Dec 1997 00:42:36 +0100 (MET) Original-To: ding@gnus.org In-Reply-To: Randal Schwartz's message of "22 Dec 1997 16:33:45 -0700" Original-Lines: 12 X-Mailer: Gnus v5.5/Emacs 20.2 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:13339 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:13339 Randal Schwartz writes: > Now to figure out whether writing a Perl script to do the message-id > remapping will be faster or slower than letting a bunch of gnu-lisp > code chunk through this. I know which would be faster for me to write... Lars, who spent the better part of Sunday converting his Perl cancel-spam script to elisp. -- Lars Balker Rasmussen, Software Engineer, Mjolner Informatics ApS lbr@mjolner.dk