[Bug 810138] New: /usr/lib64/heartbeat/send_arp uses obsolete (PF_INET,SOCK_PACKET)
https://bugzilla.novell.com/show_bug.cgi?id=810138 https://bugzilla.novell.com/show_bug.cgi?id=810138#c0 Summary: /usr/lib64/heartbeat/send_arp uses obsolete (PF_INET,SOCK_PACKET) Classification: openSUSE Product: openSUSE 12.3 Version: Final Platform: x86-64 OS/Version: SUSE Other Status: NEW Severity: Major Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: diego.ercolani@gmail.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:19.0) Gecko/20100101 Firefox/19.0 resource-agents-3.9.4-2.1.1.x86_64 contains /usr/lib64/heartbeat/send_arp I have an installation of corosync/pacemaker linux-ha under opensuse 12.3. I use ocf::hearbeat::IPaddr2 to have a cluster ip and I have a CISCO uplink that I can't control. I need unsolicited arp packet when the address is migrated from one node to the other so CISCO Router invalidate its arp table for this I think is called from IPaddr2 module the "send_arp" facility. When I try to invoke send_arp utility manually with: /usr/lib64/heartbeat/send_arp esterna.3 172.30.0.121 00:14:5e:80:13:fc 172.30.0.255 255.255.255.0 in the syslog (/var/log/messages) I see: 2013-03-19T00:25:26.754922+01:00 ale2013 kernel: [ 6514.617935] send_arp uses obsolete (PF_INET,SOCK_PACKET) so probably there is something wrong. Furthermore, the module IPaddr2 stocked with 12.3 openSUSE doesn't seem to invoke send_arp or other utility to poison the CISCO arp cache while the IPaddr2 stocked with 12.1 did it very well Reproducible: Always -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=810138 https://bugzilla.novell.com/show_bug.cgi?id=810138#c FeiXiang Zhang <fxzhang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fxzhang@suse.com AssignedTo|bnc-team-screening@forge.pr |dmuhamedagic@suse.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=810138 https://bugzilla.novell.com/show_bug.cgi?id=810138#c1 Dejan Muhamedagic <dmuhamedagic@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dmuhamedagic@suse.com AssignedTo|dmuhamedagic@suse.com |mvyskocil@suse.com --- Comment #1 from Dejan Muhamedagic <dmuhamedagic@suse.com> 2013-03-26 14:07:24 CET --- Apparently, the offending obsoleted API is used in libnet: ./src/libnet_link_linux.c: 83 #if (HAVE_PACKET_SOCKET) 84 l->fd = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); 85 #else 86 l->fd = socket(PF_INET, SOCK_PACKET, htons(ETH_P_ALL)); 87 #endif Looks like HAVE_PACKET_SOCKET is set to "no" on linux. From configure: 20734 case "$target_os" in 20735 20736 linux*) 20737 libnet_cv_have_packet_socket=no 20738 { echo "$as_me:$LINENO: result: no" >&5 20739 echo "${ECHO_T}no" >&6; } 20740 ;; Reassigning to the maintainer of libnet1. (In reply to comment #0)
Furthermore, the module IPaddr2 stocked with 12.3 openSUSE doesn't seem to invoke send_arp or other utility to poison the CISCO arp cache while the IPaddr2 stocked with 12.1 did it very well
Unfortunately, there was a regression in IPaddr2 in v3.9.4. It got fixed in 3.9.5, but obviously that package didn't make it to openSUSE 12.3 (I thought it would). You can open another bug report for that. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=810138 https://bugzilla.novell.com/show_bug.cgi?id=810138#c2 Diego Ercolani <diego.ercolani@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |dmuhamedagic@suse.com --- Comment #2 from Diego Ercolani <diego.ercolani@gmail.com> 2013-03-26 14:34:38 UTC --- I did a circumvention for the issue using a script that explicitly send arp to routers, but I think anyway it is necessary to close this kind of issue. Can you address me to open correctly a new bug report or only change this to the correct address? Thank you -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=810138 https://bugzilla.novell.com/show_bug.cgi?id=810138#c3 Michal Vyskocil <mvyskocil@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium --- Comment #3 from Michal Vyskocil <mvyskocil@suse.com> 2013-03-26 15:11:01 UTC ---
20734 case "$target_os" in 20735 20736 linux*) 20737 libnet_cv_have_packet_socket=no 20738 { echo "$as_me:$LINENO: result: no" >&5 20739 echo "${ECHO_T}no" >&6; } 20740 ;;
Reassigning to the maintainer of libnet1.
Such way of detecting of features is broken in any case. Will fix that. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=810138 https://bugzilla.novell.com/show_bug.cgi?id=810138#c4 Dejan Muhamedagic <dmuhamedagic@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|dmuhamedagic@suse.com | --- Comment #4 from Dejan Muhamedagic <dmuhamedagic@suse.com> 2013-03-26 17:05:20 CET --- (In reply to comment #2)
Can you address me to open correctly a new bug report or only change this to the correct address?
Just open another bugzilla here with a subject: IPaddr2 does not send unsolicited ARP packets. Thanks! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=810138 https://bugzilla.novell.com/show_bug.cgi?id=810138#c5 Michal Vyskocil <mvyskocil@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #5 from Michal Vyskocil <mvyskocil@suse.com> 2013-03-27 14:05:28 UTC --- BTW: the IParrd2 part is now tracked in bnc#812021. This bug is for libnet issue only, so feel free to drop from CC if you're not interested in a progress. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=810138 https://bugzilla.novell.com/show_bug.cgi?id=810138#c6 --- Comment #6 from Michal Vyskocil <mvyskocil@suse.com> 2013-03-27 15:58:08 UTC --- Already fixed upstream 2 years before, the 1.1.6 build with #define HAVE_PACKET_SOCKET 1, thus using the socket(PF_PACKET, SOCK_RAW, https://github.com/sam-github/libnet/commit/5f5a034d217e6beec837b3aafdb6afbb... sent 1.1.6 to Factory as 161464, for the rest I'll backport a patch -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=810138 https://bugzilla.novell.com/show_bug.cgi?id=810138#c7 --- Comment #7 from Bernhard Wiedemann <bwiedemann@suse.com> 2013-03-27 17:00:20 CET --- This is an autogenerated message for OBS integration: This bug (810138) was mentioned in https://build.opensuse.org/request/show/161464 Factory / libnet -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=810138 https://bugzilla.novell.com/show_bug.cgi?id=810138#c8 Michal Vyskocil <mvyskocil@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #8 from Michal Vyskocil <mvyskocil@suse.com> 2013-03-28 10:07:48 UTC --- sent to 12.1, 12.2, 12.3: 161565 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=810138 https://bugzilla.novell.com/show_bug.cgi?id=810138#c9 --- Comment #9 from Bernhard Wiedemann <bwiedemann@suse.com> 2013-03-28 12:00:15 CET --- This is an autogenerated message for OBS integration: This bug (810138) was mentioned in https://build.opensuse.org/request/show/161565 Maintenance / -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=810138 https://bugzilla.novell.com/show_bug.cgi?id=810138#c10 Benjamin Brunner <bbrunner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | --- Comment #10 from Benjamin Brunner <bbrunner@suse.com> 2013-04-02 16:29:38 CEST --- Michal, did you see the declined-message from Factory? Please keep in mind to remove the droped patches from the tarball and submit it again. Thanks. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=810138 https://bugzilla.novell.com/show_bug.cgi?id=810138#c11 --- Comment #11 from Benjamin Brunner <bbrunner@suse.com> 2013-04-02 16:31:20 CEST --- Anyway, update released for openSUSE 12.1, 12.2 and 12.3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=810138 https://bugzilla.novell.com/show_bug.cgi?id=810138#c12 --- Comment #12 from Swamp Workflow Management <swamp@suse.de> 2013-04-02 15:05:09 UTC --- openSUSE-RU-2013:0586-1: An update that has one recommended fix can now be installed. Category: recommended (low) Bug References: 810138 CVE References: Sources used: openSUSE 12.3 (src): libnet-1.1.5-18.4.1 openSUSE 12.2 (src): libnet-1.1.5-16.4.1 openSUSE 12.1 (src): libnet-1.1.5-12.4.1 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=810138 https://bugzilla.novell.com/show_bug.cgi?id=810138#c13 Michal Vyskocil <mvyskocil@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED --- Comment #13 from Michal Vyskocil <mvyskocil@suse.com> 2013-04-03 08:05:49 UTC --- Factory resubmitted again https://build.opensuse.org/request/show/162346 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com