KsCech / n1mda-dev

Automatically exported from code.google.com/p/n1mda-dev
0 stars 0 forks source link

Windows stale ARP cache #4

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
The initial ARP poisoning that pirni does works just fine until the sniffer
exits leaving windows machines with a bad ARP cache. Until the ARP cache is
cleared windows machines (Tested on Windows XP Home SP2/3) still believe
that the iTouch/iPhone is the router when in fact it is not listening to
packets. All incoming packets to the iDevice are therefore dropped, halting
network flow.

This isn't necessarily an issue but it does mess up the network.

An obvious solution to this problem would be to allow pirni to issue
another ARP reply to broadcast replacing the router's original mac address.

I am currently attempting to set up a arm-darwin9 toolchain on my FreeBSD 8
machine with no joy. If I get it up I will post a diff if anyone cares.

Original issue reported on code.google.com by craby...@gmail.com on 7 Apr 2010 at 2:31

GoogleCodeExporter commented 8 years ago
Yes, this is an issue. It can be fixed by looking up the MAC address of the 
router, I
need to write a function like that anyhow.

But if you can post a diff that would be appreciated, as I am really busy with 
school
+ work atm.

Also, you can get the toolchain running on your iDevice with iPhone 3.0 
Toolchain
from http://theworm.altervista.org/cydia/

Original comment by axelmoll...@gmail.com on 7 Apr 2010 at 10:21

GoogleCodeExporter commented 8 years ago
Ok I downloaded the toolchain on to my iTouch. Ill see what I can do with 
libnet to
correct this problem.

By the way have you had any luck getting a working iDevice environment in a 
linux or
windows machine with cygwin?

Original comment by craby...@gmail.com on 8 Apr 2010 at 12:47

GoogleCodeExporter commented 8 years ago
Im having some problems compiling. I keep getting these two error messages:

ld: library not found for -lSystem
collect2: ld returned 1 exit status

Any solutions?

Original comment by craby...@gmail.com on 8 Apr 2010 at 2:15

GoogleCodeExporter commented 8 years ago
ok i fixed my stupid linker errors and got pirni to compile. Now i just need a 
reliable way to find the 
default gateway's MAC and ip without asking the user.

Original comment by craby...@gmail.com on 12 Apr 2010 at 4:34