From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Terry Newsgroups: gmane.os.tru64.managers Subject: screend.conf - help an idiot - continued.... Date: Thu, 17 Apr 2003 08:25:36 -0700 (PDT) Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <20030417152536.65388.qmail@web80513.mail.yahoo.com> References: <3E9E45B9.8020304@ev.co.yu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1050593222 28665 80.91.224.249 (17 Apr 2003 15:27:02 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 17 Apr 2003 15:27:02 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Thu Apr 17 17:27:00 2003 Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.22.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 196BGI-0007GT-00 for ; Thu, 17 Apr 2003 17:25:18 +0200 Original-Received: (qmail 22007 invoked by uid 5); 17 Apr 2003 15:25:53 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 21998 invoked by uid 49493); 17 Apr 2003 15:25:52 -0000 Original-Received: from td3201@yahoo.com by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(-1.1/5.0):. Processed in 0.460251 secs); 17 Apr 2003 15:25:52 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 17 Apr 2003 15:25:52 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HDH007LJUV0ZS@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 17 Apr 2003 11:25:51 -0400 (EDT) Original-Received: from web80513.mail.yahoo.com (web80513.mail.yahoo.com [66.218.79.83]) by emroute1.cind.ornl.gov (PMDF V6.2 #30669) with SMTP id <0HDH00KLYUUU4J@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 17 Apr 2003 11:25:43 -0400 (EDT) Original-Received: from [192.198.55.220] by web80513.mail.yahoo.com via HTTP; Thu, 17 Apr 2003 08:25:36 -0700 (PDT) In-reply-to: <3E9E45B9.8020304@ev.co.yu> Original-To: tru64-unix-managers@ornl.gov Xref: main.gmane.org gmane.os.tru64.managers:4006 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:4006 After doing some testing and debugging I have concluded that screend is broken. :) I am trying to ping 192.168.2.8 from 10.20.1.2 and vice versa. It works with this config: default reject; for 192.168.2.0 netmask is 255.255.255.0; between any and subnet 192.168.2.0 accept; but it does not with: default reject; for 10.20.1.0 netmask is 255.255.255.0; between any and subnet 10.20.1.0 accept; Here is my ifconfig output: bash-2.04# ifconfig -a lo0: flags=100c89 inet 127.0.0.1 netmask ff000000 ipmtu 4096 sl0: flags=10 tu0: flags=c63 inet 192.168.2.70 netmask ffffff00 broadcast 192.168.2.255 ipmtu 1500 tu1: flags=c63 inet 10.20.1.1 netmask ffffff00 broadcast 10.20.1.255 ipmtu 1500 tun0: flags=80 This does not make sense....something is wrong with my 10.20.1.0 subnet declaration but I cant see it! Thanks everyone! --- Nikola Milutinovic wrote: > Terry wrote: > > First off, thank you for your help in deciding on > the > > best path. Building the kernel for screend was > easy. > > > > I am trying to write a decent screend.conf file > for my > > needs. Here is what I have: > > > > # Default action > > default reject; > > > > # Subnet declarations > > for 10.20.0.0 netmask is 255.255.255.0; > > for 192.168.0.0 netmask is 255.255.255.0; > > I never could fathom exactly what this meant. Does > it mean that any network > within 192.168.0.0/16 has the masklen of 24. I guess > so... > > > # ICMP actions > > between any and subnet 10.20.1.0 icmp type any > accept; > > between any and subnet 192.168.2.0 icmp type any > accept; > > Try "net" instead of "subnet". May sound silly and > oposed to the man pages, but > I've never had luck with "subnet". > > > # Other actions > > between subnet 192.168.2.0 and subnet 10.20.1.0 > accept; > > > > > > > > I am unable to ping from the two subnets stated > above, > > or more specifically, between these hosts: > > > > 192.168.2.8 <--> 10.20.1.2 > > > > I cannot figure out why. I turned on debugging and > it > > basically says that the packet is rejected (duh). > I > > believe my issue lies within my subnet > > declarations...any ideas? > > Try to run screend with "-d -l -s -r", that will > print out on your terminal for > each packet which rules are being applied. Maybe > that will give you a hint. > > Nix. > ===== Terry __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com