RE: [OID] Field Information

"Kukosa, Tomas" <[email protected]>
Newsgroups gmane.network.ethereal.devel
Message-ID <3E4278088AD82C48B4663DDFE762CEF3ECFDE2@prga004a.ww300.siemens.net>
Hi,
 
my proposal would be to put such a preference into "Name Resolution" preference group.
It could be combo-box (similar to Defauul capture interface) with predefined values.
 
I have no opinion concerning URI as know about it nearly nothing.
 
Tomas

Mailcode: V55BCPWP 

 

________________________________

From: Graeme Lunt [mailto:[email protected]] 
Sent: Wednesday, May 10, 2006 10:09 PM
To: Kukosa, Tomas; 'Ethereal development'
Subject: RE: [OID] Field Information


Tomas,
 
I have just checked the change in to provide the "Field Information" context menu item (18125). 
I've added the function to oid_resolv.[ch] rather than packet-ber.[ch] as you suggested.
However this means the URL template is not (currently) configurable as I didn't know where "OID" preferences should appear. Any suggestions?
For now the URL template is fixed to the www.alvestrand.no site (which contain links to the elibel site).
 
I have another change (which I haven't checked in) that introduces a new field type for URIs (FT_URI) . This allows the new "Field Information" menu item to then bring up the indicated location. My particular interest is the URI form of a GeneralName which is used in a number of X.509 certificate extensions.
 
But is a URI field type a sensible addition?
 
Graeme



________________________________

	From: Kukosa, Tomas [mailto:[email protected]] 
	Sent: 01 May 2006 13:05
	To: [email protected]; Ethereal development
	Subject: RE: [Ethereal-dev] OID Field Information
	
	
	Hi,
	 
	I would prefer to put OID related functions into e.g. oid_resolv.[ch] instead of packet-ber.[ch].
	I guess ber_get_oid_url() could be ranamed to get_oid_url() and located in oid_resolv.[ch] as it is not BER related.
	 
	Regards,
	 Tomas
	 

________________________________

	Od: [email protected] za uživatele Graeme Lunt
	Odesláno: po 1.5.2006 12:34
	Komu: 'Ethereal development'
	Předmět: [Ethereal-dev] OID Field Information
	
	

	Hi,
	
	I have developed a patch so that if the user chooses "Field Information" (a
	new context menu item) on a field type of FT_OID, a web page will be brought
	up with their preferred reference page. (e.g.
	http://www.alvestrand.no/objectid/2.5.18.5.html)
	
	I just wanted to check that this is an appropriate way to go about it before
	I check it in.
	Specifically:
	a) Is it architecturally correct to reference a dissector (packet-ber) from
	the gtk\ portion of the tree?
	b) Would a "link" style (like FT_FRAMENUM) be better than extending the
	context menu?
	
	There is a diff attached for the gtk/ files (packet-ber.[ch] patch not
	included).
	
	Comments?
	
	Graeme

_______________________________________________
Ethereal-dev mailing list
[email protected]
http://www.ethereal.com/mailman/listinfo/ethereal-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.