On 3/27/2015 8:31 AM, Tom Eastep wrote:
> On 3/27/2015 7:11 AM, Marco Giacomelli wrote:
>> I can not create that dump because shorewall is not starting at all,
>> it quits right after adding the providers and the error about them not
>> being reachable.
> 
> Shorewall does not have to be started for the dump to be useful.
> 

In particular, it will show me the output of 'ip link list' for all of
your interfaces.

The error message is being generated because the generated script
doesn't believe that eth0 is up.

I'm confused, however, by the trace output. From the compiled script
(please excuse my mailer's folding of the text), here is the
'interface_is_up' function:

interface_is_up() {
    [ -n "$($IP -$g_family link list dev $1 2> /dev/null | grep -e
'[<,]UP[,>]')" ]
}

But in the trace, I see:

ip -4 link list+ ev eth0
grep -e [<,]UP[,>]
+ [ -n  ]

This may just a problem with your shell's trace output, but if the shell
is actually executing that 'ip' command, then that would explain the
problem. If you have more than one shell installed, you might try
specifying another one in SHOREWALL_SHELL to see if the behavior is
different.

-Tom
-- 
Tom Eastep        \ When I die, I want to go like my Grandfather who
Shoreline,         \ died peacefully in his sleep. Not screaming like
Washington, USA     \ all of the passengers in his car
http://shorewall.net \________________________________________________

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to