From mboxrd@z Thu Jan 1 00:00:00 1970 From: "=?ISO-8859-1?Q?S=E9rgio_Gomes?=" Subject: Routing header reversal in Linux kernel Date: Mon, 22 May 2006 13:42:40 +0000 Message-ID: <89fb8be00605220642l3730a60alf7015ee626b8ed69@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from wx-out-0102.google.com ([66.249.82.194]:11718 "EHLO wx-out-0102.google.com") by vger.kernel.org with ESMTP id S1750834AbWEVNml convert rfc822-to-8bit (ORCPT ); Mon, 22 May 2006 09:42:41 -0400 Received: by wx-out-0102.google.com with SMTP id s6so852933wxc for ; Mon, 22 May 2006 06:42:40 -0700 (PDT) To: netdev@vger.kernel.org Content-Disposition: inline Sender: netdev-owner@vger.kernel.org List-Id: netdev.vger.kernel.org Greetings! I am a final year student in Instituto Superior T=E9cnico, Lisbon, Portugal, and part of my final project requires the use of IPv6 routing headers. In particular, I need the route reversal to work. Now, as it didn't, I began analysing the source code, and found a comment, stating that it was a known problem with the IPv6 standard (as I was aware) and that a way had been built around it via a constant, to avoid the whole AH mess the RFC imposes. So I was hoping someone could help me with something. The problem is that even if I remove that verification, it does not work -- specifically, it looks as though the kernel is prepared to reverse routing headers on a listening socket (i.e., a passive one), but not on an active socket (that is, one making the connection). My terminology is probably wrong, but I hope you got my point. However, I have only looked into this now, so I barely understand the IPv6 implementation in the Linux kernel. I was hoping that you would be able to shed some light into the subject, namely: is it at all possible to have a TCP socket initiate a connection, receive a SYN+ACK from the remote socket that includes a routing header, and reverse this header for the remaining packets in the TCP connection? Thanks! S=E9rgio Gomes