Date: Thu, 09 Sep 1999 00:46:03 +0100 From: Brian Somers <brian@Awfulhak.org> To: ru@FreeBSD.org Cc: joelh@gnu.org, freebsd-bugs@FreeBSD.org, eivind@FreeBSD.org Subject: Re: bin/7669: libalias does not IRC DCC packets under certain conditions Message-ID: <199909082346.AAA06689@keep.lan.Awfulhak.org> In-Reply-To: Your message of "Wed, 08 Sep 1999 09:59:43 PDT." <199909081659.JAA94740@freefall.freebsd.org>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
> Synopsis: libalias does not IRC DCC packets under certain conditions
>
> State-Changed-From-To: open->suspended
> State-Changed-By: ru
> State-Changed-When: Wed Sep 8 09:59:03 PDT 1999
> State-Changed-Why:
> Awaiting IRC guru.
I fired the attached patch at Eivind (cc'd), but he pooh-pooh'd it
for a reason I forget (I know nothing about IRC).
Eivind, have you any advances on this ?
--
Brian <brian@Awfulhak.org> <brian@FreeBSD.org>
<http://www.Awfulhak.org> <brian@OpenBSD.org>
Don't _EVER_ lose your sense of humour ! <brian@FreeBSD.org.uk>
[-- Attachment #2 --]
Use the source IP number when converting outgoing IRC packets
rather than the IP found in the packet.
PR: 7669
[-- Attachment #3 --]
Index: alias_irc.c
===================================================================
RCS file: /home/ncvs/src/lib/libalias/alias_irc.c,v
retrieving revision 1.4
diff -u -r1.4 alias_irc.c
--- alias_irc.c 1998/06/06 21:52:36 1.4
+++ alias_irc.c 1999/03/09 09:24:09
@@ -208,7 +208,8 @@
true_port = htons(org_port);
- true_addr.s_addr = htonl(org_addr);
+ /* Use our source IP number, *NOT* the ``org_addr'' that we found in the packet */
+ true_addr = pip->ip_src;
destaddr.s_addr = 0;
/* Steal the FTP_DATA_PORT - it doesn't really matter, and this
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199909082346.AAA06689>
