missed packets

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
	I have three machines in the same subnet (i.e., 192.168.0.1,
192.168.0.2 and 192.168.0.3). The three machines are collected by a hub.
So they can communicate with each other directly.

	Now 192.168.0.1 wants to send a packet to 192.168.0.3. I use
"iptables -t mangle -A OUTPUT -j QUEUE"
to forward the packet to the user space, where a program changes the
destination of this packet to 192.168.0.2. Of course, I change checksum
accordingly here and in later steps.

	When 192.168.0.2 receives the packet, I use
iptables -t mangle -A PREROUTING -j QUEUE
to forward the packet to the user space, where the
destination of the packet is changed to 192.168.0.3.

	But I could not see any packet sent out by 192.168.0.2 and
192.168.0.2 does receive the packet from 192.168.0.1.

	What is the possible problem?

	Thanks!

Xinwen Fu


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux