*BSD News Article 46518


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msunews!agate!boulder!news.coop.net!village.org!not-for-mail
From: imp@village.org (Warner Losh)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Idea for Talk to PPP host
Date: 8 Jul 1995 00:28:06 -0600
Organization: The Village
Lines: 34
Message-ID: <3tl8hm$9ir@rover.village.org>
References: <3te4fb$mt@news.simplex.nl> <3tkigq$dv0@agate.berkeley.edu>
NNTP-Posting-Host: rover.village.org

In article <3tkigq$dv0@agate.berkeley.edu>,
Jordan K. Hubbard <jkh@violet.berkeley.edu> wrote:
>Huh?  This is totally unnecessary.  If you log in to your ISP and get
>a dynamic IP address assigned then they should also modify their DNS
>information accordingly for the duration of the session.  That's 
>what BIND is for, after all - to decouple the name from the IP address.

Not everyone does this.

Talking to the original posters question, it would be trivial to hack
talkd to do what you want.  If you registered with it on machine
foo.com that you wanted talk requests to you at foo.com to go instead
to bar.org, then the talk protocol is robust enough to do this,
assuming the same user name on foo.com and bar.org.  The first talkd
would make a talk request to the talkd on bar.org using the original
origin information so that the talkd message would be right.  Then,
you could reply to the original talk request to the remote person,
talkd would notice that the username are the same, and then you'd go
on to negotiate a TCP connection to use for the duration of the talk
session.

Hmm, you may need a new talk request type to do the registration, and
you'd have some potential problems with mallicious people mounting a
denial of service attack, so maybe trivial isn't the right word.  SMOC
might be the right work (Small Matter Of Coding) :-).

At least that's how I recall talkd working in both SunOS 4.x (or was
it 3.x) and in ntalkd.

Warner
-- 
Warner Losh		"VMS Forever"		home: imp@village.org
Cyberspace Development, Inc			work: imp@marketplace.com
Makers of TIA, The Internet Adapter.		http://marketplace.com/