Re: IP Filter and IPMP on Solaris 10 (ipf 3.0.4, pfil 2.1.4)

This is a discussion on Re: IP Filter and IPMP on Solaris 10 (ipf 3.0.4, pfil 2.1.4) within the IPFilter forums, part of the System Security and Security Related category; Thanks Jeff, We've traditionally just used both interfaces in the IPF rules (Sol 9), but sometimes sessions seem to ...


Go Back   Usenet Forums > System Security and Security Related > IPFilter

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-30-2006
Stuart Remphrey
 
Posts: n/a
Default Re: IP Filter and IPMP on Solaris 10 (ipf 3.0.4, pfil 2.1.4)

Thanks Jeff,

We've traditionally just used both interfaces in the IPF rules (Sol
9),
but sometimes sessions seem to hang - not sure if that's the app
or IPF+IPMP when the "other" interface is not standby, or when
a failover occurs. Rules have "flags S keep state" or similar.

We'll play around a bit more with if_mpadm -d and -r ...


What I'm concerned about is whether the state table recognises
that both interfaces are effectively the same from the point
of view of the failover virtual address(es). So it's okay if packets
on an established TCP session with 'flags S/xxx keep state'
are coming in on another port in the same group (similarly,
if the other NIC is not in standby mode, then outgoing packets
may be loadbalanced out the other NIC).

Many of our interfaces are active/standby, but where there are
more than one virtual IP in use over IPMP these are generally
spread across the NICs in an active/active configuration.


As another way of looking at it, what's this for, if it's not
needed or not used:
ndd -set /dev/pfil qif_ipmp_set virtual=phys0,phys1
ndd -get /dev/pfil qif_ipmp_status

Meantime, we're also trying ipfilter 4.1.15 on Solaris 10.
(&tried "find|grep" for qif_ipmp through 4.1.15 code, no luck?!)

Rgds, Stuart.


>>>

From: "Jeff A. Earickson" <jaearick@colby.edu>
To: Stuart Remphrey <stuart.remphrey@rmit.edu.au>
Date: 30-Nov-06 6:52 am
Subject: Re: IP Filter and IPMP on Solaris 10 (ipf 3.0.4, pfil
2.1.4)

CC: <ipfilter@coombs.anu.edu.au>
Stuart,

Attached are my notes on how to configure link-based (not probe-based)
IPMP for Solaris 10. There is nothing special that you have to do
with ipfilter other than create rules for both interfaces, eg bge0
and bge1.

Jeff Earickson
Colby College

On Wed, 29 Nov 2006, Stuart Remphrey wrote:

> Date: Wed, 29 Nov 2006 15:21:50 +1100
> From: Stuart Remphrey <stuart.remphrey@rmit.edu.au>
> To: ipfilter@coombs.anu.edu.au
> Subject: IP Filter and IPMP on Solaris 10 (ipf 3.0.4, pfil 2.1.4)
>
> G'day all,
>
> Trying to get Solaris IPMP (IP MultiPathing) group recognised by IP
> Filter,
> using the ipf & pfil as supplied with Solaris 10 (currently 6/06).
>
> I can define the IPMP groups as something like:
>
> ndd -set /dev/pfil qif_ipmp_set ipmp0=ce0,ce1
> (it seems names besides ipmp can also be used, such as "db", "web",
> whatever)
>
> Then see them with:
>
> ndd -get /dev/pfil qif_ipmp_status
>
> Now, am I supposed to then use "on ipmp0" in a rule, something like:
>
> pass in log first quick on ipmp0 from X to Y port = 22 flags S keep
> state
> (or S/SA, S/SAFR, whatever)
>
>
> Incoming SSH does not match this rule, but if I change to "on ce0"
> it works as before (however then I'm concerned it may not track
> the state across to ce2 if the link or switch on ce0 fails).
>
> Rgds, Stuart.
>
>
> Stuart Remphrey
> RMIT ITS Infrastructure Services - Unix Systems
> Phone (03) 992 55 070 (or extension 55070)
>

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:45 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0