Skip to contentSkip to conversation

Updated OpenSSH

DISCUSSION Justin Smith 3 participants 4 messages Jun 28, 2002 SELinux security module

lore
Share & tools
lore
#0 lore raw

Is there a place where one can get the complete source coded of the updates OpenSSH? The patch doesn't work for me (no doubt because I haven't been keeping up with the previous patches).
--

--
You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.

#1 lore raw
Quoted 3 lines · Justin Smith

Is there a place where one can get the complete source coded of the updates OpenSSH? The patch doesn't work for me (no doubt because I haven't been keeping up with the previous patches).

The SELinux patch that I posted should apply cleanly to the openssh-3.4p1 tar gz file from http://www.openssh.org/portable.html. In any event, you can now obtain a copy of openssh-3.4p1 with the SELinux patch merged from the sourceforge CVS tree, under nsa/selinux/utils/openssh-3.4p1. I have also updated the selinux/utils/Makefile in that tree to use 3.4p1 instead of 3.1p1, and I have updated the selinux/policy/domains/program/sshd.te file to grant sys_chroot and to remove direct transitions to sysadm_t (use newrole instead).

The sourceforge CVS tree can be accessed via :

export CVSROOT=:pserver:[email protected]:/cvsroot/selinux cvs -z3 co nsa/selinux

--
Stephen D. Smalley, NAI Labs
[email protected]

--
You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.

#2 lore raw
Quoted 8 lines · Stephen Smalley

The SELinux patch that I posted should apply cleanly to the openssh-3.4p1 tar gz file from http://www.openssh.org/portable.html. In any event, you can now obtain a copy of openssh-3.4p1 with the SELinux patch merged from the sourceforge CVS tree, under nsa/selinux/utils/openssh-3.4p1. I have also updated the selinux/utils/Makefile in that tree to use 3.4p1 instead of 3.1p1, and I have updated the selinux/policy/domains/program/sshd.te file to grant sys_chroot and to remove direct transitions to sysadm_t (use newrole instead).

By the way, some tips for installing:
1) Don't forget to relabel ssh and sshd after installing the new version. You can do this quickly by just running 'make relabel' in selinux/utils.
2) Create the sshd user as described in the README.privsep file from the openssh-3.4p1 directory.
3) Reload your policy after installing the new sshd.te.
4) After doing the above, use run_init to restart sshd.

--
Stephen D. Smalley, NAI Labs
[email protected]

--
You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.

#3 lore raw
In reply to Justin Smith

http://www.openssh.org

Quoted 11 lines · Justin Smith

Is there a place where one can get the complete source coded of the updates OpenSSH? The patch doesn't work for me (no doubt because I haven't been keeping up with the previous patches).
--

--
You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.

--
You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.