summaryrefslogtreecommitdiff
path: root/sbin/ping
AgeCommit message (Expand)Author
2024-04-23correct indentation; no functional changeJonathan Gray
2022-12-23point readers, where relevant, to route(8) rather than netstat(1) or route(4);Jason McIntyre
2022-12-01Oops, the tweak was not correct, go with my original version.Florian Obser
2022-12-01Make sure the length of an unknown IP option is sensible.Florian Obser
2022-02-21If the signature on an icmp echo reply doesn't match, don't count it asJonathan Matthew
2021-07-12Change the error reporting pattern throughout the tree when unveilBob Beck
2021-02-21exclamation mark needs escaped too;Jason McIntyre
2021-02-21Add ping -g, a concise display format similar to that used by otherStuart Henderson
2020-12-29If we manage to send all "count" flood pings before receiving allFlorian Obser
2020-10-21ICMP raw sockets start to receive packets as soon as they are createdFlorian Obser
2020-09-21Missing space for '-i interval' option error message.Marcus Glocker
2020-02-11Simplify and unify wording for the -I sourceaddr option in various places.Theo de Raadt
2020-01-04ping(8): improve "-i wait" parsing and error-checking codecheloha
2019-08-28At startup, unveil entire filesystem to read-only. If after privdrop, someTheo de Raadt
2019-07-20ping(8): don't round inter-packet delay up to HZcheloha
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-13Fix previous, which broke ping -T.David Hill
2018-11-11make all the setsockopt calls consistent.David Gwynne
2018-11-10let -D work on ping6 too.David Gwynne
2018-11-10add support for setting the traffic class on ipv6 packets.David Gwynne
2018-10-14Fix ID commentskn
2018-10-14Remove unneeded sockaddr size checkskn
2018-07-21There is no need to initialise global and static local variables to zero,Claudio Jeker
2018-07-18replace manual zero initialization of various fields with memset;Florian Obser
2018-07-18When running flood ping with count packets (-c) set an alarm afterFlorian Obser
2018-04-11Two fixes in ping:Vadim Zhukov
2017-11-08Add a type cast to force signed comparison. This fixes a loopVisa Hankala
2017-07-08Consistently use if ((option & F_FOO) && (option & F_BAR)) instead ofFlorian Obser
2017-07-08Consistently use if (option & F_FOO); from Klemens Nanni, thanks!Florian Obser
2017-07-05remove useless (void)printf casts, diff from Klemens Nanni, massagedFlorian Obser
2017-07-04calculate multiples of 4 smarter; from Klemens NanniFlorian Obser
2017-07-04replace perror(3) with err(3); from Klemens NanniFlorian Obser
2017-02-22Unbreak "ping6 -L"Renato Westphal
2016-10-26in florian;s last commit i urged him to change "twenty-four" toJason McIntyre
2016-10-26Due to 64 bit seconds + 64 bit nano seconds resolution and theFlorian Obser
2016-10-20Only drop to _ping user if invoked as root. If invoked as anFlorian Obser
2016-09-28Always do the setgroups, setresgid and setresuid even if if theFlorian Obser
2016-09-26Drop privileges to newly added _ping user/group.Florian Obser
2016-09-20whitespaceTheo de Raadt
2016-09-20various cleanup; ok florianJason McIntyre
2016-09-19Only allow standard dot notation for IPv4 addresses.Florian Obser
2016-09-18unbreak IPv6 source selectionFlorian Obser
2016-09-18simplify startup, since we know earlier which type of socket we needTheo de Raadt
2016-09-18whitespaceTheo de Raadt
2016-09-18If running in verbose mode and no source address has been specifiedFlorian Obser
2016-09-18Do not print 'ping6' in reporting output, just 'ping'.Florian Obser
2016-09-18minor tweaks;Jason McIntyre
2016-09-17backwards if(v6flag); pointed out by naddyFlorian Obser
2016-09-17Merge ping6(8) manual into ping(8).Florian Obser