Hello, I tried loading latest shorewall6 version(5.2.8), still getting the same error message. One more question: does shorewall and shorewall-core version also need to be the same as of shorewall6?
*/sbin/shorewall6 version* *5.2.8* root@a48c0842-1c54-8659-7c7a-8d64480bc164:~# /sbin/shorewall6 start Compiling using Shorewall 5.2.8... Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.32), passed through in regex; marked by <-- HERE in m/ ^(.*?) \$({ <-- HERE )? (\d+|[a-zA-Z_]\w*) (?(2)}) (.*)$ / at /usr/share/shorewall/Shorewall/Config.pm line 2836. Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.32), passed through in regex; marked by <-- HERE in m/ ^(.*?) \@({ <-- HERE )? (\d+|[a-zA-Z]\w*) (?(2)}) (.*)$ / at /usr/share/shorewall/Shorewall/Config.pm line 2853. Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.32), passed through in regex; marked by <-- HERE in m/ ^(.*?) __({ <-- HERE )? (\w+) (?(2)}) (.*)$ / at /usr/share/shorewall/Shorewall/Config.pm line 2864. Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.32), passed through in regex; marked by <-- HERE in m/ ^(.*?) \$({ <-- HERE )? (\d+|[a-zA-Z_]\w*) (?(2)}) (.*)$ / at /usr/share/shorewall/Shorewall/Config.pm line 3794. Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.32), passed through in regex; marked by <-- HERE in m/ ^(.*?) \@({ <-- HERE )? (\d+|[a-zA-Z_]\w*) (?(2)}) (.*)$ / at /usr/share/shorewall/Shorewall/Config.pm line 3833. Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.32), passed through in regex; marked by <-- HERE in m/ ^(.*?) \$({ <-- HERE )? (\d+|[a-zA-Z]\w*) (?(2)}) (.*)$ / at /usr/share/shorewall/Shorewall/Config.pm line 3849. Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.32), passed through in regex; marked by <-- HERE in m/ ^(.*?) @({ <-- HERE )?(?:0|chain)(?(2)}) (.*)$ / at /usr/share/shorewall/Shorewall/Chains.pm line 5822. WARNING: Version Mismatch: Shorewall6 is version 5.2.8, while the Shorewall version is 5.2.0.4 /usr/share/shorewall6/version (EOF) Processing /etc/shorewall6/params ... Processing /etc/shorewall6/shorewall6.conf... Loading Modules... Compiling /etc/shorewall6/zones... Compiling /etc/shorewall6/interfaces... Compiling /etc/shorewall6/hosts... Determining Hosts in Zones... WARNING: *** inet6 is an EMPTY ZONE *** /etc/shorewall6/hosts (EOF) Locating Action Files... Compiling /etc/shorewall6/policy... Compiling TCP Flags filtering... Compiling MAC Filtration -- Phase 1... Compiling /etc/shorewall6/rules... Compiling /etc/shorewall6/conntrack... Compiling MAC Filtration -- Phase 2... Applying Policies... Compiling /usr/share/shorewall/action.AllowICMPs for chain AllowICMPs... Compiling /usr/share/shorewall/action.Broadcast for chain Broadcast... Compiling /usr/share/shorewall/action.Multicast for chain Multicast... Generating Rule Matrix... Optimizing Ruleset... Creating ip6tables-restore input... Shorewall configuration compiled to /var/lib/shorewall6/.start Starting Shorewall6.... Initializing... Processing /etc/shorewall6/init ... Setting up Proxy NDP... Preparing ip6tables-restore input... *Running /usr/sbin/ip6tables-restore --wait 60...ip6tables-restore v1.8.3 (legacy): unknown option "--reject-with"Error occurred at line: 106Try `ip6tables-restore -h' or 'ip6tables-restore --help' for more information.* ERROR: iptables-restore Failed. Input is in /var/lib/shorewall6/.ip6tables-restore-input Processing /etc/shorewall6/stop ... Preparing ip6tables-restore input... Running /usr/sbin/ip6tables-restore --wait 60... Processing /etc/shorewall6/stopped ... Terminated Thanks, Nag On Wed, Dec 8, 2021 at 8:39 PM Matt Darfeuille <m...@shorewall.org> wrote: > On 12/8/2021 3:05 PM, Nagarjun J wrote: > > Hi, > > > > I have installed shorewall6 package, but when i start the shorewall6 , > its > > giving me below error: > > > > ~# /*sbin/shorewall6 -vv start* > > Compiling using Shorewall 5.2.0.4... > > Unescaped left brace in regex is deprecated here (and will be fatal in > Perl > > 5.32), passed through in regex; marked by <-- HERE in m/ ^(.*?) \$({ <-- > > HERE )? (\d+|[a-zA-Z_]\w*) (?(2)}) (.*)$ / at > > /usr/share/shorewall/Shorewall/Config.pm line 2836. > > Unescaped left brace in regex is deprecated here (and will be fatal in > Perl > > 5.32), passed through in regex; marked by <-- HERE in m/ ^(.*?) \@({ <-- > > HERE )? (\d+|[a-zA-Z]\w*) (?(2)}) (.*)$ / at > > /usr/share/shorewall/Shorewall/Config.pm line 2853. > > Unescaped left brace in regex is deprecated here (and will be fatal in > Perl > > 5.32), passed through in regex; marked by <-- HERE in m/ ^(.*?) __({ <-- > > HERE )? (\w+) (?(2)}) (.*)$ / at /usr/share/shorewall/Shorewall/Config.pm > > line 2864. > > Unescaped left brace in regex is deprecated here (and will be fatal in > Perl > > 5.32), passed through in regex; marked by <-- HERE in m/ ^(.*?) \$({ <-- > > HERE )? (\d+|[a-zA-Z_]\w*) (?(2)}) (.*)$ / at > > /usr/share/shorewall/Shorewall/Config.pm line 3794. > > Unescaped left brace in regex is deprecated here (and will be fatal in > Perl > > 5.32), passed through in regex; marked by <-- HERE in m/ ^(.*?) \@({ <-- > > HERE )? (\d+|[a-zA-Z_]\w*) (?(2)}) (.*)$ / at > > /usr/share/shorewall/Shorewall/Config.pm line 3833. > > Unescaped left brace in regex is deprecated here (and will be fatal in > Perl > > 5.32), passed through in regex; marked by <-- HERE in m/ ^(.*?) \$({ <-- > > HERE )? (\d+|[a-zA-Z]\w*) (?(2)}) (.*)$ / at > > /usr/share/shorewall/Shorewall/Config.pm line 3849. > > Unescaped left brace in regex is deprecated here (and will be fatal in > Perl > > 5.32), passed through in regex; marked by <-- HERE in m/ ^(.*?) @({ <-- > > HERE )?(?:0|chain)(?(2)}) (.*)$ / at > > /usr/share/shorewall/Shorewall/Chains.pm line 5822. > > Can you confirm that this issue is still present with the latest stable > release (5.2.8)? > > -- > Matt Darfeuille <m...@shorewall.org> > Community: https://sourceforge.net/p/shorewall/mailman/message/37107049/ > SPC: https://sourceforge.net/p/shorewall/mailman/message/36596609/ > Homepage: https://shorewall.org > > > _______________________________________________ > Shorewall-users mailing list > Shorewall-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/shorewall-users >
_______________________________________________ Shorewall-users mailing list Shorewall-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/shorewall-users