summaryrefslogtreecommitdiff
path: root/usr.sbin/traceroute/traceroute.c
AgeCommit message (Expand)Author
2024-08-21Get rid of inet_atonFlorian Obser
2022-03-24whitespace niggle noticed during reviewTheo de Raadt
2021-09-03Make traceroute(8) faster by sending probes and doing DNS async.Florian Obser
2021-08-31Make includes follow style(9).Florian Obser
2021-08-28whitespace nitStuart Henderson
2021-08-28Allow traceroute -w values down to 1 second, from John CarmackStuart Henderson
2021-07-12Change the error reporting pattern throughout the tree when unveilBob Beck
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-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-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-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-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-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-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-28whitespace cleanup while reading result of florian's recent (very nice) workTheo de Raadt
2014-04-23Merge traceroute6 into traceroute.Florian Obser
2014-04-23KNFFlorian Obser
2014-04-23Prepare merge: check AFFlorian Obser
2014-04-23missing break; not reachableFlorian Obser
2014-04-23No need to set protocol in hints.Florian Obser
2014-04-23zap redundant castFlorian Obser