summaryrefslogtreecommitdiff
path: root/usr.sbin/traceroute/traceroute.c
AgeCommit message (Expand)Author
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
2014-04-23Introduce check_tos to unclutter the main loop.Florian Obser
2014-04-23move AF independet setsockopts downFlorian Obser
2014-04-23Add error checking to sysctl. While there pass in an int otherwiseFlorian Obser
2014-04-23Prepare for merge: s/icmp_code/icmp4_code/ and use icmp_code forFlorian Obser
2014-04-23Prepare for merge: s/packet_ok/packet_ok4/ and use packet_okFlorian Obser
2014-04-23Prepare merge: introduce struct sockaddr *from, *to to be used inFlorian Obser
2014-04-23Prepare merge: s/to/to4/; s/from/from4/Florian Obser
2014-04-23Make this compile with -Wall et al.Florian Obser
2014-04-21Revert 1.101 as it breaks source port selection. This needs moreFlorian Obser
2014-04-19Fix display of destination IP when host is an IP address.Florian Obser
2014-04-18Wrap long lines.Florian Obser
2014-04-18Move ident / perturb initialisation up, this is AF independent.Florian Obser
2014-04-18sync to traceroute6: use getnameinfo for destination ipFlorian Obser
2014-04-18Declare socklen_t len in main, it's used in two places, no needFlorian Obser
2014-04-18Use getaddrinfo to resolve destination. I kept the inet_aton so theFlorian Obser
2014-04-18We do have SO_SNDBUF and IP_HDRINCL.Florian Obser
2014-04-18replace perror(3) with err(3)/warn(3)Florian Obser
2014-04-18move cast from packet to ip up to avoid casts in print()Florian Obser
2014-04-18move ICMP code parsing to functionFlorian Obser
2014-04-18If -s is not given do a dummy connect to get outgoing ip,Florian Obser
2014-04-18sync packet_ok signature to traceroute6Florian Obser
2014-04-18Factor out build_probe{4,6} from send_probe; now send_probe isFlorian Obser
2014-04-18We are not ARCHAIC; no object change.Florian Obser
2014-03-29use deltaT to calculate time intervalls; reduces diff to traceroute6Florian Obser
2014-03-29use iovec in wait_for_reply; reduces diff to traceroute6Florian Obser
2014-03-24Remove "-r" option from ping(8) and traceroute{,6}(8). You've probablyMartin Pieuchot
2014-03-18Make print AF independet and use it in traceroute and traceroute6.Florian Obser
2014-03-18Sync inetname from traceroute6 and thereby make it AF independent.Florian Obser
2014-03-18AF independent print_asnFlorian Obser
2014-03-18Wrap long line.Florian Obser
2014-03-1012_malloc_memset_to_calloc.msgFlorian Obser
2014-03-1010_setvbuf.msgFlorian Obser
2014-01-24Implement -D; from traceroute; reduces diff to traceroute.Florian Obser
2014-01-24Sort getopt cases, reduces diff to traceroute6Florian Obser
2014-01-24It's an error to have more than 2 arguments; reduces diff to traceroute6Florian Obser
2014-01-24Sync "port" type to traceroute6; reduces diff to traceroute6Florian Obser
2014-01-24rename s to rcvsockFlorian Obser