Bug 15475

Summary: pppd(8) sets the Source Address field of IP Header to 0.0.0.0
Product: Base System Reporter: kh <kh>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 3.3-RELEASE   
Hardware: Any   
OS: Any   

Description kh 1999-12-14 07:20:01 UTC
	pppd(8) sets the Source Address field of IP Header to 0.0.0.0
	but negotiated local IP address.

How-To-Repeat: 
	By monitoring with 'tcpdump -i ppp0', do

	  /usr/sbin/pppd connect 'chat "" "ATD<tel_no>" "CONNECT"' \
		/dev/cuaa0 user <user>

	to some dial-up ppp server (whitch requests CHAP authentification)
	with following file.

	--- /etc/ppp/options ---
	38400
	modem
	crtscts
	debug
	noipdefault
	ipcp-accept-local
	------------------------

	--- /etc/ppp/chap-secrets ---
	<user>  * <password> *
	-----------------------------

	Typycal dump list is as follows.

	14:50:20.299715 0.0.0.0.1034 > 10.0.5.195.5020: S \
		1510878817:1510878817(0) win 16384 <mss 1484> (DF)
	..

	On FreeBSD-2.2.8R, typical dump list is as follows.

	11:04:52.633283 202.23.252.137 > 10.0.5.195.5020: S \
		250102342:250102342(0) win 16384 <mss 1484,nop,wscale \
		0,nop,nop,timestamp 2628 0,nop,nop,ccnew[|tcp]> (DF)
	..
Comment 1 Mike Barcroft freebsd_committer freebsd_triage 2001-07-21 19:19:29 UTC
State Changed
From-To: open->feedback


Does this problem still occur in newer versions of FreeBSD, 
such as 4.3-RELEASE?
Comment 2 Sheldon Hearn freebsd_committer freebsd_triage 2002-01-18 16:14:39 UTC
State Changed
From-To: feedback->closed

Automatic feedback timeout.  If additional feedback that warrants 
the re-opening of this PR is available but not included in the 
audit trail, please include the feedback in a reply to this message 
(preserving the Subject line) and ask that the PR be re-opened.