Wireshark-bugs: [Wireshark-bugs] [Bug 3045] Protocol Help extension for Wireshark
Date: Thu, 27 May 2010 04:33:21 -0700 (PDT)

--- Comment #32 from Edgar Gladkich <[email protected]> 2010-05-27 04:33:16 PDT ---
(In reply to comment #29)
> I added the URL formatting code because your attached patch required a
> "license" field. Is this no longer the case? How is licensing done in the
> current version?
> I downloaded the Protocol Help Light source code from
> http://www.inacon.de/protocolhelp/download.php and updated the code to match
> the section and key names in ph.ini. The ${PATH} variable is no longer
> required. If it's not present the PH value is simply appended to the location.
> The updated code requires the following changes to the [database] section. Note
> the addition of a "source" key and a trailing slash at the end of the
> "location" value:
> [database]
> source=Inacon
> version=1
> location=http://www.inacon.de/ph/data/
> Will this work for you?

Hi Gerald,

yes, it works!

> ... How is licensing done in the current version?

The encoded license key is added to the path.
This license key is cut out on the web server by means of Apache Rewrite and
forwarded to the check.

Here is a example:

Definition in the configuration file:

The result after the call:

Apache Rewrite finds and cuts out the license key:

Now URL is forwarded:

In the function proto_help_menu_modify the call

g_hash_table_insert(table, g_ascii_strup(keys[i], -1), NULL);

must be changed. If the last parameter NULL is, one finds in the hash table no

thanks, Edgar

Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.