Community discussions

MikroTik App
 
User avatar
LatinSuD
Member Candidate
Member Candidate
Topic Author
Posts: 181
Joined: Wed Jun 29, 2005 1:05 pm
Location: Spain
Contact:

Bug: conntrack + queue tree = problem

Tue Apr 27, 2010 10:47 pm

For this test you need:
  • A PC with recent linux distro (like debian testing or Fedora 11), which sends A and AAAA DNS queries at the same time.
  • Routeros 4.6:
  • Configure IP so it can act as a gateway for the PC (no nat required).
  • Have conntrack enabled (by default).
  • Add a trivial queue tree like this (please note we are NOT rate limiting): /queue tree add name=test parent=global-in
Now on the PC just wget anything (repeat this as many times as you want):
wget -O/dev/null www.mikrotik.com
Most times DNS resolution will get stuck (or at least take too much time). This is because routeros is dropping MOST of the DNS packets (typically the AAAA queries).
You can sniff incoming and outgoing traffic to test that it is Routeros who drops it. I've double checked this on different routers/pc.
 
User avatar
LatinSuD
Member Candidate
Member Candidate
Topic Author
Posts: 181
Joined: Wed Jun 29, 2005 1:05 pm
Location: Spain
Contact:

Re: Bug: conntrack + queue tree = problem

Tue Apr 27, 2010 11:17 pm

Might be related to this:
http://kerneltrap.org/mailarchive/linux ... id-4825394

Though they suggest it should happen on SMP systems and mine is not.
 
changeip
Forum Guru
Forum Guru
Posts: 3830
Joined: Fri May 28, 2004 5:22 pm

Re: Bug: conntrack + queue tree = problem

Wed Apr 28, 2010 12:20 am

interesting ...

Who is online

Users browsing this forum: adrianh and 124 guests