Red Hat Bugzilla – Bug 59315
UDP Time Protocol server quits after first request.
Last modified: 2007-04-18 12:39:46 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2.1) Gecko/20010901
Description of problem:
If a program following RFC 868 connects to the time server via udp
(port 37), the server responds correctly after the first request.
After that, the server no longer responds to requests.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
I have attached a sample C program that demonstrates the problem.
[dvos12@qwerty 9.1]$ gcc -o t time.c
[dvos12@qwerty 9.1]$ ./t localhost
Actual Results: UDP timeout. Trying TCP.
Mon Feb 4 22:43:31 2002
Expected Results: Mon Feb 4 22:43:31 2002
This is my /etc/xinetd.d/time-udp
type = INTERNAL UNLISTED
id = time-dgram
socket_type = dgram
protocol = udp
user = root
wait = yes
disable = no
port = 37
Created attachment 44477 [details]
Code file demonstrating problem.
*** This bug has been marked as a duplicate of 56487 ***