Home | History | Annotate | Download | only in traceroute
History log of /src/usr.sbin/traceroute/Makefile
RevisionDateAuthorComments
 1.24  08-Aug-2023  riastradh traceroute/Makefile: Nix trailing whitespace.
 1.23  08-Aug-2023  mrg introduce new GCC 12 warning disables and use them in a few places

this introduces 4 new warning disable flags:

CC_WNO_MISSING_TEMPLATE_KEYWORD
CC_WNO_REGISTER
CC_WNO_STRINGOP_OVERREAD
CC_WNO_ARRAY_BOUNDS

and documents them in README.warnings. of these, the string op
and array bounds are both problematic (real bugs) and also spurious
(not real bugs), and the other 2 are mostly temporary for older
3rd party code.

add some new uses of CC_WNO_STRINGOP_OVERFLOW.

fix m68k build for gallium and GCC 12.
 1.22  03-Feb-2021  roy traceroute: no longer need gcc packed member warning
 1.21  06-Sep-2020  mrg add support for new GCC 9 warnings that may be too much to fix
right now. new address-of-packed-member and format-overflow
warnings have new GCC_NO_ADDR_OF_PACKED_MEMBER amd
GCC_NO_FORMAT_OVERFLOW variables to remove these warnings.

apply to a bunch of the tree. mostly, these are real bugs that
should be fixed, but in many cases, only by removing the 'packed'
attribute from some structure that doesn't really need it. (i
looked at many different ones, and while perhaps 60-80% were
already properly aligned, it wasn't clear to me that the uses
were always coming from sane data vs network alignment, so it
doesn't seem safe to remove packed without careful research for
each affect struct.) clang already warned (and was not erroring)
for many of these cases, but gcc picked up dozens more.
 1.20  18-Aug-2019  kamil traceroute: Add indirection of symbol to remove clash with sanitizers

Add indirection and symbol renaming under MKSANITIZER for the linked in
version of getifaddrs.
 1.19  11-Sep-2011  christos branches: 1.19.42; 1.19.44;
merge in traceroute1.4a12. Our sources are so different that it is really
difficult to do this with an import.
 1.18  10-May-2011  christos Add AS support for traceroute6. While here cleanup both traceroute programs
a bit.
XXX: Error printing on traceroute should be revisited.
 1.17  15-Dec-2010  pooka Use RUMPPRG. I think it's safe to say there's not going to be a
new upstream version of traceroute to import.

AS# lookup is still done using host networking. Rationale: the
relevance to where that data comes from with respect to network
tracing is zero (be it socket, local file, db, whatever).
 1.16  22-Apr-2009  lukem Enable WARNS=4 by default, except for:
cpuctl dumplfs hprop ipf iprop-log kadmin kcm kdc kdigest
kimpersonate kstash ktutil makefs ndbootd ntp pppd quot
racoon racoonctl rtadvd sntp sup tcpdchk tcpdmatch tcpdump
traceroute traceroute6 user veriexecgen wsmoused zic
(Mostly third-party applications)
 1.15  28-May-2007  tls branches: 1.15.20;
Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the
FORTIFY_SOURCE feature of libssp, thus checking the size of arguments to
various string and memory copy and set functions (as well as a few system
calls and other miscellany) where known at function entry. RedHat has
evidently built all "core system packages" with this option for some time.

This option should be used at the top of Makefiles (or Makefile.inc where
this is used for subdirectories) but after any setting of LIB.

This is only useful for userland code, and cannot be used in libc or in
any code which includes the libc internals, because it overrides certain
libc functions with macros. Some effort has been made to make USE_FORT=yes
work correctly for a full-system build by having the bsd.sys.mk logic
disable the feature where it should not be used (libc, libssp iteself,
the kernel) but no attempt has been made to build the entire system with
USE_FORT and doing so will doubtless expose numerous bugs and misfeatures.

Adjust the system build so that all programs and libraries that are setuid,
directly handle network data (including serial comm data), perform
authentication, or appear likely to have (or have a history of having)
data-driven bugs (e.g. file(1)) are built with USE_FORT=yes by default,
with the exception of libc, which cannot use USE_FORT and thus uses
only USE_SSP by default. Tested on i386 with no ill results; USE_FORT=no
per-directory or in a system build will disable if desired.
 1.14  15-May-2003  itojun assume getifaddrs(3)
 1.13  15-May-2003  itojun byebye savestr. with savestr() we can't free().
 1.12  04-Nov-2001  atatat Add support for printing the AS number associated with the address at
each hop.
 1.11  13-Apr-2000  itojun use getifaddrs, not SIOCGIFCONF, to avoid complex alignment constraints.
 1.10  03-Sep-1999  itojun configure IPsec policy on sending/receiving socket for bypassing IPsec.

If IPsec default policy is configured for destination
traceroute will never success (because encrypted icmp timexceeded
is unrecognizable).
 1.9  26-Feb-1999  christos We have RAW_OPTIONS so enable them.
 1.8  25-Oct-1997  lukem use CPPFLAGS instead of CFLAGS
 1.7  18-Oct-1997  lukem branches: 1.7.2;
enable WARNS=1 by default, but disable in unclean 3rd party code
 1.6  04-Oct-1997  christos Fix conflicts.
 1.5  26-Mar-1995  glass new rcsid format. small cleanup
 1.4  22-Dec-1994  cgd specify man pages the new way.
 1.3  16-May-1994  mycroft Update from 4.4-Lite.
 1.2  30-Jul-1993  mycroft Add RCS identifiers.
 1.1  21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.3  03-Oct-1997  christos Import LBL's traceroute-1.4a5
 1.1.1.2  13-Feb-1997  mrg lite2
 1.1.1.1  21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.7.2.1  08-Nov-1997  lukem sync with trunk (approved by thorpej)
 1.15.20.1  13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.19.44.1  19-Aug-2019  martin Pull up following revision(s) (requested by kamil in ticket #92):

usr.sbin/traceroute/ifaddrlist.c: revision 1.11
usr.sbin/traceroute/traceroute_rumpops.c: revision 1.2
usr.sbin/traceroute/traceroute_hostops.c: revision 1.2
usr.sbin/traceroute/Makefile: revision 1.20
usr.sbin/traceroute/prog_ops.h: revision 1.2

traceroute: Add indirection of symbol to remove clash with sanitizers

Add indirection and symbol renaming under MKSANITIZER for the linked in
version of getifaddrs.
 1.19.42.1  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411

RSS XML Feed