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>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multipart MIME message. --==_Exmh_-14309285540 Content-Type: text/plain; charset=us-ascii > 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> --==_Exmh_-14309285540 Content-Type: text/plain ; name="7669-alias.msg"; charset=us-ascii Content-Description: 7669-alias.msg Content-Disposition: attachment; filename="7669-alias.msg" Use the source IP number when converting outgoing IRC packets rather than the IP found in the packet. PR: 7669 --==_Exmh_-14309285540 Content-Type: application/x-patch ; name="7669-alias.patch" Content-Description: 7669-alias.patch Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="7669-alias.patch" Index: alias_irc.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 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 =3D htons(org_port); - true_addr.s_addr =3D htonl(org_addr); + /* Use our source IP number, *NOT* the ``org_addr'' that we found in= the packet */ + true_addr =3D pip->ip_src; destaddr.s_addr =3D 0; = /* Steal the FTP_DATA_PORT - it doesn't really matter, and this --==_Exmh_-14309285540-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199909082346.AAA06689>