<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: ICMPv6 Challenge &#8211; Hints</title>
	<atom:link href="http://www.chrisbrenton.org/2009/12/icmpv6-challenge-hints/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.chrisbrenton.org/2009/12/icmpv6-challenge-hints/</link>
	<description>Your source for invisible security bug spray</description>
	<lastBuildDate>Fri, 12 Aug 2011 18:22:08 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: Slezicz</title>
		<link>http://www.chrisbrenton.org/2009/12/icmpv6-challenge-hints/comment-page-1/#comment-2587</link>
		<dc:creator>Slezicz</dc:creator>
		<pubDate>Fri, 07 May 2010 20:11:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisbrenton.org/?p=732#comment-2587</guid>
		<description>Hi, this function is not supported for upper layers.
So if you like to filter icmp6 packtes by is type and you know that IPv6 header is 20 bytes you could simply do ip6[21] &amp; 130 !=0. Means first byte after IPv6 header, and there should be ICMPv6 header ;-) I&#039;m not sure is this will work if next header will be included.</description>
		<content:encoded><![CDATA[<p>Hi, this function is not supported for upper layers.<br />
So if you like to filter icmp6 packtes by is type and you know that IPv6 header is 20 bytes you could simply do ip6[21] &amp; 130 !=0. Means first byte after IPv6 header, and there should be ICMPv6 header <img src='http://www.chrisbrenton.org/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  I&#8217;m not sure is this will work if next header will be included.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steinar H. Gunderson</title>
		<link>http://www.chrisbrenton.org/2009/12/icmpv6-challenge-hints/comment-page-1/#comment-738</link>
		<dc:creator>Steinar H. Gunderson</dc:creator>
		<pubDate>Fri, 11 Dec 2009 00:23:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisbrenton.org/?p=732#comment-738</guid>
		<description>One could imagine IPsec options, but it sounds a bit obscure for MLD...

I guess if you assume that there&#039;s only the RTR-alert option, it&#039;s of fixed length and you could just use the offset. I have no idea if you can actually do iteration or indirection in textual pcap filters. :-)

/* Steinar */</description>
		<content:encoded><![CDATA[<p>One could imagine IPsec options, but it sounds a bit obscure for MLD&#8230;</p>
<p>I guess if you assume that there&#8217;s only the RTR-alert option, it&#8217;s of fixed length and you could just use the offset. I have no idea if you can actually do iteration or indirection in textual pcap filters. <img src='http://www.chrisbrenton.org/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>/* Steinar */</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.chrisbrenton.org/2009/12/icmpv6-challenge-hints/comment-page-1/#comment-730</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Thu, 10 Dec 2009 16:26:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisbrenton.org/?p=732#comment-730</guid>
		<description>Agreed grep is the easiest implementation. Just makes it more difficult to save pcap files.

To quote RFC 2710: &quot;All MLD messages described in this document are sent with a link-local IPv6 Source Address, an IPv6 Hop Limit of 1, and an IPv6 Router Alert option [RTR-ALERT] in a Hop-by-Hop Options header.&quot;
So you do have an extension header to deal with. As for having to chase the headers, so far I&#039;ve only seen multicast listener packets with the hop-by-hop header. Although I don&#039;t see anything in 2710 forbidding the use of additional headers.</description>
		<content:encoded><![CDATA[<p>Agreed grep is the easiest implementation. Just makes it more difficult to save pcap files.</p>
<p>To quote RFC 2710: &#8220;All MLD messages described in this document are sent with a link-local IPv6 Source Address, an IPv6 Hop Limit of 1, and an IPv6 Router Alert option [RTR-ALERT] in a Hop-by-Hop Options header.&#8221;<br />
So you do have an extension header to deal with. As for having to chase the headers, so far I&#8217;ve only seen multicast listener packets with the hop-by-hop header. Although I don&#8217;t see anything in 2710 forbidding the use of additional headers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steinar H. Gunderson</title>
		<link>http://www.chrisbrenton.org/2009/12/icmpv6-challenge-hints/comment-page-1/#comment-727</link>
		<dc:creator>Steinar H. Gunderson</dc:creator>
		<pubDate>Wed, 09 Dec 2009 19:38:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisbrenton.org/?p=732#comment-727</guid>
		<description>The pragmatic solution is, of course,

tcpdump -l -i any icmp6 &#124; grep -E &#039;\b160\b&#039;

or similar.

The pcap-based solution depends on whether you want to support IPv6 extension headers or not. If not, you can simply use an offset from the IP header; if you want to support it, it starts getting more evil (look at tcpdump -d ip6 protochain 58 for a BPF example of chasing these headers!), but then again, icmp6 doesn&#039;t really seem to support that either. Is there a solution that doesn&#039;t involve writing your own BPF, and supports chasing the protocol chains?

/* Steinar */</description>
		<content:encoded><![CDATA[<p>The pragmatic solution is, of course,</p>
<p>tcpdump -l -i any icmp6 | grep -E &#8216;\b160\b&#8217;</p>
<p>or similar.</p>
<p>The pcap-based solution depends on whether you want to support IPv6 extension headers or not. If not, you can simply use an offset from the IP header; if you want to support it, it starts getting more evil (look at tcpdump -d ip6 protochain 58 for a BPF example of chasing these headers!), but then again, icmp6 doesn&#8217;t really seem to support that either. Is there a solution that doesn&#8217;t involve writing your own BPF, and supports chasing the protocol chains?</p>
<p>/* Steinar */</p>
]]></content:encoded>
	</item>
</channel>
</rss>

