Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Apr 2001 22:14:46 -0700 (PDT)
From:      Trevin Chow <tmchow@sfu.ca>
To:        <freebsd-questions@freebsd.org>
Subject:   SSH still disconnecting
Message-ID:  <Pine.GSO.4.30.0104082210220.4133-100000@fraser.sfu.ca>

next in thread | raw e-mail | index | archive | help
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 <my_ip> 2626 setup
01700    0      0 allow tcp from 142.58.101.25 to <my_ip> 2626 setup
01800    0      0 allow tcp from <some_ext_ip> to <my_ip> 2626 setup
01900    2     88 allow log logamount 100 tcp from 142.58.101.25 to <my_ip> 2627 in recv fxp0 setup
02000    0      0 allow log logamount 100 tcp from 24.71.46.74 to <my_ip> 2627 in recv fxp0 setup
02100    1     48 allow log logamount 100 tcp from <some_ext_ip> to <my_ip> 2627 in recv fxp0 setup
02200    0      0 allow log logamount 100 tcp from 24.113.38.121 to <my_ip> 2627 in recv fxp0 setup
02300    0      0 allow tcp from any to <my_ip> 80 setup
02400    0      0 allow tcp from any to <my_ip> 443 setup
02500    0      0 allow tcp from any to <my_ip> 25 setup
02600    0      0 allow tcp from 192.168.0.0/16 to <my_ip> 143 setup
02700    0      0 allow tcp from 142.58.101.25 to <my_ip> 143 setup
02800    0      0 allow tcp from <some_ext_ip> to <my_ip> 143 setup
02900  353  39460 allow udp from any to <my_ip> 53
03000    0      0 allow udp from <my_ip> 53 to any
03100    0      0 allow tcp from any to <my_ip> 53 setup
03200    1     60 allow tcp from any to any 113
03300    0      0 allow log logamount 100 tcp from <some_ext_ip> to <my_ip>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.30.0104082210220.4133-100000>