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

List:       ethereal-users
Subject:    Re: [Ethereal-users] BPF filters
From:       <candidcalm () gmail ! com>
Date:       2005-12-21 20:44:08
Message-ID: 2eab51ff0512211244k5ddabd27lec4c39cddec08645 () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


I tried a name too.  i.e
gateway "someHostName", but it complains saying invalid syntax.

I think I will use the alternative way.

Thanks for the help !



On 12/21/05, Jaap Keuter <jaap.keuter@xs4all.nl> wrote:
>
>
>
> On Wed, 21 Dec 2005 candidcalm@gmail.com wrote:
>
> > Can someone please tell me how to use the capture filter
> > gateway host
> >
> > or some example using the primitive "gateway".
> >
> > I know an alternative would be something like "ether host
> 11:22:33:44:55:66
> > and not host 192.168.77.2", but would like to know how to make it
> working
> > with the keyword gateway.
> >
> > (I am using ethereal on a windows machine.)
>
> >From the WinPcap site:
> ------8<-------
> gateway host
>    True if the packet used host as a gateway. I.e., the ethernet source
> or destination address was host but neither the IP source nor the IP
> destination was host. Host must be a name and must be found both by the
> machine's host-name-to-IP-address resolution mechanisms (host name file,
> DNS, NIS, etc.) and by the machine's host-name-to-Ethernet-address
> resolution mechanism (/etc/ethers, etc.). (An equivalent expression is
>
>        ether host ehost and not host host
>
>    which can be used with either names or numbers for host / ehost.) This
> syntax does not work in IPv6-enabled configuration at this moment.
> ------8<-------
>
> I think the devil is in the fact that 'host' in 'gateway host' needs to b=
e
> a name.
>
> Good luck,
> Jaap
>
> _______________________________________________
> Ethereal-users mailing list
> Ethereal-users@ethereal.com
> http://www.ethereal.com/mailman/listinfo/ethereal-users
>

[Attachment #5 (text/html)]

<div>I tried a name too.&nbsp; i.e </div>
<div>gateway &quot;someHostName&quot;, but it complains saying invalid syntax.</div>
<div>&nbsp;</div>
<div>I think I will use the alternative way.&nbsp; </div>
<div><br>Thanks for the help !<br><br><br>&nbsp;</div>
<div><span class="gmail_quote">On 12/21/05, <b class="gmail_sendername">Jaap \
Keuter</b> &lt;<a href="mailto:jaap.keuter@xs4all.nl">jaap.keuter@xs4all.nl</a>&gt; \
wrote:</span> <blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px \
0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><br><br>On Wed, 21 Dec 2005 <a \
href="mailto:candidcalm@gmail.com">candidcalm@gmail.com</a> wrote:<br><br>&gt; Can \
someone please tell me how to use the capture filter <br>&gt; gateway \
host<br>&gt;<br>&gt; or some example using the primitive \
&quot;gateway&quot;.<br>&gt;<br>&gt; I know an alternative would be something like \
&quot;ether host 11:22:33:44:55:66<br>&gt; and not host <a \
href="http://192.168.77.2"> 192.168.77.2</a>&quot;, but would like to know how to \
make it working<br>&gt; with the keyword gateway.<br>&gt;<br>&gt; (I am using \
ethereal on a windows machine.)<br><br>&gt;From the WinPcap \
site:<br>------8&lt;-------<br> gateway host<br>&nbsp;&nbsp; True if the packet used \
host as a gateway. I.e., the ethernet source<br>or destination address was host but \
neither the IP source nor the IP<br>destination was host. Host must be a name and \
must be found both by the <br>machine's host-name-to-IP-address resolution mechanisms \
(host name file,<br>DNS, NIS, etc.) and by the machine's \
host-name-to-Ethernet-address<br>resolution mechanism (/etc/ethers, etc.). (An \
equivalent expression is<br> <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ether host \
ehost and not host host<br><br>&nbsp;&nbsp; which can be used with either names or \
numbers for host / ehost.) This<br>syntax does not work in IPv6-enabled configuration \
at this moment.<br>------8&lt;-------<br> <br>I think the devil is in the fact that \
'host' in 'gateway host' needs to be<br>a name.<br><br>Good \
luck,<br>Jaap<br><br>_______________________________________________<br>Ethereal-users \
mailing list<br><a href="mailto:Ethereal-users@ethereal.com"> \
Ethereal-users@ethereal.com</a><br><a \
href="http://www.ethereal.com/mailman/listinfo/ethereal-users">http://www.ethereal.com/mailman/listinfo/ethereal-users</a><br></blockquote></div><br>




_______________________________________________
Ethereal-users mailing list
Ethereal-users@ethereal.com
http://www.ethereal.com/mailman/listinfo/ethereal-users


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

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