Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Aug 1998 17:25:33 -0400 (EDT)
From:      Bill Fumerola <billf@jade.chc-chimes.com>
To:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: ident2 (fwd)
Message-ID:  <Pine.BSF.3.96.980811172319.28624B-100000@jade.chc-chimes.com>

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

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 <defile@nyct.net>
To: Bill Fumerola <billf@jade.chc-chimes.com>
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980811172319.28624B-100000>