[Bug 616706] New: Yast Printer Connection Wizard requires ICMP echo to be open when adding a network printer when it should only require that the TCP port the printer is listening on be open.
http://bugzilla.novell.com/show_bug.cgi?id=616706 http://bugzilla.novell.com/show_bug.cgi?id=616706#c0 Summary: Yast Printer Connection Wizard requires ICMP echo to be open when adding a network printer when it should only require that the TCP port the printer is listening on be open. Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: i586 OS/Version: openSUSE 11.2 Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: chris@ia.gov QAContact: jsrain@novell.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100317 SUSE/3.5.9-0.1.1 Firefox/3.5.9 When adding a printer via the Yast Printer Connection wizard and selecting TCP as the connection method, adding a printer fails even if the specified tcp port is open and reachable, if ICMP echo is not also allowed. ICMP echo should not be a requirement for adding a remote printer. A simple tcp ping on the specified port should be good enough, syn, syn/ack, ack. Reproducible: Always Steps to Reproduce: 1.Add a printer from Yast. 2.Choose the connection Wizard 3.Choose TCP and fill in the blanks with the destination being a printer in a network that the client does not have ICMP echo open to. (remote printer is Firewalled, access listed, etc...) 4.Test the connection. Actual Results: Observed with TCP dump that the connection wizard was attempting ICMP echo to the printer ip address and then failing without ever attempting a tcp connection on the port specified. (Telnet from console on the tcp port to the printer works fine) Expected Results: Connection wizard should not rely on ICMP echo to check the availability of a device. A connection to the actual TCP port specified should instead be attempted. Thanks! -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=616706 http://bugzilla.novell.com/show_bug.cgi?id=616706#c1 Johannes Meixner <jsmeix@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |jsmeix@novell.com Resolution| |INVALID --- Comment #1 from Johannes Meixner <jsmeix@novell.com> 2010-06-23 15:03:56 UTC --- Adding auch a print queue works regardless if the test was successful or not. Just ignore the test result and proceed. yast2-printer runs the script /usr/lib/YaST2/bin/test_remote_socket to test this kind of connection which does basically those tests: 1. ping IP 2. netcat IP port If ping (which does ICMP echo) fails, there is an error message (use the [Details] button to get in in the YaST GUI) like this: --------------------------------------------------------------------- PING 10.11.12.13 (10.11.12.13) 56(84) bytes of data. --- 10.11.12.13 ping statistics --- 2 packets transmitted, 0 received, 100% packet loss, time 999ms Host 10.11.12.13 unreachable (network issue or firewall active?) --------------------------------------------------------------------- If netcat fails, there is an error message like this: --------------------------------------------------------------------- No connection possible to port 65000 on host 10.10.11.92 (wrong port or firewall active there?) --------------------------------------------------------------------- The connection test is just a basic connection test. To test whether or not the whole print queue (connection plus driver) really works, you have to print a test page. If you run a firewall, the messages already show you why the test may have failed in your particular case. I will not remove the initial ping test because I like to distinguish whether or not the IP is accessible via "ping IP" and afterwards whether or not the particular port on this IP is accessible (via "netcat IP port"). It works as intended and therefore the bug report is invalid. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=616706 http://bugzilla.novell.com/show_bug.cgi?id=616706#c2 Johannes Meixner <jsmeix@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P4 - Low Status|RESOLVED |REOPENED Version|Final |Factory CC| |mzugec@novell.com Component|YaST2 |YaST2 Platform|i586 |All AssignedTo|bnc-team-screening@forge.pr |jsmeix@novell.com |ovo.novell.com | Resolution|INVALID | Product|openSUSE 11.2 |openSUSE 11.3 Severity|Normal |Enhancement --- Comment #2 from Johannes Meixner <jsmeix@novell.com> 2010-06-23 15:15:44 UTC --- I have an idea... -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=616706 http://bugzilla.novell.com/show_bug.cgi?id=616706#c3 Johannes Meixner <jsmeix@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |ASSIGNED Summary|Yast Printer Connection |yast2-printer: |Wizard requires ICMP echo |test_remote_socket should |to be open when adding a |not require ICMP echo |network printer when it |(ping) in any case |should only require that | |the TCP port the printer is | |listening on be open. | --- Comment #3 from Johannes Meixner <jsmeix@novell.com> 2010-06-23 15:23:53 UTC --- In /usr/lib/YaST2/bin/test_remote_socket I can exchange the ordering of the tests: If "netcat IP port" works then exit successfuly else show the netcat-related error message and do "ping IP" and if this also fails then show also the ping error message Then the most meaningful "netcat IP port" test alone is sufficient for a successful test result so that in your particular case no ping (ICMP echo) would be required. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=616706 http://bugzilla.novell.com/show_bug.cgi?id=616706#c Johannes Meixner <jsmeix@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- OS/Version|openSUSE 11.2 |openSUSE 11.3 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=616706 http://bugzilla.novell.com/show_bug.cgi?id=616706#c4 --- Comment #4 from Johannes Meixner <jsmeix@novell.com> 2010-07-01 14:12:18 UTC --- Created an attachment (id=373249) --> (http://bugzilla.novell.com/attachment.cgi?id=373249) improved test_remote_socket You may copy the attached test_remote_socket to /usr/lib/YaST2/bin/test_remote_socket to test and and report if this works better in your particular case. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=616706 http://bugzilla.novell.com/show_bug.cgi?id=616706#c Johannes Meixner <jsmeix@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |chris@ia.gov -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=616706 http://bugzilla.novell.com/show_bug.cgi?id=616706#c5 --- Comment #5 from Chris Rhodes <chris@ia.gov> 2010-07-02 12:34:03 UTC --- Thank you very much Johannes, your fix works very well for us. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=616706 http://bugzilla.novell.com/show_bug.cgi?id=616706#c6 Johannes Meixner <jsmeix@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|chris@ia.gov | Summary|yast2-printer: |yast2-printer: test_* |test_remote_socket should |scripts should do the most |not require ICMP echo |meaningful test first |(ping) in any case | --- Comment #6 from Johannes Meixner <jsmeix@novell.com> 2010-07-02 14:02:50 UTC --- I will do the same (i.e. exchange the ordering of the tests according to comment #3) also for the other test_* scripts. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=616706 http://bugzilla.novell.com/show_bug.cgi?id=616706#c7 Johannes Meixner <jsmeix@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #7 from Johannes Meixner <jsmeix@novell.com> 2010-07-02 15:02:49 UTC --- Fixed in YaST SVN revision 62178: ----------------------------------------------------------------- Enhanced the test_* tools to do the most meaningful test first so that ICMP echo (ping) is no longer required in any case (see Novell/Suse Bugzilla bnc#616706). This is an enhancement for after openSUSE 11.3 Increased VERSION to 2.19.14 ----------------------------------------------------------------- -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=616706 http://bugzilla.novell.com/show_bug.cgi?id=616706#c8 --- Comment #8 from Johannes Meixner <jsmeix@novell.com> 2010-08-10 15:28:05 UTC --- Submitted and accepted to YaST:Head via submitrequest 45299 and forwarded this to openSUSE:Factory via submitrequest 45299. The yast2-printer RPM package version is now 2.20.0 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=616706 http://bugzilla.novell.com/show_bug.cgi?id=616706#c9 --- Comment #9 from Johannes Meixner <jsmeix@novell.com> 2010-08-10 15:33:15 UTC --- A typo: Submitted and accepted to YaST:Head via submitrequest 45295 and forwarded this to openSUSE:Factory via submitrequest 45299. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=616706 http://bugzilla.novell.com/show_bug.cgi?id=616706#c10 --- Comment #10 from Bernhard Wiedemann <bwiedemann@suse.com> --- This is an autogenerated message for OBS integration: This bug (616706) was mentioned in https://build.opensuse.org/request/show/45299 Factory / yast2-printer -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com