From owner-freebsd-multimedia Sat Sep 6 18:12:14 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id SAA15546 for multimedia-outgoing; Sat, 6 Sep 1997 18:12:14 -0700 (PDT) Received: from hydrogen.nike.efn.org (resnet.uoregon.edu [128.223.170.28]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id SAA15526 for ; Sat, 6 Sep 1997 18:12:07 -0700 (PDT) Received: (from jmg@localhost) by hydrogen.nike.efn.org (8.8.7/8.8.7) id SAA18259; Sat, 6 Sep 1997 18:11:56 -0700 (PDT) Message-ID: <19970906181156.24183@hydrogen.nike.efn.org> Date: Sat, 6 Sep 1997 18:11:56 -0700 From: John-Mark Gurney To: Luigi Rizzo Cc: Bernie Doehner , multimedia@FreeBSD.ORG Subject: Re: intercepting vat (or other rtp) traffic References: <199709061315.PAA13585@labinfo.iet.unipi.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.69 In-Reply-To: <199709061315.PAA13585@labinfo.iet.unipi.it>; from Luigi Rizzo on Sat, Sep 06, 1997 at 03:15:42PM +0200 Reply-To: John-Mark Gurney Organization: Cu Networking X-Operating-System: FreeBSD 2.2.1-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Luigi Rizzo scribbled this message on Sep 6: > > Does it have to be vat? Can you use rat (assuming it's stable enough > > yet)? > > source for rat is not generally available and cannot be redistributed. > in any case what I want to do is completely independent from the > application that's why I am going for #2 how about the -U option to vat? from vat's man page: -U Use the unix-domain stream socket specified by socket for audio I/O. Some process should bind to and listen on this socket before vat is run. The data is raw 8khz mulaw samples. If socket is a number, then AudioFile is used. The number indi- cates the corresponding AudioFile device. the other option might be to use divert sockets... divert all the vat/audio traffic to your process.. do the processing or forwarding then use the dirver socket to reinsert the packets into the network stream... > > > 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. ttyl.. -- John-Mark Gurney Modem/FAX: +1 541 683 6954 Cu Networking Live in Peace, destroy Micro$oft, support free software, run FreeBSD