Skip to contentSkip to conversation

Linux kernel module and -m owner match

DISCUSSION Nicolas Boiteux 4 participants 9 messages Sep 16, 2004

lore
Share & tools
lore
#0 lore raw

Hello,

What is the module required into the linux kernel to enable the use of the -m owner match ? The name of this module isn t write into the howto ;(

I have parse all the modules in netfilter configuration section of the kernel 2.4.27, and i didn t see anything about this rule .

Greetings,
Nicolas

Vous manquez d’espace pour stocker vos mails ? Yahoo! Mail vous offre GRATUITEMENT 100 Mo ! Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/

Le nouveau Yahoo! Messenger est arrivé ! Découvrez toutes les nouveautés pour dialoguer instantanément avec vos amis. A télécharger gratuitement sur http://fr.messenger.yahoo.com

#1 lore raw

This one ???

CONFIG_IP_NF_MATCH_OWNER

Cheers

?A

Quoted 23 lines

Hello,

What is the module required into the linux kernel to enable the use of the -m owner match ? The name of this module isn t write into the howto ;(

I have parse all the modules in netfilter configuration section of the kernel 2.4.27, and i didn t see anything about this rule .

Greetings,
Nicolas

Vous manquez despace pour stocker vos mails ? Yahoo! Mail vous offre GRATUITEMENT 100 Mo ! Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/

Le nouveau Yahoo! Messenger est arrivé ! Découvrez toutes les nouveautés pour dialoguer instantanément avec vos amis. A télécharger gratuitement sur http://fr.messenger.yahoo.com

Signature · 2 lines
GPG Key id: 0x0EF8926E
GPG: Server - gpg.rediris.es
#2 lore raw

I just look in my kernel .config, and i don t see it .

Do i have a patch to apply to enable this feature like ng, or does it a normal feature in the kernel ?

If it is, can i add this line directly in my .config ?

thanks ;)
Nicolas

Quoted 31 lines · --- Javier Sanchez

This one ???

CONFIG_IP_NF_MATCH_OWNER

Cheers

?A

Quoted 3 lines

Hello,

What is the module required into the linux kernel

to

Quoted 5 lines

enable the use of the -m owner match ? The name of this module isn t write into the howto ;(

I have parse all the modules in netfilter configuration section of the kernel 2.4.27, and i

didn

Quoted 10 lines

t see anything about this rule .

Greetings,
Nicolas

Quoted 3 lines

Vous manquez despace pour stocker vos mails ? Yahoo! Mail vous offre GRATUITEMENT 100 Mo ! Créez votre Yahoo! Mail sur

Quoted 12 lines

http://fr.benefits.yahoo.com/

Quoted 2 lines

Le nouveau Yahoo! Messenger est arrivé ! Découvrez

toutes les nouveautés pour dialoguer instantanément avec vos amis. A télécharger gratuitement sur
http://fr.messenger.yahoo.com

Signature · 2 lines
GPG Key id: 0x0EF8926E
GPG: Server - gpg.rediris.es

Vous manquez d’espace pour stocker vos mails ? Yahoo! Mail vous offre GRATUITEMENT 100 Mo ! Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/

Le nouveau Yahoo! Messenger est arrivé ! Découvrez toutes les nouveautés pour dialoguer instantanément avec vos amis. A télécharger gratuitement sur http://fr.messenger.yahoo.com

#3 lore raw

No, im using it on fresh vanilla kernels 2.4.27, and it should appear on the config file, no matter if you selected it or not.

In your kernel (menuconfig -> networking options -> Netfilter Configuration) you should see this.

   [*]   Unclean match support (EXPERIMENTAL)
   [*]   Owner match support (EXPERIMENTAL)
   [*]   Packet filtering        

Did you download the kernel form kernel.org ???

Cheers

?A

Quoted 67 lines

I just look in my kernel .config, and i don t see it .

Do i have a patch to apply to enable this feature like ng, or does it a normal feature in the kernel ?

If it is, can i add this line directly in my .config ?

thanks ;)
Nicolas

Quoted 31 lines · --- Javier Sanchez

This one ???

CONFIG_IP_NF_MATCH_OWNER

Cheers

?A

Quoted 3 lines

Hello,

What is the module required into the linux kernel

to

Quoted 5 lines

enable the use of the -m owner match ? The name of this module isn t write into the howto ;(

I have parse all the modules in netfilter configuration section of the kernel 2.4.27, and i

didn

Quoted 10 lines

t see anything about this rule .

Greetings,
Nicolas

Quoted 3 lines

Vous manquez despace pour stocker vos mails ? Yahoo! Mail vous offre GRATUITEMENT 100 Mo ! Créez votre Yahoo! Mail sur

Quoted 12 lines

http://fr.benefits.yahoo.com/

Quoted 2 lines

Le nouveau Yahoo! Messenger est arrivé ! Découvrez

toutes les nouveautés pour dialoguer instantanément avec vos amis. A télécharger gratuitement sur
http://fr.messenger.yahoo.com

Signature · 2 lines
GPG Key id: 0x0EF8926E
GPG: Server - gpg.rediris.es

Vous manquez despace pour stocker vos mails ? Yahoo! Mail vous offre GRATUITEMENT 100 Mo ! Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/

Le nouveau Yahoo! Messenger est arrivé ! Découvrez toutes les nouveautés pour dialoguer instantanément avec vos amis. A télécharger gratuitement sur http://fr.messenger.yahoo.com

Signature · 2 lines
GPG Key id: 0x0EF8926E
GPG: Server - gpg.rediris.es
#4 lore raw

yep , i use the kernel of kernel.org . But, in fact since the 2.4.23, i use the same .config file .

I copy the oldone it in the /usr/src/linux-2.4.x and override the new one . Is it a bad way to do like that ?

here what i have in my .config file:

CONFIG_IP_MULTICAST=y
# CONFIG_IP_ADVANCED_ROUTER is not set
# CONFIG_IP_PNP is not set
# CONFIG_IP_MROUTE is not set CONFIG_IP_NF_CONNTRACK=y
CONFIG_IP_NF_FTP=y
# CONFIG_IP_NF_AMANDA is not set
# CONFIG_IP_NF_TFTP is not set CONFIG_IP_NF_IRC=y
CONFIG_IP_NF_IPTABLES=y CONFIG_IP_NF_MATCH_LIMIT=y CONFIG_IP_NF_MATCH_MAC=y CONFIG_IP_NF_MATCH_PKTTYPE=y CONFIG_IP_NF_MATCH_MARK=y CONFIG_IP_NF_MATCH_MULTIPORT=y CONFIG_IP_NF_MATCH_TOS=y CONFIG_IP_NF_MATCH_RECENT=y CONFIG_IP_NF_MATCH_ECN=y CONFIG_IP_NF_MATCH_DSCP=y CONFIG_IP_NF_MATCH_AH_ESP=y CONFIG_IP_NF_MATCH_LENGTH=y CONFIG_IP_NF_MATCH_TTL=y CONFIG_IP_NF_MATCH_TCPMSS=y CONFIG_IP_NF_MATCH_STEALTH=y
# CONFIG_IP_NF_MATCH_HELPER is not set CONFIG_IP_NF_MATCH_STATE=y CONFIG_IP_NF_MATCH_CONNTRACK=y CONFIG_IP_NF_FILTER=y CONFIG_IP_NF_TARGET_REJECT=y CONFIG_IP_NF_NAT=y
CONFIG_IP_NF_NAT_NEEDED=y CONFIG_IP_NF_TARGET_MASQUERADE=y CONFIG_IP_NF_TARGET_REDIRECT=y
# CONFIG_IP_NF_NAT_LOCAL is not set CONFIG_IP_NF_NAT_IRC=y CONFIG_IP_NF_NAT_FTP=y
CONFIG_IP_NF_MANGLE=y CONFIG_IP_NF_TARGET_TOS=y CONFIG_IP_NF_TARGET_ECN=y CONFIG_IP_NF_TARGET_DSCP=y CONFIG_IP_NF_TARGET_MARK=y CONFIG_IP_NF_TARGET_LOG=y CONFIG_IP_NF_TARGET_ULOG=y CONFIG_IP_NF_TARGET_TCPMSS=y
# CONFIG_IP_NF_ARPTABLES is not set
# CONFIG_IP_VS is not set
# CONFIG_IPX is not set
# CONFIG_IPMI_HANDLER is not set
# CONFIG_IPMI_PANIC_EVENT is not set
# CONFIG_IPMI_DEVICE_INTERFACE is not set
# CONFIG_IPMI_KCS is not set
# CONFIG_IPMI_WATCHDOG is not set

Quoted 93 lines · --- Javier Sanchez

No, im using it on fresh vanilla kernels 2.4.27, and it should appear on
the config file, no matter if you selected it or not.

In your kernel (menuconfig -> networking options -> Netfilter
Configuration) you should see this.

   [*]   Unclean match support (EXPERIMENTAL)
   [*]   Owner match support (EXPERIMENTAL)
   [*]   Packet filtering        

Did you download the kernel form kernel.org ???

Cheers

?A

Quoted 1 line

I just look in my kernel .config, and i don t see

it .

Quoted 3 lines

Do i have a patch to apply to enable this feature

like

Quoted 3 lines

ng, or does it a normal feature in the kernel ?

If it is, can i add this line directly in my

.config ?

Quoted 17 lines

thanks ;)
Nicolas

Quoted 11 lines · --- Javier Sanchez

This one ???

CONFIG_IP_NF_MATCH_OWNER

Cheers

?A

Quoted 3 lines

Hello,

What is the module required into the linux

kernel

Quoted 2 lines
Quoted 2 lines

to

Quoted 1 line

enable the use of the -m owner match ? The

name of

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

this module isn t write into the howto ;(

I have parse all the modules in netfilter configuration section of the kernel 2.4.27,

and i

Quoted 11 lines
Quoted 11 lines

didn

Quoted 10 lines

t see anything about this rule .

Greetings,
Nicolas

Quoted 6 lines
Quoted 6 lines
Quoted 3 lines

Vous manquez despace pour stocker vos mails ? Yahoo! Mail vous offre GRATUITEMENT 100 Mo ! Créez votre Yahoo! Mail sur

http://fr.benefits.yahoo.com/

Quoted 2 lines

Le nouveau Yahoo! Messenger est arrivé !

Découvrez

Quoted 1 line
Quoted 1 line

toutes les nouveautés pour dialoguer

instantanément

Quoted 14 lines
Quoted 8 lines

avec vos amis. A télécharger gratuitement sur
http://fr.messenger.yahoo.com

Signature · 2 lines
GPG Key id: 0x0EF8926E
GPG: Server - gpg.rediris.es
Quoted 3 lines

Vous manquez despace pour stocker vos mails ?
Yahoo! Mail vous offre GRATUITEMENT 100 Mo !
Créez votre Yahoo! Mail sur

Quoted 12 lines

http://fr.benefits.yahoo.com/

Quoted 2 lines

Le nouveau Yahoo! Messenger est arrivé ! Découvrez

toutes les nouveautés pour dialoguer instantanément avec vos amis. A télécharger gratuitement sur
http://fr.messenger.yahoo.com

Signature · 2 lines
GPG Key id: 0x0EF8926E
GPG: Server - gpg.rediris.es

Vous manquez d’espace pour stocker vos mails ? Yahoo! Mail vous offre GRATUITEMENT 100 Mo ! Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/

Le nouveau Yahoo! Messenger est arrivé ! Découvrez toutes les nouveautés pour dialoguer instantanément avec vos amis. A télécharger gratuitement sur http://fr.messenger.yahoo.com

#5 lore raw
Quoted 6 lines · Nicolas Boiteux

yep , i use the kernel of kernel.org . But, in fact since the 2.4.23, i use the same .config file .

I copy the oldone it in the /usr/src/linux-2.4.x and override the new one . Is it a bad way to do like that ?

do you have:

CONFIG_EXPERIMENTAL=y

set? if not--you won't get prompted for the owner match.

-j

Signature · 1 line
Jason Opperisano <[email protected]>
#7 lore raw
In reply to Nicolas Boiteux

Ok, the owner match option is experimental so it was probably not included in previous kernel versions. Adding the line to the old .config file should do the trick but i recommend you loading the old config file onto de kernel config utility and add any new options you need, this way you will be sure that the config file is correct.

Cheers

?A

Quoted 181 lines

yep , i use the kernel of kernel.org . But, in fact since the 2.4.23, i use the same .config file .

I copy the oldone it in the /usr/src/linux-2.4.x and override the new one . Is it a bad way to do like that ?

here what i have in my .config file:

CONFIG_IP_MULTICAST=y
# CONFIG_IP_ADVANCED_ROUTER is not set
# CONFIG_IP_PNP is not set
# CONFIG_IP_MROUTE is not set CONFIG_IP_NF_CONNTRACK=y
CONFIG_IP_NF_FTP=y
# CONFIG_IP_NF_AMANDA is not set
# CONFIG_IP_NF_TFTP is not set CONFIG_IP_NF_IRC=y
CONFIG_IP_NF_IPTABLES=y CONFIG_IP_NF_MATCH_LIMIT=y CONFIG_IP_NF_MATCH_MAC=y CONFIG_IP_NF_MATCH_PKTTYPE=y CONFIG_IP_NF_MATCH_MARK=y CONFIG_IP_NF_MATCH_MULTIPORT=y CONFIG_IP_NF_MATCH_TOS=y CONFIG_IP_NF_MATCH_RECENT=y CONFIG_IP_NF_MATCH_ECN=y CONFIG_IP_NF_MATCH_DSCP=y CONFIG_IP_NF_MATCH_AH_ESP=y CONFIG_IP_NF_MATCH_LENGTH=y CONFIG_IP_NF_MATCH_TTL=y CONFIG_IP_NF_MATCH_TCPMSS=y CONFIG_IP_NF_MATCH_STEALTH=y
# CONFIG_IP_NF_MATCH_HELPER is not set CONFIG_IP_NF_MATCH_STATE=y CONFIG_IP_NF_MATCH_CONNTRACK=y CONFIG_IP_NF_FILTER=y CONFIG_IP_NF_TARGET_REJECT=y CONFIG_IP_NF_NAT=y
CONFIG_IP_NF_NAT_NEEDED=y CONFIG_IP_NF_TARGET_MASQUERADE=y CONFIG_IP_NF_TARGET_REDIRECT=y
# CONFIG_IP_NF_NAT_LOCAL is not set CONFIG_IP_NF_NAT_IRC=y CONFIG_IP_NF_NAT_FTP=y
CONFIG_IP_NF_MANGLE=y CONFIG_IP_NF_TARGET_TOS=y CONFIG_IP_NF_TARGET_ECN=y CONFIG_IP_NF_TARGET_DSCP=y CONFIG_IP_NF_TARGET_MARK=y CONFIG_IP_NF_TARGET_LOG=y CONFIG_IP_NF_TARGET_ULOG=y CONFIG_IP_NF_TARGET_TCPMSS=y
# CONFIG_IP_NF_ARPTABLES is not set
# CONFIG_IP_VS is not set
# CONFIG_IPX is not set
# CONFIG_IPMI_HANDLER is not set
# CONFIG_IPMI_PANIC_EVENT is not set
# CONFIG_IPMI_DEVICE_INTERFACE is not set
# CONFIG_IPMI_KCS is not set
# CONFIG_IPMI_WATCHDOG is not set

Quoted 93 lines · --- Javier Sanchez

No, im using it on fresh vanilla kernels 2.4.27, and it should appear on
the config file, no matter if you selected it or not.

In your kernel (menuconfig -> networking options -> Netfilter
Configuration) you should see this.

   [*]   Unclean match support (EXPERIMENTAL)
   [*]   Owner match support (EXPERIMENTAL)
   [*]   Packet filtering        

Did you download the kernel form kernel.org ???

Cheers

?A

Quoted 1 line

I just look in my kernel .config, and i don t see

it .

Quoted 3 lines

Do i have a patch to apply to enable this feature

like

Quoted 3 lines

ng, or does it a normal feature in the kernel ?

If it is, can i add this line directly in my

.config ?

Quoted 17 lines

thanks ;)
Nicolas

Quoted 11 lines · --- Javier Sanchez

This one ???

CONFIG_IP_NF_MATCH_OWNER

Cheers

?A

Quoted 3 lines

Hello,

What is the module required into the linux

kernel

Quoted 2 lines
Quoted 2 lines

to

Quoted 1 line

enable the use of the -m owner match ? The

name of

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

this module isn t write into the howto ;(

I have parse all the modules in netfilter configuration section of the kernel 2.4.27,

and i

Quoted 11 lines
Quoted 11 lines

didn

Quoted 10 lines

t see anything about this rule .

Greetings,
Nicolas

Quoted 6 lines
Quoted 6 lines
Quoted 3 lines

Vous manquez despace pour stocker vos mails ? Yahoo! Mail vous offre GRATUITEMENT 100 Mo ! Créez votre Yahoo! Mail sur

http://fr.benefits.yahoo.com/

Quoted 2 lines

Le nouveau Yahoo! Messenger est arrivé !

Découvrez

Quoted 1 line
Quoted 1 line

toutes les nouveautés pour dialoguer

instantanément

Quoted 14 lines
Quoted 8 lines

avec vos amis. A télécharger gratuitement sur
http://fr.messenger.yahoo.com

Signature · 2 lines
GPG Key id: 0x0EF8926E
GPG: Server - gpg.rediris.es
Quoted 3 lines

Vous manquez despace pour stocker vos mails ?
Yahoo! Mail vous offre GRATUITEMENT 100 Mo !
Créez votre Yahoo! Mail sur

Quoted 12 lines

http://fr.benefits.yahoo.com/

Quoted 2 lines

Le nouveau Yahoo! Messenger est arrivé ! Découvrez

toutes les nouveautés pour dialoguer instantanément avec vos amis. A télécharger gratuitement sur
http://fr.messenger.yahoo.com

Signature · 2 lines
GPG Key id: 0x0EF8926E
GPG: Server - gpg.rediris.es

Vous manquez despace pour stocker vos mails ? Yahoo! Mail vous offre GRATUITEMENT 100 Mo ! Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/

Le nouveau Yahoo! Messenger est arrivé ! Découvrez toutes les nouveautés pour dialoguer instantanément avec vos amis. A télécharger gratuitement sur http://fr.messenger.yahoo.com

Signature · 2 lines
GPG Key id: 0x0EF8926E
GPG: Server - gpg.rediris.es
#6 lore raw
In reply to Jason Opperisano

Nice . You are right, I forgot to activate the experimental flag . The owner match stuff appear in the netfilter menu configuration ;)

It would be a good idea to say it, in the man page, or in the helper page .

Thanks for all,
Nicolas

Quoted 11 lines · --- Jason Opperisano
Quoted 1 line · Nicolas Boiteux

yep , i use the kernel of kernel.org . But, in

fact

Quoted 3 lines

since the 2.4.23, i use the same .config file .

I copy the oldone it in the /usr/src/linux-2.4.x

and

Quoted 1 line

override the new one . Is it a bad way to do like

that

Quoted 1 line

?

Quoted 14 lines

do you have:

CONFIG_EXPERIMENTAL=y

set? if not--you won't get prompted for the owner match.

-j

Signature · 1 line
Jason Opperisano <[email protected]>

Vous manquez d’espace pour stocker vos mails ? Yahoo! Mail vous offre GRATUITEMENT 100 Mo ! Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/

Le nouveau Yahoo! Messenger est arrivé ! Découvrez toutes les nouveautés pour dialoguer instantanément avec vos amis. A télécharger gratuitement sur http://fr.messenger.yahoo.com

#8 lore raw
In reply to Nicolas Boiteux
Quoted 6 lines · Nicolas Boiteux

Hello,

What is the module required into the linux kernel to enable the use of the -m owner match ? The name of this module isn t write into the howto ;(

Quoted 6 lines

I have parse all the modules in netfilter configuration section of the kernel 2.4.27, and i didn t see anything about this rule .

Greetings,
Nicolas

The module you need is called ipt_owner, but it needs to be compiled at kernel compilation time, using the patch-o-matic.

Signature · 12 lines
Jose Maria Lopez Hernandez
Director Tecnico de bgSEC
[email protected]
bgSEC Seguridad y Consultoria de Sistemas Informaticos
http://www.bgsec.com
ESPAÑA

The only people for me are the mad ones -- the ones who are mad to live,
mad to talk, mad to be saved, desirous of everything at the same time,
the ones who never yawn or say a commonplace thing, but burn, burn, burn
like fabulous yellow Roman candles.
                -- Jack Kerouac, "On the Road"