From owner-freebsd-questions Sat Sep 19 21:16:47 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA20258 for freebsd-questions-outgoing; Sat, 19 Sep 1998 21:16:47 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from roam.psg.com (roam.psg.com [147.28.2.2]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id VAA20251 for ; Sat, 19 Sep 1998 21:16:45 -0700 (PDT) (envelope-from randy@psg.com) Received: by roam.psg.com id m0zKasa-00000xC; Sat, 19 Sep 1998 21:13:44 -0700 (PDT) (Smail3.2.0.96#1) Message-Id: Date: Sat, 19 Sep 1998 21:13:44 -0700 (PDT) From: Randy Bush MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: freebsd-questions@FreeBSD.ORG Subject: tcpd and ssh X forwarding Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG FreeBSD 3.0CAM-19980712-SNAP, ssh x forwarding gets in trouble with tcpd o i ssh into test.psg.com o DISPLAY seems appropriately set test.psg.com:/usr/local/etc# env | grep DIS DISPLAY=test.psg.com:10.0 o if i invoke emacs with x forwarding it dies test.psg.com:/usr/local/etc# emacs /usr/local/etc/hosts.allow [2] 16394 test.psg.com:/usr/local/etc# Sep 19 18:35:25 test sshd[16351]: error: \ Fwd X11 connection from test.psg.com refused by tcp_wrappers. [2]+ Segmentation fault (core dumped) /usr/local/bin/emacs -i "$@" o but if i shoot hosts deny, it works test.psg.com:/usr/local/etc# mv hosts.deny foo test.psg.com:/usr/local/etc# emacs /usr/local/etc/hosts.allow [1] 16392 test.psg.com:/usr/local/etc# mv foo hosts.deny o therefore it is a tcp_rwapper problem indeed. yet i have sshd : ALL in /usr/local/etc/hosts.allow, or i would not even have been able to ssh into the host. clues solicited. and i actually read as many man pages as i thought relevant. clearly i missed the right one. randy To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message