Raw Sockets: Two Questions

Eugene Grosbein eugen at grosbein.net
Wed Mar 21 18:48:44 UTC 2018


22.03.2018 0:38, Ronald F. Guilmette пишет:
> 
> In message <5AB1A9C5.9050707 at grosbein.net>, 
> Eugene Grosbein <eugen at 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.




More information about the freebsd-net mailing list