Does ipsec.conf syntax really need to remain so finicky?
Periodically we have really strange issues which result because of a splattering of lines with just 1 space, throwing ipsec into a mass confusion if it comes after a commented connection section. Or if a comment within a section is not indented as the lines before of after.
It seems that continuing this strict formatting is not necessary these days. Can the logic be changed to just ignore whitespaces? Connection sections have to be clearly marked with a line of "conn", and it should probably just end at the next line with nothing but whitespace.
Whatever the rule.. it just seems like this archaic rule has no business remaining in the year 2014.
Merge branch 'ipsec.conf-parser'
Replaces the ipsec.conf parser in starter. The new parser is also based
on flex/bison but it simply returns key/value collections of all sections.
It already resolves also= and allows overriding options in all included
sections (not only %default), options set in included section can also
be cleared again (key=). It provides other improvements too, like quoted
strings (with escape sequences), unlimited includes and better