From owner-freebsd-hackers Wed Jan 29 13:25:51 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id NAA22307 for hackers-outgoing; Wed, 29 Jan 1997 13:25:51 -0800 (PST) Received: from cheops.anu.edu.au (avalon@cheops.anu.edu.au [150.203.76.24]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id NAA22302 for ; Wed, 29 Jan 1997 13:25:49 -0800 (PST) Message-Id: <199701292125.NAA22302@freefall.freebsd.org> Received: by cheops.anu.edu.au (1.37.109.16/16.2) id AA221113143; Thu, 30 Jan 1997 08:25:43 +1100 From: Darren Reed Subject: Re: ipdivert & masqd To: cmott@srv.net (Charles Mott) Date: Thu, 30 Jan 1997 08:25:43 +1100 (EDT) Cc: hackers@freebsd.org In-Reply-To: from "Charles Mott" at Jan 29, 97 01:58:28 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In some mail from Charles Mott, sie said: > > > But anything after the 512th data byte in the TCP payload will be ignored, > > so if your message is 512 bytes long, contains a DCC request in it, > > information will be lost that the sender is not aware about (this assumes > > the packet is just one IRC message) if the payload size must increase as > > a result. > > > > It is a *much* better idea to redirect IRC to a local TCP port and process > > it using a proxy agent. Same could also be said for FTP. > > > > Darren > > Darren, > > In theory, one can construct cases where the FTP logic in the packet > aliasing software won't work (IP fragmenting a PORT command, or where the > PORT command is split between TCP packets with different sequence numbers, > or where the PORT command is in the middle of a packet, and so forth). > > In practice, these situations are not seen, and the packet aliasing > software works for FTP. The system loading is very low, and the software > easily scales to situations where there are large numbers of users. > > I don't know about IRC, but my guess is that the real situation is simpler > than the theoretical. Whatever Linux does to handle IRC, I am told that > it looks fairly similar to what one does for FTP. Well, in practice, the TIS FWTK/Gauntlet was sending the FTP PORT command in two packets, so that Linux would break and so too did Firewall-1. Darren