Saturday, November 28, 2009

Racket 1.0.6 Released

Over the Thanksgiving holiday and thanks to the fact that I've been trapped indoors for two weeks, I've made some major improvements to Racket, released in version 1.0.6. For those not in the know, Racket is a Ruby Gem used for reading, writing and handling raw packets in an intuitive manner. Between 1.0.2 and 1.0.6, there have been countless changes, including but not limited to:
  • Full ICMPv6 support
  • Much improved IPv6 support, thanks largely to Daniele Bellucci
  • Revamped, more efficient ICMP support (basically copied all the cool things from ICMPv6)
  • All encoding/decoding classes moved under their respective layer in Racket::L3, etc.
  • Large documentation, test and example improvements
So, as usual, `gem install --source http://spoofed.org/files/racket racket` to install it and then take a stroll through the docs and examples. Enjoy!

2 comments:

John said...

Your gem does not have bit-struct as a dependent. If you install it under Ruby 187 without bit-struct, you get errors:
irb(main):001:0>
irb(main):002:0*
irb(main):003:0* require 'racket'
LoadError: no such file to load -- racket
from (irb):3:in `require'
from (irb):3
irb(main):004:0> require 'rubygems'
=> true
irb(main):005:0> require 'racket'
LoadError: no such file to load -- bit-struct
from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from C:/Ruby187/lib/ruby/gems/1.8/gems/racket-1.0.9/lib/racket/racketpart.rb:29
from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from C:/Ruby187/lib/ruby/gems/1.8/gems/racket-1.0.9/lib/racket/racket.rb:30
from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from C:/Ruby187/lib/ruby/gems/1.8/gems/racket-1.0.9/lib/racket.rb:4
from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from (irb):5
irb(main):006:0> quit

Once its installed, no errors.
Thanks for the cool code!

Anonymous said...

I am not sure if it installed properly, it said it installed but when I try to execute any samples it tells me it cannot find the libraries.