Bug 190883 - rdate does not work with udp packets
Summary: rdate does not work with udp packets
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: rdate
Version: 5
Hardware: i386
OS: Linux
medium
low
Target Milestone: ---
Assignee: Jiri Moskovcak
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-05-05 21:49 UTC by István Tóth
Modified: 2015-02-01 22:47 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2007-07-10 16:58:49 UTC
Type: ---
Embargoed:
wtogami: fedora-cvs+


Attachments (Terms of Use)

Description István Tóth 2006-05-05 21:49:20 UTC
Description of problem:

If I try to use an rfc868 time server in udp mode ( in this case the the time
server is the one bundled in xinetd in fc5, running on the same host),
rdate exits with error. Rdate works fine in tcp mode.


Version-Release number of selected component (if applicable):
rdate-1.4-4.2.1

How reproducible:


Steps to Reproduce:
1. enable time-udp, stop iptables
2. rdate -u localhost
3.
  
Actual results:
rdate displays:
rdate: error in read: Invalid argument

Expected results:
rdate displays time


Additional info:

The problem is probably in the client, and not the server, because other devices
can successfully use the udp time service, and an ethereal dump shows a valid
packet sent back to client.

The same test works on a Centos4 server perfectly.

Comment 1 Jiri Moskovcak 2007-07-09 13:07:48 UTC
Package Change Request
======================
Package Name: rdate
Updated Fedora Owners: jmoskovc

Comment 2 István Tóth 2007-07-10 07:58:04 UTC
I've retested with Fedora 7 x86_64, and the bug is fixed there.

I do not have access to an F7 i386 machine to test, unfortunately.


Comment 3 Jiri Moskovcak 2007-07-10 16:58:49 UTC
Fixed in rawhide.


Note You need to log in before you can comment on or make changes to this bug.