Commit Graph

11 Commits (f6731f115f0844f15b9ac22d9255993150a3c611)

Author SHA1 Message Date
HD Moore c9b6c05eab Fix improper use of host-endian or signed pack/unpack
Note that there are some cases of host-endian left, these
are intentional because they operate on host-local memory
or services.

When in doubt, please use:

```
ri pack
```
2014-06-30 02:50:10 -05:00
HD Moore d656e3185f Mark all libraries as defaulting to 8-bit strings 2012-06-29 00:18:28 -05:00
Tod Beardsley f1950c2fe1 Adding back bitstruct (current upstream) and dns_fuzzer module
Fixes #3289.

This commit adds back the bit-struct library because in the end,
it is useful for some modules, especially pello's. It's small
and it has a nice license, so why not. After all, it /is/
useful for quicky application headers. Eventually, should
be replaced by StructFu, but that requires some doc work
on my part to get that transition in place.

This also adds pello's DNS fuzzer module which makes use of
BitStruct to create sometimes malformed-on-purpose DNS headers.

Tested against 3 different DNS servers, caused one to reboot,
so I'd say it works.
2011-12-06 17:03:36 -06:00
Tod Beardsley 9dd3c5fbf5 Fixes #5081, removes racket and bitstruct
git-svn-id: file:///home/svn/framework3/trunk@13374 4d416f70-5f16-0410-b530-b9f4589650da
2011-07-27 18:04:32 +00:00
HD Moore 970b0a424a Remove autoloads, hits a conflict with rails
git-svn-id: file:///home/svn/framework3/trunk@12727 4d416f70-5f16-0410-b530-b9f4589650da
2011-05-26 00:53:59 +00:00
Joshua Drake be1ee243bf Switch ord for the more compatibly .unpack("C"), Fixes #3431
git-svn-id: file:///home/svn/framework3/trunk@11468 4d416f70-5f16-0410-b530-b9f4589650da
2011-01-04 16:15:56 +00:00
HD Moore 6f67271c31 fixes #351. Forces data to ascii-8bit encoding, removes the 1.9 hack, fixes octet-field conversion
git-svn-id: file:///home/svn/framework3/trunk@7129 4d416f70-5f16-0410-b530-b9f4589650da
2009-10-05 23:12:35 +00:00
HD Moore b198631746 Fixes #349 by upgrading to bit-struct trunk, however something is now causing a segv in the ruby VM (guessing the pcaprub code).
git-svn-id: file:///home/svn/framework3/trunk@7120 4d416f70-5f16-0410-b530-b9f4589650da
2009-10-03 18:45:32 +00:00
HD Moore 5f010aa4b9 Fix some remaining 1.9 compatibility issues
git-svn-id: file:///home/svn/framework3/trunk@7105 4d416f70-5f16-0410-b530-b9f4589650da
2009-10-01 16:01:53 +00:00
HD Moore 885f82e760 Ignore method conflicts in bit-struct
git-svn-id: file:///home/svn/framework3/trunk@6862 4d416f70-5f16-0410-b530-b9f4589650da
2009-07-22 02:57:37 +00:00
HD Moore 6ec4811bd0 Adds the bit-struct library to the source tree. Required by Racket
git-svn-id: file:///home/svn/framework3/trunk@6816 4d416f70-5f16-0410-b530-b9f4589650da
2009-07-17 04:32:33 +00:00