r2 - 2007-06-01 - 04:44:50 - HarlanStennYou are here: NTP >  Dev Web > DevelopmentIssues > HeaderFiles
NTP users are strongly urged to take immediate action to ensure that their NTP daemons are not susceptible to being used in distributed denial-of-service (DDoS) attacks. Please also take this opportunity to defeat denial-of-service attacks by implementing Ingress and Egress filtering through BCP38.

ntp-4.2.8p15 was released on 23 June 2020. It addresses 1 medium-severity security issue in ntpd, and provides 13 non-security bugfixes over 4.2.8p13.

Please see the NTP Security Notice for vulnerability and mitigation details.

Are you using Autokey in production? If so, please contact Harlan - he's got some questions for you.

Header Files

Header files should be created for each module if any of the functions in the module or structures created for the module needs to be called from other parts of the system.

Neither structures nor function declarations should be placed in either ntp.h or ntpd.h. These header files have become too unwieldy to be useful.

Headers must be contained within an #ifdef / #endif pair and define a unique macro representing the header name.

All headers must include any other header for any declaration of any structures that that header needs in order to completely define all structures and function declarations in the module.

When you create these header files or update existing ones, please take the time to move structures and function declarations out of ntpd.h and ntp.h. This will make the code both more modular and easier to include in your code.

-- DannyMayer - 01 Jun 2007

Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r2 < r1 | More topic actions
SSL security by CAcert
Get the CAcert Root Certificate
This site is powered by the TWiki collaboration platform
IPv6 Ready
Copyright & 1999-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors. Ideas, requests, problems regarding the site? Send feedback