summaryrefslogtreecommitdiff
path: root/usr.sbin/traceroute
AgeCommit message (Expand)Author
2020-02-11Simplify and unify wording for the -I sourceaddr option in various places.Theo de Raadt
2019-08-28At startup, unveil entire filesystem to read-only. If after privdrop, someTheo de Raadt
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2019-04-05fix link URL; pointed out by "openbsduser <at> airmail.cc"Stuart Henderson
2019-03-19delay dropping privs a bit when root so that setrtable works.Ted Unangst
2018-11-12get rid of useless casts on setsockopt callsDavid Gwynne
2018-11-10add support for setting the traffic class on ipv6 packets.David Gwynne
2018-10-20Sync root check from pingkn
2018-10-15No need to check ai_addrlen when we already checked ai_family, weFlorian Obser
2017-08-03Since nearly 20 years the correct spelling ofFlorian Obser
2017-05-28style(9) some variable declarationsSebastian Benoit
2017-05-28check_tos() gets a parameter so i can remove another global var.Sebastian Benoit
2017-05-28introduce struct tr_conf to keep all of the configuration.Sebastian Benoit
2017-05-28move as many globals as possible into the main function - thats theSebastian Benoit
2017-01-24Tell traceroute6 to choose source address based on correct routingFlorian Obser
2017-01-13traceroute never sees a timeout when poll(2) returns when it receivesFlorian Obser
2016-10-21some text cleanup and remove an irrelevant note; ok florianJason McIntyre
2016-10-20some macro fixes for the options list;Jason McIntyre
2016-10-20try to make DESCRIPTION read like it was written for one program, not two;Jason McIntyre
2016-09-28Always do the setgroups, setresgid and setresuid even if if theFlorian Obser
2016-09-27Drop privileges to newly added _traceroute user/group.Florian Obser
2016-09-19Only allow standard dot notation for IPv4 addresses as target.Florian Obser
2016-09-03rearrange code: traceroute.c now only contains main() and usage(),Sebastian Benoit
2016-03-30for some time now mandoc has not required MLINKS to functionJason McIntyre
2016-02-12pledge for "dns" if -A is passed, even with -n.Sebastien Marie
2015-11-06"source" doesn't need to be a global. While here, the correct spellingFlorian Obser
2015-10-09Change all tame callers to namechange to pledge(2).Theo de Raadt
2015-10-03like ping, traceroute is a setuid root priv-drop which holds a sockraw.Theo de Raadt
2015-09-14Avoid .Ns right after .Pf, it's pointless.Ingo Schwarze
2015-08-30warnx(3) has an implicit \n at the end.Florian Obser
2015-07-16The return type of memset(3) is void. No need for a cast.Florian Obser
2015-03-11port the idea of using clock_gettime(CLOCK_MONOTONIC) for measuringDavid Gwynne
2015-02-11Replace base 10 strtol with strtonum.Florian Obser
2015-02-09clean up flags++ instances around getopt()Theo de Raadt
2015-01-20HOST_NAME_MAX + 1 is big enough for gethostname(3); this array hasFlorian Obser
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-12-09Use memmove() instead of strlcpy() for an overlapping string copyTodd C. Miller
2014-10-25Remove unnecessary netinet/in_systm.h include.Lawrence Teo
2014-09-08obvious cases of missing .An;Ingo Schwarze
2014-06-06Update description of optional argument "datalen" to reality.Florian Obser
2014-06-05Reduce code running as root by trying to create all needed socketsFlorian Obser
2014-06-04datalen is additional data, sync traceroute6 to traceroute. Also "nnFlorian Obser
2014-06-04Replace ICMP6ECHOLEN define with sizeof()Florian Obser
2014-05-28a void function should not be returning anything.Daniel Dickman
2014-05-01change some argument names in order to give some consistency between tracerouteJason McIntyre
2014-04-29a bit more merge for traceroute6 stuff, and some consistency fixes;Jason McIntyre
2014-04-28whitespace cleanup while reading result of florian's recent (very nice) workTheo de Raadt
2014-04-27zap a ton of silly Tn, and uppercase TTL; a few other minor tweaks along theJason McIntyre
2014-04-26Link traceroute6 to traceroute, thus completing the merge.Florian Obser
2014-04-25add traceroute6 to NAME, and knock out some unneeded Bk/Ek;Jason McIntyre