Skip to content

Commit

Permalink
Updated with the latest and greatest bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
jwyllie83 committed Aug 9, 2014
1 parent 16d0426 commit da9987a
Showing 1 changed file with 16 additions and 23 deletions.
39 changes: 16 additions & 23 deletions BUGS
Original file line number Diff line number Diff line change
@@ -1,26 +1,5 @@
It currently doesn't run properly on Mac OS X:

TCP PING 127.0.0.1 (127.0.0.1:80)
libnet_write: libnet_write_raw_ipv4(): -1 bytes written (Invalid argument)

It looks like this has to do with one of the peculiarities of libnet1. I'm
sure it's a fine library but I was not able to get something working on a Mac
that, by all accounts, should work fine.

Therefore, I'm working on stripping out libnet1 support as I don't really need
it for anything and can hack in the cross-platform pieces that I need. This
involves:

Need to be able to construct a TCP raw packet to send out
Need to be able to find a source IP address based on a destination
Need to be able to find an if device name based on source IP

All of these are easily solvable, just need some legwork. Then I can do my own
cross-platform compatibility.

-----------------------------------------------------------------------------

You have to specify an IP address to ping. I should sort that out.
Can't ping localhost on Mac OS X. The pcap return looks garbled. I'm guessing
some headers aren't the right size when pinging from there.

-----------------------------------------------------------------------------

Expand All @@ -36,3 +15,17 @@ Things I tried:
What to try next:

- tcpdump while doing a tcpping. That should sort all of this out.

Hacks:

- Throw out any sequence number that we don't remember giving

** UPDATE **

After re-running, I can't manage to get this to do it again. Not sure what's
up. This obviously bothers me, but if I can't duplicate, there's not much I
can do. Let me know if you encounter this!

-----------------------------------------------------------------------------

There's still one warning on Mac machines, but it's perfectly harmless AFAICT.

0 comments on commit da9987a

Please sign in to comment.