Skip to contentSkip to conversation

queue newbie

DISCUSSION Michael D. Berger 3 participants 6 messages Apr 24, 2005 – May 1, 2005

lore
Share & tools
lore
#0 lore raw

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
[email protected]

#1 lore raw

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.

Quoted 21 lines · Michael D. Berger

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
[email protected]

#2 lore raw

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
[email protected]

Quoted 49 lines

-----Original Message-----
From: bharathi [mailto:[email protected]]
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.

Quoted 21 lines · Michael D. Berger

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
[email protected]

#3 lore raw
Quoted 4 lines · Michael D. Berger

Thank you for this help. Additionally,

Quoted 1 line

From where do I download the latest iptables src?

netfilter.org

Quoted 3 lines

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.

Quoted 3 lines

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.

Quoted 3 lines

Mike.

Richard

Quoted 60 lines

--
Michael D. Berger
[email protected]

Quoted 48 lines

-----Original Message-----
From: bharathi [mailto:[email protected]] 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.

Quoted 23 lines · Michael D. Berger

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
[email protected]

#4 lore raw
Quoted 1 line
Quoted 1 line

staenker wrote:

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

Signature · 2 lines
There are only 10 types of people in the world:
Those who understand binary, and those who don't
#5 lore raw
In reply to bharathi

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
[email protected]

Quoted 49 lines

-----Original Message-----
From: bharathi [mailto:[email protected]]
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.

Quoted 21 lines · Michael D. Berger

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
[email protected]