Your message dated Thu, 10 Sep 2009 16:18:17 +0000
with message-id <[email protected]>
and subject line Bug#248273: fixed in hping3 3.a2.ds2-5
has caused the Debian Bug report #248273,
regarding RTT reporting for UDP when ICMP error received
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
248273: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=248273
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: hping2
Version: 2.rc2-4
Severity: wishlist
Tags: patch
hping2 reports RTT times for ICMP and UDP if the same protocol returns.
I wanted to test RTT for UDP but don't have a listener on the other side
so I get ICMP port unreachable for UDP packets.
I've created a small patch to add RTT handling for ICMP destination
unreachable packets, I'd be happy if it could be applied to hping.
Baruch
--- hping2-2.rc2/waitpacket.c 2004-05-10 11:45:56.000000000 +0300
+++ hping2-2.rc2.baruch/waitpacket.c 2004-05-10 11:36:12.000000000 +0300
@@ -217,6 +217,7 @@
{
struct myicmphdr icmp;
struct myiphdr quoted_ip;
+ struct myudphdr quoted_udp;
/* Check if the packet can contain the ICMP header */
if (size < ICMPHDR_SIZE) {
@@ -273,6 +274,18 @@
case 3:
if (!opt_quiet)
log_icmp_unreach(inet_ntoa(src), icmp.code);
+ if (quoted_ip.protocol == IPPROTO_UDP)
+ {
+ int sequence = 0, status;
+ float ms_delay = 0.0;
+ unsigned short port;
+
+ /* Get RTT for UDP packet */
+ memcpy("ed_udp,
packet+ICMPHDR_SIZE+(quoted_ip.ihl<<2), sizeof(quoted_udp));
+ port = ntohs(quoted_udp.uh_sport);
+ status = rtt(&sequence, port, &ms_delay);
+ printf("status=%d port=%d seq=%d\n", status,
port, sequence);
+ }
return 1;
case 11:
if (opt_traceroute)
--- End Message ---
--- Begin Message ---
Source: hping3
Source-Version: 3.a2.ds2-5
We believe that the bug you reported is fixed in the latest version of
hping3, which is due to be installed in the Debian FTP archive:
hping3_3.a2.ds2-5.diff.gz
to pool/main/h/hping3/hping3_3.a2.ds2-5.diff.gz
hping3_3.a2.ds2-5.dsc
to pool/main/h/hping3/hping3_3.a2.ds2-5.dsc
hping3_3.a2.ds2-5_i386.deb
to pool/main/h/hping3/hping3_3.a2.ds2-5_i386.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Guillaume Delacour <[email protected]> (supplier of updated hping3 package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Fri, 04 Sep 2009 23:48:19 +0000
Source: hping3
Binary: hping3
Architecture: source i386
Version: 3.a2.ds2-5
Distribution: unstable
Urgency: low
Maintainer: Guillaume Delacour <[email protected]>
Changed-By: Guillaume Delacour <[email protected]>
Description:
hping3 - Active Network Smashing Tool
Closes: 248273 537704
Changes:
hping3 (3.a2.ds2-5) unstable; urgency=low
.
* debian/patches/080_ip_id_field.diff: Add description to header.
* debian/patches/090_fr_manpage.diff:
+ use hping2 fr manpage for hping3 (already included in source).
* debian/patches/100_hyphen_used_as_minus_sign.diff
+ Add "\" to "-" in english and fr manpage (as suggested by lintian).
* debian/patches/110_dontfrag_offbyone.diff:
Don't clear packet size if final size equivalent to MTU
(Closes: #537704), thanks to Christian Mock.
* debian/patches/120_rtt_icmp_unreachable.diff:
Add RTT handling for ICMP destination unreachable packets
(Closes: #248273), thanks to Baruch Even.
* debian/patches
* debian/watch:
+ Add empty but documented file (to explain why).
* Bump to debhelper compatibility 7.
* Bump Standards-Version to 3.8.3, no changes needed.
* debian/control: change the git repo location.
* debian/compat: Bump to 7 (replace dh_clean -k by dh_prep in install rule)
* debian/copyright: Adjust licences on BSD style sources.
Checksums-Sha1:
7ef7dd41848da3ebf2de6e5ef74af8d68173742d 1152 hping3_3.a2.ds2-5.dsc
d20d9441247444c83d084ca1d9e4daeae12a87e4 17655 hping3_3.a2.ds2-5.diff.gz
245c0292fc46d028088e5eb094bf5ad9fb6d75c9 101024 hping3_3.a2.ds2-5_i386.deb
Checksums-Sha256:
6cedfdf39c6576b3a8e4cf0f214f7f59df3589bf86aee9266ae148cb3f9370da 1152
hping3_3.a2.ds2-5.dsc
01ec49c8351f8cd79f7b8e82d96b646d0cf3aa2f5b54647f5b0ad1c920adb54d 17655
hping3_3.a2.ds2-5.diff.gz
904521968947916866cc89aa931f996e6ebb7fb7e3dd00df162a54b230913379 101024
hping3_3.a2.ds2-5_i386.deb
Files:
4a29911f67dc95df8a62492881e5dc1d 1152 net extra hping3_3.a2.ds2-5.dsc
b6d89fb6b5a070d0049b9b32ce87ec52 17655 net extra hping3_3.a2.ds2-5.diff.gz
06a71cfc2dca92afd1fad26787ed5804 101024 net extra hping3_3.a2.ds2-5_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkqpFKUACgkQ5TUK4GCH0vi4NACfcQVEDruDFZPjE1bwQ66I0+mB
Y7IAnA2aKCEulCoVdUxHXap5U/Thju6H
=j7Lu
-----END PGP SIGNATURE-----
--- End Message ---