* Mon Oct 11 2010 Jiri Skala <jskala@redhat.com> - 20101006-1
- update to latest upstream
This commit is contained in:
parent
0c5b59616c
commit
27040a3e1d
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
|||||||
iputils-s20100418.tar.bz2
|
iputils-s20100418.tar.bz2
|
||||||
rdisc.initd
|
rdisc.initd
|
||||||
ifenslave.tar.gz
|
ifenslave.tar.gz
|
||||||
|
/iputils-s20101006.tar.bz2
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
diff -up iputils-s20100418/arping.c.infiniband iputils-s20100418/arping.c
|
diff -up iputils-s20101006/arping.c.infiniband iputils-s20101006/arping.c
|
||||||
--- iputils-s20100418/arping.c.infiniband 2010-04-23 11:29:24.982567625 +0200
|
--- iputils-s20101006/arping.c.infiniband 2010-10-11 09:17:57.440390823 +0200
|
||||||
+++ iputils-s20100418/arping.c 2010-04-23 14:28:28.328587690 +0200
|
+++ iputils-s20101006/arping.c 2010-10-11 09:23:36.147402252 +0200
|
||||||
@@ -32,8 +32,6 @@
|
@@ -32,8 +32,6 @@
|
||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
#include <arpa/inet.h>
|
#include <arpa/inet.h>
|
||||||
@ -151,7 +151,7 @@ diff -up iputils-s20100418/arping.c.infiniband iputils-s20100418/arping.c
|
|||||||
+ return -1;
|
+ return -1;
|
||||||
|
|
||||||
- for (p = ba, ch = 0; p < ba + balen; p++, ch += 3)
|
- for (p = ba, ch = 0; p < ba + balen; p++, ch += 3)
|
||||||
- *p++ = strtoul(brdcast->value + ch * 3, NULL, 16);
|
- *p = strtoul(brdcast->value + ch, NULL, 16);
|
||||||
+ snprintf(broadcast_path, len,
|
+ snprintf(broadcast_path, len,
|
||||||
+ "%s/" SYSFS_CLASS "/" SYSFS_NET "/%s/" SYSFS_BROADCAST,
|
+ "%s/" SYSFS_CLASS "/" SYSFS_NET "/%s/" SYSFS_BROADCAST,
|
||||||
+ mnt_path, device);
|
+ mnt_path, device);
|
||||||
|
@ -1,21 +0,0 @@
|
|||||||
diff -up iputils-s20100418/ping.c.dos iputils-s20100418/ping.c
|
|
||||||
--- iputils-s20100418/ping.c.dos 2010-07-13 08:53:29.356694202 +0200
|
|
||||||
+++ iputils-s20100418/ping.c 2010-07-13 08:53:55.350694373 +0200
|
|
||||||
@@ -1083,7 +1083,7 @@ void pr_options(unsigned char * cp, int
|
|
||||||
i = j;
|
|
||||||
i -= IPOPT_MINOFF;
|
|
||||||
if (i <= 0)
|
|
||||||
- continue;
|
|
||||||
+ break;
|
|
||||||
if (i == old_rrlen
|
|
||||||
&& !strncmp((char *)cp, old_rr, i)
|
|
||||||
&& !(options & F_FLOOD)) {
|
|
||||||
@@ -1120,7 +1120,7 @@ void pr_options(unsigned char * cp, int
|
|
||||||
i = j;
|
|
||||||
i -= 5;
|
|
||||||
if (i <= 0)
|
|
||||||
- continue;
|
|
||||||
+ break;
|
|
||||||
flags = *++cp;
|
|
||||||
printf("\nTS: ");
|
|
||||||
cp++;
|
|
@ -1,7 +1,7 @@
|
|||||||
Summary: Network monitoring tools including ping
|
Summary: Network monitoring tools including ping
|
||||||
Name: iputils
|
Name: iputils
|
||||||
Version: 20100418
|
Version: 20101006
|
||||||
Release: 3%{?dist}
|
Release: 1%{?dist}
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: http://www.skbuff.net/iputils
|
URL: http://www.skbuff.net/iputils
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
@ -24,7 +24,6 @@ Patch10: iputils-20071127-corr_type.patch
|
|||||||
Patch11: iputils-20071127-infiniband.patch
|
Patch11: iputils-20071127-infiniband.patch
|
||||||
Patch12: iputils-20100418-convtoint.patch
|
Patch12: iputils-20100418-convtoint.patch
|
||||||
Patch13: iputils-20100418-flowlabel.patch
|
Patch13: iputils-20100418-flowlabel.patch
|
||||||
Patch14: iputils-20100418-dos.patch
|
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
BuildRequires: docbook-utils perl-SGMLSpm
|
BuildRequires: docbook-utils perl-SGMLSpm
|
||||||
@ -59,7 +58,6 @@ the target machine is alive and receiving network traffic.
|
|||||||
%patch11 -p1 -b .infiniband
|
%patch11 -p1 -b .infiniband
|
||||||
%patch12 -p1 -b .convtoint
|
%patch12 -p1 -b .convtoint
|
||||||
%patch13 -p1 -b .flowlabel
|
%patch13 -p1 -b .flowlabel
|
||||||
%patch14 -p1 -b .dos
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ifarch s390 s390x
|
%ifarch s390 s390x
|
||||||
@ -149,6 +147,9 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||||||
%{_sysconfdir}/rc.d/init.d/rdisc
|
%{_sysconfdir}/rc.d/init.d/rdisc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Oct 11 2010 Jiri Skala <jskala@redhat.com> - 20101006-1
|
||||||
|
- update to latest upstream
|
||||||
|
|
||||||
* Tue Jul 13 2010 Jiri Skala <jskala@redhat.com> - 20100418-3
|
* Tue Jul 13 2010 Jiri Skala <jskala@redhat.com> - 20100418-3
|
||||||
- applied patch preventing ping against dos attack
|
- applied patch preventing ping against dos attack
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user