ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-bugs: [Wireshark-bugs] [Bug 594] use port names instead of port numbers in filter expr

Date: Thu, 25 Feb 2010 03:36:20 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=594

--- Comment #6 from Jakub Zawadzki <darkjames@xxxxxxxxxxxxxxxx> 2010-02-25 03:36:12 PST ---
Created an attachment (id=4324)
 --> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=4324)
Build value_string array for tcp services.

(In reply to comment #5)
> I have had some interest in implementing this lately.  To address Ulf's initial
> concern regarding the services files being incomplete, we do offer a complete
> services file in the Wireshark distribution.

Hi, any update?

I tried to implement it using value_string (see attachment) but 
getservbyport() on my machine is very slow, and starting wireshark takes 22s
(sic!) more ;/

Another possibility is to create new ftype? (ftype-tcp-port, ftype-udp-port,
ftype-sctp-port, ...)

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