r7 - 2010-10-30 - 04:56:31 - HarlanStennYou are here: NTP >  Dev Web > GoogleSummerOfCode > GSoC2010UnitTesting
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.

Unit Testing (GSoC 2010)

Summary

The goal of this project is to cover as much of the codebase as possible with unit tests. The top priority will be to implement tests for libntp, and after that move on to ntpd and ntpq. Tests will be written using Google Test.

My work is kept in a separate BitKeeper repository, located at the developer machines. The path is: ~karlsson/ntp-gsoc-testing UPDATE: the code is now in ntp-4.2.7p75.

Related Items: UnitTestingNotes, NtpdFunctionMap

Timeline

Date Task Description % Done
2010-04-26   Accepted student proposals announced on the Google Summer of Code 2010 site. DONE
2010-04-26 Community Bonding Students get to know mentors, read documentation, get up to speed to begin working on their projects.  
2010-05-24 Coding begins Students begin coding for their GSoC projects  
2010-05-24 Set up framework Integrate Google Test in some sort of “make test” manner. I just want a simple way to run (all/some) tests, this does not have to be the final solution.  
2010-05-28 libntp planning Make a plan of which functions to test and try to identify troublesome parts to test.  
2010-06-02 libntp tests Write tests for libntp.  
2010-06-16 ntpd planning    
2010-06-22 ntpd tests    
2010-07-06 ntpq planning    
2010-07-11 Unavailable /me getting some sunlight in Greece.  
2010-07-12 Start mid-term evaluations Mentors and students can begin submitting mid-term evaluations.  
2010-07-16 Mid-term evaluations Mid-term evaluations deadline  
2010-07-19 ntpq tests    
2010-08-02 Extra This time will probably be used to finish things up.  
2010-08-09 Wrap-up Suggested 'pencils down' date. Take a week to scrub code, write tests, improve documentation, etc.  
2010-08-16 Firm 'pencils down' date. Mentors, students and organization administrators can begin submitting final evaluations to Google.  
2010-08-20 Final evaluation Final evaluation deadline  
2010-08-30 Code samples Students can begin submitting required code samples to Google  

Discussion and Comments

 
Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r7 < r6 < r5 < r4 < r3 | 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