From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: RichGlazier@netscape.net (Rich Glazier) Newsgroups: gmane.os.tru64.managers Subject: SUMMARY:what causes modified redirects? Date: Wed, 12 Nov 2003 16:11:49 -0500 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <34E2A1E6.3339700F.3ED58B64@netscape.net> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1068671828 13048 80.91.224.253 (12 Nov 2003 21:17:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 12 Nov 2003 21:17:08 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Wed Nov 12 22:17:05 2003 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1AK2MK-00075N-00 for ; Wed, 12 Nov 2003 22:17:04 +0100 Original-Received: (qmail 25576 invoked by uid 5); 12 Nov 2003 21:16:56 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 25561 invoked by uid 49493); 12 Nov 2003 21:16:55 -0000 Original-Received: from richglazier@netscape.net by sws1 by uid 49491 with qmail-scanner-1.16 (iscan: v3.1/v5.600-1011/622/49252. clamscan: 20030605. spamassassin: 2.55. Clear:SA:0(-5.1/5.0):. Processed in 0.926011 secs); 12 Nov 2003 21:16:55 -0000 Original-Received: from unknown (HELO emroute3.ornl.gov) (160.91.4.110) by 0 with SMTP; 12 Nov 2003 21:16:54 -0000 Original-Received: from emroute3.ornl.gov (localhost [127.0.0.1]) by emroute3.ornl.gov (PMDF V6.2-X17 #30669) with ESMTP id <0HO900HF5CFFTY@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 12 Nov 2003 16:16:52 -0500 (EST) Original-Received: from imo-d02.mx.aol.com (imo-d02.mx.aol.com [205.188.157.34]) by emroute3.ornl.gov (PMDF V6.2-X17 #30669) with ESMTP id <0HO900HIUC82SQ@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 12 Nov 2003 16:12:03 -0500 (EST) Original-Received: from richglazier@netscape.net by imo-d02.mx.aol.com (mail_out_v36_r1.1.) id g.1b7.8851e72 (22680) for ; Wed, 12 Nov 2003 16:11:50 -0500 (EST) Original-Received: from netscape.net (mow-m10.webmail.aol.com [64.12.184.138]) by air-in04.mx.aol.com (v97.8) with ESMTP id MAILININ41-58983fb2a2152d0; Wed, 12 Nov 2003 16:11:50 -0500 Original-To: tru64-unix-managers@ornl.gov X-Mailer: Atlas Mailer 2.0 X-AOL-IP: 65.201.47.246 Xref: main.gmane.org gmane.os.tru64.managers:5805 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:5805 Thanks to Fred Van Kenpen, Jeffery Hummel, and Irene Shilikhina. Irene sent me some past post reguarding blocking ICMP redirects, which is what I ended up doing, and all is fine. Search for ICMP redirects. Here are the other posts. One outstanding issue is knowing the ttl of a route entry. Correspondece between Fred and me. ------------------------------ Rich, There was a change in one of the patch kits that sortof "added" the setting of a ttl field to those routing entries. Tom Blinn might know more about it. --fred > -----Original Message----- > From: Rich Glazier [mailto:RichGlazier@netscape.net] > Sent: Thursday, October 30, 2003 10:55 PM > To: Fred N. van Kempen > Subject: RE: what causes modified redirects? > > > Thanks for all the great input Fred. You mentioned the ttl > on route entires in version 5.1+. That is something I've > been trying to confirm. Is there a ttl for all routes in the > routes table, or is based on the type? I heard that ICMP > redirect entries "D" stay indefinitely, but that in they next > patchkit you be able to set a timeout value for ICMP > redirects. Do you know of anyway of seeing how long entries > have been in the route tabel, and when they expire? > > "Fred N. van Kempen" wrote: > > >Rich, > > > >> -In Unix, if a packet cant get to an IP via it's static or > >> learned route, will it then always try the default gateway? > >Yes. > > > >> -If the above scenario happened in our network, the default > >> gateway would send it back telling it where to go. Presumably > >> back to he dead path. Our default gateway wouldn't be able > >> to get it there. > >No, the dflt gw would pass it on as expected *and* send back an > >'icmp redirect' message to the sender saying "hey, I'll forward > >this for ya, but from now on, use gateway XXX, cos they know > >more about it." > > > >This is the GDM entry you see. > > > >> -Would the above scenario constitute a modified redirect? > >Yes. > > > >> - Is an "M" flag placed there by Unix, or is it sent from a > >> netowrk device like the original ICMP redirect that adds > the "D" flag? > >Ibelieve it gets the M flag when either ttl changes (since 5.1 now > >has ttls on these) or when the gw address changes. > > > >> -What can cause a modified redirect? i.e what network > >> devices can add the "M" to the route table. > >Anything that routes, so, routers, gateways and layer3 switches > >performing smart switching. > > > >> mars# netstat -rn | grep -E 'UGHD|default' > >> default 10.1.101.254 UGS 6 467279 > fta0 > >> 10.5.150.24 10.1.101.253 UGHDM 1 36645 > fta0 > >> 10.6.50.2 10.1.101.253 UGHDM 0 44 > fta0 > >> 10.6.50.6 10.1.101.253 UGHDM 0 525 > fta0 > >> 10.8.50.5 10.1.101.253 UGHDM 1 8318 > fta0 > >This means, that although you were sending everything to > 10.1.101.254, > >that router reported back that although it can route the requested > >packets, it suggests that you use 10.1.101.253 for that destination > >instead, as that is a shorter route. > > > >It *can* happen when routers get congested. > > > >--fred > > > >From Jeff ----------------------- Do any of the routers between you and the target have a default route that is equivalent to the new route? If so and the routing table is incomplete, the intermediate router may have sent the ICMP update to your server. Jeff __________________________________________________________________ McAfee VirusScan Online from the Netscape Network. Comprehensive protection for your entire computer. Get your free trial today! http://channels.netscape.com/ns/computing/mcafee/index.jsp?promo=393397 Get AOL Instant Messenger 5.1 free of charge. Download Now! http://aim.aol.com/aimnew/Aim/register.adp?promo=380455