From owner-freebsd-questions Sun Apr 8 22:14:51 2001 Delivered-To: freebsd-questions@freebsd.org Received: from rm-rstar.sfu.ca (rm-rstar.sfu.ca [142.58.120.21]) by hub.freebsd.org (Postfix) with ESMTP id DC55D37B422 for ; Sun, 8 Apr 2001 22:14:47 -0700 (PDT) (envelope-from tmchow@sfu.ca) Received: from fraser.sfu.ca (tmchow@fraser.sfu.ca [142.58.101.25]) by rm-rstar.sfu.ca (8.10.1/8.10.1/SFU-5.0H) with ESMTP id f395Ekq17547 for ; Sun, 8 Apr 2001 22:14:47 -0700 (PDT) Received: from localhost (tmchow@localhost) by fraser.sfu.ca (8.9.2/8.9.2/SFU-5.0C) with ESMTP id WAA05025 for ; Sun, 8 Apr 2001 22:14:46 -0700 (PDT) X-Authentication-Warning: fraser.sfu.ca: tmchow owned process doing -bs Date: Sun, 8 Apr 2001 22:14:46 -0700 (PDT) From: Trevin Chow To: Subject: SSH still disconnecting Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG After looking at my ssh disconnection problem I'm still at a loss for why it's occcuring. However, I did get some error msgs that are popping up on the terminal which might prove to be useful to help diagnose my situation. (For a refresher, my problem is that my remote SSH connections to my box disconnect at arbitrary times and for a varying amount of time I can't reconnect.) When disconnection occurs, I'm getting this on the terminal of the machine I'm remotely connecting to: sshd[79987]: fatal: Write failed: Permission Denied (i get this repeated a few times) natd: Failed to write back packet (Permission Denied). Here is the output from `ipfw -a l': 00100 146 15190 allow ip from any to any via lo0 00200 0 0 deny ip from any to 127.0.0.0/8 00300 0 0 deny log logamount 100 ip from 192.168.0.0/16 to any in recv fxp0 00400 0 0 deny log logamount 100 ip from 192.168.0.0/16 to any in recv fxp0 00500 0 0 deny log logamount 100 ip from 172.16.0.0/12 to any in recv fxp0 00600 0 0 deny log logamount 100 ip from 10.0.0.0/8 to any in recv fxp0 00700 0 0 deny log logamount 100 ip from any to 0.0.0.0/8 via fxp0 00800 0 0 deny log logamount 100 ip from any to 169.254.0.0/16 via fxp0 00900 0 0 deny log logamount 100 ip from any to 192.0.2.0/24 via fxp0 01000 85 2380 deny ip from any to 224.0.0.0/4 via fxp0 01100 0 0 deny log logamount 100 ip from any to 240.0.0.0/4 via fxp0 01200 3002 768930 divert 8668 ip from any to any via fxp0 01300 1381 124452 allow ip from any to any out xmit fxp0 01400 0 0 allow ip from any to any via fxp1 01500 1258 604354 allow tcp from any to any in recv fxp0 established 01600 0 0 allow tcp from 142.58.0.0/16 to 2626 setup 01700 0 0 allow tcp from 142.58.101.25 to 2626 setup 01800 0 0 allow tcp from to 2626 setup 01900 2 88 allow log logamount 100 tcp from 142.58.101.25 to 2627 in recv fxp0 setup 02000 0 0 allow log logamount 100 tcp from 24.71.46.74 to 2627 in recv fxp0 setup 02100 1 48 allow log logamount 100 tcp from to 2627 in recv fxp0 setup 02200 0 0 allow log logamount 100 tcp from 24.113.38.121 to 2627 in recv fxp0 setup 02300 0 0 allow tcp from any to 80 setup 02400 0 0 allow tcp from any to 443 setup 02500 0 0 allow tcp from any to 25 setup 02600 0 0 allow tcp from 192.168.0.0/16 to 143 setup 02700 0 0 allow tcp from 142.58.101.25 to 143 setup 02800 0 0 allow tcp from to 143 setup 02900 353 39460 allow udp from any to 53 03000 0 0 allow udp from 53 to any 03100 0 0 allow tcp from any to 53 setup 03200 1 60 allow tcp from any to any 113 03300 0 0 allow log logamount 100 tcp from to 03400 0 0 allow icmp from any to any via fxp1 03500 0 0 allow icmp from any to any in recv fxp0 icmptype 0 03600 0 0 allow icmp from any to any out xmit fxp0 icmptype 8 03700 0 0 allow icmp from any to any via fxp0 icmptype 3,4,11,12 65532 0 0 deny log logamount 100 tcp from any to any in recv fxp0 setup 65533 0 0 deny log logamount 100 icmp from any to any 65534 6 468 deny log logamount 100 ip from any to any 65535 0 0 deny ip from any to any To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message