Tom Eastep wrote:
> On 06/01/2013 06:45 AM, Dash Four wrote:
>   
>> Well, I am still getting this.
>>     
>
> Then please forward a configuration (with capabilities file) that shows
> the problem. Thanks.
>   
I'll do that later.

>>>> and the last rule should be "-o lo -j ACCEPT".
>>>>
>>>>     
>>>>         
>>> No -- all+ all+ DROP means that the fw->fw policy is DROP. That is probably 
>>> enforced in the fw2fw chain.
>>>   
>>>       
>> I have asked shorewall to ignore "lo" - doesn't that mean shorewall 
>> should *not* enforce anything for that interface (and let all the 
>> traffic through that interface "pass")?
>>
>>     
>
> No -- from 'man shorewall-interfaces':
>
> ignore[=1]
>
>   When specified, causes the generated script to ignore up/down events
>   from Shorewall-init for this device. Additionally, the option exempts
>   the interface from hairpin filtering. When '=1' is omitted, the ZONE
>   column must contain '-' and ignore must be the only OPTION.
>
>   Beginning with Shorewall 4.5.5, may be specified as 'ignore=1' which
>   only causes the generated script to ignore up/down events from
>   Shorewall-init; hairpin filtering is still applied. In this case, the
>   above restrictions on the ZONE and OPTIONS columns are lifted.
>   
Right, so if I want shorewall to "ignore" a specific interface, I need 
to explicitly set its policies to "ACCEPT", would that be sufficient?

>> In addition, I am getting two separate sets of warnings during startup:
>>
>> rules
>> ~~~~~
>> SECTION RELATED
>> # MUST be last as *_DISPOSITION does not accept custom actions
>> IFLOG(-,log1,-,drop,DROP) all all
>>
>> gives me:
>>
>> WARNING: The rule(s) generated by this entry are unreachable and have 
>> been discarded /etc/shorewall/action.ILOG (line 38)
>>    from /etc/shorewall/action.IFLOG (line 31)
>>    from /etc/shorewall/rules (line 106)
>> [...ad nauseum ...]
>>
>> then...
>>
>> WARNING: The SOURCE zone is off-firewall and the DEST zone is 'loopback' 
>> /etc/shorewall/action.IFLOG (line 29)
>>    from /etc/shorewall/tunnels (line EOF)
>> WARNING: The SOURCE zone is off-firewall and the DEST zone is 'loopback' 
>> /etc/shorewall/action.IFLOG (line 31)
>>    from /etc/shorewall/tunnels (line EOF)
>> [...again, ad nauseum ...]
>>
>> My /etc/shorewall/tunnels is empty.
>>     
>
> I'll make no progress on that one without seeing the action.IFLOG
> definition.
>   
IFLOG is the "inline" equivalent of FLOG, which I have posted before:

action.FLOG
~~~~~~~~~~~
?IF $1
  NFLOG($1,0,1)
?ENDIF
?IF $2
 ?SET @chain $3 ? $3 : " "
 ?SET @disposition $4 ? $4 : " "
 LOG:info(tcp_options,ip_options,macdecode,tcp_sequence,uid)
?END IF
?IF $5
 $5
?END IF

>> Also, despite my best efforts, the xt_CT helper messages have *not* gone 
>> away, even though I've set net.netfilter_nf_conntrack_helper to 0 in my 
>> sysctl.conf (I even tried setting this as a kernel parameter).
>>     
>
> Do you have any 'notrack' rules? If not, you could simply omit xt_CT
> from your kernel configuration.
>   
My "conntrack" is empty and I have explicitly disabled all helpers in my 
kernel - that's the first thing I did in order to get rid of these 
obnoxious messages.


------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
_______________________________________________
Shorewall-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-devel

Reply via email to