All of lore.kernel.org
 help / color / mirror / Atom feed
* missing  ip_set_ipporthash.h
@ 2006-02-09 17:30 Thomas Raef
  2006-02-09 17:50 ` Samuel Díaz García
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Raef @ 2006-02-09 17:30 UTC (permalink / raw)
  To: netfilter

I'm trying to compile ipset-2.2.8 on my Debian Sarge 2.6.15 system I
keep getting:

linux/netfilter_ipv4/ip_set_ipporthash.h no such file or directory

When I do:

Find / -name ip_set_ipporthash.h

It finds nothing.

Please help

Thank you in advance.


Thomas J. Raef
e-Based Security, Inc.
www.ebasedsecurity.com
"You're either hardened, or you're hacked!"


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

* Re: missing  ip_set_ipporthash.h
  2006-02-09 17:30 missing ip_set_ipporthash.h Thomas Raef
@ 2006-02-09 17:50 ` Samuel Díaz García
  0 siblings, 0 replies; 4+ messages in thread
From: Samuel Díaz García @ 2006-02-09 17:50 UTC (permalink / raw)
  To: Thomas Raef; +Cc: netfilter

I compile fine with 2.6.x (from 2.6.12 to 2.6.15.3 tested).

In README says that you need to apply "set" patch from patch-o-matic.

I always make kernel, and iptables with "all" patches without problems.

Create a link called linux into /usr/src to your kernel sources root (for 
example "ln -s /usr/src/linux-2.6.15.3 /usr/src/linux)

The same with iptables ("ln -s /usr/src/iptables-1.3.5 /usr/src/iptables").

Put your pom-ng directory where you want, cd into your pom-ng directory and do 
"./runme set"

Compile and install your kernel.

Disable your iptables boot scripts before reboot ("chkconfig --level 2345 
iptables off" under Fedora).

Reboot with your new kernel.

Goto your iptables sources directory, make and make install. Remember to 
uninstall your previous iptables package before install the new iptables or 
rename old binaries/libs/libs directories.

The next is go into your ipset-2.2.8 directory and "make clean && make && make 
install"

That's all (as I remember).

Good luck.

Thomas Raef wrote:
> I'm trying to compile ipset-2.2.8 on my Debian Sarge 2.6.15 system I
> keep getting:
> 
> linux/netfilter_ipv4/ip_set_ipporthash.h no such file or directory
> 
> When I do:
> 
> Find / -name ip_set_ipporthash.h
> 
> It finds nothing.
> 
> Please help
> 
> Thank you in advance.
> 
> 
> Thomas J. Raef
> e-Based Security, Inc.
> www.ebasedsecurity.com
> "You're either hardened, or you're hacked!"
> 
> 
> 

-- 
    Samuel Díaz García
     Director Gerente
ArcosCom Wireless, S.L.L.

CIF: B11828068
c/ Romero Gago, 19
Arcos de la Frontera
11630 - Cadiz

http://www.arcoscom.com

mailto:samueldg@arcoscom.com
msn: samueldg@arcoscom.com

Móvil: 651 93 72 48
Tlfn.: 956 70 13 15
Fax:   956 70 34 83


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

* RE: missing  ip_set_ipporthash.h
@ 2006-02-09 21:13 Thomas Raef
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas Raef @ 2006-02-09 21:13 UTC (permalink / raw)
  To: Samuel Díaz García; +Cc: netfilter

When I try to 'make' in the ipset-2.2.8 directory, I get:

Ipset_ipporthash.c:31:52: linux/netfilter_ipv4/ip_set_ipporthash.h: No such file or directory

And find / -name ip_set_ipporthash.h shows nothing.

Please help!

Where I am going wrong?

I've created links as suggested.


-----Original Message-----
From: Samuel Díaz García [mailto:samueldg@arcoscom.com] 
Sent: Thursday, February 09, 2006 11:50 AM
To: Thomas Raef
Cc: netfilter@lists.netfilter.org
Subject: Re: missing ip_set_ipporthash.h

I compile fine with 2.6.x (from 2.6.12 to 2.6.15.3 tested).

In README says that you need to apply "set" patch from patch-o-matic.

I always make kernel, and iptables with "all" patches without problems.

Create a link called linux into /usr/src to your kernel sources root (for 
example "ln -s /usr/src/linux-2.6.15.3 /usr/src/linux)

The same with iptables ("ln -s /usr/src/iptables-1.3.5 /usr/src/iptables").

Put your pom-ng directory where you want, cd into your pom-ng directory and do 
"./runme set"

Compile and install your kernel.

Disable your iptables boot scripts before reboot ("chkconfig --level 2345 
iptables off" under Fedora).

Reboot with your new kernel.

Goto your iptables sources directory, make and make install. Remember to 
uninstall your previous iptables package before install the new iptables or 
rename old binaries/libs/libs directories.

The next is go into your ipset-2.2.8 directory and "make clean && make && make 
install"

That's all (as I remember).

Good luck.

Thomas Raef wrote:
> I'm trying to compile ipset-2.2.8 on my Debian Sarge 2.6.15 system I
> keep getting:
> 
> linux/netfilter_ipv4/ip_set_ipporthash.h no such file or directory
> 
> When I do:
> 
> Find / -name ip_set_ipporthash.h
> 
> It finds nothing.
> 
> Please help
> 
> Thank you in advance.
> 
> 
> Thomas J. Raef
> e-Based Security, Inc.
> www.ebasedsecurity.com
> "You're either hardened, or you're hacked!"
> 
> 
> 

-- 
    Samuel Díaz García
     Director Gerente
ArcosCom Wireless, S.L.L.

CIF: B11828068
c/ Romero Gago, 19
Arcos de la Frontera
11630 - Cadiz

http://www.arcoscom.com

mailto:samueldg@arcoscom.com
msn: samueldg@arcoscom.com

Móvil: 651 93 72 48
Tlfn.: 956 70 13 15
Fax:   956 70 34 83


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

* RE: missing  ip_set_ipporthash.h
@ 2006-02-09 23:57 Thomas Raef
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas Raef @ 2006-02-09 23:57 UTC (permalink / raw)
  To: Samuel Díaz García; +Cc: netfilter

From the ipset Download and Install web page I was following these steps:

The installation requires the following steps 

1. donwload and unpack the sources; 
2. run make menuconfig or equivalent in the kernel source directory to     preconfigure the kernel 
3. run KERNEL_DIR=/where/the/kernel/source ./runme set from the patch-o-matic-n g directory and patch your kernel with the IP set functionality; 
4. go back to the kernel source directory, run make oldconfig. Enable the new IP set related options, then compile and install the kernel as usual. 
5. run KERNEL_DIR=... make, then KERNEL_DIR=... make install in the iptables source code directory. Similarly to patch-o-matic-ng, you must specify the proper kernel source directory name via the KERNEL_DIR variable. 
6. repeat the previous step in the ipset source directory 
7. and ready!

(I added the number for clarity)

I tried it repeatedly. (isn't that the definition of insanity - trying the same thing over and over and expecting different results)

I finally got it to work by running make menuconfig in step #4 instead of make oldconfig.

I'm not knowledgeable enough to know what the difference is, but it worked!

Anyone on this list care to explain?

Thank you for your patience - and your help.


-----Original Message-----
From: Samuel Díaz García [mailto:samueldg@arcoscom.com] 
Sent: Thursday, February 09, 2006 11:50 AM
To: Thomas Raef
Cc: netfilter@lists.netfilter.org
Subject: Re: missing ip_set_ipporthash.h

I compile fine with 2.6.x (from 2.6.12 to 2.6.15.3 tested).

In README says that you need to apply "set" patch from patch-o-matic.

I always make kernel, and iptables with "all" patches without problems.

Create a link called linux into /usr/src to your kernel sources root (for 
example "ln -s /usr/src/linux-2.6.15.3 /usr/src/linux)

The same with iptables ("ln -s /usr/src/iptables-1.3.5 /usr/src/iptables").

Put your pom-ng directory where you want, cd into your pom-ng directory and do 
"./runme set"

Compile and install your kernel.

Disable your iptables boot scripts before reboot ("chkconfig --level 2345 
iptables off" under Fedora).

Reboot with your new kernel.

Goto your iptables sources directory, make and make install. Remember to 
uninstall your previous iptables package before install the new iptables or 
rename old binaries/libs/libs directories.

The next is go into your ipset-2.2.8 directory and "make clean && make && make 
install"

That's all (as I remember).

Good luck.

Thomas Raef wrote:
> I'm trying to compile ipset-2.2.8 on my Debian Sarge 2.6.15 system I
> keep getting:
> 
> linux/netfilter_ipv4/ip_set_ipporthash.h no such file or directory
> 
> When I do:
> 
> Find / -name ip_set_ipporthash.h
> 
> It finds nothing.
> 
> Please help
> 
> Thank you in advance.
> 
> 
> Thomas J. Raef
> e-Based Security, Inc.
> www.ebasedsecurity.com
> "You're either hardened, or you're hacked!"
> 
> 
> 

-- 
    Samuel Díaz García
     Director Gerente
ArcosCom Wireless, S.L.L.

CIF: B11828068
c/ Romero Gago, 19
Arcos de la Frontera
11630 - Cadiz

http://www.arcoscom.com

mailto:samueldg@arcoscom.com
msn: samueldg@arcoscom.com

Móvil: 651 93 72 48
Tlfn.: 956 70 13 15
Fax:   956 70 34 83


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

end of thread, other threads:[~2006-02-09 23:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-09 17:30 missing ip_set_ipporthash.h Thomas Raef
2006-02-09 17:50 ` Samuel Díaz García
  -- strict thread matches above, loose matches on Subject: below --
2006-02-09 21:13 Thomas Raef
2006-02-09 23:57 Thomas Raef

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.