[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#110907: marked as done (ircII sends wrong IP address in DCC packets)

Your message dated Sun, 6 Nov 2011 17:21:41 +0100
with message-id <20111106162136.GA11440@server.brlink.eu>
and subject line 110907 most likely fixed since 20020912-1
has caused the Debian Bug report #110907,
regarding ircII sends wrong IP address in DCC packets
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org

110907: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=110907
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: ircii
Version: 20010612-4
Severity: important

Hi Darren,

I noticed recently that I can not initiate DCC SEND and DCC CHAT from
ircII on my home computer. Epic4 works fine. After some investigation
I found the reason:

I use iptables-base firewall and ip-conntrack-irc kernel module (from
kernel-patch-irc package). The computer works as a router between the
home network and the cable modem, and therefore it has two IP
addresses - (eth0) and (eth1). Unlike epic4,
ircII always uses in DCC SEND and CHAT commands.
Obviously, ip-conntrack-irc module gets confused, reports this as
forged DCC command, and refuses to accept the reverse connection. 

I have not made the patch yet, but I think the problem is in the
connect_to_server_direct() functon inside server.c. When it figures
out the local IP address of a server connection, it should use
the address reported by getsockname() rather than rely on gethostname(). 

When I rebuilt ircII with --disable-ipv6, the problem has gone, so
must be inside that #ifdef INET6 block (lines 894-910 of server.c).


-- System Information
Debian Release: testing/unstable
Kernel Version: Linux cyxapuk 2.4.9 #1 Sat Sep 1 18:29:36 BST 2001 i686 unknown

Versions of the packages ircii depends on:
ii  libc6          2.2.4-1        GNU C Library: Shared libraries and Timezone
ii  libncurses5    5.2.20010318-3 Shared libraries for terminal handling

--- End Message ---
--- Begin Message ---
Package: ircii
Version: 20020912-1

The code in question seems to have been rewritten
for version 20020912, so I guess this bug should
be fixed since version 20020912-1. (Or there is
a new unrelated bug). Thus closing this one.

	Bernhard R. Link

--- End Message ---

Reply to: