Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Rubyipq v0.1.0: Bindings for Netfilter's libipq
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Leonardo Eloy  
View profile  
 More options Nov 3 2005, 9:48 am
Newsgroups: comp.lang.ruby
From: Leonardo Eloy <leonardo.e...@gmail.com>
Date: Thu, 3 Nov 2005 23:48:24 +0900
Local: Thurs, Nov 3 2005 9:48 am
Subject: [ANN] Rubyipq v0.1.0: Bindings for Netfilter's libipq
Hi there!

Rubyipq are Ruby bindings for Netfilter's libipq (ip queue), making it
possible for developers to intercept the incoming IP traffic, deciding
whether to accept or drop it (issuing a verdict) according to the
iptables rule set.

Project Homepage: http://rubyipq.rubyforge.org
Downloads (Source, Gem): http://rubyforge.org/frs/?group_id=959

Version 0.1.0 features:
 * Built-in IP, TCP and UDP headers implementation;
 * Possibility to obtain packet data;
 * Implemented the whole ipq_packet_msg_t structure;
 * Added the whole bunch of protocol numbers;
 * Dynamic buffer size setting.

Installation from sources:
 # tar -xzvf rubyipq-0.1.0.tar.gz
 # cd rubyipq-0.1.0
 # make
 # make install

It's also available via RubyGems:
  # gem install rubyipq

 if you try to run the sample file and it cannot find the library, try
using something like this:
  # export RUBYLIB=$RUBYLIB:/usr/local/lib/ruby/gems/1.8/gems/rubyipq-0.10-i686-linux/

I'm currently writing the manual and RDoc for this extension, I hope
in a week or so I'll have something ready. If anything goes wrong,
drop me a line, though. I'm also looking for someone to make a new
site for Rubyipq!

Att,.
Leonardo Eloy


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Guillaume Marcais  
View profile  
 More options Nov 3 2005, 7:35 pm
Newsgroups: comp.lang.ruby
From: Guillaume Marcais <gusl...@free.fr>
Date: Fri, 4 Nov 2005 09:35:12 +0900
Local: Thurs, Nov 3 2005 7:35 pm
Subject: Re: [ANN] Rubyipq v0.1.0: Bindings for Netfilter's libipq
I have problem with the gem:

[gus@comp tmp]$ sudo gem install rubyipq
Password:
Attempting local installation of 'rubyipq'
Local gem file not found: rubyipq*.gem
Attempting remote installation of 'rubyipq'
Updating Gem source index for: http://gems.rubyforge.org
ERROR:  While executing gem ... (Gem::GemNotFoundException)
    Could not find rubyipq (> 0) in the repository

[gus@comp tmp]$ sudo gem
install /home/gus/Source/Ruby/gem/rubyipq-0.1.0-i686-linux.gem
Attempting local installation of
'/home/gus/Source/Ruby/gem/rubyipq-0.1.0-i686-linux.gem'
ERROR:  Error installing
gem /home/gus/Source/Ruby/gem/rubyipq-0.1.0-i686-linux.gem[.gem]: parse
error on line 0, col 31: `!ruby/object:Gem::Specification '

I modified the extconf.rb as followed for it to work:

--- extconf.rb.org      2005-11-03 18:29:23.000000000 -0500
+++ extconf.rb  2005-11-03 18:30:11.000000000 -0500
@@ -5,8 +5,8 @@
 have_header("libipq.h")
 have_header("linux/netfilter.h")

-find_header("rubyipq.h", ".")
-find_header("rubyipq_proto.h", ".")
+have_header("rubyipq.h")
+have_header("rubyipq_proto.h")

 create_makefile("Rubyipq")

After this it compiled with no problem. I hope to get you some more
feedback. I think this will be a useful library for me.

Thanks,
Guillaume.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tom Copeland  
View profile  
 More options Nov 3 2005, 8:18 pm
Newsgroups: comp.lang.ruby
From: Tom Copeland <t...@infoether.com>
Date: Fri, 4 Nov 2005 10:18:51 +0900
Local: Thurs, Nov 3 2005 8:18 pm
Subject: Re: [ANN] Rubyipq v0.1.0: Bindings for Netfilter's libipq

On Fri, 2005-11-04 at 09:35 +0900, Guillaume Marcais wrote:
> ERROR:  Error installing
> gem /home/gus/Source/Ruby/gem/rubyipq-0.1.0-i686-linux.gem[.gem]: parse
> error on line 0, col 31: `!ruby/object:Gem::Specification '

Yup, this is a sign of the problem described here:

http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/161508

Yours,

tom


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Leonardo Eloy  
View profile  
 More options Nov 3 2005, 11:37 pm
Newsgroups: comp.lang.ruby
From: Leonardo Eloy <leonardo.e...@gmail.com>
Date: Fri, 4 Nov 2005 13:37:34 +0900
Local: Thurs, Nov 3 2005 11:37 pm
Subject: Re: [ANN] Rubyipq v0.1.0: Bindings for Netfilter's libipq
On 11/3/05, Guillaume Marcais <gusl...@free.fr> wrote:

Thanks a lot Guillaume, I'm correcting this issue right now.

> --- extconf.rb.org      2005-11-03 18:29:23.000000000 -0500
> +++ extconf.rb  2005-11-03 18:30:11.000000000 -0500
> @@ -5,8 +5,8 @@
>  have_header("libipq.h")
>  have_header("linux/netfilter.h")

> -find_header("rubyipq.h", ".")
> -find_header("rubyipq_proto.h", ".")
> +have_header("rubyipq.h")
> +have_header("rubyipq_proto.h")

>  create_makefile("Rubyipq")

> After this it compiled with no problem. I hope to get you some more
> feedback. I think this will be a useful library for me.

Thanks again! Please send me a mail if you have any trouble getting it
to work or suggestions... I'll be kinda busy this weekend but I'll try
to finish the "manual" ASAP.

--
Leonardo Eloy, LPIC-1, FCSE, SCPJ

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »