THÔNG TIN TÀI LIỆU
1 IPv6 Enable DNS Server Rosenfeld Asaf & Timor Lior Advisor: Uritzky Max TECHNION - ISRAEL INSTITUTE OF TECHNOLOGY SOFTLAB 2 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 TECHNION - ISRAEL INSTITUTE OF TECHNOLOGY SOFTLAB 3 Domain Name Service • Use names instead of numbers • Servers are suffixes divided • Servers arranged in tree like hierarchy • Ever notice the dot ??? TECHNION - ISRAEL INSTITUTE OF TECHNOLOGY SOFTLAB 4 DNS (cont.) TECHNION - ISRAEL INSTITUTE OF TECHNOLOGY SOFTLAB 5 Internet Protocol V6 • IPv4 supports poorly distirbuted and not enough addresses. (4G) • Modular Packet structure • New features • Different handling • No backward compatibility TECHNION - ISRAEL INSTITUTE OF TECHNOLOGY SOFTLAB 6 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 TECHNION - ISRAEL INSTITUTE OF TECHNOLOGY SOFTLAB 7 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 TECHNION - ISRAEL INSTITUTE OF TECHNOLOGY SOFTLAB 8 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 TECHNION - ISRAEL INSTITUTE OF TECHNOLOGY SOFTLAB 9 Class Diagram TECHNION - ISRAEL INSTITUTE OF TECHNOLOGY SOFTLAB 10 Database Demands: • Support multiple read and write transactions • Fast ! # Domain Name Domain Address 1 www.a.com 132.68.1.1 2 www.a.com 132.69.1.2 3 www.bb.com 192.168.1.1 4 www.a.com 132.68.1.3 5 www.bb.com 192.168.1.2 6 www.a.com 132.68.1.4 7 www.bb.com 192.168.1.3 8 www.bb.com 192.168.1.4 9 www.a.com 132.68.1.5 10 www.ccc.com 2001::1 11 www.bb.com 192.168.1.5 12 www.a.com 132.69.34.6 13 www.dddd.com 3055:1234:5678::1 14 www.a.com 2003:A::ABC5 TECHNION - ISRAEL INSTITUTE OF TECHNOLOGY SOFTLAB # Domain Name Domain Address 1 www.a.com 132.68.1.1 132.69.1.2 132.68.1.3 132.68.1.4 132.68.1.5 132.69.34.6 2003:A::ABC5 2 www.bb.com 192.168.1.1 192.168.1.2 192.168.1.3 192.168.1.4 192.168.1.5 3 www.ccc.com 2001::1 4 www.dddd.com 3055:1234:5678::1 Hash container [...]... it’s text to indicate its functionality Server Load Indicator Visualizes the amount of thread pool threads that are used, from the total amount allowed (by the user) IPv6 ready logo This is the IPv6 ready logo which is assigned by the IPv6 forum A commercial server would have need to apply for such a logo, and was granted one after it was proved as complied with the IPv6 standard 16 TECHNION - ISRAEL INSTITUTE... 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 19 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... OF TECHNOLOGY SOFTLAB Unit Testing • real-life scenario Remote applications use the DNS server • Linux tools (nslookup, dig, etc ) • Proprietary test application 17 TECHNION - ISRAEL INSTITUTE OF TECHNOLOGY SOFTLAB Technology • C# • MS NET Framwork Socket Threadpool Container Text.Encoding • IPv6 • DNS • Various Linux DNS test tools 18 TECHNION - ISRAEL INSTITUTE OF TECHNOLOGY SOFTLAB Conclusions • Although... Interface Protocols Chooser Enables the user to choose which of the IP protocols are used as medium to receive requests If a queried host has an IPv6 address, although the IPv6 button is not marked, the IPv6 will return, as long as the query arrived piggy backed on IPv4 packet Database source file Here the user inserts the file containing the names to addresses data Since the server is capable to learn... Writer or Reader • Wrapped in try finally • Learns using Net resolver 11 TECHNION - ISRAEL INSTITUTE OF TECHNOLOGY SOFTLAB Networ k 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 . TECHNOLOGY SOFTLAB 6 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. 1 IPv6 Enable DNS Server Rosenfeld Asaf & Timor Lior Advisor: Uritzky Max TECHNION - ISRAEL INSTITUTE. server is capable to learn new translations, it is possible to start it with an empty file and let it learn alone IPv6 ready logo This is the IPv6 ready logo which is assigned by the IPv6
Ngày đăng: 24/10/2014, 14:04
Xem thêm: ipv6 enable dns server