Bug 16625 - Incorrect information in routed(8) error message
Summary: Incorrect information in routed(8) error message
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 3.4-STABLE
Hardware: Any Any
: Normal Affects Only Me
Assignee: Poul-Henning Kamp
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-02-10 05:20 UTC by peter.jeremy
Modified: 2001-06-28 02:51 UTC (History)
0 users

See Also:


Attachments
file.diff (550 bytes, patch)
2000-02-10 05:20 UTC, peter.jeremy
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description peter.jeremy 2000-02-10 05:20:01 UTC
	When routed(8) receives a RIP message from a non-standard port,
	it syslogs a message like "discard RIP response from unknown port
	51982".  Unfortunately, the port number is byte-swapped.  Also,
	the lack of source host information makes locating the offending
	host more difficult.

Fix: The following correctly byte-swaps the source port before printing
	it and also reports the source IP address.
How-To-Repeat: 
	Run routed.  Generate RIP response messages to the host with a
	source port other than 520.
Comment 1 Sheldon Hearn 2000-08-14 18:09:01 UTC
Hi Vernon,

Recently, you addressed a byte-swapping problem in routed.  I have a PR
here which suggests that there may be another one to deal with, in the
error message printed when discarding RIP responses from unknown ports.

Could you check out this PR and comment?

	http://www.freebsd.org/cgi/query-pr.cgi?pr=16625

Thanks,
Sheldon.
Comment 2 dd freebsd_committer freebsd_triage 2001-06-28 02:50:56 UTC
State Changed
From-To: open->closed

phk recently committed the patch in this PR, but forgot to close it. 


Comment 3 dd freebsd_committer freebsd_triage 2001-06-28 02:50:56 UTC
Responsible Changed
From-To: freebsd-bugs->phk

JFYI