This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
On Wed, 20 Jan 1999, Unidata Support wrote: > >To: address@hidden > >From: address@hidden (Jim Hines (awdnsun) 472-6708) > >Subject: allow/accept > >Organization: . > >Keywords: 199901201349.GAA15327 > > ---------- > X-Sun-Data-Type: text > X-Sun-Data-Description: text > X-Sun-Data-Name: text > X-Sun-Charset: us-ascii > X-Sun-Content-Lines: 23 > > > Robb > > Thanks for the help, I started receiving > data last night. (Clint must have restarted > his LDM). > I have a question about allow/accept in the > ldmd.conf file. I set them up a number of > years ago, and now do not understand why > I am using ALLOW to chinook.unl.edu and > ic1q01.cod.edu, by the comments in the > file I should be using ACCEPT. Why is it > working? (I am attaching the current ldmd.conf) > Jim, The ACCEPT command was deprecated in ldm4, not needed in ldm5. The REQUEST is the only command needed, except if one is receiving WSI data, then leave in the ACCEPT. That's because WSI is using ldm4 protocols. To avoid confusion/conflict, comment out all ACCEPTs except the WSI ones. The reason to have ALLOWs for your feeder is so they can check if your site is receiving data. The feeder sites have ALLOW to your site so you can REQUEST data. Also, leave the ALLOW in for unidata, this help us in debugging problems accross the network, where to find the data outages. Hope this helps, Robb... > Thanks again > Jim > > > ------------------------------------------------------------------ > Jim Hines address@hidden > Computer Analyst Phone 402-472-6708 > SNRS Fax 402-472-8763 > Univ of Nebraska-Lincoln > ---------- > X-Sun-Data-Type: default > X-Sun-Data-Description: default > X-Sun-Data-Name: ldmd.conf > X-Sun-Charset: us-ascii > X-Sun-Content-Lines: 71 > > ##### > # $Id: ldmd.conf,v 1.7 1995/11/08 15:39:54 mitch Exp $ > # Sample ldmd.conf for ldm5 > #### > > # > # Programs that share a queue with rpc.ldmd > # are started by it and are in the same process group. > # > > exec "pqexpire" > exec "pqbinstats" > exec "pqact" > #exec "pqsurf" > #exec "pqact -d $ldmhome $pqact_conf_path" > > # > # LDM5 servers we ask for data > # > # request <feedset> <pattern> <hostname pattern> > # > > request UNIDATA ".*" chinook.unl.edu > #request UNIDATA ".*" ic1q01.cod.edu > > # > # LDM4 servers we ask for data > # > > #exec "feedhere -f UNIDATA -i 180 -h foo.bar.edu." > > > ############################################################################### > # Begin Access control > ############################################################################### > > ############################################################################### > # ALLOW: Who we are willing to feed > # > # allow <feedset> <hostname pattern> > ############################################################################### > > # send anything to your own machine > allow ANY > > ^((localhost|loopback)|(127\.0\.0\.1\.?$)|([a-z].*\.unidata\.ucar\.edu\.?$)) > > ############################################################################### > # ACCEPT: Who can feed us > # > # accept <feedset> <pattern> <hostname pattern> > ############################################################################### > > > # accept anything from yourself > accept ANY > .* > ^((localhost|loopback)|(127\.0\.0\.1\.?$)) > > # accept from your upstream site > #accept UNIDATA > # .* > # ^foo\.bar\.edu$ > ALLOW ANY hpccsun.unl.edu > ALLOW UNIDATA chinook.unl.edu > #ACCEPT UNIDATA chinook.unl.edu > ALLOW UNIDATA ic1q01.cod.edu > #ACCEPT UNIDATA ic1q01.cod.edu > ALLOW ANY ^[a-z].*\.unidata\.ucar\.edu$ > ############################################################################### > # End Access control > ############################################################################### > =============================================================================== Robb Kambic Unidata Program Center Software Engineer III Univ. Corp for Atmospheric Research address@hidden WWW: http://www.unidata.ucar.edu/ ===============================================================================