Re: selinux, openssh, ipv6

From: Stephen Smalley <sds_at_tislabs.com>
Date: Mon, 26 Nov 2001 08:26:44 -0500 (EST)

On Fri, 23 Nov 2001, jeff burson wrote:

> A problem I've run into is regarding IPv6. At lsm kernel compile
> time, I compiled for IPv6 support and having it successfully
> running. The interface is listening on an assigned IPv6
> address and is pingable from another IPv6 device. However,
> the selinux install of OpenSSH does not appear to be listening
> on the IPv6 address (it is listening on the IPv4 address).
>
> I have not run into this problem with manual builds (or rpms)
> of regular openssh recently, so am trying to figure out what's
> wrong.

The SELinux modifications to sshd shouldn't affect the use of IPv6. Does the pure openssh-2.9p2 SRPM for RH7.1 work for you? Did you get any log messages in /var/log/messages when sshd started?

As a side note, LSM doesn't yet provide any hooks in the IPv6 code, just in the IPv4 code, so some of the SELinux network access controls won't be enforced if you are using IPv6.

--
Stephen D. Smalley, NAI Labs
ssmalley@nai.com







--
You have received this message because you are subscribed to the selinux list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
Received on Mon 26 Nov 2001 - 08:38:11 EST

This archive was generated by hypermail 2.2.0 on Wed 11 Jun 2008 - 08:10:26 EDT