Date: Thu, 11 Dec 1997 09:22:57 +0200 From: Genossar Chen <chen@cs.technion.ac.il> To: freebsd-doc@FreeBSD.ORG Subject: Ask for help about "divert" command . Message-ID: <348F94D1.3A2390BD@cs.technion.ac.il>
next in thread | raw e-mail | index | archive | help
--------------DA35CE19C8E01742054FECFB Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, __ OO /||\ ___m____m___ I am a student in the Thechnion, Israel. I want to use the "divet" command in order to change the ip datagram (between the IP & TCP layers): |-----------| | App Layer | |-----------| | | |-----------| | TCP Layer | |-----------| | | <------------------------> here i want to change the data that comes from above & send it down, |-----------| and also do the opposite (change the data | IP Layer | that comes from down & send it back up in the regular way). |-----------| | | Someone told me that i can do it with the "divert" command ? Is it possible ? Do you know how i can do it (both directions) ? Do you have an example for it ? THANKS & Have a Nice Day Chen. ##### ( O O ) -----------------------------------------------M-------M-------- |Chen Genossar (chen@cs.technion.ac.il) | |Tel: 011-972-4-829-4301 | |FAX: 011-972-4-8256356 | | | ---------------------------------------------------------------- _// \\_ (_/ \_) --------------DA35CE19C8E01742054FECFB Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit <HTML> <PRE> Hi, __ OO /||\ ___m____m___</PRE> <PRE> I am a student in the Thechnion, Israel.</PRE> <PRE> I want to use the "divet" command in order to change the ip datagram (between the IP & TCP layers):</PRE> <PRE></PRE> <PRE> |-----------|</PRE> <PRE> | App Layer |</PRE> <PRE> |-----------|</PRE> <PRE> |</PRE> <PRE> |</PRE> <PRE> |-----------|</PRE> <PRE> | TCP Layer |</PRE> <PRE> |-----------|</PRE> <PRE> |</PRE> <PRE> | <------------------------> here i want to change the data that comes from above & send it down,</PRE> <PRE> |-----------| and also do the opposite (change the data</PRE> <PRE> | IP Layer | that comes from down & send it back up in the regular way).</PRE> <PRE> |-----------|</PRE> <PRE> |</PRE> <PRE> |</PRE> <PRE></PRE> <PRE> Someone told me that i can do it with the "divert" command ?</PRE> <PRE> Is it possible ?</PRE> <PRE> Do you know how i can do it (both directions) ?</PRE> <PRE> Do you have an example for it ?</PRE> <PRE> </PRE> <PRE> THANKS &</PRE> <PRE> Have a Nice Day Chen. ##### ( O O ) -----------------------------------------------M-------M-------- |Chen Genossar (chen@cs.technion.ac.il) | |Tel: 011-972-4-829-4301 | |FAX: 011-972-4-8256356 | | | ---------------------------------------------------------------- _// \\_ (_/ \_)</PRE> </HTML> --------------DA35CE19C8E01742054FECFB--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?348F94D1.3A2390BD>