[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. i.e </div>
<div>gateway "someHostName", but it complains saying invalid syntax.</div>
<div> </div>
<div>I think I will use the alternative way. </div>
<div><br>Thanks for the help !<br><br><br> </div>
<div><span class="gmail_quote">On 12/21/05, <b class="gmail_sendername">Jaap \
Keuter</b> <<a href="mailto:jaap.keuter@xs4all.nl">jaap.keuter@xs4all.nl</a>> \
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>> Can \
someone please tell me how to use the capture filter <br>> gateway \
host<br>><br>> or some example using the primitive \
"gateway".<br>><br>> I know an alternative would be something like \
"ether host 11:22:33:44:55:66<br>> and not host <a \
href="http://192.168.77.2"> 192.168.77.2</a>", but would like to know how to \
make it working<br>> with the keyword gateway.<br>><br>> (I am using \
ethereal on a windows machine.)<br><br>>From the WinPcap \
site:<br>------8<-------<br> gateway host<br> 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> ether host \
ehost and not host host<br><br> 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<-------<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