Networking Forums

Networking Forums > Computer Networking > Linux Networking > any DAYTIME server

Reply
Thread Tools Display Modes

any DAYTIME server

 
 
aamircheema@gmail.com
Guest
Posts: n/a

 
      08-02-2006, 03:53 PM
Hi,

Does anybody aware of any DAYTIME server running now a days. Is 13 the
port number used for most of the DAYTIME servers? THANKS
Aamir

 
Reply With Quote
 
 
 
 
Ken Roberts
Guest
Posts: n/a

 
      08-02-2006, 04:02 PM

(E-Mail Removed) wrote:
> Hi,
>
> Does anybody aware of any DAYTIME server running now a days. Is 13 the
> port number used for most of the DAYTIME servers? THANKS
> Aamir


I don't know of an implemented one, but any networking book will use
daytime as a get-your-feet-wet example. It's about 2 lines of code
wrapped in xinetd or similar.

I suggest, if your goal is clock synchronization, that you use ntpd
instead.

 
Reply With Quote
 
Uwe Bonnes
Guest
Posts: n/a

 
      08-02-2006, 08:40 PM
(E-Mail Removed) wrote:
> Hi,


> Does anybody aware of any DAYTIME server running now a days. Is 13 the
> port number used for most of the DAYTIME servers? THANKS
> Aamir


Did you try

> grep daytime /etc/services

daytime 13/tcp # Daytime (RFC 867)
daytime 13/udp # Daytime (RFC 867)


--
Uwe Bonnes (E-Mail Removed)

Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
 
Reply With Quote
 
Moe Trin
Guest
Posts: n/a

 
      08-04-2006, 12:28 AM
On 2 Aug 2006, in the Usenet newsgroup comp.os.linux.networking, in article
<(E-Mail Removed) .com>, (E-Mail Removed)
wrote:

>Does anybody aware of any DAYTIME server running now a days.


>NNTP-Posting-Host: 129.94.6.28


[compton ~]$ zgrep ' 129.94' IP.ADDR/stats/[ALR]*
IP.ADDR/stats/APNIC.gz:AU 129.94.0.0 255.255.0.0 allocated
[compton ~]$

Oz? No, not off the top of the head. time_a.timefreq.bldrdoc.gov in
Boulder, Colorado, USA _usually_ has a server running, but that's half
the way around the world from you, so accuracy is going to suck. But
then, you probably have one on your Linux box - it's built into the
network stack (an old inetd.conf file

#daytime stream tcp nowait root internal
#daytime dgram udp wait root internal

>Is 13 the port number used for most of the DAYTIME servers? THANKS


0867 Daytime Protocol. J. Postel. May 1983. (Format: TXT=2289 bytes)
(Also STD0025) (Status: STANDARD)

0868 Time Protocol. J. Postel, K. Harrenstien. May 1983. (Format:
TXT=3024 bytes) (Also STD0026) (Status: STANDARD)

1305 Network Time Protocol (Version 3) Specification, Implementation
and Analysis. D. Mills. March 1992. (Format: TXT=307085, PDF=442493
bytes) (Obsoletes RFC0958, RFC1059, RFC1119) (Status: DRAFT STANDARD)

4330 Simple Network Time Protocol (SNTP) Version 4 for IPv4, IPv6 and
OSI. D. Mills. January 2006. (Format: TXT=67930 bytes) (Obsoletes
RFC2030, RFC1769) (Status: INFORMATIONAL)

Pay your money - take your pick. "daytime' is port 13. 'time' is port 37.
NTP and SNTP is port 123. Actually, 'daytime' servers are not all that
common, as most everyone is using NTP.

Old guy
 
Reply With Quote
 
Ken Roberts
Guest
Posts: n/a

 
      08-04-2006, 02:54 AM
Not trying to beat a dead horse, but I guess I will anyway.

Daytime service returns a human-readable date. As far as time
synchronization goes, it is right next to worthless. Most of the
people who write one as their first network server use the output of
the "date" command and push it back out of the port.

I don't recall your ever saying exactly why you want daytime, if it
matters. If you're trying to experiment with socket programming it's
useful, but if you want to make your computer clock right then pretty
much every other network time scheme is better.

 
Reply With Quote
 
Chris Davies
Guest
Posts: n/a

 
      08-04-2006, 01:53 PM
Ken Roberts <(E-Mail Removed)> wrote:
> I suggest, if your goal is clock synchronization, that you use ntpd
> instead.


Particularly as RFC 827 states that, "There is no specific syntax for
the daytime".

ntp is very easy to set up (or ntpdate if you're not permanently
connected). Use 0.XX.pool.ntp.org, 1.XX.pool.ntp.org, and
2.XX.pool.ntp.org for your servers, where XX is your country's ISO code,
and you'll be a happy bunny ever after.

Chris
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Confused about a basic TCP daytime server program Ryan Linux Networking 20 12-09-2010 09:49 AM
Minuteman's Production server. your provider's email server sends a message back to the Production server. Don Saklad Linux Networking 0 05-19-2007 07:17 AM
Longhorn Server 6001 with NAP: DHCP Server can't reach IAS Server Shrek Windows Networking 3 04-02-2007 06:21 PM
Small Business Server 2003 Premium DHCP server problems =?Utf-8?B?ZHBjaHJpc3RAaG9sZ2VyZGFuc2tlLmNvbQ==?= Windows Networking 4 06-10-2004 09:51 AM
Linksys WPC11 Instant Wirless Configuration Utility version 1.5 sends data over TCP Port 13 - [ Daytime ] Stimpson J. Cat Wireless Internet 3 08-21-2003 06:49 PM



1 2 3 4 5 6 7 8 9 10 11