🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sequent
Article #7

PTX TCP and "raw" sockets (building gated)

#7
From: Chris Maltby
Date: Fri, 30 Oct 1992 01:20
28 lines
1351 bytes
You may have read my earlier posting about vanishing routing
table entries. One respondent suggested a kernel bug (deleting
the default route), and another suggested that I try gated.
I was already going to try gated anyway, so....

I managed, after a few hours, to build gated, but it exits
early on saying "procotol not supported" on the attempt to
create a SOCK_RAW socket to receive ICMP packets on.

So, now, The Question.

Does anyone out there know what the (undocumented) magic is
which allows you to receive ICMP (and EGP/HELLO) packets?
Is it a device driver which must be pushed onto ip? How does
ping manage? Can I just open /dev/ip and do a magic ioctl?

Help...

Your reward will be a complete PTX version of gated, should you
desire that.

TIA
Chris
-- 
Chris Maltby - Softway Pty Ltd		Internet: chris@softway.sw.oz.au

PHONE:	+61-2-698-2322	"I'm waiting for X-Windows to become just that;
FAX:	+61-2-699-9174	 Ex-Windows" - A McGrath.
Technical Details
Message-ID: <chris.720408038@suite.sw.oz.au>
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!metro!basser.cs.su.oz.au!swift!suite.sw.oz.au!chris

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.sequent
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!metro!basser.cs.su.oz.au!swift!suite.sw.oz.au!chris
From: chris@suite.sw.oz.au (Chris Maltby)
Subject: PTX TCP and "raw" sockets (building gated)
Organization: Softway Pty Ltd
Date: 30 Oct 92 01:20:38 GMT
Message-ID: <chris.720408038@suite.sw.oz.au>
Sender: news@softway.sw.oz.au (Usenet)
Lines: 28