All of lore.kernel.org
 help / color / mirror / Atom feed
* how to get ipset as module
@ 2009-10-05  4:42 J. Bakshi
  2009-10-06 10:09 ` Jozsef Kadlecsik
  0 siblings, 1 reply; 5+ messages in thread
From: J. Bakshi @ 2009-10-05  4:42 UTC (permalink / raw)
  To: netfilter

Dear list,

I can't compile the kernel to activate ipset as it is a remote box. Is
there any alternative to to get ipset as a module in a remote suse box ?

Thanks

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

* Re: how to get ipset as module
  2009-10-05  4:42 how to get ipset as module J. Bakshi
@ 2009-10-06 10:09 ` Jozsef Kadlecsik
  2009-10-06 10:51   ` J. Bakshi
  0 siblings, 1 reply; 5+ messages in thread
From: Jozsef Kadlecsik @ 2009-10-06 10:09 UTC (permalink / raw)
  To: J. Bakshi; +Cc: netfilter

On Mon, 5 Oct 2009, J. Bakshi wrote:

> I can't compile the kernel to activate ipset as it is a remote box. Is
> there any alternative to to get ipset as a module in a remote suse box ?

Assuming that the architectures of the remote/local boxes are 
identical, that's not hard at all:

- get the source code of the kernel version running on the remote box, 
- configure the kernel source,
- compile ipset with referring to the configured kernel source tree,
- copy the compiled ip_set*.ko modules to the proper module directory
  on the remote box.

Best regards,
Jozsef
-
E-mail  : kadlec@blackhole.kfki.hu, kadlec@mail.kfki.hu
PGP key : http://www.kfki.hu/~kadlec/pgp_public_key.txt
Address : KFKI Research Institute for Particle and Nuclear Physics
          H-1525 Budapest 114, POB. 49, Hungary

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

* Re: how to get ipset as module
  2009-10-06 10:09 ` Jozsef Kadlecsik
@ 2009-10-06 10:51   ` J. Bakshi
  2009-10-06 11:16     ` Jozsef Kadlecsik
  0 siblings, 1 reply; 5+ messages in thread
From: J. Bakshi @ 2009-10-06 10:51 UTC (permalink / raw)
  To: Jozsef Kadlecsik; +Cc: netfilter

Jozsef Kadlecsik wrote:
> On Mon, 5 Oct 2009, J. Bakshi wrote:
>
>   
>> I can't compile the kernel to activate ipset as it is a remote box. Is
>> there any alternative to to get ipset as a module in a remote suse box ?
>>     
>
> Assuming that the architectures of the remote/local boxes are 
> identical, that's not hard at all:
>
> - get the source code of the kernel version running on the remote box, 
> - configure the kernel source,
> - compile ipset with referring to the configured kernel source tree,
> - copy the compiled ip_set*.ko modules to the proper module directory
>   on the remote box.
>
>   

Thanks for your response.
Yes, this can be done too but the arch of the remote box is not same as
my local one. local box is 32-bit inter and the remote is
amd-dual-core-64bit



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

* Re: how to get ipset as module
  2009-10-06 10:51   ` J. Bakshi
@ 2009-10-06 11:16     ` Jozsef Kadlecsik
  2009-10-06 11:41       ` J. Bakshi
  0 siblings, 1 reply; 5+ messages in thread
From: Jozsef Kadlecsik @ 2009-10-06 11:16 UTC (permalink / raw)
  To: J. Bakshi; +Cc: netfilter

On Tue, 6 Oct 2009, J. Bakshi wrote:

> Jozsef Kadlecsik wrote:
> > On Mon, 5 Oct 2009, J. Bakshi wrote:
> >
> >> I can't compile the kernel to activate ipset as it is a remote box. Is
> >> there any alternative to to get ipset as a module in a remote suse box ?
> >>     
> >
> > Assuming that the architectures of the remote/local boxes are 
> > identical, that's not hard at all:
> >
> > - get the source code of the kernel version running on the remote box, 
> > - configure the kernel source,
> > - compile ipset with referring to the configured kernel source tree,
> > - copy the compiled ip_set*.ko modules to the proper module directory
> >   on the remote box.
> 
> Thanks for your response.
> Yes, this can be done too but the arch of the remote box is not same as
> my local one. local box is 32-bit inter and the remote is
> amd-dual-core-64bit

Then use the ARCH=x86_64 flag when configuring the kernel source.

Best regards,
Jozsef
-
E-mail  : kadlec@blackhole.kfki.hu, kadlec@mail.kfki.hu
PGP key : http://www.kfki.hu/~kadlec/pgp_public_key.txt
Address : KFKI Research Institute for Particle and Nuclear Physics
          H-1525 Budapest 114, POB. 49, Hungary

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

* Re: how to get ipset as module
  2009-10-06 11:16     ` Jozsef Kadlecsik
@ 2009-10-06 11:41       ` J. Bakshi
  0 siblings, 0 replies; 5+ messages in thread
From: J. Bakshi @ 2009-10-06 11:41 UTC (permalink / raw)
  To: Jozsef Kadlecsik; +Cc: netfilter

Jozsef Kadlecsik wrote:
> On Tue, 6 Oct 2009, J. Bakshi wrote:
>
>   
>> Jozsef Kadlecsik wrote:
>>     
>>> On Mon, 5 Oct 2009, J. Bakshi wrote:
>>>
>>>       
>>>> I can't compile the kernel to activate ipset as it is a remote box. Is
>>>> there any alternative to to get ipset as a module in a remote suse box ?
>>>>     
>>>>         
>>> Assuming that the architectures of the remote/local boxes are 
>>> identical, that's not hard at all:
>>>
>>> - get the source code of the kernel version running on the remote box, 
>>> - configure the kernel source,
>>> - compile ipset with referring to the configured kernel source tree,
>>> - copy the compiled ip_set*.ko modules to the proper module directory
>>>   on the remote box.
>>>       
>> Thanks for your response.
>> Yes, this can be done too but the arch of the remote box is not same as
>> my local one. local box is 32-bit inter and the remote is
>> amd-dual-core-64bit
>>     
>
> Then use the ARCH=x86_64 flag when configuring the kernel source.
>
>   

Oh ! great. Forgot how flexible linux is.
Thanks


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

end of thread, other threads:[~2009-10-06 11:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-05  4:42 how to get ipset as module J. Bakshi
2009-10-06 10:09 ` Jozsef Kadlecsik
2009-10-06 10:51   ` J. Bakshi
2009-10-06 11:16     ` Jozsef Kadlecsik
2009-10-06 11:41       ` J. Bakshi

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.