Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Jun 2000 10:22:39 +0300
From:      Ruslan Ermilov <ru@sunbay.com>
To:        Brian Somers <brian@Awfulhak.org>
Cc:        Junichi Satoh <junichi@junichi.org>, hackers@FreeBSD.org
Subject:   Re: RealSystem module for libalias
Message-ID:  <20000616102239.B34318@sunbay.com>
In-Reply-To: <200006160615.HAA17063@hak.lan.Awfulhak.org>; from brian@Awfulhak.org on Fri, Jun 16, 2000 at 07:15:13AM %2B0100
References:  <junichi@junichi.org> <200006160615.HAA17063@hak.lan.Awfulhak.org>

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

--UlVJffcvxoiEqYs2
Content-Type: text/plain; charset=us-ascii

On Fri, Jun 16, 2000 at 07:15:13AM +0100, Brian Somers wrote:
> Hi,
> 
> I haven't done anything with this yet, but I plan to take a look 
> soon.  This is just a note to let you know that your post hasn't gone 
> unnoticed.
> 
Brian, this is just to let you know that:

1) I am currently in process of applying *big* PPTP patch to libalias
   so I would really appreciate it if you do not touch libalias before
   I finish with PPTP part.

2) Erik Salander <erik@whistle.com> is working together with Mr. Junichi 
   on $Subject issue (see attached), so you will probably want to contact
   them directly, since I am not particularly interested in these changes.
   But I would appreciate if you send me the patch for review before you
   commit it.

> > The libalias allows to transport only TCP stream on the RealSystem
> > (RealAudio and RealVideo).
> > It can not transport UDP stream, rtsp and pna, from the real server
> > to the client.
> > 
> > So, I wrote the new module for the libalias to support the UDP stream
> > on the RealSystem.
> > 
> > The patch againt to the libalias source tree of the FreeBSD 4.0-RELEASE
> > is available at:
> > 
> > 	http://configure.sh/FreeBSD
> > 
> > Any comments are welcome.
> > ---
> > Junichi Satoh
> > junichi@junichi.org / junichi@astec.co.jp
> 
> -- 
> Brian <brian@Awfulhak.org>                        <brian@[uk.]FreeBSD.org>
>       <http://www.Awfulhak.org>;                   <brian@[uk.]OpenBSD.org>
> Don't _EVER_ lose your sense of humour !


Cheers,
-- 
Ruslan Ermilov		Oracle Developer/DBA,
ru@sunbay.com		Sunbay Software AG,
ru@FreeBSD.org		FreeBSD committer,
+380.652.512.251	Simferopol, Ukraine

http://www.FreeBSD.org	The Power To Serve
http://www.oracle.com	Enabling The Information Age

--UlVJffcvxoiEqYs2
Content-Type: message/rfc822

Received: from hub.freebsd.org (hub.FreeBSD.ORG [204.216.27.18]) by whale.sunbay.crimea.ua (8.9.3/1.13) with ESMTP id SAA89440 for <ru@sunbay.crimea.ua>; Wed, 14 Jun 2000 18:58:26 +0300 (EEST)
Received: by hub.freebsd.org (Postfix)
	id A819737C2CD; Wed, 14 Jun 2000 08:40:10 -0700 (PDT)
Delivered-To: ru@freebsd.org
Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38])
	by hub.freebsd.org (Postfix) with ESMTP id B63CC37C233
	for <ru@FreeBSD.ORG>; Wed, 14 Jun 2000 08:40:04 -0700 (PDT)
	(envelope-from erik@whistle.com)
Received: from whistle.com (erik.whistle.com [207.76.205.71])
	by alpo.whistle.com (8.9.1a/8.9.1) with ESMTP id IAA60032
	for <ru@FreeBSD.ORG>; Wed, 14 Jun 2000 08:39:01 -0700 (PDT)
Sender: erik@whistle.com
Message-ID: <3947A714.10FDFF62@whistle.com>
Date: Wed, 14 Jun 2000 08:39:00 -0700
From: Erik Salander <erik@whistle.com>
X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 3.3-RELEASE i386)
X-Accept-Language: en
MIME-Version: 1.0
To: Ruslan Ermilov <ru@FreeBSD.ORG>
Subject: Re: libalias changes for PPTP, RTSP, FTP(passive)
References: <392C655B.5966AE30@whistle.com> <20000614145957.A83146@sunbay.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit


Ruslan,

Thanks for going over the patch.  I'll get back to you by Thursday, at the
latest.

FYI, also working with Junichi Satoh on converging our streaming media
changes.  Sent him the first attempt at a merged routine, yesterday (Tues).

Erik


Ruslan Ermilov wrote:

> On Wed, May 24, 2000 at 04:27:23PM -0700, Erik Salander wrote:
> >
> > Hi,
> >
> > I've got some changes for libalias that are ready to be reviewed.  The
> > general features are:
> >
> >     - add support to alias RTSP and RTP (see new module alias_rtsp.c)
> >     - add support to alias PPTP and GRE (see new module alias_pptp.c and
> >       all "LINK_GRE" references)
> >
> What I do not understand is how PPTP is supposed to work if we do not
> intercept outgoing GRE packets.  I was told by Archie (and then read
> about that in RFC) that multiple clients to the same server can use
> the same Call ID.  I understand what is going on in alias_pptp.c --
> a GRE link is created after successful PPTP handshake, and then, for
> incoming packets, we look for the corresponding GRE link in GreAliasIn()
> and simply replace Call ID there appropriately (PPTP's GRE does not use
> checksum, right?), but we should do the same thing in GreAliasOut(),
> which is missing.  Am I overlooked something?
>
> >     - adding support for passive mode FTP, aliasing the 227 replies (see
> >       alias_ftp.c)
> >
> The EPSV command 229 reply (RFC2428) should be aliased and checked as well.
> Recent versions of FreeBSD use EPSV by default:
>
> : Connected to localhost.
> : 220 perl.sunbay.crimea.ua FTP server (Version 6.00LS) ready.
> : Name (localhost:ru):
> : ---> USER ru
> : 331 Password required for ru.
> : Password:
> : ---> PASS XXXX
> : 230 User ru logged in.
> : ---> SYST
> : 215 UNIX Type: L8 Version: BSD-199506
> : Remote system type is UNIX.
> : Using binary mode to transfer files.
> : ftp> dir foo
> : ---> EPSV
> : 229 Entering Extended Passive Mode (|||49169|)
> : ---> LIST foo
> : 150 Opening ASCII mode data connection for '/bin/ls'.
> : ftpd: foo: No such file or directory
> : 226 Transfer complete.
> : ftp> quit
> : ---> QUIT
> : 221 Goodbye.
>
> >     - a new utility function, PacketUnaliasOut (see alias.c)
> >
> I have left it out as well as QueryUdpTcp*().
>
> > Note, the FTP aliasing now ensures that:
> >
> >     1. the segment preceding a PORT/227 segment terminates with a \r\n.
> >     2. the IP address in the PORT/227 matches the source IP address of
> >        the packet.
> >     3. the port number in the PORT command or 277 reply is greater than
> >        or equal to 1024
>
> Additional minor changes I have made:
>
> - Moved data structures declarations local to alias_db.c back from
>   alias_local.h to alias_db.c;
>
> - New functions {Set|Get}LastLineCrlfTermed() for use instead of
>   explicitly manipulating link flags inside alias_ftp.c;
>
> And I have put the new version of patch:
>
> http://people.FreeBSD.org/~ru/libalias.patch.2
>
> <PS>
> I still have to have my questions answered in order to commit PPTP
> part of this patch.
> </PS>
>
> Cheers,
> --
> Ruslan Ermilov          Oracle Developer/DBA,
> ru@sunbay.com           Sunbay Software AG,
> ru@FreeBSD.org          FreeBSD committer,
> +380.652.512.251        Simferopol, Ukraine
>
> http://www.FreeBSD.org  The Power To Serve
> http://www.oracle.com   Enabling The Information Age
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-net" in the body of the message


--UlVJffcvxoiEqYs2--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000616102239.B34318>