Ben Fowler <wapdev@xxxxxxxxxxxx>, came up with a great idea! A place for
dissectors/etc to read their settings from, ethereal.conf.
So, I prepose this: a file, ethereal.conf, with the following format:
<package-name>:<argument string>
It would be placed in /usr/local/lib/ethereal/ethereal.conf
The access to the data would be by a single function call (the individual
packages would have to parse in their own data).
char *confGetConfiguration(char *package-name, char *destination);
I could put this together really quickly. It would solve the problems with
multiple packages want access to different ports, or conflicting ports.
For my own RADIUS-vs-DIAMETER problem, I could modify RADIUS to read in the
port (if it exists), and diameter to do the same.
Opinions? I'm probably going to add this support later today and include
it with my diameter patch.