All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chuck Gelm <nc8q@gelm.net>
To: Ray Olszewski <ray@comarre.com>
Cc: linux-newbie@vger.kernel.org
Subject: Re: ntp - how?
Date: Fri, 02 Aug 2002 18:25:52 -0400	[thread overview]
Message-ID: <3D4B06F0.7584C800@gelm.net> (raw)
In-Reply-To: 5.1.0.14.1.20020802141853.021cf110@celine

Hi, Ray:
Thanks.
Yup, I think the problem is the firewall rule set.
I copied the ntp.conf file to the two masqueraded
hosts and they appear to be working. 
 
 Yes, there were many many DENY's from w.x.y.z:123 !

dmesg|grep ":123"

 So, I'll make an internal LAN host the
default ntpd host and let the firewall and the
'other' linux box run ntp off of it.

 So, now I'm off to figure out how to make
an alias:
fileserver.home -> ntp.home

ipchains -nvL:

Chain input (policy ACCEPT: 95385 packets, 49586886 bytes):
 pkts bytes target prot opt    tosa tosx  ifname mark outsize source    
destination  ports
 1314 99946 DENY   udp  ----l- 0xFF 0x00  ppp+                0.0.0.0/0 
0.0.0.0/0    * ->   0:1023
   47  2364 DENY   tcp  ----l- 0xFF 0x00  ppp+                0.0.0.0/0 
0.0.0.0/0    * ->   0:1023
  414 21108 DENY   tcp  -y--l- 0xFF 0x00  ppp+                0.0.0.0/0 
0.0.0.0/0    * ->   *
    0     0 DENY   icmp ----l- 0xFF 0x00  ppp+                0.0.0.0/0 
0.0.0.0/0    8 ->   *
Chain forward (policy DENY: 0 packets, 0 bytes):
 pkts bytes target prot opt    tosa tosx  ifname mark outsize source    
destination  ports
36585 2940K MASQ   all  ------ 0xFF 0x00  *                   0.0.0.0/0 
0.0.0.0/0    n/a
Chain output (policy ACCEPT: 96415 packets, 48504643 bytes):

;-)

Many thanks.

Chuck

Ray Olszewski wrote:
> 
> At 04:28 PM 8/2/02 -0400, Chuck Gelm wrote:
> >Hi, Ray:
> >Thanks.
> >
> >Ooopps, I reported earlier that the kernel was 2.4.18.
> >
> >It is kernel 2.2.19 from Slackware8.0 on a very old Compaq
> >80486dx33, 32 Megabytes of RAM, 40 Gigabyte hd,
> >internet access is via aDSL modem, eth1 & eth2 are 3c509s.
> >pppoe is Roaring Penguin v3.5 with firewall option #2,
> >Masquerade.
> 
> I'm not sure when "earlier" was, but it seems like a good excuse to mention
> that I, and I think many of the others here who try to answer questions,
> see an awful lot of questions (in my case, on this and about a half dozen
> other lists). I don't do well at recalling from prior threads what a
> particular user's setup is. So, at least for me, it's useful to include
> this sort of summary of the basics whenever you ask a new question. (And on
> that score, this was a great summary -- concise and decently complete as
> regards the problem at hand.)
> 
> As to your actual problem ...
> [...]
> > >          3. your system is behind a firewall that interferes with access
> > > to the ntp port
> >
> >  The system is the 'firewall'.  Doh! Do I need to allow a port
> >  less than 1024?  I am running the default rule set of ipchains
> >  that RoaringPenguin sets, 'ipchains -L':
<snip>
> 
> It is better to list your rulesets with "ipchains -nvL", since that format
> includes information that the simple -L version omits (like interface
> designations). Due to the omissions, I can't say for sure if this ruleset
> is interfering with NTP connections or not.

ipchains -nvL:

Chain input (policy ACCEPT: 95385 packets, 49586886 bytes):
 pkts bytes target prot opt    tosa tosx  ifname mark outsize source    
destination  ports
 1314 99946 DENY   udp  ----l- 0xFF 0x00  ppp+                0.0.0.0/0 
0.0.0.0/0    * ->   0:1023
   47  2364 DENY   tcp  ----l- 0xFF 0x00  ppp+                0.0.0.0/0 
0.0.0.0/0    * ->   0:1023
  414 21108 DENY   tcp  -y--l- 0xFF 0x00  ppp+                0.0.0.0/0 
0.0.0.0/0    * ->   *
    0     0 DENY   icmp ----l- 0xFF 0x00  ppp+                0.0.0.0/0 
0.0.0.0/0    8 ->   *
Chain forward (policy DENY: 0 packets, 0 bytes):
 pkts bytes target prot opt    tosa tosx  ifname mark outsize source    
destination  ports
36585 2940K MASQ   all  ------ 0xFF 0x00  *                   0.0.0.0/0 
0.0.0.0/0    n/a
Chain output (policy ACCEPT: 96415 packets, 48504643 bytes):
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

  reply	other threads:[~2002-08-02 22:25 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-18 15:24 Question about "find -exec" Oliver Ob
2002-07-19  5:52 ` James Mohr
2002-07-24  7:07   ` Mike Castle
2002-07-24 16:07     ` James Mohr
2002-07-24 21:24       ` Partitioning problem Anshuman Rawat
2002-07-25  6:22         ` pa3gcu
2002-07-25 21:20           ` LI -lilo booting problem Chuck Gelm
2002-07-26  1:38             ` No Boot Problem Frank Roberts - SOTL
2002-07-26  3:53               ` Ray Olszewski
2002-07-26 12:44                 ` Frank Roberts - SOTL
2002-07-26 16:57                   ` Ray Olszewski
2002-07-27  1:23                     ` Frank Roberts - SOTL
2002-07-26 20:28               ` Chuck Gelm
2002-07-26  6:10             ` LI -lilo booting problem pa3gcu
2002-07-26 21:19               ` Chuck Gelm
2002-07-27  8:08                 ` pa3gcu
2002-07-26 21:21               ` Chuck Gelm
2002-07-26 23:57                 ` Ray Olszewski
     [not found]                   ` <3D444FC2.354744E5@gelm.net>
2002-07-28 21:15                     ` Ray Olszewski
2002-07-29  1:21                       ` Chuck Gelm
2002-07-29 21:01                         ` Chuck Gelm
2002-07-29 23:11                           ` Frank Roberts - SOTL
2002-08-02 10:07                           ` ntp - how? Chuck Gelm
2002-08-02 15:31                             ` pa3gcu
2002-08-02 16:36                             ` Ray Olszewski
2002-08-02 20:28                               ` Chuck Gelm
2002-08-02 21:42                                 ` Ray Olszewski
2002-08-02 22:25                                   ` Chuck Gelm [this message]
2002-07-26  6:28             ` LI -lilo booting problem Ray Olszewski
2002-07-26 17:04             ` ichi
2002-07-26  8:26               ` Ramzez
2002-07-19  9:16 ` Question about "find -exec" szonyi calin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3D4B06F0.7584C800@gelm.net \
    --to=nc8q@gelm.net \
    --cc=linux-newbie@vger.kernel.org \
    --cc=ray@comarre.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.