Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - lsm-nraw.so on different tcp/ip stacks: (3 Items)
   
lsm-nraw.so on different tcp/ip stacks  
Dear all,

I installed three tcp/ip stacks which work quite fine.

The first is under /dev, the two additional are /sock1 and /sock2


Now I try to load the lsm-nraw.so using

mount -Ttcpip -oprefix=/sock1 lsm-nraw.so

however, I filters packets on /sock2.

I also tried 

SOCK=/sock1 mount -Ttcpip -oprefix=/sock1 lsm-nraw.so

with the same result.

Looks like the the lsm is mounted to the last io-pkt loaded.

How can I mount the lsm modules to a specific stack/io-pkt?

Thanks!

Martin
Re: lsm-nraw.so on different tcp/ip stacks  
On Thu, Sep 10, 2009 at 02:49:35PM -0400, Martin Dorigatti wrote:
> Dear all,
> 
> I installed three tcp/ip stacks which work quite fine.
> 
> The first is under /dev, the two additional are /sock1 and /sock2
> 
> 
> Now I try to load the lsm-nraw.so using
> 
> mount -Ttcpip -oprefix=/sock1 lsm-nraw.so
> 
> however, I filters packets on /sock2.
> 
> I also tried 
> 
> SOCK=/sock1 mount -Ttcpip -oprefix=/sock1 lsm-nraw.so
> 
> with the same result.
> 
> Looks like the the lsm is mounted to the last io-pkt loaded.
> 
> How can I mount the lsm modules to a specific stack/io-pkt?

With io-pkt you can do:

# io-pkt -i1 ...
# mount -T io-pkt1 ....

-seanb
Re: lsm-nraw.so on different tcp/ip stacks  
Works perfectly,

Thanks!