Date: Tue, 16 Feb 2010 22:15:04 -0500 From: George Neville-Neil <gnn@neville-neil.com> To: Martin Lopreiato <martin.lopreiato@gmail.com> Cc: freebsd-net@freebsd.org Subject: Re: Forging ipv6 addresses? Message-ID: <977CA846-505E-4D96-8555-6D1A21F2BC18@neville-neil.com> In-Reply-To: <e51d9a111002161621j3c5f542bsd409b1b2be61707f@mail.gmail.com> References: <e51d9a111002161409i33162be5v74c024533973a22d@mail.gmail.com> <C72A423A-A04A-4201-A87F-D0604A2B2DB0@mac.com> <e51d9a111002161621j3c5f542bsd409b1b2be61707f@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Feb 16, 2010, at 19:21 , Martin Lopreiato wrote: > hi, >=20 > On Feb 16, 2010, at 2:09 PM, Martin Lopreiato wrote: >>> note: if i use a configured address, my code works perfectly. so the >>> error message i'm getting when trying to forge an ipv6 address does >>> not seem to be related to a bug in my code. >>=20 >> You're not trying to send this traffic from a jail, by any chance? >>=20 >=20 > no. >=20 >=20 > Consider using PCAP/BPF interface or a wrapper like libnet.... >>=20 >=20 > pcap/bpf wouldn't do: i'd have to take care of neighbor-discovery and > routing myself. libnet would probably do, but.. hey! it's a simple = ipv6 > packet. and at this point, i'm curious about whether there's a = limitation on > the addresses you can "forge" with sendmsg() >=20 > fwiw, linux seems to have an ipv6 version of ipv5}4 hdrinclude socket > option. that's nice, too. >=20 I'd recommend pcs (http://pcs.sf.net) which has a lot of IPv6 support. Best, George=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?977CA846-505E-4D96-8555-6D1A21F2BC18>