Re: UDP sockets bound to ANY send answers with wrong src ip address

From: B ($B5HF#1QL_at_(B)
Date: 06/09/04

  • Next message: Martijn van Oosterhout: "Re: UDP sockets bound to ANY send answers with wrong src ip address"
    Date:	Wed, 09 Jun 2004 21:24:30 +0900 (JST)
    To: vda@port.imtp.ilyichevsk.odessa.ua
    
    

    In article <200406091425.39324.vda@port.imtp.ilyichevsk.odessa.ua> (at Wed, 9 Jun 2004 14:25:39 +0300), Denis Vlasenko <vda@port.imtp.ilyichevsk.odessa.ua> says:

    > I observe that UDP sockets listening on ANY
    > send response packets with ip addr derived from
    > ip address of interface which is used to send 'em
    > instead of using dst ip address of client's packet.

    use IP_PKTINFO when responding the client.

    --yoshfuji
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Martijn van Oosterhout: "Re: UDP sockets bound to ANY send answers with wrong src ip address"