[ntp:questions] "Trapping" in ntpd
Rob
pse at nospam.com
Thu Oct 4 17:14:32 UTC 2007
Steve,
When I first ran ntptrap, it complained that ntp.pl was missing. So I
moved it to a directory in the Perl path. Then I was able to get it too
work -- sort of. My results were in my last post.
This time I created a new dir in my home directory -- ntptrap. Then I
moved both ntp.pl and ntptrap into the ntptrap directory.
I still get the same error.. It will only listen on localhost.
I even copied ntptrap and ntp.pl to the home directory of another machine.
Same problem.
E.G. I have ntpd running on both 192.168.1.26 and 192.168.1.27.
>From the 192.168.1.26 box, i run "perl ntptrap 192.168.1.27" and ntptrap
runs but it is not listening on 192.168.1.27. It is listening on
192.168.1.26 (the localhost)!
[rob at myarch ~]$ perl ntptrap 192.168.1.27
Thu Oct 4 13:02:31 2007 Listening at address 0.0.0.0 port 32976
I admit my knowledge of PERL is limited. I use AWK, Bash, Java.
Perhaps I am doing something wrong with PERL.
Rob
More information about the questions
mailing list