hm switch out both would give clients no ip right ??
i just don't get it
on the linuxbox /mitm i do this
ifconfig eth0 0.0.0.0
ifconfig eth1 0.0.0.0
brctl addbr mybridge
brctl addif mybridge eth0
brctl addif mybridge eth1
ifconfig mybridge up
ifconfig mybridge 192.168.0.123/24
on the pineapple i run the iptables script from the wiki
iptables -A FORWARD -i eth1 -o wlan0 -s 172.16.42.0 -m state --state NEW -j ACCEPT
iptables -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE
all clients have internet connection no problemo so far.
then i start dnsspoof on the linux box
dnsspoof -i mybridge -f hostfile
contents of hostfile
192.168.0.101 *.*
i see dnsspoof feedback reacting on a request twice
ip-pineapple > 8.8.8.8:53 url
ip-pineapple > iprouter:53 url
when pinging on the client
ping www.google.com
cannot resolve google
ping 8.8.8.8
all fine
is the client confused because it is getting 2 reactions ?
what am i missing here ???
is the work around to drop response of the mainrouter with iptables ?
if so how ?