Re: [webmin-l] Shorewall module bug?
"Jamie Cameron" <[email protected]>
| Newsgroups | gmane.comp.web.webmin.general |
|---|---|
| Message-ID | <[email protected]> |
On 09/May/2016 12:23 Nerijus Baliunas <[email protected]> wrote .. > On Wed, 4 May 2016 19:20:37 +0300 Nerijus Baliunas <[email protected]> > wrote: > > > If I have a few IPs: > > eth0 > > 192.168.0.55,192.168.0.50,192.168.0.64,192.168.0.67,192.168.0.65,192.168.0.63,192.168.0.68,... > > When I edit it in webmin, IP adresses are in a line called "Subnet on interface" > > instead of "Subnet address". See screenshot http://sat.lt/bad.png > > The following patch helps: > > diff -ur shorewall.orig/shorewall-lib.pl shorewall/shorewall-lib.pl > --- shorewall.orig/shorewall-lib.pl 2016-03-07 21:08:10.000000000 +0200 > +++ shorewall/shorewall-lib.pl 2016-05-09 22:15:07.518066197 +0300 > @@ -1225,8 +1225,8 @@ > $mode = 1; > } > else { > - $miface = $_[1]; > - $mode = 1; > + $mnet = $_[1]; > + $mode = 0; > } > print "<tr> <td valign=top><b>$text{'masq_1'}</b></td> <td colspan=3>\n"; > printf "<input type=radio name=mode value=0 %s> %s\n", I'm not sure if that patch will properly parse all possible lines. Can you post your entire "masq" file as an attachment so I can see the format being used? - Jamie ------------------------------------------------------------------------------ Mobile security can be enabling, not merely restricting. Employees who bring their own devices (BYOD) to work are irked by the imposition of MDM restrictions. Mobile Device Manager Plus allows you to control only the apps on BYO-devices by containerizing them, leaving personal data untouched! https://ad.doubleclick.net/ddm/clk/304595813;131938128;j - Forwarded by the Webmin mailing list at [email protected] To remove yourself from this list, go to http://lists.sourceforge.net/lists/listinfo/webadmin-list