Skip to contentSkip to conversation

rshd

DISCUSSION Russell Coker 2 participants 2 messages Jan 8, 2004 – Jan 11, 2004 SELinux security module

lore
Share & tools
lore
#0 lore raw

ifdef(`rshd.te',
`# Connect second port to rshd.
can_tcp_connect(rshd_t, $1_t)')
')dnl end tcp server

What is the above section of user_macros.te about? Why does an rsh server connect back to the client?

Signature · 10 lines
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/    Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page


--
This message was distributed to subscribers of the selinux mailing 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 7 lines · Russell Coker

ifdef(`rshd.te',
`# Connect second port to rshd.
can_tcp_connect(rshd_t, $1_t)')
')dnl end tcp server

What is the above section of user_macros.te about? Why does an rsh server connect back to the client?

It might be the stderr stream connection. stdin and stdout are carried via the normal socket connection, but stderr is a separate socket.

Signature · 10 lines
Kerry Thompson, CISSP
IT Security Consultant
Auckland, New Zealand
http://www.crypt.gen.nz


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.