All of lore.kernel.org
 help / color / mirror / Atom feed
* queue newbie
@ 2005-04-24 18:35 Michael D. Berger
  2005-04-25 13:33 ` bharathi
  0 siblings, 1 reply; 6+ messages in thread
From: Michael D. Berger @ 2005-04-24 18:35 UTC (permalink / raw)
  To: netfilter

On RH-WS-3 (4 when I get around to it), I would like
to use the capabilities of -j QUEUE.  Google seems to
indicate that I need libipq, and to get this, perhaps
I need to get an rpm for iptables-devel.

Is this the way to go?  If so, where is the best place
to get the rpm, and what version should I get?  If not,
how should I proceed?

Thanks in advance for your help.
Mike.

--
Michael D. Berger
m.d.berger@ieee.org 




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: queue newbie
  2005-04-24 18:35 queue newbie Michael D. Berger
@ 2005-04-25 13:33 ` bharathi
  2005-04-26  1:02   ` Michael D. Berger
  2005-05-01  3:31   ` Michael D. Berger
  0 siblings, 2 replies; 6+ messages in thread
From: bharathi @ 2005-04-25 13:33 UTC (permalink / raw)
  To: Michael D. Berger; +Cc: netfilter

Dear Mr.Berger,
                            Download the latest version of iptables src 
and do the following to get libipq,
  # make KERNEL_DIR=<<where-you-built-your-kernel>>
  # make install KERNEL_DIR=<<where-you-built-your-kernel>>
  # make install-devel
IMPORTANT:  Your kernel  must have enabled with the  CONFIG_IP_NF_QUEUE 
( Userspace queueing via NETLINK (EXPERIMENTAL) ) module to use this 
queueing feature with iptables.

thanks,
bharthix.


Michael D. Berger wrote:

>On RH-WS-3 (4 when I get around to it), I would like
>to use the capabilities of -j QUEUE.  Google seems to
>indicate that I need libipq, and to get this, perhaps
>I need to get an rpm for iptables-devel.
>
>Is this the way to go?  If so, where is the best place
>to get the rpm, and what version should I get?  If not,
>how should I proceed?
>
>Thanks in advance for your help.
>Mike.
>
>--
>Michael D. Berger
>m.d.berger@ieee.org 
>
>
>
>
>  
>



^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: queue newbie
  2005-04-25 13:33 ` bharathi
@ 2005-04-26  1:02   ` Michael D. Berger
  2005-04-26  5:24     ` staenker
  2005-05-01  3:31   ` Michael D. Berger
  1 sibling, 1 reply; 6+ messages in thread
From: Michael D. Berger @ 2005-04-26  1:02 UTC (permalink / raw)
  To: bharathi; +Cc: 'netfilter'

Thank you for this help.  Additionally, 
From where do I download the latest iptables src?
How do I enable CONFIG_IP_NF_QUEUE?
In Red Hat Workstation, where is <where-you-built-your-kernel>?
Thanks again,
Mike.

--
Michael D. Berger
m.d.berger@ieee.org 

> -----Original Message-----
> From: bharathi [mailto:bharathi@au-kbc.org] 
> Sent: Monday, April 25, 2005 9:33 AM
> To: Michael D. Berger
> Cc: netfilter
> Subject: Re: queue newbie
> 
> 
> Dear Mr.Berger,
>                             Download the latest version of 
> iptables src 
> and do the following to get libipq,
>   # make KERNEL_DIR=<<where-you-built-your-kernel>>
>   # make install KERNEL_DIR=<<where-you-built-your-kernel>>
>   # make install-devel
> IMPORTANT:  Your kernel  must have enabled with the  
> CONFIG_IP_NF_QUEUE 
> ( Userspace queueing via NETLINK (EXPERIMENTAL) ) module to use this 
> queueing feature with iptables.
> 
> thanks,
> bharthix.
> 
> 
> Michael D. Berger wrote:
> 
> >On RH-WS-3 (4 when I get around to it), I would like
> >to use the capabilities of -j QUEUE.  Google seems to
> >indicate that I need libipq, and to get this, perhaps
> >I need to get an rpm for iptables-devel.
> >
> >Is this the way to go?  If so, where is the best place
> >to get the rpm, and what version should I get?  If not,
> >how should I proceed?
> >
> >Thanks in advance for your help.
> >Mike.
> >
> >--
> >Michael D. Berger
> >m.d.berger@ieee.org 
> >
> >
> >
> >
> >  
> >
> 
> 




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: queue newbie
  2005-04-26  1:02   ` Michael D. Berger
@ 2005-04-26  5:24     ` staenker
  2005-04-26  5:31       ` Richard Hauswald
  0 siblings, 1 reply; 6+ messages in thread
From: staenker @ 2005-04-26  5:24 UTC (permalink / raw)
  To: m.d.berger; +Cc: netfilter

Michael D. Berger wrote:

>Thank you for this help.  Additionally, 
>>From where do I download the latest iptables src?
>  
>
netfilter.org

>How do I enable CONFIG_IP_NF_QUEUE?
>  
>
If you are compiling a kernel you have to configure, which parts of the 
big source code schould be compiled. Because of that there exists a 
config file. In this config file you have to enable CONFIG_IP_NF_QUEUE.

>In Red Hat Workstation, where is <where-you-built-your-kernel>?
>  
>
Normaly in /usr/src . But if you don't know where the kernelsources 
schould be you won't be able to patch this kernel with netfilter 
patches. And if your are not able to patch your kernel, you wont get the 
new feature you want. Thatswhy you schould do some reading, googling und 
expirence about how to compile a linux kernel.
If youre done with this you should be able to answer questions like 
"From where do I download the latest iptables src?" by yourself.

>Mike.
>  
>
Richard

>--
>Michael D. Berger
>m.d.berger@ieee.org 
>
>  
>
>>-----Original Message-----
>>From: bharathi [mailto:bharathi@au-kbc.org] 
>>Sent: Monday, April 25, 2005 9:33 AM
>>To: Michael D. Berger
>>Cc: netfilter
>>Subject: Re: queue newbie
>>
>>
>>Dear Mr.Berger,
>>                            Download the latest version of 
>>iptables src 
>>and do the following to get libipq,
>>  # make KERNEL_DIR=<<where-you-built-your-kernel>>
>>  # make install KERNEL_DIR=<<where-you-built-your-kernel>>
>>  # make install-devel
>>IMPORTANT:  Your kernel  must have enabled with the  
>>CONFIG_IP_NF_QUEUE 
>>( Userspace queueing via NETLINK (EXPERIMENTAL) ) module to use this 
>>queueing feature with iptables.
>>
>>thanks,
>>bharthix.
>>
>>
>>Michael D. Berger wrote:
>>
>>    
>>
>>>On RH-WS-3 (4 when I get around to it), I would like
>>>to use the capabilities of -j QUEUE.  Google seems to
>>>indicate that I need libipq, and to get this, perhaps
>>>I need to get an rpm for iptables-devel.
>>>
>>>Is this the way to go?  If so, where is the best place
>>>to get the rpm, and what version should I get?  If not,
>>>how should I proceed?
>>>
>>>Thanks in advance for your help.
>>>Mike.
>>>
>>>--
>>>Michael D. Berger
>>>m.d.berger@ieee.org 
>>>
>>>
>>>
>>>
>>> 
>>>
>>>      
>>>
>>    
>>
>
>
>
>
>  
>



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: queue newbie
  2005-04-26  5:24     ` staenker
@ 2005-04-26  5:31       ` Richard Hauswald
  0 siblings, 0 replies; 6+ messages in thread
From: Richard Hauswald @ 2005-04-26  5:31 UTC (permalink / raw)
  Cc: netfilter

 >> staenker wrote:
Sorry, didn't configure my mail client. Now it should be fine.
Regards
Richard (staenker....)

-- 
There are only 10 types of people in the world:
Those who understand binary, and those who don't


^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: queue newbie
  2005-04-25 13:33 ` bharathi
  2005-04-26  1:02   ` Michael D. Berger
@ 2005-05-01  3:31   ` Michael D. Berger
  1 sibling, 0 replies; 6+ messages in thread
From: Michael D. Berger @ 2005-05-01  3:31 UTC (permalink / raw)
  To: 'netfilter'

I have upgraded to RH-E-WS-4, and downloaded and installed the
latest iptables as described below.  In C++, I wrote some code
following the suggestions in:
   http://www.crhc.uiuc.edu/~grier/projects/libipq.html
To get it to compile, I had to do some hacking in:
   linux/socket.h
   bits/socket.h
   bits/uio.h
to deal with multiple definitions, but I got it to compile.
However, it does not work; my code waits but does not receive
the icmp pings I send it.
I note that I do not have an environment variable QUEUE.  I
could provide one, but this might be taking an asperin for
cancer.
Advice would be much appreciated.
Mike.

--
Michael D. Berger
m.d.berger@ieee.org 

> -----Original Message-----
> From: bharathi [mailto:bharathi@au-kbc.org] 
> Sent: Monday, April 25, 2005 9:33 AM
> To: Michael D. Berger
> Cc: netfilter
> Subject: Re: queue newbie
> 
> 
> Dear Mr.Berger,
>                             Download the latest version of 
> iptables src 
> and do the following to get libipq,
>   # make KERNEL_DIR=<<where-you-built-your-kernel>>
>   # make install KERNEL_DIR=<<where-you-built-your-kernel>>
>   # make install-devel
> IMPORTANT:  Your kernel  must have enabled with the  
> CONFIG_IP_NF_QUEUE 
> ( Userspace queueing via NETLINK (EXPERIMENTAL) ) module to use this 
> queueing feature with iptables.
> 
> thanks,
> bharthix.
> 
> 
> Michael D. Berger wrote:
> 
> >On RH-WS-3 (4 when I get around to it), I would like
> >to use the capabilities of -j QUEUE.  Google seems to
> >indicate that I need libipq, and to get this, perhaps
> >I need to get an rpm for iptables-devel.
> >
> >Is this the way to go?  If so, where is the best place
> >to get the rpm, and what version should I get?  If not,
> >how should I proceed?
> >
> >Thanks in advance for your help.
> >Mike.
> >
> >--
> >Michael D. Berger
> >m.d.berger@ieee.org 
> >
> >
> >
> >
> >  
> >
> 
> 




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-05-01  3:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-24 18:35 queue newbie Michael D. Berger
2005-04-25 13:33 ` bharathi
2005-04-26  1:02   ` Michael D. Berger
2005-04-26  5:24     ` staenker
2005-04-26  5:31       ` Richard Hauswald
2005-05-01  3:31   ` Michael D. Berger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.