Bug 169849 - [libc] [patch] rsh/rlogin do not use the correct IP address
Summary: [libc] [patch] rsh/rlogin do not use the correct IP address
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 9.0-STABLE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
Depends on:
Reported: 2012-07-14 10:30 UTC by Darern Reed
Modified: 2017-12-31 22:29 UTC (History)
0 users

See Also:

file.diff (3.59 KB, patch)
2012-07-14 10:30 UTC, Darern Reed
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Darern Reed freebsd_committer 2012-07-14 10:30:03 UTC
The BSD r-commands, rsh, rlogin ,etc, do not use the same IP address
for the outgoing connection for stderr as the local server when running
ona a host with address aliases.

To explain this with an example...
Server A has IP addresses and
Client B does "rsh who"
Server A accepts the connection on port 514 for and initiates a
connection back to Client B using IP address

The outgoing connection should use the same IP address as was made for
the incoming TCP connection.

use rsh from a client to a freebsd server with multiple addresses and
connect to an alias, noticing that the return connection does not
originate from the same source as the destination of the client.
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:59:30 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped