Commit Graph

26 Commits

Author SHA1 Message Date
itojun 69045197e1 previous buffer overrun fix was one-byte too restrictive. from jinmei@kame 2001-04-08 18:33:43 +00:00
wiz 14dbdf5518 Negative exit code cleanup: Replace exit(-x) with exit(x).
As seen on tech-userlevel.
2001-04-06 11:13:45 +00:00
itojun c6abd22023 avoid tp from going smaller address than buf. 2001-04-05 13:52:59 +00:00
simonb 7ae902c2b2 Fix a DoS attach (and possibly, but not confirmed, a root exploit) in
ntpd.

Fix from Poul-Henning Kamp and Dima Ruban from the FreeBSD tree, with
changes from Jason Thorpe to not overrun the end of the static buffer
and with syslog()ing the bad packets disabled so as not to DoS syslog.
2001-04-05 02:08:01 +00:00
hubertf 28adebea18 Add the -u flag to the usage message.
Foudn while fixing PR 12078 by Nigel Reed <nigel@nelgin.nu>
2001-02-02 03:35:24 +00:00
cgd d594ce939b comment or delete text after CPP directives. 2001-01-16 02:50:27 +00:00
itojun 514b635ecc one more string format cleanup 2000-10-10 12:51:19 +00:00
itojun 296aa7c5a6 format string clarification (this does not compile on alpha without the fix) 2000-10-10 12:43:42 +00:00
is 890345ee05 Format string cleanups by Bill Sommerfeld. 2000-10-09 14:52:15 +00:00
simonb e9d46b4ab7 Use /usr/share/doc/html/ntp as location for html files.
Fixes part of PR bin/10613 from Jaromír Doleèek.
2000-07-23 14:30:54 +00:00
simonb 9c747bda1e Fix the <ieeefp.h> problem a different way - nothing actually uses the
contents of that header (the only file that includes it compiles to the
same object code on multiple architectures with or without including
<ieeefp.h>), so remove all references to it.

Fix sent to NTP maintainers - they will probably implement this change
after the immenient 4.1.0 release, but don't want to change it so close
to the release date.
2000-05-03 06:08:45 +00:00
simonb bc13e99292 Include rough instructions for importing new NTP release. 2000-05-03 05:38:19 +00:00
simonb ee70740431 Delete references to pictures. 2000-04-22 16:46:49 +00:00
simonb c4e79165b2 Fix compile warnings in new code. Patches for these sent to the
ntp maintainer.
2000-04-22 15:49:31 +00:00
simonb b41bfc0f81 Remove html/pic. 2000-04-22 15:07:06 +00:00
simonb 66dc2363f8 No pictures anymore (import script removes them). 2000-04-22 15:05:54 +00:00
simonb 0eed315b53 Resolve conflicts. 2000-04-22 15:04:49 +00:00
simonb 355d78599e Import ntp 4.0.99i 2000-04-22 14:51:59 +00:00
simonb 7d3a90fdd4 Move loadservers() prototype to a header file, so other files can see
that prototype.
2000-04-17 05:49:54 +00:00
simonb 85be272138 Include "ntp_stdlib.h" to get prototype for init_lib(). 2000-04-17 05:49:11 +00:00
simonb e2401d7bd1 Use UL on very large constant (~2.35G) instead of just U. 2000-04-17 05:48:36 +00:00
simonb 3674fb4596 Include <config.h> and check if DES is defined before building DES
routines.
2000-04-17 05:47:22 +00:00
simonb 5a9451ce52 Include <string.h> to get prototype for memcpy(). 2000-04-17 05:46:46 +00:00
simonb c428669622 *EXTREMELY* ugly NTP-specific html to mdoc converter. Not perfect, but
does all the manual stuff.  Suggestions welcome, criticisms accepted,
flames cheerfully /dev/null'd...
2000-03-29 13:52:35 +00:00
simonb 4ba759c886 Import ntp 4.0.99g 2000-03-29 12:38:44 +00:00
simonb a1a53b4fde Modified version of Bernd Ernesti's bind2netbsd to aid importing
ntp sources.
2000-03-29 12:25:55 +00:00