Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 Aug 2000 01:48:22 +0900
From:      itojun@iijlab.net
To:        Bernie Doehner <bad@wireless.net>
Cc:        net@freebsd.org
Subject:   Re: Restoring old IPv4 raw socket behavior under 4.1-RELEASE 
Message-ID:  <21905.965666902@coconut.itojun.org>
In-Reply-To: bad's message of Mon, 07 Aug 2000 07:11:55 MST. <Pine.BSF.3.95.1000807071137.8232C-100000@wireless.net>

next in thread | previous in thread | raw e-mail | index | archive | help

>Just upgraded from 4.0-RELEASE to 4.1-RELEASE, and now a custom
>application of ours that used to do:
>
>socket(AF_INET, SOCK_RAW, 4); 
>
>No longer works with:
>Protocol not supported opening socket.
>
>As far as I can tell, this is because SOCK_RAW sockets now default to
>IPv6. Is there a SIMPLE way to restore old ipv4 SOCK_RAW
>socket() behavior, so that I don't need to have any IPv6 routes at all?

	no, the observation is incorrect.  we simply need rip_{output,ctloutput}
	family listed in protosw.

itojun


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?21905.965666902>