xntpd

I want to now if and how I can configure 2 xntpd process at the same time.

I have TSOL 8 703 with 2 network cards one is card is locked down to high class and the other one is locked down to low class.

I want to run a xntpd client at high class and anouther xntpd server at low class.

The high class one will act as a client going to an external ntp server to get its time and then serve as a ntp server for the low class ntpd process on localhost.

The low class ntpd is going to get it's time from the high class ntpd server using localhost and then server the time out to low side mahcine.

I think I need 2 ntpd.conf file inorder to do this but the problem I am having is that If I take away the NET_PRIV_PRIVADDR privalage from xntpd I get a bind error when starting xntpd. If I give it NET_PRIV_PRIVADDR then the first proccess started take the port across all security label and thats not what I want.

If there a way to configure the ntpd.conf file to only uses one ipadress and port?

Thanks for any help. I did read the man pages but I need more help please.

[1121 byte] By [] at [2007-11-25 23:04:24]
# 1
Did you ever figure it out ?My guess is you'll have to write your own xntpd to bind to a specific IP and Port.
at 2007-7-5 17:56:02 > top of Java-index,General,Sun Alert and Security Discussion...
# 2
You can't do it. Both the NTP clients and server listen to port 123.
dananderson at 2007-7-5 17:56:02 > top of Java-index,General,Sun Alert and Security Discussion...
# 3

I think some of the most recent ntp builds allow for binding to a single address. I haven't tried that feature though. You'd have to build your own copy rather than use the one in the OS.

You'd want to make sure only one of the processes was disciplining the clock (whichever was acting as the client). I think either 'disable ntp' or 'disable pll' in the other would be necessary.

--

Darren

Darren_Dunham at 2007-7-5 17:56:02 > top of Java-index,General,Sun Alert and Security Discussion...