[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wireshark-users
Subject:    Re: [Wireshark-users] Wireshark command line option for remote interface capture
From:       Graham Bloice <graham.bloice () trihedral ! com>
Date:       2020-07-03 16:34:58
Message-ID: CALcKHKrzngr1khQJVG=kt9xRnQ3YubTCskf=nWB6ZGOnsZyatw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On Fri, 3 Jul 2020 at 16:40, karthick saravanan <karthicksarav@gmail.com>
wrote:

>
> Hello,
>  I am trying to capture wireshark using "remote interface" for a polycom
> phone. But this has to be done using the command line and not manually
> launching wireshark gui followed by "remote interface" config.
> Hence, I would like to know how to pass the remote interface and username
> password for a polycom phone. Kindly let us know.
>
> tshark.exe -i rpcap://example.com/eth0
>
> I observed that the "-z" option is not the right one for my requirement
> and hence how to pass username/password in the above command line for a
> phone?
>
> Regards,
> Karthick
>

It's not listed on the tshark man page but my copy of tshark.exe, when run
with -h, lists a -A option for setting rpcap credentials:

RPCAP options:
  -A <user>:<password>     use RPCAP password authentication

-- 
Graham Bloice

[Attachment #5 (text/html)]

<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" \
class="gmail_attr">On Fri, 3 Jul 2020 at 16:40, karthick saravanan &lt;<a \
href="mailto:karthicksarav@gmail.com">karthicksarav@gmail.com</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div \
style="font-family:&quot;comic sans \
ms&quot;,sans-serif;color:rgb(11,83,148)"><br></div><div \
style="font-family:&quot;comic sans \
ms&quot;,sans-serif;color:rgb(11,83,148)">Hello,</div><div \
style="font-family:&quot;comic sans ms&quot;,sans-serif;color:rgb(11,83,148)">  I am \
trying to capture wireshark using &quot;remote interface&quot; for a polycom phone. \
But this has to be done using the command line and not manually launching wireshark \
gui followed by &quot;remote interface&quot; config.</div><div \
style="font-family:&quot;comic sans ms&quot;,sans-serif;color:rgb(11,83,148)">Hence, \
I would like to know how to pass the remote interface and username password for a \
polycom phone. Kindly let us know.</div><div style="font-family:&quot;comic sans \
ms&quot;,sans-serif;color:rgb(11,83,148)"><br></div><div \
style="font-family:&quot;comic sans \
ms&quot;,sans-serif;color:rgb(11,83,148)">tshark.exe -i rpcap://<a \
href="http://example.com/eth0" target="_blank">example.com/eth0</a>  <br></div><div \
style="font-family:&quot;comic sans \
ms&quot;,sans-serif;color:rgb(11,83,148)"><br></div><div \
style="font-family:&quot;comic sans ms&quot;,sans-serif;color:rgb(11,83,148)">I \
observed that the &quot;-z&quot; option is not the right one for my requirement and \
hence how to pass username/password in the above command line for a phone?</div><div \
style="font-family:&quot;comic sans \
ms&quot;,sans-serif;color:rgb(11,83,148)"><br></div><div \
style="font-family:&quot;comic sans \
ms&quot;,sans-serif;color:rgb(11,83,148)">Regards,</div><div \
style="font-family:&quot;comic sans \
ms&quot;,sans-serif;color:rgb(11,83,148)">Karthick</div></div></blockquote></div><div><br></div><div>It&#39;s \
not listed on the tshark man page but my copy of tshark.exe, when run with -h, lists \
a -A option for setting  rpcap credentials:</div><div><br></div><div>RPCAP \
options:<br>   -A &lt;user&gt;:&lt;password&gt;       use RPCAP password \
authentication<br></div><div><br></div>-- <br><div dir="ltr" \
class="gmail_signature"><div dir="ltr"><div>Graham Bloice</div></div></div></div>


[Attachment #6 (text/plain)]

___________________________________________________________________________
Sent via:    Wireshark-users mailing list <wireshark-users@wireshark.org>
Archives:    https://www.wireshark.org/lists/wireshark-users
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-users
             mailto:wireshark-users-request@wireshark.org?subject=unsubscribe

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic