public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] 0.3 alpha (today revison)
@ 2007-09-22 15:09 a.anselmi
  2007-09-22 17:03 ` Marek Lindner
  0 siblings, 1 reply; 12+ messages in thread
From: a.anselmi @ 2007-09-22 15:09 UTC (permalink / raw)
  To: b.a.t.m.a.n

Hi,
since you use mipsel device I think these mips log could be of more help
in fixing mips/mipsel bug in 0.3 branches (alpha and experimental).

Very simple scenario:
[client 5.1.7.251]----mesh----[gateway 5.1.7.254]
all node running 0.3 apha (the today latest rv6300.3-alpha)

##### d3 level debug at client
...
1) Adding throw route to 169.254.0.0/16 via 0.0.0.0 (table 68 - eth0:1)
2) Adding throw route to 127.0.0.0/8 via 0.0.0.0 (table 68 - lo)
3) Adding throw route to 10.7.251.128/25 via 0.0.0.0 (table 68 - ath2)
4) Adding throw route to 5.0.0.0/8 via 0.0.0.0 (table 68 - ath0)
5) Adding throw route to 10.7.251.0/25 via 0.0.0.0 (table 68 - br0)
6) Adding route to 5.1.7.254 via 0.0.0.0 (table 66 - ath0)
7) Found new gateway 5.1.7.254 -> class: 49 - 4MBit/1024KBit

# after sliding windows if filled in by validate OGMs

8) Adding default route to 5.1.7.254 (gw_flags: 49, packet_count: 64,
gw_product: 0)
9) Adding default route via tun0 (table 68)

# ...ah this is great! now trying to ping outside mesh

10) Gateway client - got IP (1.0.254.169) from gateway: 5.1.7.254
11) Gateway client - gateway (5.1.7.254) says: IP (1.0.254.169) is expired

# client can't exit off mesh

##### d3 level debug at gateway
...
1) gateway class: 49 -> propagating: 4MBit/1024KBit
2) Error - can't add route to 0.0.254.169/24 via 0.0.0.0 (table 254):
Invalid argument

# (don't know why previous error)
# ...gateway is learned about client wants ping outside mesh

3) Gateway - assigned 1.0.254.169 to client 5.1.7.251
4) Error - got packet from unknown client: 5.1.7.251 (virtual ip 1.0.254.169)

What I see:

FIRST BUG (?)
Client prepare route to 169.254.0.0/16 in table 68 (line 1-log_client)
while gateway arrange a 169.254.0.0/24 space (line 2-log_gateway): suffix
bits differs (16 bit netmask client side vs 24 bit netmask server side)

SECOND BUG
Client wants ping outside mesh and receives a *little endian formatted* IP
1.0.254.169 (line 10-log_client and line 3-log_gateway) which is out of
previous arrangement (this IP address is malformed by gateway).

Client tryes sending outgoing packet to gateway

Gateway receives client' outgoing packect but doesn't recognize IP source
address (line 4-log_gateway) expecting one in 0.0.254.169/24 space. Thus
gateway informs client about wrong IP, so client pinging fails (line
11-log_client).

Hopeing this will be usefull... I know today weekend begins :)


--
Antonio



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

* Re: [B.A.T.M.A.N.] 0.3 alpha (today revison)
  2007-09-22 15:09 [B.A.T.M.A.N.] 0.3 alpha (today revison) a.anselmi
@ 2007-09-22 17:03 ` Marek Lindner
  2007-09-22 18:00   ` a.anselmi
  0 siblings, 1 reply; 12+ messages in thread
From: Marek Lindner @ 2007-09-22 17:03 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking


Hi,

> since you use mipsel device I think these mips log could be of more help
> in fixing mips/mipsel bug in 0.3 branches (alpha and experimental).

> Hopeing this will be usefull... I know today weekend begins :)

thanks a lot for your thorough description - it did help.  :-)
Since the weekend is shorter than one might think I already issued a patch. It 
should work now but due to the lack of Big Endian CPUs I can't test it. I 
would be happy if you checked on that. After you confirmed the end of this 
bug I will fix the experimental branch as well.

Regards,
Marek

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

* Re: [B.A.T.M.A.N.] 0.3 alpha (today revison)
  2007-09-22 17:03 ` Marek Lindner
@ 2007-09-22 18:00   ` a.anselmi
  2007-09-22 18:51     ` Marek Lindner
  0 siblings, 1 reply; 12+ messages in thread
From: a.anselmi @ 2007-09-22 18:00 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

great work Marek,
now client can ping outside mesh obtaining the correct IP from gateway.
Thanks!

Still remain the minor problem in arrangement of IPIPA subnet mask:
169.254.0.0/16 on clients
169.254.0.0/24 on gateway

Have a fine weekend


--
Antonio


space (line 2-log_gateway): suffix
> Hi,
>
>> since you use mipsel device I think these mips log could be of more help
>> in fixing mips/mipsel bug in 0.3 branches (alpha and experimental).
>
>> Hopeing this will be usefull... I know today weekend begins :)
>
> thanks a lot for your thorough description - it did help.  :-)
> Since the weekend is shorter than one might think I already issued a
> patch. It
> should work now but due to the lack of Big Endian CPUs I can't test it. I
> would be happy if you checked on that. After you confirmed the end of this
> bug I will fix the experimental branch as well.
>
> Regards,
> Marek
> _______________________________________________
> B.A.T.M.A.N mailing list
> B.A.T.M.A.N@open-mesh.net
> https://list.open-mesh.net/mm/listinfo/b.a.t.m.a.n
>



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

* Re: [B.A.T.M.A.N.] 0.3 alpha (today revison)
  2007-09-22 18:00   ` a.anselmi
@ 2007-09-22 18:51     ` Marek Lindner
  2007-09-22 19:41       ` a.anselmi
  2007-09-24 18:32       ` Michael Burmeister-Brown
  0 siblings, 2 replies; 12+ messages in thread
From: Marek Lindner @ 2007-09-22 18:51 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

Am Samstag, 22. September 2007 20:00:04 schrieb a.anselmi@oltrelinux.com:
> great work Marek,
> now client can ping outside mesh obtaining the correct IP from gateway.
> Thanks!

Goooood. This makes the weekend even better.  ;-)


> Still remain the minor problem in arrangement of IPIPA subnet mask:
> 169.254.0.0/16 on clients
> 169.254.0.0/24 on gateway

I don't know where you can see that. The tun interface is a point to point 
connection ...


Greetings,
Marek


PS: 2 hours reponse time isn't that bad, is it ?  :)

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

* Re: [B.A.T.M.A.N.] 0.3 alpha (today revison)
  2007-09-22 18:51     ` Marek Lindner
@ 2007-09-22 19:41       ` a.anselmi
  2007-09-22 20:04         ` Marek Lindner
  2007-09-24 18:32       ` Michael Burmeister-Brown
  1 sibling, 1 reply; 12+ messages in thread
From: a.anselmi @ 2007-09-22 19:41 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking


>> Still remain the minor problem in arrangement of IPIPA subnet mask:
>> 169.254.0.0/16 on clients
>> 169.254.0.0/24 on gateway
>
> I don't know where you can see that. The tun interface is a point to > >
> point connection ...
...sure, it was a safe-IP on my router which cause that messages about
169.254.0.0 route: now changed safe-IP out of ipipa subnet.

> PS: 2 hours reponse time isn't that bad, is it ?  :)

...that's the way! (K.C. & Sunshine Band, early 70's)

ciao

--
Antonio




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

* Re: [B.A.T.M.A.N.] 0.3 alpha (today revison)
  2007-09-22 19:41       ` a.anselmi
@ 2007-09-22 20:04         ` Marek Lindner
  2007-09-22 21:07           ` Steven Leeman
  0 siblings, 1 reply; 12+ messages in thread
From: Marek Lindner @ 2007-09-22 20:04 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

Am Samstag, 22. September 2007 21:41:21 schrieb a.anselmi@oltrelinux.com:
> >> Still remain the minor problem in arrangement of IPIPA subnet mask:
> >> 169.254.0.0/16 on clients
> >> 169.254.0.0/24 on gateway
> >
> > I don't know where you can see that. The tun interface is a point to > >
> > point connection ...
>
> ...sure, it was a safe-IP on my router which cause that messages about
> 169.254.0.0 route: now changed safe-IP out of ipipa subnet.

Excuse my ignorance but what is "ipipa" ? Even wikipedia does not know 
it.  ;-)
And let me repeat my question: Where did you see that routing 
entry "169.254.0.0/16" ? Or is that problem also gone ?


Greetings,
Marek

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

* Re: [B.A.T.M.A.N.] 0.3 alpha (today revison)
  2007-09-22 20:04         ` Marek Lindner
@ 2007-09-22 21:07           ` Steven Leeman
  2007-09-22 22:08             ` elektra
  0 siblings, 1 reply; 12+ messages in thread
From: Steven Leeman @ 2007-09-22 21:07 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

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

he means Apipa...
http://compnetworking.about.com/cs/protocolsdhcp/g/bldef_apipa.htm
as soon as something starts with 169.x.y.z I guess.. netmask 255.0.0.0


2007/9/22, Marek Lindner <lindner_marek@yahoo.de>:
>
> Am Samstag, 22. September 2007 21:41:21 schrieb a.anselmi@oltrelinux.com:
> > >> Still remain the minor problem in arrangement of IPIPA subnet mask:
> > >> 169.254.0.0/16 on clients
> > >> 169.254.0.0/24 on gateway
> > >
> > > I don't know where you can see that. The tun interface is a point to >
> >
> > > point connection ...
> >
> > ...sure, it was a safe-IP on my router which cause that messages about
> > 169.254.0.0 route: now changed safe-IP out of ipipa subnet.
>
> Excuse my ignorance but what is "ipipa" ? Even wikipedia does not know
> it.  ;-)
> And let me repeat my question: Where did you see that routing
> entry "169.254.0.0/16" ? Or is that problem also gone ?
>
>
> Greetings,
> Marek
> _______________________________________________
> B.A.T.M.A.N mailing list
> B.A.T.M.A.N@open-mesh.net
> https://list.open-mesh.net/mm/listinfo/b.a.t.m.a.n
>

[-- Attachment #2: Type: text/html, Size: 1866 bytes --]

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

* Re: [B.A.T.M.A.N.] 0.3 alpha (today revison)
  2007-09-22 21:07           ` Steven Leeman
@ 2007-09-22 22:08             ` elektra
  2007-09-22 22:37               ` a.anselmi
  0 siblings, 1 reply; 12+ messages in thread
From: elektra @ 2007-09-22 22:08 UTC (permalink / raw)
  To: b.a.t.m.a.n



169.254.0.0/16 is the MDNS (multicast DNS) address space. Part of zeroconf 
repectively 'Bonjour' (Apple Computers)

This has nothing to do with Batman.

cu elektra

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

* Re: [B.A.T.M.A.N.] 0.3 alpha (today revison)
  2007-09-22 22:08             ` elektra
@ 2007-09-22 22:37               ` a.anselmi
  0 siblings, 0 replies; 12+ messages in thread
From: a.anselmi @ 2007-09-22 22:37 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

Hi,
ipipa was a my typo... I was meaning apipa.

"Windows 98, 98 SE, Me, and 2000 have an Automatic Private IP Addressing
(APIPA) feature that will automatically assign an Internet Protocol
address to a computer on which it installed.  This occurs when the TCP/IP
protocol is installed, set to obtain it's IP address automatically from a
Dynamic Host Configuration Protocol server,  and when there is no DHCP
server present or the DHCP server is not available.  The Internet Assigned
Numbers Authority (IANA) has reserved private IP addresses in the range of
169.254.0.0 -169.254.255.255 for Automatic Private IP Addressing."

good weekend to all batman team

Antonio



> 169.254.0.0/16 is the MDNS (multicast DNS) address space. Part of zeroconf
> repectively 'Bonjour' (Apple Computers)
>
> This has nothing to do with Batman.
>
> cu elektra
> _______________________________________________
> B.A.T.M.A.N mailing list
> B.A.T.M.A.N@open-mesh.net
> https://list.open-mesh.net/mm/listinfo/b.a.t.m.a.n
>



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

* RE: [B.A.T.M.A.N.] 0.3 alpha (today revison)
  2007-09-22 18:51     ` Marek Lindner
  2007-09-22 19:41       ` a.anselmi
@ 2007-09-24 18:32       ` Michael Burmeister-Brown
  2007-09-24 18:56         ` Axel Neumann
  2007-09-24 18:58         ` Marek Lindner
  1 sibling, 2 replies; 12+ messages in thread
From: Michael Burmeister-Brown @ 2007-09-24 18:32 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

Marek,

I hate to bother you but you were so responsive before...

Antonio just put up a post.  We are both seeing the same problem -
computers associated with repeaters on 0.3 (MIPS) can't browse.  But ssh
into that node and do a wget and it works great!.  If we just replace
0.3 with 0.2 all works again.

Also, I am tracking memory and see it dropping steadily on the nodes
(500k in about 12 hours).  This didn't happen with 0.2 and that is all
that has changed.

Is there any way you can look into this ASAP?  We are very close to
having to give code to our supplier for the routers and we would very
much like to ship with 0.3 rather than 0.2.

Thank you for your help!

FYI, we sent you 6 merakis today.  I'll get you a tracking number
shortly.

Mike

-----Original Message-----
From: b.a.t.m.a.n-bounces@open-mesh.net
[mailto:b.a.t.m.a.n-bounces@open-mesh.net] On Behalf Of Marek Lindner
Sent: Saturday, September 22, 2007 11:52 AM
To: The list for a Better Approach To Mobile Ad-hoc Networking
Subject: Re: [B.A.T.M.A.N.] 0.3 alpha (today revison)

Am Samstag, 22. September 2007 20:00:04 schrieb
a.anselmi@oltrelinux.com:
> great work Marek,
> now client can ping outside mesh obtaining the correct IP from
gateway.
> Thanks!

Goooood. This makes the weekend even better.  ;-)


> Still remain the minor problem in arrangement of IPIPA subnet mask:
> 169.254.0.0/16 on clients
> 169.254.0.0/24 on gateway

I don't know where you can see that. The tun interface is a point to
point 
connection ...


Greetings,
Marek


PS: 2 hours reponse time isn't that bad, is it ?  :)
_______________________________________________
B.A.T.M.A.N mailing list
B.A.T.M.A.N@open-mesh.net
https://list.open-mesh.net/mm/listinfo/b.a.t.m.a.n


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

* Re: [B.A.T.M.A.N.] 0.3 alpha (today revison)
  2007-09-24 18:32       ` Michael Burmeister-Brown
@ 2007-09-24 18:56         ` Axel Neumann
  2007-09-24 18:58         ` Marek Lindner
  1 sibling, 0 replies; 12+ messages in thread
From: Axel Neumann @ 2007-09-24 18:56 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

Hello,

On Montag 24 September 2007, Michael Burmeister-Brown wrote:
> Marek,
>
> I hate to bother you but you were so responsive before...
>
> Antonio just put up a post.  We are both seeing the same problem -
> computers associated with repeaters on 0.3 (MIPS) can't browse.  But ssh
> into that node and do a wget and it works great!.  If we just replace
> 0.3 with 0.2 all works again.

So you want to use the batman-clients as APs for usual 802.11-managed-mode 
clients.
If I understand you right, then you prbably need to do network address 
translation (NAT) or MASQUERADEing on the bat0 interfaces on the batman 
clients.
And of course a second time on the batman-GW.

>
> Also, I am tracking memory and see it dropping steadily on the nodes
> (500k in about 12 hours).  This didn't happen with 0.2 and that is all
> that has changed.
Thats interesting, sounds like a memory leak, because in the lates setups i 
tested the memory consumption was constantly 3.1 percent (even after hours). 
using dynamically compiled mipsel binaries and up to 20 nodes .
Can you send the output from top right after the start, after a few minutes 
and after a few hours. And the output of debug-level -5 (hope its compiled 
in)

ciao,
axel

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

* Re: [B.A.T.M.A.N.] 0.3 alpha (today revison)
  2007-09-24 18:32       ` Michael Burmeister-Brown
  2007-09-24 18:56         ` Axel Neumann
@ 2007-09-24 18:58         ` Marek Lindner
  1 sibling, 0 replies; 12+ messages in thread
From: Marek Lindner @ 2007-09-24 18:58 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking


Hi,

> I hate to bother you but you were so responsive before...

no problem - I'm here.  :-)


> Antonio just put up a post.  We are both seeing the same problem -
> computers associated with repeaters on 0.3 (MIPS) can't browse.  But ssh
> into that node and do a wget and it works great!.  If we just replace
> 0.3 with 0.2 all works again.

From the client associated to AP_n you can ssh to your gateway ? Than you have 
a problem with your internet tunnel.


> Also, I am tracking memory and see it dropping steadily on the nodes
> (500k in about 12 hours).  This didn't happen with 0.2 and that is all
> that has changed.

What do you mean with "memory and see it dropping steadily" ?


> Is there any way you can look into this ASAP?  We are very close to
> having to give code to our supplier for the routers and we would very
> much like to ship with 0.3 rather than 0.2.

And you are sure to preinstall 0.3 ? It is not stable yet. There are a bunch 
of things to come soon: improved blackhole detection, BATMAN IV, a kernel 
modul for faster tunneling, bugfixes, etc ...
Especially the experimental branch is packed with a lot of additional testing 
features. I don't know wether it is wise to ship that ...


> FYI, we sent you 6 merakis today.  I'll get you a tracking number
> shortly.

Great - thanks.

Regards,
Marek


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

end of thread, other threads:[~2007-09-24 18:58 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-22 15:09 [B.A.T.M.A.N.] 0.3 alpha (today revison) a.anselmi
2007-09-22 17:03 ` Marek Lindner
2007-09-22 18:00   ` a.anselmi
2007-09-22 18:51     ` Marek Lindner
2007-09-22 19:41       ` a.anselmi
2007-09-22 20:04         ` Marek Lindner
2007-09-22 21:07           ` Steven Leeman
2007-09-22 22:08             ` elektra
2007-09-22 22:37               ` a.anselmi
2007-09-24 18:32       ` Michael Burmeister-Brown
2007-09-24 18:56         ` Axel Neumann
2007-09-24 18:58         ` Marek Lindner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox