Nevada, Solaris 10 Update 4 - IPFilter and Zones

Back in "Using IPFilter between zones for firewalling", I mentioned that our project to enable IPFilter between zones had been approved. This project was made a part of OpenSolaris (or nevada) late last year and in "Packet Filtering Hooks integrated into Solaris Nevada", I mentioned that the project had been successful. But the missing ingredient: how do I use this?

Out of the box, if you start using IPFilter with Solaris Zones (using shared stack instances), you won't be able to intercept those pesky packets that are going directly from zone to zone. There's a hidden button that you need to push in ipf.conf called intercept_loopback.

How is this button used? At the top of your ipf.conf file, you need to have a line like this:

set intercept_loopback true;

Note the ; at the end of the line. Similarly, to disable it, replacing "true" with "false" is sufficient.

NOTE that as this line implies, all loopback traffic will now be intercepted, including loopback (lo0) traffic, so you may need to be more careful about what you block vs pass.

Comments:

Post a Comment:
Comments are closed for this entry.
About

avalon

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today