Bug 249550 - rsh -- protocol failure in circuit setup
Summary: rsh -- protocol failure in circuit setup
Alias: None
Product: Fedora
Classification: Fedora
Component: rsh   
(Show other bugs)
Version: 7
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Adam Tkac
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2007-07-25 14:35 UTC by Tom Cross
Modified: 2013-04-30 23:36 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-07-26 10:42:52 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Tom Cross 2007-07-25 14:35:22 UTC
Description of problem:

rsh doesn't work.  When using a simple rsh command like "rsh rigel ls", instead
of giving results or an error, rsh just sits there.  After a long time
(something like 2 minutes) it eventually says:

poll: protocol failure in circuit setup

(in this example rigel is a solaris 10 system.  Both fc5 and fc6 workstations
work fine when using rsh to connect to this computer)

Version-Release number of selected component (if applicable):

How reproducible:

My fc5-x86_64 workstation works fine with:

Other fc6-i386 workstations here work fine with this version:

Comment 1 Adam Tkac 2007-07-26 10:42:52 UTC
Please see manual page for in.rshd (server daemon). Connection schema is:

1. client   ---------(stdin + stdout)--------------> server
2. server checks client's source port
3. server   ------------(stderr)-------------------> client
4. ....

'poll: protocol failure in circuit setup' message indicates that server can't
estabilish connection in 3rd step. It mostly means that your firewall (yes,
firewall on client) blocks reverse connection from server. Please try disable
firewall on client machine and try rsh - it works ;)

Btw if you think that it's regression between 38.fc6 and 40.fc7 you could
install fc6's version on your machine and see results - same :)


Comment 2 Tom Cross 2007-07-26 13:56:44 UTC
Well, I feel like an idiot.

The *FIRST* thing I did was disable the firewall and retest.  Then reboot and
retest.  However, I guess I really didn't disable the firewall.

Thank you for your excellent reply.

You are correct, if one *REALLY* disables the firewall, rsh in f7 works just fine.

Comment 3 Adam Tkac 2007-07-26 13:58:32 UTC
No problem - I also always forget disable firewall ;)

Note You need to log in before you can comment on or make changes to this bug.