Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!husc6!cmcl2!brl-adm!adm!guyton%condor@rand-unix.arpa From: guyton%condor@rand-unix.arpa Newsgroups: comp.unix.wizards Subject: Re: trpt command Message-ID: <8077@brl-adm.ARPA> Date: Sun, 28-Jun-87 16:34:49 EDT Article-I.D.: brl-adm.8077 Posted: Sun Jun 28 16:34:49 1987 Date-Received: Sun, 28-Jun-87 19:45:08 EDT Sender: news@brl-adm.ARPA Lines: 30 Before you can use trpt on the Sun, you have to add the line: options TCPDEBUG to your kernal's config file and rebuild the kernal. This isn't needed in 4.3BSD (or non-Sun 4.2BSD). But for some reason SMI decided to ifdef the trpt support code in the kernal. You do need the Sun sources, as Sun does NOT supply the source to netinet/tcp_debug.c as part of their normal distribution. Worse, the supplied binary is compiled without the trpt support. Those people who want to use trpt on a Sun and don't have sources should complain to SMI. [I did once and they sent me a tcp_debug.o that had been compiled properly.] This info is for Sun OS's up to 3.2. I gather that version 3.4 has a lot of 4.3's TCP support in it; perhaps they've changed their tcp_debug module too. Of course, you also have to turn on the debug option of the sockets you want to trace, but that's standard BSD and well documented. -- Jim Guyton guyto30303x.uulia > t