Hello,
this is my first post on this mail-list so please be tolerant for me :)
I've just started working in network division for a company in my
hometown. About 2 years ago they started developing their own protocols
in commercial purposes. Simultaneously they started developing
dissectors in Ethereal [ver 0.10.14-31] for them. Now I'm trying to port
them to Wireshark-0.99.3a and after encountering serious of problems
[because changes made in other than dissectors files weren't logged] I
finally managed to compile and ran them. But I have one significant
problem: I capture some traffic, it is dissected, and I write some
filter [any, i.e. "ip"] -> I get SEGFAULT. gdb tells it's in one of
functions put in proto.c used by my dissectors [and my dissectors only].
But it worked on Ethereal! I probably forgot to copy some part of code
somewhere, but I search and search and nothing. No asserts are failed,
the compilation is also OK. And the dissection itself works! I scanned
each frame to check if it does not SEGFAULT on a particular frame, but
it went ok.
Please, does any of you wireshark-gurus can tell me, what have changed
so much in filters, that they don't work now? Where [which files] should
I search?
Sorry to bother you but I'm running out of ideas :(
Best regards and thx in advance,
Tomas 'm4ver' Sikorski