Date: Sat, 27 Jul 2002 18:36:16 +0200 (Central European Daylight Time) From: "Admin" <admin@ella.lt> To: <questions@FreeBSD.org> Subject: IP loging Message-ID: <3D42CC00.000003.00856@Minde>
index | next in thread | raw e-mail
[-- Attachment #1 --]
My network is not big. Only 5 computers:
192.168.110.1
192.168.110.2
192.168.110.3
192.168.110.4
192.168.110.5
The FreeBSD router is 192.168.110.100 with PPPoE, NAT and IPFW.
How can I log and resolve outgoing trafic in separate log files depending on
internal ip address
for example:
file 192.168.110.1.log
<date> <time> <destination address>
2002 jul 21 15:26:01 www.freebsd.org
2002 jul 21 15:26:05 www.freebsd.org\ports
file 192.168.110.2.log
2002 jul 21 12:26:10 www.sex.com
2002 jul 21 12:26:15 www.sex.com\blondies
and etc.
is it posible to make that kind of log file?
[-- Attachment #2 --]
<meta http-equiv="Content-Type" content="text/html; charset=windows-1257"><html>
<head>
<meta name="GENERATOR" content="IncrediMail 1.0">
<!--IncrdiXMLRemarkStart>
<IncrdiX-Info>
<X-FID>FLAVOR00-NONE-0000-0000-000000000000</X-FID>
<X-FVER>2.0</X-FVER>
<X-CNT>;</X-CNT>
</IncrdiX-Info>
<IncrdiXMLRemarkEnd-->
</head>
<BODY background="" bgColor=#ffffff style="BACKGROUND-POSITION: 0px 0px; FONT-SIZE: 10pt; MARGIN: 1px; FONT-FAMILY: Arial" scroll=yes ORGYPOS="0" X-FVER="2.0">
<TABLE border=0 cellPadding=0 cellSpacing=0 id=INCREDIMAINTABLE width="95%">
<TR>
<TD id=INCREDITEXTREGION width="100%" style="PADDING-RIGHT: 7px; PADDING-LEFT: 7px; FONT-SIZE: 10pt; FONT-FAMILY: Arial"
>
<DIV>My network is not big. Only 5 computers:</DIV>
<DIV>192.168.110.1</DIV>
<DIV>
<DIV>192.168.110.2</DIV>
<DIV>
<DIV>192.168.110.3</DIV>
<DIV>
<DIV>192.168.110.4</DIV>
<DIV>
<DIV>192.168.110.5</DIV>
<DIV>The FreeBSD router is 192.168.110.100 with PPPoE, NAT
and IPFW.</DIV>
<DIV> </DIV>
<DIV>How can I log and resolve outgoing trafic in separate log files
depending on internal ip address</DIV>
<DIV> </DIV>
<DIV>for example:</DIV>
<DIV>file 192.168.110.1.log</DIV>
<DIV><date> <time> <destination address></DIV>
<DIV>2002 jul 21 15:26:01 <A
href="http://www.freebsd.org">www.freebsd.org</A></DIV>
<DIV>
<DIV>2002 jul 21 15:26:05 <A
href="http://www.freebsd.org\ports">www.freebsd.org\ports</A></DIV></DIV>
<DIV> </DIV>
<DIV>file 192.168.110.2.log</DIV>
<DIV>
<DIV>2002 jul 21 12:26:10 <A
href="http://www.sex.com">www.sex.com</A></DIV>
<DIV>2002 jul 21 12:26:15 <A
href="http://www.sex.com\blondies">www.sex.com\blondies</A></DIV>
<DIV> </DIV>
<DIV>and etc.</DIV>
<DIV> </DIV>
<DIV>is it posible to make that kind of log file?</DIV>
<DIV> </DIV>
<DIV> </DIV></DIV></DIV></DIV></DIV></DIV></TD>
</TR>
<TR>
<TD id=INCREDIFOOTER width="100%">
<TABLE cellPadding=0 cellSpacing=0 width="100%">
<TR>
<TD width="100%"></TD>
<TD align=middle id=INCREDISOUND vAlign=bottom></TD>
<TD align=middle id=INCREDIANIM vAlign=bottom></TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
</BODY>
</html>
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D42CC00.000003.00856>
