summaryrefslogtreecommitdiff
path: root/sbin/ping/ping.c
AgeCommit message (Collapse)Author
1998-05-17Unroll that last patch, Theo thinks there's a better way of solvingAngelos D. Keromytis
the problem.
1998-05-16Avoid the SIGALRM/ping DOS attack. From FreeBSD patch by Jason Young.Angelos D. Keromytis
1998-05-16put time in network byte order. I thought I fixed this!Theo de Raadt
1998-05-16on 64 bit architectures, tv_sec and tv_usec cause problems when weTheo de Raadt
move them onto the wire - so don't put them on the wire. i thought i fixed this ages ago..
1998-04-30certain variables are in msec not usec nowTheo de Raadt
1998-04-03handle unknown option too. All this ipoption handling needs rewriting, I now ↵Theo de Raadt
see a whole bunch more flaws
1998-04-02do not run off end of option buffer for LSRR either; tqbfTheo de Raadt
1998-03-31possible buf oflow in -R; reported by tqbf, fixed by me.Theo de Raadt
1998-03-03make ping work for large packet sizes. closing pr# 417.Niels Provos
1998-02-05Don't count DNS lookup time in ping -R. Problem noted byTodd C. Miller
Bill Fenner <fenner@FreeBSD.ORG>, fix from Theo <deraadt@openbsd.org>.
1997-08-06do not clobber errno in signal handlersTheo de Raadt
1997-06-29Don't assume sizeof(in_addr_t) == 4 and don't coerce an in_addr_tTodd C. Miller
to struct in_addr.
1997-06-2364 bit clean and WallTheo de Raadt
1997-06-11dynamic fd_setTheo de Raadt
1997-06-05getpid() is going to be OK in a few minutesTheo de Raadt
1997-06-02network byte order for icmp_seq; obfuscate ident (pid) moreTheo de Raadt
1997-06-01i think this solves a number of byte order problems in the icmp code.Theo de Raadt
If these are right, I also want to note that if a host pings me I can tell what it's byte order is (because if the seq numbers)
1997-06-01kill fp, fix unterminated buf, add lots of icmp code; denny1@home.com, PR#205Theo de Raadt
1997-05-29print stats on SIGINFOkstailey
1997-02-04Changed ICMP "unreachable" code #defines to match the ones inkstailey
tcpdump/print-icmp.c since they were in BSD first.
1997-02-04RFC-1812 addtionkstailey
1997-01-30deal with IP_HDRINCL option network byte order change; lidl@va.pubnix.comTheo de Raadt
1997-01-15getopt(3) returns -1 when out of args, not EOF, whee!Todd C. Miller
1996-12-22Deal with _POSIX_SAVED_IDS when relinquishing privilegesTheo de Raadt
1996-12-14indent correctlyTheo de Raadt
1996-12-14Now does not display responses to other peoples stuff, like UDP packetsbitblt
or other peoples network unreachables when you do a ping -v.
1996-12-10crank SO_SNDBUF if needed, kml@nas.nasa.govTheo de Raadt
1996-07-23treat -l and -f the sameTheo de Raadt
1996-07-23ptrace is safe; limit preload to rootTheo de Raadt
1996-07-23skip until ptrace problem is resolvedTheo de Raadt
1996-07-23open socket as soon as possible, and then revoke privsTheo de Raadt
1996-07-22no overflow; from brian@saturn.netTheo de Raadt
1996-06-23update rcsidTheo de Raadt
1996-06-19let user set TOS, DF bit, and TTL. also use strtol() instead of atoi() soTheo de Raadt
that other bases work; netbsd pr#2017; jhawk@mit.edu
1995-10-18initial import of NetBSD treeTheo de Raadt