Commit Graph

19 Commits

Author SHA1 Message Date
christos e1a1d844d3 merge in traceroute1.4a12. Our sources are so different that it is really
difficult to do this with an import.
2011-09-11 01:06:26 +00:00
christos 64b9d7212f Add AS support for traceroute6. While here cleanup both traceroute programs
a bit.
XXX: Error printing on traceroute should be revisited.
2011-05-10 01:52:49 +00:00
pooka 3b00d9689f 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).
2010-12-15 00:09:41 +00:00
lukem d877c4c3c0 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)
2009-04-22 15:23:01 +00:00
tls 4147a3c54a 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.
2007-05-28 12:06:17 +00:00
itojun 5818b97495 assume getifaddrs(3) 2003-05-15 14:47:49 +00:00
itojun e24f1908e1 byebye savestr. with savestr() we can't free(). 2003-05-15 14:34:39 +00:00
atatat f5d592cf44 Add support for printing the AS number associated with the address at
each hop.
2001-11-04 23:14:35 +00:00
itojun 4e4447b130 use getifaddrs, not SIOCGIFCONF, to avoid complex alignment constraints. 2000-04-13 07:53:29 +00:00
itojun e33da94c5b 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).
1999-09-03 03:10:38 +00:00
christos 974dcb4997 We have RAW_OPTIONS so enable them. 1999-02-26 22:43:03 +00:00
lukem 0a94f4f077 use CPPFLAGS instead of CFLAGS 1997-10-25 06:57:53 +00:00
lukem f5bf267d90 enable WARNS=1 by default, but disable in unclean 3rd party code 1997-10-18 06:42:25 +00:00
christos 89ab9fcd0f Fix conflicts. 1997-10-04 16:31:24 +00:00
glass bbb6bf7c90 new rcsid format. small cleanup 1995-03-26 21:45:18 +00:00
cgd d065420b32 specify man pages the new way. 1994-12-22 11:43:15 +00:00
mycroft 3d70e198e5 Update from 4.4-Lite. 1994-05-16 19:15:57 +00:00
mycroft 3731815919 Add RCS identifiers. 1993-07-30 20:50:20 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00