Date: Thu, 25 May 2006 02:49:38 +0900 (JST) From: Hideki Yamamoto <yamamoto436@oki.com> To: freebsd-net@freebsd.org, freebsd-pf@freebsd.org Subject: Re: IPv6 raw socket to send original udp Message-ID: <20060525.024938.74731993.yamamoto436@oki.com> In-Reply-To: <20060508.054451.41688849.yamamoto436@oki.com> References: <20060508.054451.41688849.yamamoto436@oki.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, One of my collegues helped me. bpf described in the following page is useful. http://canmore.sdf-eu.org/freebsd/bpf.html And libdnet is a wrapper of the bpf on FreeBSD. Code using libdnet seems to be portable with Linux and so on. From: Hideki Yamamoto <yamamoto436@oki.com> Subject: IPv6 raw socket to send original udp Date: Mon, 08 May 2006 05:44:51 +0900 (JST) Message-ID: <20060508.054451.41688849.yamamoto436@oki.com> > > Hi, > > I tried to use pf as a traffic shaper for a streaming server, but > it does not work well. Input of pf is bursted packets within around 20 > msec, but is not bursted packets within around 100 msec or longer. > This traffic pattern is the feature of the streaming server. > > As pf is does not work well, I am thinking designinig original shaper > command on bridge-like freebsd box, and that the command will receive > the sever packet via libpcap, shape it and then send it constantly to > another device. To send packet from bridge-like freebsd box, I plan > to use RAW IPV6 socket. However in my small experiment, it does not > seems good, IP_HDRINCL option does not woks. > > I wonder if IPv6 raw socket can be used only for ICMPv6. > I would like to use IPv6 raw socket for original udp packet. > > Thanks in advance. > > Hideki Yamamoto > -- > > > _______________________________________________ > freebsd-pf@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-pf > To unsubscribe, send any mail to "freebsd-pf-unsubscribe@freebsd.org" ---
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060525.024938.74731993.yamamoto436>