public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] dynamic gateway / hna / services
@ 2007-08-03  9:31 Freifunk Dresden
  2007-08-04  9:43 ` Axel Neumann
  2007-08-04 10:34 ` Marek Lindner
  0 siblings, 2 replies; 27+ messages in thread
From: Freifunk Dresden @ 2007-08-03  9:31 UTC (permalink / raw)
  To: open-mesh

Hello,
I didn't get the email for this request, so the mailling list thread  
my be brocken.


> n Dienstag 24 Juli 2007, Freifunk Dresden wrote:
> [...]
> > Question 2:
> >
> > I'm currently checking how the HNA is working, but until now I can not
> > see any HNA on a second node. Firewall is enabled completely for both
> > nodes and each node sees the other nodes. I call batmand as follow:
> > Node1: batmand -t 63 -a 141.56.0.0/16 wlan0 bbs /t 2 bbc /t 2
> > Node2: batmand -t 63 eth1 bbs /t 2 bbc /t 2
> >
> > But batmand -c -d 4 does not show any HNA messages and no HNA entry is
> > stored in   routing table.
>
> Indeed, seemed something has been missed (sorry for late reply). Can  
> you try something above rv489 debul-level 3 should show (batmand -c  
> -d 3):
> Adding route to 10.20.0.222/32 via 10.20.0.2 (table 65 - eth0:bat)
> and ip route ls table 65
> 10.20.0.222 via 10.20.0.2 dev eth0  proto static

I have checked out the rv491 and it seems working. In my test environment I
use a laptop (i386) and two wrt54gl. The wrt shows at "-d3" that the announced
HNA is added/deleted every 1-5 seconds. The wrt that has a greater  
distance (5meter 2 walls between) adds and deletes the HNA in a highe  
frequency than the
wrt that is about 50cm away.
I think that HNA should not be deleted to fast because someone that is  
using this "bad" connection will get often error messages during  
surfing that the rout e is not found. It would be better if just the  
connection slow because of transmistion errors.



> > Beside of this the Idea to add/delete HNA without stopping batmand
> > would be good. e.g. batmand -c -a <add-hna>
> >             batmand -c -A <del-hna>
>
> I also like the idea of dynamically changing some parameters but on  
> the other hand, what are the negative side-effects of restarting a  
> daemon ?  - A client connected to the daemon might temporary loose  
> connection
>  - Do you know others?

I think the first point is important enough. see the statement above.

> [...]
>
> >
> > Another Idea of the "-m" is to differenciate this parameter to -M
> > <"message"> and -m <send-script>. by calling batmand -c -m send-script,
> > batmand can setup stdin/stdou as binary file handle and fill a user-OGM
> > with binary data that is then send.
> >
>
> Even if such message-flooding ist not implemented I just thought of  
> whether there exist some standardized formats to announce such  
> services (maybe the community network markup language CNML idea) ?  
> ciao, axel

I have looked through the code and have seen that the HNA is simply  
appended to
the end of a message. if we want to send other information a TLV structure is
needed (Tag-length-value). Batmand can ignore unknown Tags and is  
still working in the network. At moment the whole network needs an  
update at same time, because old batmand will interpret any data as HNA.
I hope I'm not wrong :)

Bye
  Stephan






^ permalink raw reply	[flat|nested] 27+ messages in thread
* [B.A.T.M.A.N.] dynamic gateway / hna / services
@ 2007-07-24 13:21 Freifunk Dresden
  2007-07-24 18:35 ` Daniel Poelzleithner
                   ` (2 more replies)
  0 siblings, 3 replies; 27+ messages in thread
From: Freifunk Dresden @ 2007-07-24 13:21 UTC (permalink / raw)
  To: open-mesh

hi,

Question 1:

how does batmand detect whether the internet connection is really connected to
the internet or not. Or does batmand just relays on the -g parameter.
Until now we let run a cron job that checks for the real working  
gateway. Because we can not relay on the presence of the default  
route. User may use a different
router to connect to the internet and just add the default route this  
private router.
The problem is that the node offering a internet connection (-g)  
should also be able to access other internet connection if its local  
connection is brocken.

Question 2:

I'm currently checking how the HNA is working, but until now I can not  
see any HNA on a second node. Firewall is enabled completely for both  
nodes and each node sees the other nodes. I call batmand as follow:
Node1: batmand -t 63 -a 141.56.0.0/16 wlan0 bbs /t 2 bbc /t 2
Node2: batmand -t 63 eth1 bbs /t 2 bbc /t 2

But batmand -c -d 4 does not show any HNA messages and no HNA entry is  
stored in   routing table.

Beside of this the Idea to add/delete HNA without stopping batmand  
would be good. e.g. batmand -c -a <add-hna>
            batmand -c -A <del-hna>

Question 3:

If a node offers a ftp server (portforwarding) I like to offer this  
"service" via batmand like olsrd.
A generic solution would be good to just allow to send user text  
messages with the OGM.

e.g:sending:  batmand -c -m "this is my message" (called requlary by  
cron.d to send/update a message or command)
  the running batmand will need an addional options e.g. -m (script)  
that is called to process the incomming message.
e.g:  batmand -m process-message-script wlan0

The advantage would be, that each user that is using batman can offer  
different
services: e.g. populate a service list, news, software updates,....

Another Idea of the "-m" is to differenciate this parameter to -M <"message">
and -m <send-script>. by calling batmand -c -m send-script, batmand  
can setup stdin/stdou as binary file handle and fill a user-OGM with  
binary data that is then send.


Please tell me if some of the features already present in the  
batman-experimental trunk.

Kind regards
  Stephan





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

end of thread, other threads:[~2007-08-20 13:10 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-03  9:31 [B.A.T.M.A.N.] dynamic gateway / hna / services Freifunk Dresden
2007-08-04  9:43 ` Axel Neumann
2007-08-04 21:38   ` Freifunk Dresden
2007-08-20 13:10   ` Alexander Morlang
2007-08-04 10:34 ` Marek Lindner
  -- strict thread matches above, loose matches on Subject: below --
2007-07-24 13:21 Freifunk Dresden
2007-07-24 18:35 ` Daniel Poelzleithner
2007-07-25 11:50   ` Alexander Morlang
2007-07-25 12:52     ` tetzlav
2007-07-25 15:06       ` Alexander Morlang
2007-07-25 15:19         ` Daniel Poelzleithner
2007-07-25 16:05           ` Alexander Morlang
2007-07-25 17:25             ` Daniel Poelzleithner
2007-07-26 12:33               ` Alexander Morlang
2007-07-25 16:21         ` clauz
2007-07-25 15:05     ` Daniel Poelzleithner
2007-07-25 14:56   ` Marek Lindner
2007-07-27 14:07 ` Marek Lindner
2007-07-27 14:43   ` Aaron Kaplan
2007-07-27 15:23     ` Marek Lindner
2007-07-27 16:03       ` Aaron Kaplan
2007-07-27 16:40         ` Marek Lindner
2007-07-27 20:41           ` Aaron Kaplan
2007-07-28  8:03             ` Axel Neumann
2007-07-27 14:59   ` Lui
2007-07-27 15:31     ` Marek Lindner
2007-08-02 14:26 ` Axel Neumann

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