Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Feb 1995 18:21:14 -0800
From:      Stephen Melvin <melvin@zytek.com>
To:        freebsd-questions@FreeBSD.org
Subject:   Source IP address trashed on some packets
Message-ID:  <199502070221.SAA04911@syzygy.zytek.com>

next in thread | raw e-mail | index | archive | help
Hello, I posted this question about a month ago and I'm still at
a loss to determine the problem.  I'd be grateful if anyone could
at least point me in the right direction.  How should I go about
tracking it down?  Thanks.


Since I upgraded from 1.1 to 1.1.5.1, I'm having trouble with
certain outgoing packets, specifically those from ping and traceroute.
Other services seem to work fine.  I ran tcpdump and determined
that the problem is that the outgoing IP address is garbage.  This
may have something to do with the fact with an ioctl error message
I get.  Also note that in this particular setup I periodically
invoke and then kill pppd (this since there is no demand dial and
I'm anxious to try out iij-ppp by the way).  Here is a sample log
when I invoke pppd:

-------
Feb  7 02:45:02 seine pppd[4348]: pppd 2.1.2 started by root, uid 0
Feb  7 02:45:25 seine pppd[4350]: Connect: ppp0 <--> /dev/tty02
Feb  7 02:45:28 seine pppd[4350]: local  IP address 193.104.118.2
Feb  7 02:45:28 seine pppd[4350]: remote IP address 193.107.193.22
Feb  7 02:45:28 seine pppd[4350]: ioctl(PPPIOCSFLAGS): Inappropriate ioctl for device
-------

Here are sample tcpdumps from a ping and a traceroute command showing
the nonsensical source IP address.

"ping 193.107.193.17"
-------
09:26:38.520605 86.0.26.0 > 193.107.193.17: icmp: echo request
09:26:39.533073 86.0.26.0 > 193.107.193.17: icmp: echo request
09:26:40.543428 86.0.26.0 > 193.107.193.17: icmp: echo request
-------
"traceroute 193.107.193.17"
-------
09:21:50.003290 65.0.128.0.33881 > 193.107.193.17.33435: udp 12 [ttl 1]
09:21:55.013135 149.0.21.0.33881 > 193.107.193.17.33436: udp 12 [ttl 1]
09:22:00.022998 44.0.173.1.33881 > 193.107.193.17.33437: udp 12 [ttl 1]
09:22:05.033429 0.0.0.0.33881 > 193.107.193.17.33438: udp 12
09:22:10.043181 76.0.128.0.33881 > 193.107.193.17.33439: udp 12
09:22:15.052946 67.0.7.0.33881 > 193.107.193.17.33440: udp 12
-------

Thanks in advance for any suggestions.

------------
Steve Melvin
melvin@zytek.com
melvin@zytek.fr
---------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199502070221.SAA04911>