how to prevent opening the display at the remote machine (for eg when connecting via rlogin)

how to prevent opening the display at the remote machine (for eg when connecting via rlogin)

Post by Lars Hanse » Thu, 09 Apr 1998 04:00:00



is there any possibility to prevent people to write to the display of the remote
computer while establishing a connection to a remote machin with rlogin (and similar)
It doesn't has to be that they are not allowed to do so, but to set the $DISPLAY to
the local machine by default.
Thanx in advance

 
 
 

1. IPFILTER: setup for simple desktop, eg browsing via eg firefox:

Solaris 10 already has ipf, config files in /etc/ipf/
Enable your network interface in pfil.ap
Edit ipf.conf (see "man ipf.conf")

Good docs and examples at
http://www.obfuscation.org/ipf/

You can *start* with something like this in ipf.conf,
but you better read the docs so you can customize it for your site

block in log quick all with short
pass in quick on lo0 all
pass out quick on lo0 all

# group defaults
block in log quick all head 100
block out log quick all head 150

# Incoming group 100
# Allow connections from other machines in the LAN
pass in quick from 192.168.0.0/16 to any keep state keep frags group 100
# allow SSH from anywhere
pass in quick proto tcp from any to any port = 22 flags S keep state
keep frags group 100
# Add other incoming rules here

# Outgoing group 150
pass out quick from xxx.xxx.xxx.xxx to any keep state keep frags group 150
# Add other outgoing rules here

2. Howto write files to specific location on disk

3. Open remote X displays via PPP

4. Modem Creative D15655 cannot be detected

5. connecting to remote windows machines via samba ?

6. Netscape

7. How to prevent rlogins via ppp connection by other users?

8. New Linuxware 2.5! Easiest Linux to install!

9. Remote Root-Logon via Tlnet or Rlogin

10. display on local linux machine after telnet/rlogin

11. Connect via LAN vs. Connect via modem headache

12. vi not displayed right in xterm when rlogin'ed to another machine

13. Problem with blocking opens preventing non-blocking opens in AIX 5.2