All of lore.kernel.org
 help / color / mirror / Atom feed
From: Taylor Grant <gtaylor@riverviewtech.net>
To: Doug C <the_wasp@game-nation.net.nz>
Cc: netfilter@lists.netfilter.org
Subject: Re: Remapping of starcraft UDP port 6112
Date: Thu, 21 Apr 2005 23:31:27 -0500	[thread overview]
Message-ID: <42687E1F.6020108@riverviewtech.net> (raw)
In-Reply-To: <000601c546d4$b32848e0$3800a8c0@Dewasp>

> [root@redhat root]# iptables -t filter -L -n -v --line-numbers
> Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
> num   pkts bytes target     prot opt in     out     source	destination
> 
> Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
> num   pkts bytes target     prot opt in     out     source	destination
> 
> Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
> num   pkts bytes target     prot opt in     out     source	destination
> 
> 
> 
> [root@redhat root]# iptables -t nat -L -n -v --line-numbers
> Chain PREROUTING (policy ACCEPT 50 packets, 3321 bytes)
> num   pkts bytes target     prot opt in     out     source	destination
> 
> Chain POSTROUTING (policy ACCEPT 1 packets, 108 bytes)
> num   pkts bytes target     prot opt in     out     source	destination
> 1       29  1578 MASQUERADE  all  --  *     hsb0    0.0.0.0/0	0.0.0.0/0
> 
> Chain OUTPUT (policy ACCEPT 1 packets, 108 bytes)
> num   pkts bytes target     prot opt in     out     source	destination
> 
> 
> 
> [root@redhat root]# iptables -t mangle -L -n -v --line-numbers
> Chain PREROUTING (policy ACCEPT 0 packets, 0 bytes)
> num   pkts bytes target     prot opt in     out     source	destination
> 
> Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
> num   pkts bytes target     prot opt in     out     source	destination
> 
> Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
> num   pkts bytes target     prot opt in     out     source	destination
> 
> Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
> num   pkts bytes target     prot opt in     out     source	destination
> 
> Chain POSTROUTING (policy ACCEPT 0 packets, 0 bytes)
> num   pkts bytes target     prot opt in     out     source	destination
> 
> 
> 
> seems like nothing to me? also i turned off all security settings in the gui

As you say this all looks standard enough.

> windows also has the same problem. when both clients are in a game together
> the game is extrememly laggy and unplayable
> i think that this is due to some of the packets getting through while others
> arnt (or the clients are getting each others packets and dropping them)

I suspect more of the latter.  The clients are erroneously getting each other's packets and dropping them.

> cheers for all the help, i will try the developers mailing list then

*nod*  This is what the list is for.

> Doug - Linux Newb

You won't be a ""Newb by the time we get done with you.  ;)

After looking at your clean / virtually empty test IPTables set up and reviewing what is going on, I can't think of any thing other than the fact that the NATing code must be getting confused and incorrectly sending each client's packets over to the other client and vice versa.  Have you tried running a TCPDump on the internal and external interfaces while the game is playing to see if this is indeed the case?  I would hope that the sequence numbers in the packets were enough different that you could use them as a key to which system was suppose to receive which packet.  This way you could tell if the NATing code was indeed messing up somehow.  Especially if you can write NATing rules to manually control what system gets NATed to what port on the external side of the firewall.  I at least don't see any thing in your set up that could possibly explain what is happening.

Sorry to say, I think this is a situation where you need to gather as much information (TCPDump) and take it to the developers list.  I wish that I could be more help.

I do have a favor to ask though.  Would you please follow up on this list if you do find any thing else out?  That way if any one comes back and reads the mail archive later with a similar situation they will know which direction you went with this to solve it?



Thanks,

Grant. . . .


      parent reply	other threads:[~2005-04-22  4:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-19  6:58 Remapping of starcraft UDP port 6112 Doug C
2005-04-19 14:24 ` Sebastian Docktor
2005-04-19 19:23 ` Taylor, Grant
2005-04-20  7:39   ` Doug C
2005-04-20 16:23     ` Taylor, Grant
     [not found]       ` <000601c54639$89ff0940$3800a8c0@Dewasp>
     [not found]         ` <42674EFD.90803@riverviewtech.net>
     [not found]           ` <000601c546d4$b32848e0$3800a8c0@Dewasp>
2005-04-22  4:31             ` Taylor Grant [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42687E1F.6020108@riverviewtech.net \
    --to=gtaylor@riverviewtech.net \
    --cc=netfilter@lists.netfilter.org \
    --cc=the_wasp@game-nation.net.nz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.