From owner-freebsd-hackers Tue Aug 11 14:28:19 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA08567 for freebsd-hackers-outgoing; Tue, 11 Aug 1998 14:28:19 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from jade.chc-chimes.com (jade.chc-chimes.com [206.67.97.83]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA08550 for ; Tue, 11 Aug 1998 14:28:11 -0700 (PDT) (envelope-from billf@jade.chc-chimes.com) Received: from localhost (billf@localhost) by jade.chc-chimes.com (8.8.8/8.8.8) with SMTP id RAA00614 for ; Tue, 11 Aug 1998 17:25:33 -0400 (EDT) (envelope-from billf@jade.chc-chimes.com) Date: Tue, 11 Aug 1998 17:25:33 -0400 (EDT) From: Bill Fumerola To: freebsd-hackers@FreeBSD.ORG Subject: Re: ident2 (fwd) Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Just a little background, I'm trying to port a program called 'ident2' which allows for passthrough ident for those who run ip masq. and also allows userland control of ident replys (optionally). Linux tracks things differently then FreeBSD so perhaps you could read the message I got from the author of the program and help me/him out a bit, as it seems to be over my head. ---------- Forwarded message ---------- Date: Tue, 11 Aug 1998 15:54:13 -0400 (EDT) From: Michael Bacarella To: Bill Fumerola Subject: Re: ident2 > I gotta run so this is going to be brief. > > I am a FreeBSD porting type person. Your program cores when it's run by > inetd in freebsd, I don't know if you knew this. > > Aug 10 22:52:41 jade in.ident2[6926]: error reading /proc/net/tcp: No such > file or directory > Aug 10 22:52:41 jade /kernel: pid 6926 (ident2), uid 0: exited on signal > 11 > > I'm using tcpd (tcp wrappers) to run it, and I haven't checked if that > makes a difference. but I KNOW there is no '/proc/net' in freebsd. Ah yes, it currently won't work with FreeBSD since it doesn't store connection information in /proc/net. If you want that kind of information you'd have to thumb through /dev/kmem. I have no idea how to do this, (well, I have some idea, but I need to find the correct offset to do it from. If you could figure out how to get the offset for TCP/IP connections, I could write a port). Other than that, not much I can do. --Michael Bacarella To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message