Bug 16625

Summary: Incorrect information in routed(8) error message
Product: Base System Reporter: peter.jeremy <peter.jeremy>
Component: binAssignee: Poul-Henning Kamp <phk>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 3.4-STABLE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

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