# Port 123 | NTP

### **Clock Skew errors**

**Update system time**

```bash
sudo ntpdate <DC-IP>
sudo ntpdate <DC FQDN>
```

**Get remote system time through Nmap and manually update local system time**

```bash
sudo nmap -sU -p 123 --script ntp-info <IP>

PORT    STATE SERVICE
123/udp open  ntp
| ntp-info: 
|_  receive time stamp: 2022-03-18T02:29:45

# Then copy paste time into date command
sudo date -s "2022-03-18T02:29:45"
```

***

Disable time sync in Virtualbox if clock skew errors are persistent

```
VBoxManage.exe setextradata "Kali" "VBoxInternal/Devices/VMMDev/0/Config/GetHostTimeDisabled" 1
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://viperone.gitbook.io/pentest-everything/everything/ports/port-123-or-ntp.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
