1 / 21

IPv6 Enable DNS Server

TECHNION - ISRAEL INSTITUTE OF TECHNOLOGY SOFTLAB. IPv6 Enable DNS Server. Rosenfeld Asaf & Timor Lior. Advisor: Uritzky Max. TECHNION - ISRAEL INSTITUTE OF TECHNOLOGY SOFTLAB. Some Background. The Project deals with several major protocols

marlin
Download Presentation

IPv6 Enable DNS Server

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. TECHNION - ISRAEL INSTITUTE OF TECHNOLOGY SOFTLAB IPv6 Enable DNS Server Rosenfeld Asaf & Timor Lior Advisor: Uritzky Max

  2. TECHNION - ISRAEL INSTITUTE OF TECHNOLOGY SOFTLAB Some Background • The Project deals with several major protocols • DNS Servers play a very important role in the Internet • New IP Protocol is quicky spreading worldwide • Internet servers must be stable and usable

  3. TECHNION - ISRAEL INSTITUTE OF TECHNOLOGY SOFTLAB Domain Name Service • Use names instead of numbers • Servers are suffixes divided • Servers arranged in tree like hierarchy • Ever notice the dot ???

  4. TECHNION - ISRAEL INSTITUTE OF TECHNOLOGY SOFTLAB DNS (cont.)

  5. TECHNION - ISRAEL INSTITUTE OF TECHNOLOGY SOFTLAB Internet Protocol V6 • IPv4 supports poorly distirbuted and not enough addresses. (4G) • Modular Packet structure • New features • Different handling • No backward compatibility

  6. TECHNION - ISRAEL INSTITUTE OF TECHNOLOGY SOFTLAB Project Goals • Learn the DNS protocol • Learn the IPv6 protocol • Learn C# with MS .NET • Implement a deployable DNS Server for IPv4 and IPv6 addresses, accoding to Industry standatds and RFCs

  7. TECHNION - ISRAEL INSTITUTE OF TECHNOLOGY SOFTLAB Challanges • Server needs to have dual stack. Support for both platform and service • Usable – handle large amount of requsets in short time. Parse, Find, Build and Send while Avoiding timeouts. • Stable – withstand bursts and DoS attacks • Testing (DoS, multiple environments, test app.) • Native and Joined IP environments

  8. TECHNION - ISRAEL INSTITUTE OF TECHNOLOGY SOFTLAB Solution Concept • Multiple Network-interface threads • Single synchronized joined Database • Database capable of learning • Run-time protocol chooser • Use .Net Socket, Threading and collections mechanisms

  9. TECHNION - ISRAEL INSTITUTE OF TECHNOLOGY SOFTLAB Class Diagram

  10. TECHNION - ISRAEL INSTITUTE OF TECHNOLOGY SOFTLAB Database Demands: • Support multiple read and write transactions • Fast ! Hash container

  11. TECHNION - ISRAEL INSTITUTE OF TECHNOLOGY SOFTLAB Database (cont.) • .Net Interlocked methods • Each function is either Writer or Reader • Wrapped in try  finally • Learns using .Net resolver

  12. TECHNION - ISRAEL INSTITUTE OF TECHNOLOGY SOFTLAB Network Interface • Setting .Net framework to use IPv6 • Use .Net Socket class with address families IPv4 and IPv6 • Ability handle large amout of requests simultaneously  Threads • Starting a new thread is costy • Starting all needed threads at the beginning, is a waste, and has a management overhead  THREADPOOL

  13. TECHNION - ISRAEL INSTITUTE OF TECHNOLOGY SOFTLAB .NET Threadpool • Provides a pool of threads that can be used to post work items, process asynchronous I/O, wait on behalf of other threads, and process timers • System managed

  14. TECHNION - ISRAEL INSTITUTE OF TECHNOLOGY SOFTLAB Network Interface (cont.) • Use StartReceiveFrom which uses threadpool • Each task re-assigns itself • v4 tasks and v6 tasks

  15. TECHNION - ISRAEL INSTITUTE OF TECHNOLOGY SOFTLAB Use case

  16. TECHNION - ISRAEL INSTITUTE OF TECHNOLOGY SOFTLAB User Interface

  17. TECHNION - ISRAEL INSTITUTE OF TECHNOLOGY SOFTLAB Unit Testing • real-life scenario. Remote applications use the DNS server • Linux tools (nslookup, dig, etc..) • Proprietary test application

  18. TECHNION - ISRAEL INSTITUTE OF TECHNOLOGY SOFTLAB Technology • C# • MS .NET Framwork Socket Threadpool Container Text.Encoding • IPv6 • DNS • Various Linux DNS test tools

  19. TECHNION - ISRAEL INSTITUTE OF TECHNOLOGY SOFTLAB Conclusions • Although database strucure is optimized and hash table was used, it is still the bottleneck • Commercial DNS products do not fully implement standard • IPv6 support is far from being friendly. MS .Net support not fully works

  20. TECHNION - ISRAEL INSTITUTE OF TECHNOLOGY SOFTLAB Future Work • IPSEC • DNS-SEC • Optimized Caching, threaded $ ? • Mutual DNS Servers updates • Server implemented as semi-cluster • Threadpool fiddling - setMinThreads

  21. TECHNION - ISRAEL INSTITUTE OF TECHNOLOGY SOFTLAB Acknowledgment We would like to thank Max Uritzky for all the support. Always fast, regardless the day or the time ! And of course, the software lab, for answering our technical needs

More Related