Dear all, I am using Shorewall 3.2.2 on Debian sarge. I found that there maybe a small typo in functions which causes error when restarting shorewall with IP aliases (ADD_SNAT_ALIASES=Yes). In the file compiler, 2772, there is a line [ -n "$RETAIN_ALIASES" ] || save_command del_ip_addr $external $iface where del_ip_addr is not defined anywhere in functions or other file, instead, there''s ip_addr_del() in functions. Thus, I think this is a small typo. Best Rgds, Jacky Hui Chun Kit ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Chun Kit Hui escribió:> Dear all, > > > I am using Shorewall 3.2.2 on Debian sarge. I found that there maybe a > small > typo in functions which causes error when restarting shorewall with IP > aliases (ADD_SNAT_ALIASES=Yes). > > In the file compiler, 2772, there is a line > [ -n "$RETAIN_ALIASES" ] || save_command del_ip_addr $external $iface > > where del_ip_addr is not defined anywhere in functions or other file, > instead, there''s ip_addr_del() in functions. > > Thus, I think this is a small typo.del_ip_addr actually exists in line 1366 in the "functions" file, at least in svn trunk and 3.2 branch... ;) ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Dear all, Oh sorry, I interchanged the two function call mistakenly. By del_ip_addr() I am actually refering to ip_addr_del() which does not exist in functions by refered to several times from compiler. Cheers, Jacky Hui On 8/16/06, Cristian Rodriguez R. <judas_iscariote@shorewall.net> wrote:> > Chun Kit Hui escribió: > > Dear all, > > > > > > I am using Shorewall 3.2.2 on Debian sarge. I found that there maybe a > > small > > typo in functions which causes error when restarting shorewall with IP > > aliases (ADD_SNAT_ALIASES=Yes). > > > > In the file compiler, 2772, there is a line > > [ -n "$RETAIN_ALIASES" ] || save_command del_ip_addr $external $iface > > > > where del_ip_addr is not defined anywhere in functions or other file, > > instead, there''s ip_addr_del() in functions. > > > > Thus, I think this is a small typo. > > del_ip_addr actually exists in line 1366 in the "functions" file, at > least in svn trunk and 3.2 branch... ;) > > > > > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > Shorewall-users mailing list > Shorewall-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/shorewall-users > > > >------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Dear all, FYI, a simple grep within the shorewall-3.2.2 distribution machine:~/test/shorewall-3.2.2# grep -r -n ip_addr_del * compiler:2832: ip_addr_del \$external \$interface compiler:6487: [ -n "$RETAIN_ALIASES" ] || save_command ip_addr_del $addr $interface compiler:7849: ip_addr_del \$external dev \$interface Cheers, Jacky Hui On 8/16/06, Chun Kit Hui <huichunkit.list@gmail.com> wrote:> > Dear all, > > Oh sorry, I interchanged the two function call mistakenly. By > del_ip_addr() I am actually refering to ip_addr_del() which does not exist > in functions by refered to several times from compiler. > > Cheers, > Jacky Hui > > > On 8/16/06, Cristian Rodriguez R. <judas_iscariote@shorewall.net> wrote: > > > Chun Kit Hui escribió: > > Dear all, > > > > > > I am using Shorewall 3.2.2 on Debian sarge. I found that there maybe a > > small > > typo in functions which causes error when restarting shorewall with IP > > aliases (ADD_SNAT_ALIASES=Yes). > > > > In the file compiler, 2772, there is a line > > [ -n "$RETAIN_ALIASES" ] || save_command del_ip_addr $external $iface > > > > where del_ip_addr is not defined anywhere in functions or other file, > > instead, there''s ip_addr_del() in functions. > > > > Thus, I think this is a small typo. > > del_ip_addr actually exists in line 1366 in the "functions" file, at > least in svn trunk and 3.2 branch... ;) > > > > > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > Shorewall-users mailing list > Shorewall-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/shorewall-users > > > > >------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
On Wed, 2006-08-16 at 16:24 +0800, Chun Kit Hui wrote:> Dear all, > > > FYI, a simple grep within the shorewall-3.2.2 distribution > > machine:~/test/shorewall-3.2.2# grep -r -n ip_addr_del * > compiler:2832: ip_addr_del \$external \$interface > compiler:6487: [ -n "$RETAIN_ALIASES" ] || > save_command ip_addr_del $addr $interface > compiler:7849: ip_addr_del \$external dev \$interfaceThere is a corrected ''compiler'' file at http://www1.shorewall.net/pub/shorewall/3.2/shorewall-3.2.2/errata/Shorewall/compiler Thanks, -Tom -- Tom Eastep \ Nothing is foolproof to a sufficiently talented fool Shoreline, \ http://shorewall.net Washington USA \ teastep@shorewall.net PGP Public Key \ https://lists.shorewall.net/teastep.pgp.key ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642