Tuomo Soini wrote: > When proxyarp is controlled outside shorewall and shorewall-perl is used > it's documented that proxy_arp interface options are not touched. That's > not true, even when proxyarp interface options are not specified and > proxyarp file is empty proxyarping is still deleted on all interfaces: > > > I try to generate patch later, now I just added proxyarp=1 on bond0.206 > to fix networking. >
The attached patch should do the trick. -Tom -- Tom Eastep \ Nothing is foolproof to a sufficiently talented fool Shoreline, \ http://shorewall.net Washington USA \ [EMAIL PROTECTED] PGP Public Key \ https://lists.shorewall.net/teastep.pgp.key
Index: Shorewall/Compiler.pm
===================================================================
--- Shorewall/Compiler.pm (revision 7264)
+++ Shorewall/Compiler.pm (working copy)
@@ -325,7 +325,7 @@
}
emit <<'EOF';
- if [ -f ${VARDIR}/proxyarp ]; then
+ if [ -s ${VARDIR}/proxyarp ]; then
while read address interface external haveroute; do
qt arp -i $external -d $address pub
[ -z "${haveroute}${NOROUTES}" ] && qt ip route del $address dev $interface
Index: prog.functions
===================================================================
--- prog.functions (revision 7257)
+++ prog.functions (working copy)
@@ -2,7 +2,7 @@
# Clear Proxy Arp
#
delete_proxyarp() {
- if [ -f ${VARDIR}/proxyarp ]; then
+ if [ -s ${VARDIR}/proxyarp ]; then
while read address interface external haveroute; do
qt arp -i $external -d $address pub
[ -z "${haveroute}${NOROUTES}" ] && qt ip route del $address dev $interface
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________ Shorewall-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-devel
