home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / umich / telecomm / sticpsrc.lzh / DOC / NETCHL.ARC / NETCHL.DOC next >
Encoding:
Text File  |  1990-10-06  |  15.4 KB  |  387 lines

  1. 06601030305800
  2. F0000000
  3. 9[...................................................]001
  4. êThePE1CHLversionofNETbyKA9Q
  5. Ç
  6. byR.E.Janssen,PE1CHL.      lastupdate:27-May-1988.
  7.  
  8. ThisdocumentdescribessomechangesIhavemadetotheNET
  9. program(byKA9Q)afterportingtheprogramtotheAtariST.
  10. ThesefeaturesarenowalsoavailableinaPCversion.
  11. Currentprogramversionis871225.12.PE1CHL
  12.  
  13.  
  14. êAX.25callsignhandlingÇ
  15. The'mycall'variableandcommandhavebeenreplacedbyamore
  16. powerfulsetofcommands,thatallowmorecomplexax.25useof
  17. thepackage.ThecallsigntouseinIPandNET/ROMisnow
  18. specifiedasanextraparametertotheattachcommand.
  19.  
  20. Thischangeallowsadifferentcallsign-ssidtobeusedon
  21. differentbands,arequirementinsomecountries.Alsoitisthe
  22. basisofsomecross-banddigipeatingfeatures.Aproblemoccurs
  23. whenthesamestationcanbecontactedon2bands,andthe
  24. routingtablesineachstationindicateadifferentbandtobe
  25. used.Theotherstationincorrectlyassumesthesamecallsignis
  26. validonbothbands.ARPcanbefixedtoincludetheinterfacein
  27. thetable,andkeepingseparatecallsignsforeachIPaddress-
  28. interfacepair.Thishasnotyetbeenimplemented.
  29.  
  30. Thedigipeaterfunctionalityandcommandhavebeenenhanced.It
  31. isnowpossibletoswitchdigipeatingonandoffindependently
  32. foreachinterface,andasanextraoptionitisnowpossibleto
  33. haveadigipeatergatewaybetween2ormorebands.Tousethis
  34. feature,setadifferentcallsign-ssidoneachband(inthe
  35. attachcommand),anduse"ax25digipeat<interface>gate"
  36. commandsforeachinterfaceparticipatinginthegateway.
  37. Packetsarrivingonaninterface,andrequiringtobedigipeated
  38. bythecallofanotherinterface,willbesentoutonthe
  39. digipeatinterfacewiththedigicallreplacedbythecallofthe
  40. interfacewherethepacketarrived.(aknowntricktoimplement
  41. amulti-banddigipeatergateway).
  42.  
  43. Example:Ifthecallsignon2misPE1CHL-2,andon70itis
  44. PE1CHL-7,someoneqrvon2mcanconnectastationon70by
  45. connecting"viaPE1CHL-7".Thisresultsinatransmissionon70
  46. cmspecifyingPE1CHL-2asadigipeater.Whenthedestination
  47. stationreplies,thepacketwillbedigipeatedon2mwith
  48. digipeatercallsignPE1CHL-7.
  49.  
  50.  
  51. êMHEARDÇ
  52.  
  53. Thedetmiliar"MHEARD"commandhasbeenadded.Itisnowonly
  54. implementedforax.25,butitcouldbeusedonanynetwork.
  55. Itispossibletosetthenumberofdifferentaddressesto
  56. rememberusing"mheard<interface>number".Thedefaultis0,
  57. Çi.e.norecordingofheardstations.
  58. Usethecommand"mheard14423"tokeepthelast23heard
  59. stationsinthelist(i.e.onescreenful).
  60. Thecommand"mheard144"willthenlisttheheardstations,in
  61. thisformat:
  62.  
  63. May2521:25:34PA0GRI-1toPE1CHL-2
  64. May2521:25:20PI8CIKtoMAILviaPI8HOB>(PI8VRZ)
  65.  
  66. Inthesecondline,astationwasheardusingadigipeater.The
  67. partofthedigipeaterlistinbracketsindicatesthedigipeaters
  68. thatdidnotyetrelaythepacketwhenitwaslastheard.Soin
  69. theexample,PI8VRZwasnothearddigipeatingthepacket.
  70. The">"signindicatesthattheinputofthedigipeaterwas
  71. heard,inthiscasethetransmissionbyPI8HOBtoPI8VRZ.
  72. Ifthe2ndlinereads:
  73.  
  74. May2521:25:20PI8CIKtoMAILvia>PI8HOB>(PI8VRZ)
  75.  
  76. thismeansthatPI8CIKwasheardDIRECTandviaPI8HOB,butnot
  77. viaPI8VRZ.
  78. Themostcommonuseofthisfeatureistodetermineifastation
  79. canbehearddirectand/orviaadigipeater,asin:
  80.  
  81. May2521:38:10PI8RNI-7toPI8ESA-7via>PI8HOB
  82.  
  83. Thisindicatesthestationcanbeheardbothdirectandviathe
  84. digipeater.
  85.  
  86.  
  87. êSOURCEÇ
  88.  
  89. The"source"commandhasbeenaddedtoreadacommandsfile,like
  90. theautoexec.netfile.Thesyntaxis"source<filename>"This
  91. commandcanalsoappearwithintheautoexec.netfileitself,
  92. makingitpossibletosubdividethisfileinsomelogicalparts
  93. (e.g.setupandroutingcommands).
  94. Thisallowsyoutostructuretheautoexec.netfileintodifferent
  95. parts,likeattachofinterfaces,parametersetting,routing
  96. commandsetc.Now,itispossibletosharesomeofthesefiles
  97. betweendifferentsetupstobeusedbyNET.
  98.  
  99.  
  100. êROUTEÇ
  101.  
  102. The"route"commandhastbeenextended:whenyouenter
  103. "routeadd<host>via<ipgate>",theexistingrouteto<ipgate>
  104. isstoredintheroutingtable.Thismeansthatifyouchange
  105. therouteto<ipgate>inyourautoexecfile,alltheroutesthat
  106. areviathisgatewaywillautomaticallybeupdatedwhenyoustart
  107. NET.(especiallyhandywhenyouchangetheinterfaceatwhicha
  108. gatewaycanbereached,andstillmoreimportantwhenyouwantto
  109. rundifferentconfigurationsofyoulocalmachine(s)usinga
  110. cleverlybuiltautoexec.netusingthe"source"commandtoread
  111. Çroutingtablesfromseparatefiles.)
  112.  
  113. Example:
  114.  
  115. routeaddpa0gri144
  116.      routeaddbbs.pa0griviapa0gri
  117.  
  118. Someveryminorchangesinthedoaddanddodroproutingfunctions
  119. nowmakeitpossibletousesymbolicnamesinroutecommands,
  120. evenwhenspecifyingthenumberofbits:
  121.  
  122. Example:
  123.  
  124. routeaddBelgium/16viapa0gri
  125.  
  126.  
  127. êTRACEÇ
  128.  
  129. Tracingcannowberoutedtoafile.Use"traceto<pathname>"to
  130. enabletracingtoafile,"tracetocon"toswitchbackto
  131. consoletracing.Alwaysuseanabsolutepathnameforthefile
  132. (e.g.:tracetoc:\net\tracefile),asitissometimesclosedand
  133. re-openedusingthespecifiedname.Thiscouldfailifyou
  134. changetheworkingdirectory.
  135. Thedateandtime-of-dayhasbeenaddedtothefirstlineofeach
  136. traceoutput,whichisusefulwhenwritingtoafile.
  137.  
  138.  
  139. êFLOWÇ
  140.  
  141. The"flow"commandhasbeenimplemented,andworkslikeinthe
  142. TNCcode.Incominginputisnotprintedwhentheuseristyping
  143. inputonaninteractiveconnection,greatlyenhancingthe
  144. readabilityofkeyboard-to-keyboardcommunications.Theinput
  145. willbeprintedwhenaRETURNistyped,orwheneveryoubackspace
  146. tothebeginningoftheline."flowon"enablesthisfeature.
  147.  
  148.  
  149. êInputLineEditingÇ
  150.  
  151. Inputlineeditinghasbeenenhanced,andahistoryofcommand
  152. lines(ofmorethan1character)iskept.Thearrowkeyscanbe
  153. usedtomovethroughthishistory,andtoeditinputlines.An
  154. "insert"modeisrecognized(insertkey).
  155. Keyfunctionsare:
  156.  
  157. leftarrownondestructivebackspacethroughthecurrent
  158. line.allowscorrectionsinyourinput.
  159.  
  160. rightarrowtomovetowardstheendoftheline.whenit
  161. isusedattheendoftheinput,characters
  162. fromthepreviousinputlinewillbe
  163. inserted.
  164.  
  165. Ç     uparrowgetthepreviouslineintheinputline
  166. historyandshowit.putcursoratendof
  167. thisinputline.
  168.  
  169. downarrowgetnextlinefrominputlinehistory.
  170.  
  171. deletewhenthecursorisoveracharacterinthe
  172. currentinputline,deletesthatcharacter.
  173.  
  174. inserttogglesbetweenovertypeandinsertmode.in
  175. insertmode,anythingtypedwhenthecursor
  176. isnotattheendoftheinputlinewillbe
  177. insertedatthecursorposition.
  178.  
  179. ^H,backspdeletethecharacterleftfromthecursor
  180. position.
  181.  
  182.      ^Rredisplaystheinputlineandputsthecursor
  183. attheend.
  184.  
  185. ^U,^Xcancelsthecurrentinputline.
  186.  
  187. RETURNacceptsthecurrentinputline.notethatthe
  188. cursormaybeanywhereintheline,the
  189. completelinewillalwaysbeaccepted.
  190.  
  191.  
  192. êAX.25portsÇ
  193.  
  194. The"ax25port"commandhasbeenaddedtoallowax.25serversto
  195. runintheNETprogram,justlikeTCPservers.Itispossibleto
  196. defineacallsign(andoptionallyaninterface)thatcanbe
  197. connectedto,andaportnumberofacorrespondingax.25server.
  198. Thetype"digi"canbespecified,inthiscasetheprogramwill
  199. opena"fake"connectionwhenthecallsignappearsinthe
  200. digipeaterfieldofanincomingpacket.Thisallowsinteresting
  201. uses,likeimplementingnet/rom-likedigipeatersthatoperate
  202. transparentlyasfarastheend-userisconcerned,andthatare
  203. probablymoreacceptabletosomePTTadministrations.
  204. Thesyntaxoftheax25portcommandis:
  205.  
  206. ax25port<number>conn<call>[<interface>[multi]]
  207. or:ax25port<number>digi<call>[<interface>[gate]]
  208.  
  209. "multi"specifiesthattheportcanbeconnectedfromallAX.25
  210. interfaces.Thisisalsotruewhentheinterfaceisomitted.
  211. "gate"specifiesthatadigiportmaybeconnectedfrom,andcan
  212. itselfconnecttootherAX.25interfaces.
  213.  
  214. Interactive(TNC-like)connectionsnowalsocanusethisserver
  215. concept.Thisallowsimmediateprintingof"IncomingAX.25
  216. session"uponconnection,asthesystemdoesnothavetowaitfor
  217. aninformationframecontainingaTextPID.
  218.  
  219. ÇThe"ax25start/stop"commandscanbeusedtostartandstop
  220. ax.25servers.
  221.  
  222. Currently,thefollowingportnumbershavebeendefinedforAX.25
  223. serversthathavebeenwritten:
  224.  
  225. 1TNCserver.AllowsinteractiveTNC-likeconnections
  226.      2    NetDigiserver.Adigipeaterusing2separate
  227. connectionsandindependenterrorrecovery.
  228. 3MHEARDserver.Allowsotherstationstoreadyour
  229. MHEARDlist.
  230. 4Conferencebridgeserver.Allowsmulti-stationround-
  231. tableQSO's.
  232.  
  233. TheTNCserveremulatesanold-fashionedTNC.Stationscan
  234. connecttoit,andwillreceiveaconnecttextimmediately(when
  235. defined).Also,theserverwillalerttheoperatorwitha
  236. message.("IncomingAX.25session#from<call>").
  237. Theconnecttextisgivenasaparametertotheax25start
  238. command:
  239.  
  240. ax25starttnc"HelloOM!NameisROB,QTHisUTRECHT"
  241.  
  242. Whenyouissuea"connect"commandtoconnecttoanotherstation,
  243. theprogramwillusethecallsignofaTNCport(connportwith
  244. number1)ifitisavailable.Ifnot,itwillusethecallsign
  245. assignedtotheinterfacewiththeattachcommand.
  246. Theadvantageis,thatthecallsignyouuseforoutgoingconnects
  247. isthesameasthecallsignotheruserscanconnectto.
  248.  
  249.  
  250. The"NetDigi"server(port#2)implementsacleverdigipeater
  251. thatuses2fakeconnectionsfor1standardax.25connection
  252. (onlypid=Textallowed).
  253.  
  254. Example:
  255.  
  256. ax25port2digiPE1CHL-3144gate
  257.      ax25port2digiPE1CHL-4430gate
  258.      ax25startnetdigi
  259.  
  260. Itispossibletoconnect"via"PE1CHL-3orPE1CHL-4,using
  261. the"NetDigi"feature(thatusesax25port2).Thiswillaccess
  262. thecleverdigipeater,thatusesseparateconnectionsforboth
  263. links,eachwithseparateretriesandacknowledges.
  264. This"netdigi"willalsofunctionasagatewaybetweenbands,but
  265. itcanonlyserveax.25(pid=Text)users.
  266.  
  267.  
  268. TheMHEARDserver(port#3)returnstheMHEARDlistofan
  269. interface.Becausethisserverneedstoknowwhichlistithasto
  270. send,youshouldincludean<interface>specificationintheax25
  271. portcommand.Specify"multi"ifyouwanttheMHEARDlisttobe
  272. availableonotherinterfacesaswell.
  273. Ç
  274.  
  275. Anotherax25serverhasbeenimplemented:theconferencebridge.
  276. Itusesax25portnumber4(connectmode),andcanbestarted
  277. withthecommand"ax25startbridge".
  278. Itsupportstheconnectionofanumberofstations,andwillpass
  279. inputfromanyoftheconnectedstationstoallothersconnected
  280. tothebridge.Youcancreateseveralindependentbridgesby
  281. creatingmorethanoneax25portwithnumber4,e.g."ax25port4
  282. pe1chl-5"and"ax25port4pe1chl-6"willcreate2independent
  283. bridgesunderthe-5and-6calls.
  284. Thebridgesupportssomecommandsthattheconnecteduserscan
  285. enterbytyping//commandatthebeginningofaninputline.
  286. Commandsare:
  287.  
  288. //connectcall[interface]:Willcausethebridgetoattempt
  289. connectionofthespecifiedstation,viathespecified
  290. interface.
  291.  
  292. //disconnect[call]:Willdisconnectthespecifiedstation,
  293. oryourselfifthecallisomitted.
  294.  
  295.      //interface:Willprintalistofavailableinterfaces.
  296.  
  297. //mheard[interface]:WillsendtheMHEARDlistofthe
  298. specifiedinterface,orbydefaulttheinterfaceat
  299. whichyouareconnected.
  300.  
  301. //users:Willprintalistofusersconnectedtothebridge.
  302.  
  303.      ///anytext:Willpass//anytexttotheotherusers.
  304.  
  305.  
  306. Ofcourse,ithelpsiftheinterfacenamesaremnemonictothe
  307. usersconnectingfromoutside,e.g."144"and"430",or"2m"and
  308. "70cm".I'vefoundthismoreconvenientthanthesuggested"ax0"
  309. etc,alsoformyownuse.
  310.  
  311.  
  312. êMoreAX.25featuresÇ
  313.  
  314. AX25loopbackhasbeenaddedtothecode,usingaseparate
  315. axloopqstructureanalogoustotheloopqusedforIPdatagrams.
  316. Thisallowsyoutoconnecttooneofyourlocalax.25portsusing
  317. aninteractiveax.25session.Usefulfordebuggingax.25
  318. servers,andalsotobeabletoconnecttoyourownconference
  319. bridge.
  320.  
  321. AX.25eventsarenowloggedintheNETlogfile,ifloggingis
  322. enabled.
  323.  
  324. AnAX.25timerT4hasbeenadded.Thistimerisstartedwhenever
  325. apacketarrivesoratransmittedpacketisacknowledged.When
  326. thetimertimesout,thelinkisdisconnected.Thisfeatureis
  327. ÇusedtodisconnectAX.25connectionssetupbyNET/ROMorbyIP
  328. virtualcircuitmode.Thetimerisautomaticallydisabledfor
  329. interactivesessions.
  330.  
  331. êNETROMÇ
  332.  
  333. SupportforNET/ROMlevel3hasbeenaddedtothepackage.Iam
  334. workingonlevel4and7.Now,itispossibletorouteIP
  335. packetsovertheNET/ROMnet,andtoserveasaNET/ROMnode
  336. capableofroutingpacketsflowingbetweenother"real"NET/ROM
  337. nodes.TheconnectiontoNET/ROMbyAX.25stations,andsupport
  338. forconnectionstootherNET/ROMsisNOTYETFINISHED.
  339.  
  340. [alotofstuffstilltobedocumented]
  341.  
  342.  
  343. êEXITÇ
  344.  
  345. TheexitcommandnowchecksifTCPand/orAX.25sessionsare
  346. stillopen.Ifso,itgivesawarningmessage,andtheexitis
  347. notperformed.Youcanuse"exit!"toforceanexitinthis
  348. case.TheopenconnectionswillbeRESET,whichmeansthatopen
  349. fileswillbeclosedandSMTPlockfilesremoved.
  350.  
  351.  
  352. êFTPUSERSfileÇ
  353.  
  354. Itisnowpossibletospecifymorethanonedirectory/permission
  355. pairforeachuserintheFTPUSERSfile.Thisallowsbetter
  356. definitionofthepermissionsforeachuser.
  357. Thepermissionsaresearchedleft-to-rightforamatchofthe
  358. directoryfield,andthecorrespondingpermissionsfieldisused
  359. whenamatchisfound.So,ifyouwanttospecifyadifferent
  360. permissionforasubdirectory,thatsubdirectoryshouldbeplaced
  361. beforethedirectoryinwhichitappears.
  362. The"workingdirectory"foralogged-inuserwillbetheLAST
  363. directorynamedonthelineinFTPUSERS.
  364.  
  365. Allentriesinthefileshouldbeseparatedbyexactlyonespace.
  366. OntheAtariSTandMS/DOS,itisnowalsopossibletoincludea
  367. drivespecifieraspartofthedirectoryname.
  368.  
  369. Example:
  370.  
  371. guest * \net\files 3\net\ftpusers0\net1
  372. rob myself!a:\ 7 b:\ 7 \ 7
  373. user1 * g:\ 7 b:\ 3
  374.  
  375. Inthisexample,guestcancreatefilesin\net\files,andread
  376. everythingin\netexcept\net\ftpusers.Thisisbecausethe
  377. matchfor\net\ftpuserswillreturnpermission0,while
  378. \net\otherwillreturnpermission1.
  379.  
  380.  
  381. Ç
  382.  
  383.  
  384. 73,deROBPE1CHL.
  385.  
  386.