| To: | Wichert Akkerman <wichert@xxxxxxxxx> |
|---|---|
| Subject: | Re: sendmsg ignoring bind? |
| From: | Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> |
| Date: | Fri, 20 May 2005 23:24:29 +1000 |
| Cc: | netdev@xxxxxxxxxxx |
| In-reply-to: | <20050520132009.GD4151@xxxxxxxxx> |
| References: | <20050520081805.GR25658@xxxxxxxxx> <20050520101749.GA8661@xxxxxxxxxxxxxxxxxxx> <20050520132009.GD4151@xxxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.5.6+20040907i |
On Fri, May 20, 2005 at 03:20:09PM +0200, Wichert Akkerman wrote:
>
> I had to hack strace a bit to decode that. The cmsg option turns out
> to be somewhat useless:
I suppose we can expect to have this in a future release of strace :)
> cmsg_type=IP_PKTINFO,
> {ifindex=0,ipi_spec_dst=inet_addr("0.0.0.0"),ipi_addr=("0.0.0.0")}},
> msg_flags=0},
This is far from useless. This will set the source address back to zero
which essentially means that the bound address is ignored.
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: sendmsg ignoring bind?, Wichert Akkerman |
|---|---|
| Next by Date: | Re: sendmsg ignoring bind?, Wichert Akkerman |
| Previous by Thread: | Re: sendmsg ignoring bind?, Wichert Akkerman |
| Next by Thread: | Re: sendmsg ignoring bind?, Wichert Akkerman |
| Indexes: | [Date] [Thread] [Top] [All Lists] |