Date: Mon, 01 Jul 2002 05:10:49 +0800 From: "Rafter Man" <rafter@linuxmail.org> To: <fgleiser@cactus.fi.uba.ar> Cc: freebsd-questions@freebsd.org Subject: Re: Network programming. Message-ID: <20020630211049.29593.qmail@linuxmail.org>
next in thread | raw e-mail | index | archive | help
----- Original Message ----- From: Fernando Gleiser <fgleiser@cactus.fi.uba.ar> > In general, firewall code belongs in the kernel. take a look ta ip_input.c > and ip_output.c and you'll see haw this is done by ipfilter and ipfw. > The absolute reference of the TCP/IP stack is Wright and Stevens "TCP/IP > Illustrated, Vol 2." The 15000 lines of code of the 4.4BSD stack in a very > annotated way. A must for kernel network programmers. For everything else, > Stevens "Unix Network Programming, Vol 1" is the bible. Ok, I'll buy them. > If you want to use sockstat to find out: man sockstat. > If you want to write a program which does the same as sockstat, take a > look at the source of netstat and fstat. sockstat is a perl script which > reads the output of both netstat and fstat and merges them. Ok, I'll look into that. > Hope this helps. It does, thank you :-) Best regards Rafter -- Get your free email from www.linuxmail.org Powered by Outblaze To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020630211049.29593.qmail>