Subject: Re: tcpdrop vs ipv6
To: None <M.Drochner@fz-juelich.de>
From: Christos Zoulas <christos@zoulas.com>
List: tech-net
Date: 06/28/2007 14:42:12
On Jun 28, 8:06pm, M.Drochner@fz-juelich.de (Matthias Drochner) wrote:
-- Subject: Re: tcpdrop vs ipv6
| christos@astron.com said:
| > I don't think that this is needed since the v4 sysctl node should be
| > able to handle v6.
|
| Yes, but since seperate sysctl nodes are created, I assumed
| this was on purpose.
|
| There is some code in sysctl_net_inet_tcp_ident():
| pf = name[-3];
| [...]
| if (pf != sa[0].ss_family [...]
| which enforces that the AF in the sysctl mib matches
| the pf in the socket addresses. It might be sufficient to just
| replace that by something like
| pf = sa[0].ss_family
|
| > The kernel
| > support for v6 is there, but I am not sure if it deals with scoped
| > addresses.
|
| The scope information is not passed to inet6_ident_core().
| I've tried with my patch: global addresses work, link-local not.
Ok, I see. I will fix the userland portion. Anon Ymous is looking at
the scoped address issue.
christos