Networking Forums

Networking Forums > Computer Networking > Linux Networking > packets with source ip 0.0.0.0

Reply
Thread Tools Display Modes

packets with source ip 0.0.0.0

 
 
linux.lover2004@gmail.com
Guest
Posts: n/a

 
      05-03-2005, 09:31 AM
hello,
I am working on linux and i observe that i am getting some
0.0.0.0 packets? I want to know who is sending those packets? Are they
sent by services running on my Linux box?
Which protocols require to send those packets? Does there any
connection with raw sockets?

 
Reply With Quote
 
 
 
 
Vincent Jaussaud
Guest
Posts: n/a

 
      05-03-2005, 01:22 PM
(E-Mail Removed) wrote:

> hello,
> I am working on linux and i observe that i am getting some
> 0.0.0.0 packets? I want to know who is sending those packets? Are they
> sent by services running on my Linux box?
> Which protocols require to send those packets? Does there any
> connection with raw sockets?


Hi,

There is no reason why a process should ever send packet with src IP set to
0.0.0.0

The only thing I can think of, is a broken application. Or some sort of
security tools using a spoofed IP.

You should tcpdump your interfaces to see where these packets are coming
from, and track them hop by hop, up to the real source.

Good luck.

--
Vincent Jaussaud, Kelkoo.com IT Architect
---
Out of the crooked timber of humanity no straight thing can ever be made.
-- Immanuel Kant

 
Reply With Quote
 
Tauno Voipio
Guest
Posts: n/a

 
      05-03-2005, 02:01 PM
(E-Mail Removed) wrote:
> hello,
> I am working on linux and i observe that i am getting some
> 0.0.0.0 packets? I want to know who is sending those packets? Are they
> sent by services running on my Linux box?
> Which protocols require to send those packets? Does there any
> connection with raw sockets?
>


It's perfectly legal to send the initial BOOTP or DHCP packets
with source IP of 0.0.0.0, the sender does not know else.

Are the packets UDP datagrams between ports 67 and 68?

--

Tauno Voipio
tauno voipio (at) iki fi

 
Reply With Quote
 
Mr. Boy
Guest
Posts: n/a

 
      05-03-2005, 08:47 PM
As Tauno said, if some host within your network communicates using
ethernet frames without no network layer protocol (TCP/IP, IPX/SPX,
AppleTalk) it might show like 0.0.0.0, also linux show directly
connected routes as 0.0.0.0 check when and which program receives this
kind of addresses, use tcpdump or ethereal to check what is that... and
try to get MAC addreses to track origin.

if you get the mac use arping to know ip address.. or arp...

a crazy theory someone is using iptables postrouting rules to change
packet origin from real ip to 0.0.0.0, some broken nic maybe...

 
Reply With Quote
 
Moe Trin
Guest
Posts: n/a

 
      05-03-2005, 11:14 PM
In article <42777b19$0$295$(E-Mail Removed)>, Vincent Jaussaud
wrote:

>(E-Mail Removed) wrote:


>> I am working on linux and i observe that i am getting some
>> 0.0.0.0 packets? I want to know who is sending those packets? Are they
>> sent by services running on my Linux box?


>There is no reason why a process should ever send packet with src IP set to
>0.0.0.0


0.0.0.0 usually means "I don't know my address" - as in

2131 Dynamic Host Configuration Protocol. R. Droms. March 1997.
(Format: TXT=113738 bytes) (Obsoletes RFC1541) (Updated by RFC3396)
(Status: DRAFT STANDARD)

3330 Special-Use IPv4 Addresses. IANA. September 2002. (Format:
TXT=16200 bytes) (Status: INFORMATIONAL)

>Or some sort of security tools using a spoofed IP.


Hmmm, I've never tried that with nmap, but it's not possible to establish
a TCP connection if there is a router involved, as most routers will
silently discard packets to that address, unless they are a DHCP forwarder.

>You should tcpdump your interfaces to see where these packets are coming
>from, and track them hop by hop, up to the real source.


Really wouldn't expect them to be going beyond the router, but tcpdump
(or similar) is the key.

Old guy

 
Reply With Quote
 
linux.lover2004@gmail.com
Guest
Posts: n/a

 
      05-04-2005, 12:52 AM

Moe Trin wrote:
> In article <42777b19$0$295$(E-Mail Removed)>, Vincent

Jaussaud
> wrote:
>
> >(E-Mail Removed) wrote:

>
> >> I am working on linux and i observe that i am getting some
> >> 0.0.0.0 packets? I want to know who is sending those packets? Are

they
> >> sent by services running on my Linux box?

>
> >There is no reason why a process should ever send packet with src IP

set to
> >0.0.0.0

>
> 0.0.0.0 usually means "I don't know my address" - as in
>
> 2131 Dynamic Host Configuration Protocol. R. Droms. March 1997.
> (Format: TXT=113738 bytes) (Obsoletes RFC1541) (Updated by

RFC3396)
> (Status: DRAFT STANDARD)
>
> 3330 Special-Use IPv4 Addresses. IANA. September 2002. (Format:
> TXT=16200 bytes) (Status: INFORMATIONAL)
>
> >Or some sort of security tools using a spoofed IP.

>
> Hmmm, I've never tried that with nmap, but it's not possible to

establish
> a TCP connection if there is a router involved, as most routers will
> silently discard packets to that address, unless they are a DHCP

forwarder.
>
> >You should tcpdump your interfaces to see where these packets are

coming
> >from, and track them hop by hop, up to the real source.

>
> Really wouldn't expect them to be going beyond the router, but

tcpdump
> (or similar) is the key.
>
> Old guy


Is it possible to have source ip 0.0.0.0 packets travel across my linux
pc when i remove network cable from NIC and use ifdown eth0 and uses
ping localhost?
Because what i found after sending and receiving 2 ping/pong
packets on 127.0.0.1 Network Stack is also getting those source ip
0.0.0.0 packets? How it is possible?

 
Reply With Quote
 
ynotssor
Guest
Posts: n/a

 
      05-04-2005, 08:41 PM
"Mr. Boy" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) ps.com

> a crazy theory someone is using iptables postrouting rules to change
> packet origin from real ip to 0.0.0.0, some broken nic maybe...


nmap -D 0.0.0.0 ...
 
Reply With Quote
 
linux.lover2004@gmail.com
Guest
Posts: n/a

 
      05-05-2005, 06:45 AM

ynotssor wrote:
> "Mr. Boy" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed) ps.com


hello link is not working

> > a crazy theory someone is using iptables postrouting rules to

change
> > packet origin from real ip to 0.0.0.0, some broken nic maybe...

>
> nmap -D 0.0.0.0 ...


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
1000 IP packets with different SOURCE&DESTINATION addresses generator/simulator song_winter@hotmail.com Linux Networking 6 07-17-2007 10:57 PM
Route some packets based on port or source ip, over pptp link morleyc@gmail.com Linux Networking 2 06-26-2007 09:22 PM
Change default source IP of outgoing packets in multihomed config? Andy Shepard Linux Networking 0 06-16-2005 07:09 PM
Source IP Address of Multicast Join Packets nd_no@yahoo.com Linux Networking 4 03-03-2005 10:35 AM
Changing source address of packets Drew Leske Linux Networking 0 10-02-2004 12:41 AM



1 2 3 4 5 6 7 8 9 10 11