All of lore.kernel.org
 help / color / mirror / Atom feed
* [BUG??] irc module fails
@ 2005-10-05 17:32 Patrizio Bassi
  2005-10-06 13:43 ` Thilo Schulz
  0 siblings, 1 reply; 2+ messages in thread
From: Patrizio Bassi @ 2005-10-05 17:32 UTC (permalink / raw)
  To: netfilter

hi.

seems that's a problem with irc module.

if i ask dcc chat to an user it doesn't work.
if i try to send a file, neither (no nat/router problem)

if i try to receive a file it works.
i've sniffed a dcc chat session with ethereal..

19:22:28.000825 IP <ip1>.1267 > <myip>.33400: S 1487500188:1487500188(0) 
win 65535 <mss 1460,nop,wscale 0,nop,nop,timestamp 466877396 0>
19:22:30.990384 IP <ip1>.1267 > <myip>.33400: S 1487500188:1487500188(0) 
win 65535 <mss 1460,nop,wscale 0,nop,nop,timestamp 466877696 0>

packet arrives but is discarded...
why? no tracking? seems so strange..

ps. i'm not subscribed, CC me



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [BUG??] irc module fails
  2005-10-05 17:32 [BUG??] irc module fails Patrizio Bassi
@ 2005-10-06 13:43 ` Thilo Schulz
  0 siblings, 0 replies; 2+ messages in thread
From: Thilo Schulz @ 2005-10-06 13:43 UTC (permalink / raw)
  To: netfilter; +Cc: patrizio.bassi

[-- Attachment #1: Type: text/plain, Size: 1462 bytes --]

On Wednesday 05 October 2005 19:32, Patrizio Bassi wrote:
> if i ask dcc chat to an user it doesn't work.
> if i try to send a file, neither (no nat/router problem)
>
> if i try to receive a file it works.
> i've sniffed a dcc chat session with ethereal..

Yes, that's because of the nature of the DCC protocol. If you want to send a 
file, it will open a port locally and the remote host will connect to it. In 
theory - with NAT this is a different story. Of course, if you want to 
receive a file, the remote host opens the port and you connect to it. That 
will work through NAT.

> packet arrives but is discarded...
> why? no tracking? seems so strange..

Yes, from ip_conntrack_irc.c:

 *      Module load syntax:
 *      insmod ip_conntrack_irc.o ports=port1,port2,...port<MAX_PORTS>
 *                          max_dcc_channels=n dcc_timeout=secs
 *
 *      please give the ports of all IRC servers You wish to connect to.
 *      If You don't specify ports, the default will be port 6667.
 *      With max_dcc_channels you can define the maximum number of not
 *      yet answered DCC channels per IRC session (default 8).
 *      With dcc_timeout you can specify how long the system waits for
 *      an expected DCC channel (default 300 seconds).

The kernel must "spy" in irc connections and look out for DCC commands.
If you use IPv6, SSL or a different port than standard 6667, it won't work.


-- 
Thilo Schulz

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-10-06 13:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-05 17:32 [BUG??] irc module fails Patrizio Bassi
2005-10-06 13:43 ` Thilo Schulz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.