Hi,

I'm running into an issue with divert sockets under perl after the renumbering. I use the following snippet to open one:

$fh = IO::Socket::INET->new(LocalPort => $port,
Proto => "divert",
Type => SOCK_RAW);

IO::Socket::INET then does a getprotobyname() on "divert", which according to /etc/protocols is 254, which results in

Dec 12 13:21:29 nik kernel: Old IPDIVERT program needs to be recompiled, or new IP proto 254 user needs sysctl net.inet.raw.olddiverterror=0

Was /etc/protocols maybe simply forgotten in the 10/29/02 change?

Thanks,
Lars
--
Lars Eggert <[EMAIL PROTECTED]> USC Information Sciences Institute

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to