]> git.ipfire.org Git - people/ms/ipfire-2.x.git/commitdiff
traceroute: Update to version 2.1.0
authorAdolf Belka <adolf.belka@ipfire.org>
Thu, 1 Jul 2021 21:26:04 +0000 (23:26 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Mon, 16 Aug 2021 06:31:04 +0000 (06:31 +0000)
- Update from 2.0.18 (2011) to 2.1.0 (2016 - latest version)
- Update of rootfile not required
- Changelog
    2016-03-08  Dmitry Butskoy  <Dmitry@Butskoy.name> - 2.1.0
*  Improve the main loop for better interactivity.
   Instead of waiting silently for maximum expiration time of probes
    in progress, use timeout of the first probe (which will be printed
    first from now) only.
*  Speedup wait mechanism.
   Traditional traceroute implementation always waited the whole timeout
    for any probe. But if we already have some replies from the same hop,
    or even from some next hop, we can use the round trip time
    of such a reply as a hint to determine the actual reasonable
    amount of time to wait.
   Now the `-w' option has a form of three (in general) float values
    separated by a comma (or a slash): `-w MAX_SECS,HERE,NEAR' .
    (last two are optional). MAX_SECS specifies the maximum time
    (in seconds) to wait, in any case.
   The optional HERE specifies a factor to multiply the round trip time
    of an already received response from the same hop.
   The resulting value is used as a timeout for the probe, instead of
    (but no more than) MAX_SECS. The optional NEAR specifies a similar
    factor for a response from some next hop.
   The time of the first found result is used in both cases.
   First, we look for the same hop (of the probe which will be printed
    first from now). If nothing found, then look for some next hop.
   If nothing found, use MAX_SECS. If HERE and/or NEAR have zero values,
    the corresponding computation is skipped.
   HERE and NEAR are always set to zero if only MAX_SECS is specified
    (which provides compatibility with previous versions). Thus, if your
    scripts use `-w SECS', then nothing changed for you, since
    the lonely SECS implies `-w SECS,0,0' .
   Defaults are 5.0 seconds for MAX_SECS, 3.0 times for HERE and
    10.0 times for NEAR.
   Certainly, the new algorithm can lead to premature expiry
    (especially when response times differ at times) and printing "*"
    instead of a time. Anyway, you can always switch this algorithm off,
    just by specifying `-w' with the desired timeout only (fe. `-w 5').
   We continue to wait whole MAX_SECS when one probe per time
    must be sent (`--sport', `-P proto'), because it seems more harmful
    rather than helpful to try to wait less in such cases.
   To provide compatibility with 2.0.x versions, use:
traceroute -w 5
    (or any other desired `-w' value).
*  Hint people to use the system traceroute(8) instead of
    tcptraceroute wrapper (by providing a stderr header).
   The using of this wrapper is a little bit harmful, since it has
    less possibilities and a little different set of options.
   For those who are used to use tcptraceroute in cmdline,
    just create a link with that name to the system traceroute.
   When invoked as "tcp*", it then behaves as `traceroute -T'.
   (The simple manual page added for this case in the wrapper subdir).
   The original tcptraceroute had some options differ ("lpNSAE"),
    but they was rare used. Most common "dnFifmqwst" was just the same.
   Therefore it should be painless to use the system binary directly,
    instead of the limited wrapper (which is still provided indeed).
    2016-02-15  Dmitry Butskoy  <Dmitry@Butskoy.name> - 2.0.22
*  Some portability fixing and improvements (Felix Janda)
*  Require clear numbers for options and arguments (Sergey Salnikov)
*  Drop compilation date from the version string (Debian #774365)
*  New tcp module option `reuse', which utilize SO_REUSEADDR
    to reuse local port numbers for the huge workloads (Richard Sheehan)
*  Avoid poll(2) call with spurious zero timeout in some rare cases
    by rounding the value properly using ceil(3)
    2014-11-12  Dmitry Butskoy  <Dmitry@Butskoy.name> - 2.0.21
*  Fix `--mtu' and `-F' working on kernels >= 3.13
*  Some manual page improving (Christopher Mann)
    2014-06-14  Dmitry Butskoy  <Dmitry@Butskoy.name> - 2.0.20
*  Describe all complementary long options in the man page (Jan Synacek)
*  Use correct service name for AS lookups (Frederic Mangano)
*  Avoid some rare case null dereference (geogriffin@jsgriff.com)
*  Improve expiration check for simultaneous probes
    2012-11-19  Dmitry Butskoy  <Dmitry@Butskoy.name> - 2.0.19
*  DCCP protocol support (rfc4340), by Samuel Jero
    Use "-D" option for it (the protocol-specific options
    are available too).
*  Update COPYING and COPYING.LIB license files to the latest
    published ones (due to FSF address changes etc.) (Jan Synacek)
*  Add mention of "-l" option to manual (Filip Holec)

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
lfs/traceroute
src/patches/traceroute-2.1.0-ipfire.patch [moved from src/patches/traceroute-2.0.18-ipfire.patch with 100% similarity]

index 87157ff42b952ad0b65823cdbd7df671e6737950..0ec14538e585e6960b5c8c3ef432b096949ede4e 100644 (file)
@@ -24,7 +24,7 @@
 
 include Config
 
-VER        = 2.0.18
+VER        = 2.1.0
 
 THISAPP    = traceroute-$(VER)
 DL_FILE    = $(THISAPP).tar.gz
@@ -32,7 +32,7 @@ DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = traceroute
-PAK_VER    = 3
+PAK_VER    = 4
 
 DEPS       =
 
@@ -44,7 +44,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = b7254149b7f081cce07f4b9e065ba5ef
+$(DL_FILE)_MD5 = 84d329d67abc3fb83fc8cb12aeaddaba
 
 install : $(TARGET)