--
Farooque Khan
Project Manager
Infospectrum India Pvt. Ltd.
faro...@info-spectrum.com
Phone: +91 712 229 3711
www.info-spectrum.com
This e-mail may contain confidential or proprietary information. If you are
not the intended recipient please notify the author by replying to this
e-mail and please note that use, disclosure, distribution, copying or
printing of this e-mail or its attachments is strictly prohibited and may be
unlawful. Whilst this e-mail has been checked for viruses, the sender takes
no responsibility and recipients are advised to undertake their own checks.
"Hannes" <hanne...@newsgroup.nospam> wrote in message
news:D6BCACE3-909C-4954...@microsoft.com...
> Hi,
>
> From our raw IPv6 socket, we're not getting the IPv6 header, only the
> following IP payload is given to us.
>
> We had no issues getting the IPv4 header from raw IPv4 sockets.
> Has this functionality changed for IPv6, or are we missing a socket
> option?
>
> Thanks,
>
> / Hannes.
Hope this helps. If you have any other questions or concerns, please feel
free to let me know.
Best regards,
Charles Wang
Microsoft Online Community Support
=====================================================
When responding to posts, please "Reply to Group" via
your newsreader so that others may learn and benefit
from this issue.
======================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
======================================================
Our OS is XP Embedded with SP2.
We have tried IPV6_HDRINCL but with no luck. Its documentation says "header
will be supplied on all outgoing data" which indicates that it does NOT
affect inbound packets.
Any other ideas on how to get inbound IPv6 headers?
Thanks,
/ Hannes.
Could you please let me know why you would like to get IPv6 header for
inbound packets?
We need the IPv6 header for a couple of reasons:
1. To read the DiffServ/ToS/TrafficClass from inbound packets (our
application uses that for internal prioritization)
2. To read TTL of inbound ICMP packets; our application also uses the
TTL/HopLimit to implement an ICMP "ping"-like functionality
Thanks,
/ Hannes.
However I appreciate your understanding that since this is a by design
limitations at TCP/IP protocol, probably you may have to reconsider your
requirements or even eliminate these two requirements for IPv6 environment.
Thanks,
/ Hannes.
HI Hannes,
Can you post the solution here?
Thanks
Thanks,
/ Hannes.
Best regards,
Charles Wang
Microsoft Online Community Support
=========================================================
Delighting our customers is our #1 priority. We welcome your
comments and suggestions about how we can improve the
support we provide to you. Please feel free to let my manager
know what you think of the level of service provided. You can
send feedback directly to my manager at: msd...@microsoft.com.
=========================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
=========================================================
Thanks,
Kyle
changli wrote:
Hi Hannes,I send you an email for collecting more information.
13-Mar-08
Previous Posts In This Thread:
On Tuesday, February 26, 2008 5:21 AM
hannes.new wrote:
Get IPv6 header from raw IPv6 socket?
Hi,
From our raw IPv6 socket, we're not getting the IPv6 header, only the
following IP payload is given to us.
We had no issues getting the IPv4 header from raw IPv4 sockets.
Has this functionality changed for IPv6, or are we missing a socket option?
Thanks,
/ Hannes.
On Wednesday, February 27, 2008 12:17 AM
Farooque Khan wrote:
On which OS are you seeing this?
On which OS are you seeing this?
--
Farooque Khan
Project Manager
Infospectrum India Pvt. Ltd.
faro...@info-spectrum.com
Phone: +91 712 229 3711
www.info-spectrum.com
This e-mail may contain confidential or proprietary information. If you are
not the intended recipient please notify the author by replying to this
e-mail and please note that use, disclosure, distribution, copying or
printing of this e-mail or its attachments is strictly prohibited and may be
unlawful. Whilst this e-mail has been checked for viruses, the sender takes
no responsibility and recipients are advised to undertake their own checks.
"Hannes" <hanne...@newsgroup.nospam> wrote in message
news:D6BCACE3-909C-4954...@microsoft.com...
On Wednesday, February 27, 2008 12:17 AM
Farooque Khan wrote:
On which OS are you observing this?
On which OS are you observing this?
--
Farooque Khan
Project Manager
Infospectrum India Pvt. Ltd.
faro...@info-spectrum.com
Phone: +91 712 229 3711
www.info-spectrum.com
This e-mail may contain confidential or proprietary information. If you are
not the intended recipient please notify the author by replying to this
e-mail and please note that use, disclosure, distribution, copying or
printing of this e-mail or its attachments is strictly prohibited and may be
unlawful. Whilst this e-mail has been checked for viruses, the sender takes
no responsibility and recipients are advised to undertake their own checks.
"Hannes" <hanne...@newsgroup.nospam> wrote in message
news:D6BCACE3-909C-4954...@microsoft.com...
On Wednesday, February 27, 2008 1:06 AM
changli wrote:
Hi,I think that you were still using IP_HDRINCL socket option for IPv6.
Hi,
I think that you were still using IP_HDRINCL socket option for IPv6. In
IPv6, IP_HDRINCL should be replaced by IPV6_HDRINCL for a raw socket. You
may refer to this article for more information:
IPPROTO_IPV6 Socket Options
http://msdn2.microsoft.com/en-us/library/ms738574(VS.85).aspx
socket Function
http://msdn2.microsoft.com/en-us/library/ms740506(VS.85).aspx
Hope this helps. If you have any other questions or concerns, please feel
free to let me know.
Best regards,
Charles Wang
Microsoft Online Community Support
=====================================================
When responding to posts, please "Reply to Group" via
your newsreader so that others may learn and benefit
from this issue.
======================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
======================================================
On Thursday, February 28, 2008 3:45 AM
hannes.new wrote:
Hi,Our OS is XP Embedded with SP2.We have tried IPV6_HDRINCL but with no luck.
Hi,
Our OS is XP Embedded with SP2.
We have tried IPV6_HDRINCL but with no luck. Its documentation says "header
will be supplied on all outgoing data" which indicates that it does NOT
affect inbound packets.
Any other ideas on how to get inbound IPv6 headers?
Thanks,
/ Hannes.
"Charles Wang[MSFT]" wrote:
On Friday, February 29, 2008 6:30 AM
changli wrote:
Hi Hannes,I am afraid that you could not get IPv6 header for inbound packets
Hi Hannes,
I am afraid that you could not get IPv6 header for inbound packets since it
is a by design limitation for IPv6 packet. From the second article (socket
Function) provided in my last response, you can find the following
description:
---------------------------------------------------------
IPv6 and IPv4 operate differently when receiving a socket with a type of
SOCK_RAW. The IPv4 receive packet includes the packet payload, the next
upper-level header (for example, the IP header for a TCP or UDP packet),
and the IPv4 packet header. The IPv6 receive packet includes the packet
payload and the next upper-level header. The IPv6 receive packet never
includes the IPv6 packet header.
----------------------------------------------------------
Could you please let me know why you would like to get IPv6 header for
inbound packets?
Best regards,
Charles Wang
Microsoft Online Community Support
=====================================================
When responding to posts, please "Reply to Group" via
your newsreader so that others may learn and benefit
from this issue.
======================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
======================================================
On Saturday, March 01, 2008 10:20 AM
hannes.new wrote:
RE: Get IPv6 header from raw IPv6 socket?
Hi,
We need the IPv6 header for a couple of reasons:
1. To read the DiffServ/ToS/TrafficClass from inbound packets (our
application uses that for internal prioritization)
2. To read TTL of inbound ICMP packets; our application also uses the
TTL/HopLimit to implement an ICMP "ping"-like functionality
Thanks,
/ Hannes.
"Charles Wang[MSFT]" wrote:
On Monday, March 03, 2008 4:38 AM
changli wrote:
Hi Hannes,Thanks for your response.
Hi Hannes,
Thanks for your response.
I will try to consult the Dev team to see if they have some good
suggestions on your specific requirements. Could you please just leave me
(changliw_at_microsoft_dot_com) an email response so that I can timely
update you?
However I appreciate your understanding that since this is a by design
limitations at TCP/IP protocol, probably you may have to reconsider your
requirements or even eliminate these two requirements for IPv6 environment.
Best regards,
Charles Wang
Microsoft Online Community Support
=====================================================
When responding to posts, please "Reply to Group" via
your newsreader so that others may learn and benefit
from this issue.
======================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
======================================================
On Tuesday, March 04, 2008 4:29 AM
hannes.new wrote:
RE: Get IPv6 header from raw IPv6 socket?
Done.
Thanks,
/ Hannes.
"Charles Wang[MSFT]" wrote:
On Sunday, March 09, 2008 10:16 PM
Vishal Swarnkar wrote:
Re: Get IPv6 header from raw IPv6 socket?
On Mar 4, 2:29=A0pm, Hannes <hannes.n...@newsgroup.nospam> wrote:
e
nt.
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D
ts.
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D- Hide quoted text -
HI Hannes,
Can you post the solution here?
Thanks
On Monday, March 10, 2008 7:54 AM
changli wrote:
Just clarify that we are still in consulting on this issue and have not got a
Just clarify that we are still in consulting on this issue and have not got
a solution right now ( may not have a real solution since it is not
supported by design). I will try to follow up the dev team on this and will
post back as soon as possible. Appreciate your patience!
Best regards,
Charles Wang
Microsoft Online Community Support
=====================================================
When responding to posts, please "Reply to Group" via
your newsreader so that others may learn and benefit
from this issue.
======================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
======================================================
On Wednesday, March 12, 2008 5:34 AM
hannes.new wrote:
Any luck finding a method or workaround?
Any luck finding a method or workaround?
Thanks,
/ Hannes.
"Charles Wang[MSFT]" wrote:
On Thursday, March 13, 2008 7:00 AM
changli wrote:
Hi Hannes,I send you an email for collecting more information.
EggHeadCafe - Software Developer Portal of Choice
EggheadCafe.com MSInfo C# Webservice
http://www.eggheadcafe.com/tutorials/aspnet/cdc3dff8-eea5-47ac-91ea-fe2af1b58995/eggheadcafecom-msinfo-c.aspx