- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- iptables: how to open HPUX X11 protocol
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2002 06:48 AM
04-18-2002 06:48 AM
iptables: how to open HPUX X11 protocol
I'm using RedHat 7.1 with iptables, and it's the firewall between my LAN and the Internet.
I was able to open 'telnet' conexion, and succeeded in connecting an external server.
But I want to export the display of the remote server to my machine, and use X11 and CDE... what protocols must I open???
Best regards and thank you very much.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2002 06:59 AM
04-18-2002 06:59 AM
Re: iptables: how to open HPUX X11 protocol
Be VERY, VERY careful if you do do this. X11 can be easily exploited if the security is not set correctly. If you do decide to open the FW to X11 I would strongly suggest you also implement OpenSSH - see the following URL for OpenSSH:
http://www.openssh.com/security.html
Here also is a link to X11 security issues on iss.net:
http://www.iss.net/security_center/search.php?type=2&pattern=X11
Make sure you have ALL current RedHat updates dealing with X11 security before implementing this.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2002 07:05 AM
04-18-2002 07:05 AM
Re: iptables: how to open HPUX X11 protocol
There have been many advisories issued for HP-UX X11/Motif vulnerabilities - here's a link to a few from ciac.org:
http://www.ciac.org/cgi-bin/index/bulletins?h
Here's some from fedcirc.gov
http://www2.fedcirc.gov/alerts/advisories_1997.html
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2002 08:13 AM
04-18-2002 08:13 AM
Re: iptables: how to open HPUX X11 protocol
Firstly, thank you for answering me.
1) Wich port must I open to allow X11 cross my firewall?
2) How is SSH implemented over X11?
Best regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2002 02:12 PM
04-18-2002 02:12 PM
Re: iptables: how to open HPUX X11 protocol
2) Actually, X11 is implemented of SSH. It's a bit tricky, but lsof will give you all the details. Basically, SSH sets the DISPLAY variable to localhost:10.0, or some other sensible offset from 0 (this is on the ssh server). Listening on that display is a file/socket descriptor that simply redirects the X11 data down the already established SSH connection. The SSH client on the other end takes care of the rest and displays the X11 stuff. It's obviously a little more involved than this, but this is a start. If you look at your sshd_config file, you'll notice a bunch of X11Forwarding stuff. That can enable/disable the forwarding, so it's something to look at if you can't get the forwarding to work. Anyway, I hope this works. Good luck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2002 03:37 AM
04-22-2002 03:37 AM
Re: iptables: how to open HPUX X11 protocol
100.100.100.100 = the Internet IP of my Firewall (Linux)
192.168.1.1 = the LAN IP of my machine (HPUX)
200.200.200.200 = the Internet IP of the remoteserver (HPUX)
1) I opened my 6000 port (in my Linux Firewall):
/sbin/iptables -A FORWARD --dport 6000 -j ACCEPT
2) From HPUX (inside my LAN):
LANmachine> xhost +200.200.200.200
LANmachine> telnet 200.200.200.200
3) Within remoteserver:
remoteserver> export DISPLAY=100.100.100.100:0.0
remoteserver> sam&
..... I do not obtain anything.
What am I doing wrong?