On Wednesday 09 May 2007 22:19, Tom Eastep wrote: > Andrew Suffield wrote: > > On Wed, May 09, 2007 at 01:56:52PM -0700, Tom Eastep wrote: > >>> Rules with a log tag that contain double quotes also generate > >>> iptables-restore errors e.g.: > >>> > >>> LOG:warn:"" lan fw tcp 22 > >> > >> Revision 6311 outlaws double quotes in all of the column-oriented config > >> files and forbids single quotes except in COMMENT lines. > > > > You should probably do the same thing with backslashes and > > tabs. Eyeballing the parser, that should cover all the things that > > could screw up the iptables-restore format. > > Revision 6312 outlaws backslash characters. Tabs are column separators so > the 'split_line()' function in Shorewall::Config should get rid of those. > > -Tom Tom
Another character that causes iptables-restore errors is the ` (a backwards slanting single quote). Steven. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Shorewall-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-devel
