Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Sep 1998 23:00:41 -0500 (CDT)
From:      User Measl <measl@smaug.mfn.org>
To:        FreeBSD-Questions@FreeBSD.ORG
Subject:   ntpdate TCP or UDP
Message-ID:  <199809060400.XAA17991@smaug.mfn.org>

next in thread | raw e-mail | index | archive | help
Greetings.
	I noticed that sometimes ntpdate will get past
our ipfw rules, and sometimes it won't.  The rules are ok,
but heres what happens.  If I use:

	ntpdate -b ncar.ucar.edu

It always works.  If I type:

	ntpdate -b -d ncar.ucar.edu

it *never* works.

Typing ntpdate -b -d -t 5 ncar.ucar.edu will work *sometimes*  8=}}

The firewall allows udp out for ntp, on port 123.  TCP is blocked.
I am assuming (yes, dangerous, which is why the question here) that
the -b switch alone forces a UDP inquiry, whereas the -b -d switches
force TCP.

Am I nuts?  Or is this accurate?  If this is right, what is the
reasoning behind it?

Yours,
John Blau
jb214@mfn.org

P.S. I'm not on the list, so please answer directly.  Thanks.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809060400.XAA17991>