Solaris pfil startup script...

This is a discussion on Solaris pfil startup script... within the IPFilter forums, part of the System Security and Security Related category; The startup script should look like this if you've downloaded and installed an unmodified version: iflist="`echo /etc/...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-14-2004
Darren Reed
 
Posts: n/a
Default Solaris pfil startup script...


The startup script should look like this if you've downloaded and
installed an unmodified version:

iflist="`echo /etc/hostname.*[0-9] 2>/dev/null`"
if [ "$iflist" != '/etc/hostname.*[0-9]' ] ; then
(
y=xxx
x=$IFS
for i in /etc/hostname.*[0-9]; do
ORIGIFS="$IFS"
IFS="$IFS."
set -- $i
IFS="$ORIGIFS"
ifname="$2"
if [ $ifname != $y ] ; then
y=$ifname
fixif $ifname
fi
done
)
fi

The only change required here, to stop virtual interfaces (:#) being
a problem is to change the line
IFS="$IFS."
to
IFS="$IFS.:"

Comments, anyone ?

Darren
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 04:30 AM.


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