Date: Thu, 22 Mar 2018 01:48:09 +0700 From: Eugene Grosbein <eugen@grosbein.net> To: "Ronald F. Guilmette" <rfg@tristatelogic.com>, freebsd-net@freebsd.org Subject: Re: Raw Sockets: Two Questions Message-ID: <5AB2A8E9.5020002@grosbein.net> In-Reply-To: <3394.1521653925@segfault.tristatelogic.com> References: <3394.1521653925@segfault.tristatelogic.com>
next in thread | previous in thread | raw e-mail | index | archive | help
22.03.2018 0:38, Ronald F. Guilmette пишет: > > In message <5AB1A9C5.9050707@grosbein.net>, > Eugene Grosbein <eugen@grosbein.net> wrote: > >> 21.03.2018 3:09, Ronald F. Guilmette wrote: >>> https://stackoverflow.com/questions/7048448/raw-sockets-on-bsd-operating-systems >>> "Using raw sockets isn't hard but it's not entirely portable. For >>> instance, both in BSD and in Linux you can send whatever you want, >>> but in BSD you can't receive anything that has a handler (like TCP >>> and UDP)." >>> >>> So, first question: Is the above comment actually true & accurate? >> >> Not for FreeBSD. > > Is it true for other *BSDs? Don't know about raw sockets. But I know that NETGRAPH that allows to send/receive RAW frames is FreeBSD specific.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5AB2A8E9.5020002>