Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Jul 2002 18:44:32 +0200 (Central European Daylight Time)
From:      "Admin" <admin@ella.lt>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   IP loging
Message-ID:  <3D42CDF0.000007.00856@Minde>

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

--------------Boundary-00=_8I2XWCW0000000000000
Content-Type: Text/Plain;
  charset="windows-1257"
Content-Transfer-Encoding: quoted-printable

My network is not big. Only 5 computers:=0D
192.168.110.1=0D
192.168.110.2=0D
192.168.110.3=0D
192.168.110.4=0D
192.168.110.5=0D
The FreeBSD router is 192.168.110.100 with PPPoE, NAT and IPFW.=0D
=0D
How can I log and resolve outgoing trafic in separate log files depending=
 on
internal ip address=0D
=0D
for example:=0D
file 192.168.110.1.log=0D
<date> <time> <destination address>=0D
2002 jul 21   15:26:01   www.freebsd.org=0D
2002 jul 21   15:26:05   www.freebsd.org\ports=0D
=0D
file 192.168.110.2.log=0D
2002 jul 21   12:26:10  www.sex.com=0D
2002 jul 21   12:26:15  www.sex.com\blondies=0D
=0D
and etc.=0D
=0D
is it posible to make that kind of log file?
--------------Boundary-00=_8I2XWCW0000000000000
Content-Type: Text/HTML;
  charset="windows-1257"
Content-Transfer-Encoding: quoted-printable

<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dwindows=
-1257"><html>
<head>
<meta name=3D"GENERATOR" content=3D"IncrediMail 1.0">=0D
<!--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-->
=0A</head>

<BODY background=3D"" bgColor=3D#ffffff style=3D"BACKGROUND-POSITION: 0px=
 0px; FONT-SIZE: 10pt; MARGIN: 1px; FONT-FAMILY: Arial" scroll=3Dyes ORGY=
POS=3D"0" X-FVER=3D"2.0">
<TABLE border=3D0 cellPadding=3D0 cellSpacing=3D0 id=3DINCREDIMAINTABLE w=
idth=3D"95%">
<TR>

<TD id=3DINCREDITEXTREGION width=3D"100%" style=3D"PADDING-RIGHT: 7px; PA=
DDING-LEFT: 7px; FONT-SIZE: 10pt; FONT-FAMILY: Arial"=20
   >
      <DIV>
      <TABLE id=3DINCREDIMAINTABLE cellSpacing=3D0 cellPadding=3D0 width=3D=
"95%"=20
      border=3D0>
       =20
        <TR>
          <TD id=3DINCREDITEXTREGION=20
          style=3D"PADDING-RIGHT: 7px; PADDING-LEFT: 7px; FONT-SIZE: 10pt=
; FONT-FAMILY: Arial"=20
          width=3D"100%">
            <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=20
            and&nbsp;IPFW.</DIV>
            <DIV>&nbsp;</DIV>
            <DIV>How can I log and resolve&nbsp;outgoing trafic in separa=
te log=20
            files depending on internal&nbsp;ip address</DIV>
            <DIV>&nbsp;</DIV>
            <DIV>for example:</DIV>
            <DIV>file 192.168.110.1.log</DIV>
            <DIV>&lt;date&gt; &lt;time&gt; &lt;destination address&gt;</D=
IV>
            <DIV>2002 jul 21&nbsp;&nbsp; 15:26:01&nbsp;&nbsp; <A=20
            title=3Dhttp://www.freebsd.org/=20
            href=3D"http://www.freebsd.org">www.freebsd.org</A></DIV>;
            <DIV>
            <DIV>2002 jul 21&nbsp;&nbsp; 15:26:05&nbsp;&nbsp; <A=20
            title=3Dhttp://www.freebsd.org/ports=20
            href=3D"http://www.freebsd.org\ports">www.freebsd.org\ports</=
A></DIV></DIV>
            <DIV>&nbsp;</DIV>
            <DIV>file 192.168.110.2.log</DIV>
            <DIV>
            <DIV>2002 jul 21&nbsp;&nbsp; 12:26:10&nbsp;&nbsp;<A=20
            title=3Dhttp://www.sex.com/=20
            href=3D"http://www.sex.com">www.sex.com</A></DIV>;
            <DIV>2002 jul 21&nbsp;&nbsp; 12:26:15&nbsp;&nbsp;<A=20
            title=3Dhttp://www.sex.com/blondies=20
            href=3D"http://www.sex.com\blondies">www.sex.com\blondies</A>=
</DIV>
            <DIV>&nbsp;</DIV>
            <DIV>and etc.</DIV>
            <DIV>&nbsp;</DIV>
            <DIV>is it posible to make that kind of log file?</DIV>
            <DIV>&nbsp;</DIV>
            <DIV>&nbsp;</DIV></DIV></DIV></DIV></DIV></DIV></TD></TR></TA=
BLE></DIV></TD>
</TR>

<TR>
<TD id=3DINCREDIFOOTER width=3D"100%">

=09<TABLE cellPadding=3D0 cellSpacing=3D0 width=3D"100%">
=09<TR>
=09<TD width=3D"100%"></TD>
=09<TD align=3Dmiddle id=3DINCREDISOUND vAlign=3Dbottom></TD>
=09<TD align=3Dmiddle id=3DINCREDIANIM vAlign=3Dbottom></TD>
=09</TR>
=09</TABLE>

</TD>
</TR>

</TABLE>
</BODY>
</html>
--------------Boundary-00=_8I2XWCW0000000000000--



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?3D42CDF0.000007.00856>