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 <
>
> vinay.chilakamarri@xxxxxxxxx> wrote:
> > Yeah exactly
> >
> > On Tue, Mar 25, 2008 at 9:13 PM, Guy Harris <guy@xxxxxxxxxxxx> 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@xxxxxxxxxxxxx
> > > 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