Hi Tyler, Thanks for the reply. I typed the port incorrectly .. (that 4 shouldn't have turned up after 6). When I tried the command, wireshark gave me a debug console indicating the arguments that are available for use with it(may be the syntax is incorrect). Here is what I tried:
wireshark -f 'udp port 34678' tshark gave this output and quit with the above command: tshark: Capture filters were specified both with "-f" and with additional command-line arguments Thanks. On Tue, Apr 1, 2008 at 5:34 PM, Tyler J. Wagner <[EMAIL PROTECTED]> wrote: > Try: > > wireshark -f 'udp port 346478' > > However, 346478 is not a valid port number. Maximum is 65535 (2^16-1). > > Regards, > Tyler > > On Wednesday 02 April 2008 01:20:26 Vinay Chilakamarri wrote: > > Pardon me if this is a very basic question(I am fairly new to > WireShark)... > > but I am stuck with the problem of starting a wireshark listening on a > > specific port through command line. Here was my initial command line arg > > list: > > > > wireshark -fudp -i2 -k > > > > I want to be able to listen for data coming on port 346478 but am unable > to > > find an argument that would do the job. I went through this link > > http://wiki.wireshark.org/CaptureFilters > > > > But I don't exactly know when to issue these arguments and where. Can > > anyone please suggest me some direction on this? > > > > Thank you! > > On Tue, Mar 25, 2008 at 9:16 PM, Vinay Chilakamarri < > > > > [EMAIL PROTECTED]> wrote: > > > Yeah exactly > > > > > > On Tue, Mar 25, 2008 at 9:13 PM, Guy Harris <[EMAIL PROTECTED]> wrote: > > > > Vinay Chilakamarri wrote: > > > > > I thought that Wireshark must have registered itself as one of the > > > > > environment variables, > > > > > > > > I.e., you thought that it would have added the directory containing > the > > > > Wireshark, TShark, etc. executables to the PATH environment > variable? > > > > _______________________________________________ > > > > Wireshark-users mailing list > > > > Wireshark-users@wireshark.org > > > > http://www.wireshark.org/mailman/listinfo/wireshark-users > > > -- > "I would feel more optimistic about a bright future for man if he spent > less time proving that he can outwit Nature and more time tasting her > sweetness and respecting her seniority." > ~ E. B. White > _______________________________________________ > Wireshark-users mailing list > Wireshark-users@wireshark.org > http://www.wireshark.org/mailman/listinfo/wireshark-users >
_______________________________________________ Wireshark-users mailing list Wireshark-users@wireshark.org http://www.wireshark.org/mailman/listinfo/wireshark-users