Re: TCPIP programming (sockaddr_in question)



Hi Brian,

My best guess is that some software on your box is creating a socket using
the address family AF_INET6. Why someone uses IPV6 (apart from running out
of addresses) I don't know. New Multicast stuff? Something else wiz-bang?

Why not try this: -

Use the normal 16 byte IPv4 sockaddr structure and if the first word ends up
"26" the do a <io$_sensemode!io$m_extend> with the 28 byte structure. (At
that stage can you dump out the owner of the BG device so we can see who it
is and what software they're running?) If you manage to retrieve the Port
Number then please let me know. Actually, if your observations and
experiences vary *at all* from what I described in the previous reply then
please let us all know.

From what I think I've seen, I still say it's a bug. John G is too quiet at
the moment considering he gets up hours before me and, once Bootcamp
winds-up, I think Matt goes on the after-dinner circuit promoting his new
book "Deadlines - Smedlines" so I don't expect to hear much from that
direction :-)

Cheers Richard Maher

<VAXman- @SendSpamHere.ORG> wrote in message
news:00A680B2.B7839670@xxxxxxxxxxxxxxxxxxx
In article <f31gq2$mmd$1@xxxxxxxxxxxxxxxxxxxxxxxxxx>, "Richard Maher"
<maher_rj@xxxxxxxxxxxxxxxxxx> writes:


What software created the BG device for which you are now doing a
io$_sensemode?

Cheers Richard Maher

Web browsers, remote ssh, remote sftp and ftp, mail servers, etc.
Like I said before, I'm trying to "programmatically" perform the
equivalent of TCPIP SHOW DEVICE bgxxxx/FULL

--
VAXman- A Bored Certified VMS Kernel Mode Hacker
VAXman(at)TMESIS(dot)COM

"Well my son, life is like a beanstalk, isn't it?"


.



Relevant Pages

  • Re: How to determine if IPv6 is installed (using VC++ 6.0)
    ... >> don't bother to check that way, and simply open and use IPv6 sockets! ... resource is unavailable, you should ask to be given that resource when you ... will fail if that port is already bound". ... to see if port X is free, and if it is, to bind a socket to that port. ...
    (microsoft.public.win32.programmer.networks)
  • IPv4 mapped address considered harmful
    ... Internet-Drafts are working documents of the Internet Engineering Task Force, its areas, and its working groups. ... When an IPv4 packet reaches an IPv4/v6 dual stack node, kernel IPv4 layer will handle it, ... When TCP/UDP layer finds an AF_INET6 listening socket, it will pass the packet to the listening socket as if it was from the corresponding IPv4 mapped address. ... Some of the translator technologies such as SIIT uses IPv4 mapped address in header fields of actual IPv6 packet on wire. ...
    (Bugtraq)
  • FYI: [itojun@iijlab.net: IPv4 mapped address considered harmful]
    ... Internet-Drafts are working documents of the Internet Engineering Task Force, its areas, and its working groups. ... The representation is used in IPv6 basic API to denote IPv4 destinations on AF_INET6 socket within the API. ... When TCP/UDP layer finds an AF_INET6 listening socket, it will pass the packet to the listening socket as if it was from the corresponding IPv4 mapped address. ... Some of the translator technologies such as SIIT uses IPv4 mapped address in header fields of actual IPv6 packet on wire. ...
    (FreeBSD-Security)
  • HEADS UP: inpcb/inpcbinfo rwlocking: coming to a 7-STABLE branch near you
    ... This is an advance warning that, late next week, I will be merging a fairly large set of changes to the IPv4 and IPv6 protocols layered over the inpcb/inpcbinfo kernel infrastructure. ... These structures represent, respectively, particular sockets and the global socket lists for all socket types in IPv4 and IPv6 except for SCTP. ... This is possible because, in the common case, no connection or global state is modified during UDP/raw receive and transmit at the IP layer, so a read lock is sufficient to prevent data in those structures from unexpectedly changing. ...
    (freebsd-stable)
  • Re: HEADS UP: inpcb/inpcbinfo rwlocking: coming to a 7-STABLE branch near you
    ... To be specific, this affects TCP, UDP, and raw sockets on both IPv4 and IPv6. ... These structures represent, respectively, particular sockets and the global socket lists for all socket types in IPv4 and IPv6 except for SCTP. ... This is possible because, in the common case, no connection or global state is modified during UDP/raw receive and transmit at the IP layer, so a read lock is sufficient to prevent data in those structures from unexpectedly changing. ...
    (freebsd-stable)

Loading