Bug 889362
Summary: | SELinux blocks outgoing 5222/5223 connections (irc/jabber) | ||
---|---|---|---|
Product: | OKD | Reporter: | Nam Duong <nduong> |
Component: | Containers | Assignee: | Ram Ranganathan <ramr> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 2.x | CC: | bmeng, dmcphers, jhou, jofernan, mfisher, ramr, valerii.hiora |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-02-13 23:16:54 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Nam Duong
2012-12-20 22:50:31 UTC
Have a couple of other policy changes I need tkramer to confirm, so will fix along with that. Fixed with pull request: https://github.com/openshift/li/pull/734 Verified on devenv_2642 Steps: 1. Create an ruby-1.9 app 2. In app's repo, add following code to a conn.rb file #! /usr/bin/env ruby require 'net/telnet' conn = Net::Telnet::new("Host" => "talk.google.com", "Port" => 5222, "Output_log" => "output_log", "Timeout" => 10, "Prompt" => /[$%#>] \z/) 3. Git push all changes 4. SSH into app gear, cd $OPENSHIFT_REPO_DIR ruby conn.rb 5. Check output logfile, make sure the connection was established successfully [r19-2642t.dev.rhcloud.com repo]\> cat output_log Trying talk.google.com... Connected to talk.google.com. Also tried 5223, both ports are connected successfully. Still can reproduce it with my app. Should I perform any manual update to get it fixed? @Valerii, this has just been fixed in development and verified by QE - it should make its way to production in about a couple of weeks. HTH |