View previous topic :: View next topic |
Author |
Message |
Slippery Jim Apprentice
Joined: 08 Jan 2005 Posts: 264
|
Posted: Thu Nov 03, 2022 3:32 pm Post subject: netkit-talk on localhost without "@localhost" |
|
|
Been playing with some classic unix tools lately, and noticed something interesting with netkit-talk.
I've got it set up to only accept from localhost in xinetd.conf. Just testing for now.
I have flags = IPv4 in my xinetd.d/talk config. Wouldn't work with this commented out.
I seem to recall (and the man page states) that once upon a time I could say "talk alice" instead of "talk alice@localhost", to talk with other users on localhost, However, I currently have to say "talk alice@localhost", for it to work. If I say "talk alice", I get:
Code: |
talk: Two-Spear: No address associated with name
|
Notice that it's using the machine's hostname (Two-Spear), instead of "localhost". This makes me think that talk is preferring the network interface to the internal one in its search order. I suspect there's a keyword I could add to the flags line in the config file to make it default to localhost if I don't pass a machine name, but I can't find any docs which list valid flags.
Any ideas? |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54236 Location: 56N 3W
|
Posted: Thu Nov 03, 2022 8:00 pm Post subject: |
|
|
Slippery Jim,
A long time ago I had a shell server that included talk.
It had a static IP and a corresponding entry in /etc/hosts.
That's not such a good idea if your IP address can change.
-- edit --
Code: | DESCRIPTION
This manual page describes the format of the /etc/hosts file. This
file is a simple text file that associates IP addresses with hostnames,
one line per IP address. For each host a single line should be present
with the following information:
IP_address canonical_hostname [aliases...] |
so you could add a Two-Spear alias to the localhost entry. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|