r22 - 2013-06-23 - 10:16:46 - HarlanStennYou are here: NTP >  Dev Web > GoogleSummerOfCode > GSoC2012LoggingDebugging
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.

Logging and Debugging (GSoC 2012)


Related Items: GSoC2009LogDebug, GSoC2009LoggingAndDebugging, GSoC2010LoggingAndDebugging, bug_small.png Bug #1093, bug_small.png Bug #1408, bug_small.png Bug #2028, bug_small.png Bug #2160, bug_small.png Bug #2227



Date Task DescriptionSorted ascending % Done
08-24 Final Evaluation Final Evaluations Deadline  
08-27 Final Results Final Results Announced  
06-28 to 06-30 Shall be away from work I have to attend the engagement of a cousin during this period choice-yes
07-08 Identifying new logging points Identifying more places in code where logging is needed and integrating them  
07-04 API Implementation Implementing the code for general API for Logging and identifying places in the NTP code where logging occurs choice-yes
08-01 Implemeting Location for Logs Location for log messages may be syslog or some file. Implementing mechanism to send messages to either.  
07-09 BO Midterm Evals Mentors and students can begin submitting mid-term evaluations.  
08-20 Firm "Pencils Down" Mentors, students and organization administrators can begin submitting final evaluations to Google.  
07-13 EO Midterm Evals Mid-term evaluations deadline.  
05-21 Coding Begins Students begin coding for their GSoC projects choice-yes
08-31 Code Samples Students begin uploading code samples  
04-23 Community Bonding Students get to know mentors, read documentation, get up to speed to begin working on their projects. choice-yes
08-13 Wrap-up Suggested "Pencils Down" date. Take a week to scrub code, write tests, improve documentation, etc.  
05-25 Framework Design Update the Framework Design Page with initial plans for Logging framework choice-yes
07-08 API Integration Writing code to integrate the code to the new Logging API  

Discussion and Comments

The code in development for the API is at : https://github.com/rajul/LoggingDebuggingAPI_NTP

-- RajulSrivastava - 2012-06-23

A repository setup for the API code at psp-deb1.ntp.org:/home/rajul/logging_repo

-- RajulSrivastava - 2012-07-04

Log Archive : We can have an archive for older log messages.....Just an idea that came to my mind...so i just thought I will put it here before I lose it!!!

-- RajulSrivastava - 2012-07-08

Tag Block : An enclosed block of logging statements that have same tags...like all logging statements that lie between say TAG_BLOCK.....END_BLOCK .....Another idea!!

-- RajulSrivastava - 2012-07-12

Topic attachments
I Attachment Action Size Date Who Comment
elseods DPRINTF_notes.ods manage 25.8 K 2012-06-15 - 22:56 RajulSrivastava DPRINTF Statements list throwing Debug-level Log Messages in the code. The doc can also be found at https://docs.google.com/spreadsheet/ccc?key=0AmmFOuJDrIXmdDN0V1dsQTRvc0dzY1p1dEgyNHhuWmc#gid=0
elseods TRACE_notes.ods manage 16.8 K 2012-06-15 - 22:58 RajulSrivastava TRACE Statements list throwing Debug-level Log Messages in the code. The doc can also be found at https://docs.google.com/spreadsheet/ccc?key=0AmmFOuJDrIXmdE1RS0RDSmVIYUQxcHUyWG5tWng3QVE#gid=0
elseods YYDPRINTF_notes.ods manage 9.3 K 2012-06-15 - 23:00 RajulSrivastava YYDPRINTF Statements list throwing Debug-level Messages in the code. The doc can also be found at https://docs.google.com/spreadsheet/ccc?key=0AmmFOuJDrIXmdGRFNDF4UWtNM0gzYkR0cF8xdmQ1blE#gid=0
elseods YYFPRINTF_notes.ods manage 9.7 K 2012-06-15 - 23:01 RajulSrivastava YYFPRINTF Statements list throwing Debug-level Messages in the code. The doc can also be found at https://docs.google.com/spreadsheet/ccc?key=0AmmFOuJDrIXmdDlrUUtaYlFZR1BkeHAyb29UbTdRWHc#gid=0
elseods mprintf_Notes.ods manage 12.0 K 2012-06-15 - 22:59 RajulSrivastava mprintf() Statements list throwing Debug-level Messages in the code. The doc can also be found at https://docs.google.com/spreadsheet/ccc?key=0AmmFOuJDrIXmdEVGVXl1dW16UHpYR3pnVkVBQnUxWmc#gid=0
Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r22 < r21 < r20 < r19 < r18 | 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-2020 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