forked from extern/shorewall_code
Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
5fbc5f1430 | ||
|
cae7c5d300 | ||
|
bba851117a | ||
|
91702f094d | ||
|
49c94bc5ec |
@ -117,6 +117,7 @@ fi
|
|||||||
echo "Uninstalling Shorewall Core $VERSION"
|
echo "Uninstalling Shorewall Core $VERSION"
|
||||||
|
|
||||||
rm -rf ${SHAREDIR}/shorewall
|
rm -rf ${SHAREDIR}/shorewall
|
||||||
|
rm -f ~/.shorewallrc
|
||||||
|
|
||||||
echo "Shorewall Core Uninstalled"
|
echo "Shorewall Core Uninstalled"
|
||||||
|
|
||||||
|
@ -572,9 +572,9 @@ if [ -z "$DESTDIR" ]; then
|
|||||||
cant_autostart
|
cant_autostart
|
||||||
fi
|
fi
|
||||||
elif [ $HOST = openwrt -a -f ${CONFDIR}/rc.common ]; then
|
elif [ $HOST = openwrt -a -f ${CONFDIR}/rc.common ]; then
|
||||||
/etc/init.d/shorewall-inir enable
|
/etc/init.d/$PRODUCT enable
|
||||||
if /etc/init.d/shorewall-init enabled; then
|
if /etc/init.d/shorewall-init enabled; then
|
||||||
echo "Shorrewall Init will start automatically at boot"
|
echo "$Product will start automatically at boot"
|
||||||
else
|
else
|
||||||
cant_autostart
|
cant_autostart
|
||||||
fi
|
fi
|
||||||
|
@ -495,7 +495,7 @@ done
|
|||||||
# Install the Man Pages
|
# Install the Man Pages
|
||||||
#
|
#
|
||||||
|
|
||||||
if [ -d manpages ]; then
|
if [ -d manpages -a -n "$MANDIR" ]; then
|
||||||
cd manpages
|
cd manpages
|
||||||
|
|
||||||
mkdir -p ${DESTDIR}${MANDIR}/man5/ ${DESTDIR}${MANDIR}/man8/
|
mkdir -p ${DESTDIR}${MANDIR}/man5/ ${DESTDIR}${MANDIR}/man8/
|
||||||
|
@ -1110,7 +1110,7 @@ interface_is_usable() # $1 = interface
|
|||||||
#
|
#
|
||||||
find_interface_addresses() # $1 = interface
|
find_interface_addresses() # $1 = interface
|
||||||
{
|
{
|
||||||
$IP -f inet6 addr show $1 2> /dev/null | grep 'inet6 2' | sed 's/\s*inet6 //;s/\/.*//;s/ peer.*//'
|
$IP -f inet6 addr show $1 2> /dev/null | grep 'inet6 2' | sed 's/\s*inet6 //;s/\/.*//;s/ peer [0-9a-f:]*//'
|
||||||
}
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -1119,7 +1119,7 @@ find_interface_addresses() # $1 = interface
|
|||||||
|
|
||||||
find_interface_full_addresses() # $1 = interface
|
find_interface_full_addresses() # $1 = interface
|
||||||
{
|
{
|
||||||
$IP -f inet6 addr show $1 2> /dev/null | grep 'inet6 ' | sed 's/\s*inet6 //;s/ scope.*//;s/ peer.*//'
|
$IP -f inet6 addr show $1 2> /dev/null | grep 'inet6 ' | sed 's/\s*inet6 //;s/ scope.*//;s/ peer [0-9a-f:]*//'
|
||||||
}
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -514,7 +514,7 @@ echo "Default config path file installed as ${DESTDIR}${SHAREDIR}/$PRODUCT/confi
|
|||||||
# Install the Standard Actions file
|
# Install the Standard Actions file
|
||||||
#
|
#
|
||||||
install_file actions.std ${DESTDIR}${SHAREDIR}/$PRODUCT/actions.std 0644
|
install_file actions.std ${DESTDIR}${SHAREDIR}/$PRODUCT/actions.std 0644
|
||||||
echo "Standard actions file installed as ${DESTDIR}${SHAREDIR}d/$PRODUCT/actions.std"
|
echo "Standard actions file installed as ${DESTDIR}${SHAREDIR}/$PRODUCT/actions.std"
|
||||||
|
|
||||||
cd configfiles
|
cd configfiles
|
||||||
|
|
||||||
@ -1177,6 +1177,8 @@ fi
|
|||||||
# Install the Man Pages
|
# Install the Man Pages
|
||||||
#
|
#
|
||||||
|
|
||||||
|
if [ -n "$MANDIR" ]; then
|
||||||
|
|
||||||
cd manpages
|
cd manpages
|
||||||
|
|
||||||
[ -n "$INSTALLD" ] || mkdir -p ${DESTDIR}${MANDIR}/man5/ ${DESTDIR}${MANDIR}/man8/
|
[ -n "$INSTALLD" ] || mkdir -p ${DESTDIR}${MANDIR}/man5/ ${DESTDIR}${MANDIR}/man8/
|
||||||
@ -1196,6 +1198,7 @@ done
|
|||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
echo "Man Pages Installed"
|
echo "Man Pages Installed"
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -d ${DESTDIR}${CONFDIR}/logrotate.d ]; then
|
if [ -d ${DESTDIR}${CONFDIR}/logrotate.d ]; then
|
||||||
run_install $OWNERSHIP -m 0644 logrotate ${DESTDIR}${CONFDIR}/logrotate.d/$PRODUCT
|
run_install $OWNERSHIP -m 0644 logrotate ${DESTDIR}${CONFDIR}/logrotate.d/$PRODUCT
|
||||||
|
@ -504,7 +504,7 @@ INLINE eth0 - ; -p tcp -j MARK --set
|
|||||||
|
|
||||||
<member>0xc0a80403 LAND 0xFF = 0x03</member>
|
<member>0xc0a80403 LAND 0xFF = 0x03</member>
|
||||||
|
|
||||||
<member>0x03 LOR 0x0x10100 = 0x10103 or class ID
|
<member>0x03 LOR 0x10100 = 0x10103 or class ID
|
||||||
1:103</member>
|
1:103</member>
|
||||||
</simplelist>
|
</simplelist>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
|
@ -83,7 +83,7 @@ case "$command" in
|
|||||||
exec ${SBINDIR}/shorewall6 $OPTIONS restart $RESTARTOPTIONS
|
exec ${SBINDIR}/shorewall6 $OPTIONS restart $RESTARTOPTIONS
|
||||||
;;
|
;;
|
||||||
status|stop)
|
status|stop)
|
||||||
exec ${SBINDIR}/shorewall6 $OPTIONS $command $@
|
exec ${SBINDIR}/shorewall6 $OPTIONS $command
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
usage
|
usage
|
||||||
|
@ -515,7 +515,7 @@ INLINE eth0 - ; -p tcp -j MARK --set
|
|||||||
|
|
||||||
<member>0xc0a80403 LAND 0xFF = 0x03</member>
|
<member>0xc0a80403 LAND 0xFF = 0x03</member>
|
||||||
|
|
||||||
<member>0x03 LOR 0x0x10100 = 0x10103 or class ID
|
<member>0x03 LOR 0x10100 = 0x10103 or class ID
|
||||||
1:103</member>
|
1:103</member>
|
||||||
</simplelist>
|
</simplelist>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
|
@ -74,7 +74,7 @@
|
|||||||
<section>
|
<section>
|
||||||
<title>Documentation for Earlier Versions</title>
|
<title>Documentation for Earlier Versions</title>
|
||||||
|
|
||||||
<para><ulink url="4.2/Documentation_Index.html">Shorewall 4.4/4.6
|
<para><ulink url="4.6/Documentation_Index.html">Shorewall 4.4/4.6
|
||||||
Documentation</ulink></para>
|
Documentation</ulink></para>
|
||||||
|
|
||||||
<para><ulink url="4.2/Documentation_Index.html">Shorewall 4.0/4.2
|
<para><ulink url="4.2/Documentation_Index.html">Shorewall 4.0/4.2
|
||||||
|
Loading…
Reference in New Issue
Block a user