summaryrefslogtreecommitdiffstats
path: root/sbin/ping/ping.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* Add ping -g, a concise display format similar to that used by othersthen2021-02-211-10/+27
* If we manage to send all "count" flood pings before receiving allflorian2020-12-291-4/+6
* ICMP raw sockets start to receive packets as soon as they are createdflorian2020-10-211-1/+50
* Missing space for '-i interval' option error message.mglocker2020-09-211-2/+2
* Simplify and unify wording for the -I sourceaddr option in various places.deraadt2020-02-111-2/+2
* ping(8): improve "-i wait" parsing and error-checking codecheloha2020-01-041-18/+22
* At startup, unveil entire filesystem to read-only. If after privdrop, somederaadt2019-08-281-1/+7
* ping(8): don't round inter-packet delay up to HZcheloha2019-07-201-6/+1
* When system calls indicate an error they return -1, not some arbitraryderaadt2019-06-281-25/+25
* delay dropping privs a bit when root so that setrtable works.tedu2019-03-191-3/+8
* Fix previous, which broke ping -T.dhill2018-11-131-2/+2
* make all the setsockopt calls consistent.dlg2018-11-111-35/+37
* let -D work on ping6 too.dlg2018-11-101-3/+10
* add support for setting the traffic class on ipv6 packets.dlg2018-11-101-4/+13
* Fix ID commentskn2018-10-141-4/+4
* Remove unneeded sockaddr size checkskn2018-10-141-7/+1
* There is no need to initialise global and static local variables to zero,claudio2018-07-211-8/+8
* replace manual zero initialization of various fields with memset;florian2018-07-181-7/+3
* When running flood ping with count packets (-c) set an alarm afterflorian2018-07-181-3/+20
* Two fixes in ping:zhuk2018-04-111-4/+4
* Add a type cast to force signed comparison. This fixes a loopvisa2017-11-081-2/+2
* Consistently use if ((option & F_FOO) && (option & F_BAR)) instead offlorian2017-07-081-4/+4
* Consistently use if (option & F_FOO); from Klemens Nanni, thanks!florian2017-07-081-6/+6
* remove useless (void)printf casts, diff from Klemens Nanni, massagedflorian2017-07-051-117/+117
* calculate multiples of 4 smarter; from Klemens Nanniflorian2017-07-041-2/+2
* replace perror(3) with err(3); from Klemens Nanniflorian2017-07-041-5/+3
* Unbreak "ping6 -L"renato2017-02-221-4/+9
* Only drop to _ping user if invoked as root. If invoked as anflorian2016-10-201-2/+2
* Always do the setgroups, setresgid and setresuid even if if theflorian2016-09-281-11/+17
* Drop privileges to newly added _ping user/group.florian2016-09-261-12/+17
* whitespacederaadt2016-09-201-3/+3
* Only allow standard dot notation for IPv4 addresses.florian2016-09-191-12/+2
* unbreak IPv6 source selectionflorian2016-09-181-2/+2
* simplify startup, since we know earlier which type of socket we needderaadt2016-09-181-26/+12
* whitespacederaadt2016-09-181-19/+19
* If running in verbose mode and no source address has been specifiedflorian2016-09-181-2/+2
* Do not print 'ping6' in reporting output, just 'ping'.florian2016-09-181-15/+4
* backwards if(v6flag); pointed out by naddyflorian2016-09-171-3/+3
* The final merge ping6 into ping.florian2016-09-171-130/+804
* Use ECHOTMLEN define; no functional change.florian2016-09-171-2/+2
* iov_base is already set in this case; reduce diff to ping6(8).florian2016-09-171-3/+2
* MAXPAYLOAD is different between ping and ping6.florian2016-09-171-3/+5
* Just use AF_INET like everywhere else.florian2016-09-171-2/+2
* malloc sets errno; use err not errxflorian2016-09-171-2/+2
* whitespaceflorian2016-09-171-2/+2
* Make getting source address more AF independent.florian2016-09-171-7/+6
* If -I was not given hoist getting source address up.florian2016-09-171-39/+37
* Make source address selection more AF independent.florian2016-09-171-16/+15
* Introduce AF independent from.florian2016-09-171-4/+4
* Use AF independent dst where possible.florian2016-09-171-6/+7