Red Hat Bugzilla – Bug 249550
rsh -- protocol failure in circuit setup
Last modified: 2013-04-30 19:36:33 EDT
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):
My fc5-x86_64 workstation works fine with:
Other fc6-i386 workstations here work fine with this version:
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
'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 :)
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.
No problem - I also always forget disable firewall ;)