summaryrefslogtreecommitdiffstats
path: root/usr.sbin/traceroute/traceroute.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* Simplify and unify wording for the -I sourceaddr option in various places.deraadt2020-02-111-3/+3
* At startup, unveil entire filesystem to read-only. If after privdrop, somederaadt2019-08-281-1/+7
* When system calls indicate an error they return -1, not some arbitraryderaadt2019-06-281-18/+17
* delay dropping privs a bit when root so that setrtable works.tedu2019-03-191-3/+9
* get rid of useless casts on setsockopt callsdlg2018-11-121-7/+7
* add support for setting the traffic class on ipv6 packets.dlg2018-11-101-6/+12
* Sync root check from pingkn2018-10-201-2/+2
* No need to check ai_addrlen when we already checked ai_family, weflorian2018-10-151-9/+1
* style(9) some variable declarationsbenno2017-05-281-44/+45
* check_tos() gets a parameter so i can remove another global var.benno2017-05-281-3/+3
* introduce struct tr_conf to keep all of the configuration.benno2017-05-281-115/+132
* move as many globals as possible into the main function - thats thebenno2017-05-281-18/+22
* Tell traceroute6 to choose source address based on correct routingflorian2017-01-241-2/+6
* traceroute never sees a timeout when poll(2) returns when it receivesflorian2017-01-131-5/+15
* Always do the setgroups, setresgid and setresuid even if if theflorian2016-09-281-10/+16
* Drop privileges to newly added _traceroute user/group.florian2016-09-271-5/+13
* Only allow standard dot notation for IPv4 addresses as target.florian2016-09-191-7/+2
* rearrange code: traceroute.c now only contains main() and usage(),benno2016-09-031-994/+56
* pledge for "dns" if -A is passed, even with -n.semarie2016-02-121-2/+2
* "source" doesn't need to be a global. While here, the correct spellingflorian2015-11-061-3/+2
* Change all tame callers to namechange to pledge(2).deraadt2015-10-091-5/+5
* like ping, traceroute is a setuid root priv-drop which holds a sockraw.deraadt2015-10-031-1/+9
* warnx(3) has an implicit \n at the end.florian2015-08-301-2/+2
* The return type of memset(3) is void. No need for a cast.florian2015-07-161-4/+4
* port the idea of using clock_gettime(CLOCK_MONOTONIC) for measuringdlg2015-03-111-6/+18
* Replace base 10 strtol with strtonum.florian2015-02-111-49/+31
* clean up flags++ instances around getopt()deraadt2015-02-091-5/+5
* HOST_NAME_MAX + 1 is big enough for gethostname(3); this array hasflorian2015-01-201-3/+3
* Replace <sys/param.h> with <limits.h> and other less dirty headers wherederaadt2015-01-161-3/+3
* Use memmove() instead of strlcpy() for an overlapping string copymillert2014-12-091-2/+2
* Remove unnecessary netinet/in_systm.h include.lteo2014-10-251-2/+1
* Reduce code running as root by trying to create all needed socketsflorian2014-06-051-14/+38
* datalen is additional data, sync traceroute6 to traceroute. Also "nnflorian2014-06-041-12/+33
* Replace ICMP6ECHOLEN define with sizeof()florian2014-06-041-5/+5
* a void function should not be returning anything.daniel2014-05-281-3/+3
* change some argument names in order to give some consistency between traceroutejmc2014-05-011-8/+8
* whitespace cleanup while reading result of florian's recent (very nice) workderaadt2014-04-281-17/+18
* Merge traceroute6 into traceroute.florian2014-04-231-19/+423
* KNFflorian2014-04-231-9/+9
* Prepare merge: check AFflorian2014-04-231-90/+111
* missing break; not reachableflorian2014-04-231-1/+2
* No need to set protocol in hints.florian2014-04-231-2/+2
* zap redundant castflorian2014-04-231-2/+1
* Introduce check_tos to unclutter the main loop.florian2014-04-231-13/+21
* move AF independet setsockopts downflorian2014-04-231-10/+12
* Add error checking to sysctl. While there pass in an int otherwiseflorian2014-04-231-4/+6
* Prepare for merge: s/icmp_code/icmp4_code/ and use icmp_code forflorian2014-04-231-4/+18
* Prepare for merge: s/packet_ok/packet_ok4/ and use packet_okflorian2014-04-231-4/+19
* Prepare merge: introduce struct sockaddr *from, *to to be used inflorian2014-04-231-5/+9
* Prepare merge: s/to/to4/; s/from/from4/florian2014-04-231-23/+24