tb@Materna.DE (Torsten Beyer) (03/06/91)
Hi Everybody, Recently I stumbled across RFC 1078. I have never seen this implemented, but maybe I'd like to use it. Before I start doing it myself, has anybody else already done it or is awar of an implementation ? ciao -Torsten -- Torsten Beyer e-mail : tb@Materna.DE Dr. Materna GmbH VOX : +49 231 5599 225 Vosskuhle 37 FAX : +49 231 5599 100 D-4600 Dortmund 1, West Germany
rpw3@rigden.wpd.sgi.com (Rob Warnock) (03/10/91)
In article <tb.668246280@elwood> tb@Materna.DE (Torsten Beyer) writes: +--------------- | Recently I stumbled across RFC 1078. I have never seen this implemented, but | maybe I'd like to use it. Before I start doing it myself, has anybody else | already done it or is awar of an implementation ? +--------------- SGI's "Irix" comes with TCPMUX support built into "inetd". I don't know who else supports it (it doesn't seem to be in BSD 4.3-Reno). From internal comments it would appear that SGI's version is: * Based on TCPMUX.C by Mark K. Lottor November 1988 * sri-nic::ps:<mkl>tcpmux.c so you might look there if you want to implemente it yourself. (I just looked, and the file's still there.) Lottor's "tcpmux.c" runs as a separate intermediate server program, forked from "inetd" whenever anyone connects to port 1, which is how you'll have to do it if you don't have sources to your "inetd". SGI just happened to choose to embed it in "inetd", which saves a separate process and a separate configuration file. SGI's "inetd.conf" syntax was extended to allow TCPMUX services to be specified, as in these examples: tcpmux/+date stream tcp nowait guest /bin/date date tcpmux/mydate stream tcp nowait guest /usr/tmp/mydate /usr/tmp/mydate As with Lottor's "tcpmux.c", in the first case the prefixed "+" means that an RFC 1078 "positive acknowledgment" will be given by "inetd" before running "date"; in the second case the "mydate" program will be responsibile for the positive or negative acknowledgment. -Rob ----- Rob Warnock, MS-1L/515 rpw3@sgi.com rpw3@pei.com Silicon Graphics, Inc. (415)335-1673 Protocol Engines, Inc. 2011 N. Shoreline Blvd. Mountain View, CA 94039-7311