From owner-freebsd-multimedia Sat Sep 6 01:15:09 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id BAA02279 for multimedia-outgoing; Sat, 6 Sep 1997 01:15:09 -0700 (PDT) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id BAA02238 for ; Sat, 6 Sep 1997 01:14:20 -0700 (PDT) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id JAA13303; Sat, 6 Sep 1997 09:02:31 +0200 From: Luigi Rizzo Message-Id: <199709060702.JAA13303@labinfo.iet.unipi.it> Subject: intercepting vat (or other rtp) traffic To: multimedia@freebsd.org Date: Sat, 6 Sep 1997 09:02:31 +0200 (MET DST) Cc: luigi@labinfo.iet.unipi.it (Luigi Rizzo) X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi, I would like to write a program which sits underneath vat and other conferencing apps (such as vic, rat, etc.), intercepts both outgoing and incoming traffic, and plays some tricks with it (tricks include compressing packets, adding redundancy or retransmissions, forwarding through a tunnel, etc.) Basically I can think of two ways of achieving the result: 1) patch the network module of vat and intercept traffic there; 2) program vat to use 127.0.0.1 and let my program talk to vat using the same address. My program would basically do address translation in both directions. I like better #2, except that I am not sure of how much of the IP header is used by these apps. Also #1 is not an option when you do not have sources available :) Any suggestion on how to operate or pointers to documentation ? Thanks Luigi