Learning Python Network Programming

(Sean Pound) #1

IP and DNS


If you look deep inside a packet, then you can see the request format of the response
from the server, as shown in the following screenshot:


NTP clients


The final topic that will be covered in this chapter is NTP. Synchronizing time
with a centralized time server is a key step in any corporate network. We would
like to compare the log files between various servers and see if the timestamp on
each server is accurate; the log events may not then co-relate. Many authentication
protocols, such as Kerberos, strictly rely on the accuracy of the time stamp reported
by the client to the servers. Here, a third-party Python ntplib library will be
introduced, and then the communication between the NTP client and the server
will be investigated.

Free download pdf