Sven Eckelmann | 25 Jul 11:51 2014

[PATCH] alfred: Make unix socket path configurable

The path to the socket used for client-server communication is currently
hardcoded in alfred and its complimentary daemons. This makes it hard to run
two instances of alfred on the same machine without any kind of virtualization
or containers.

An user may still want to use two alfred instances to create a test setup or
connect a single machine two separated alfred data clouds without exchanging
data between them.

Reported-by: Tobias Hachmer <tobias@...>
Signed-off-by: Sven Eckelmann <sven@...>
---
 alfred.h               |  7 ++++---
 client.c               |  6 +++---
 gpsd/alfred-gpsd.c     |  9 +++++++--
 gpsd/alfred-gpsd.h     |  3 ++-
 gpsd/man/alfred-gpsd.8 |  3 +++
 main.c                 |  8 +++++++-
 man/alfred.8           |  3 +++
 server.c               |  2 +-
 unix_sock.c            | 10 +++++-----
 vis/man/batadv-vis.8   |  3 +++
 vis/vis.c              | 10 ++++++++--
 vis/vis.h              |  3 ++-
 12 files changed, 48 insertions(+), 19 deletions(-)

diff --git a/alfred.h b/alfred.h
index f0dbb6d..35ac4dd 100644
--- a/alfred.h
+++ b/alfred.h
(Continue reading)

Krishnathiepan Rasanayagam | 25 Jul 08:34 2014
Picon

QoS in BATMAN-adv

 Hi All,

We are currently doing research on QoS services provided in MANETs
using batman-adv protocol. We want to know are there any similar
projects had been done before this in this area.

And does any one have knows is there an alternative in batman-adv for
nbar of Cisco.

--

-- 
Best regards,
Krishna.

Dhruvesh Rathore | 23 Jul 19:19 2014
Picon

Opportunity to contribute in B.A.T.M.A.N

Hello,
	
	We are a group of students that are currently pursuing our undergraduate degrees in Computer Science form
Pune Institute of Computer Technology (PICT), Maharashtra, India. We will be graduating in June 2015 and
are currently in our final year. For our final year B.E project we have selected the domain as Computer
Networks and would be very interested in working in the field of routing protocols for multihop ad-hoc
mesh networks, which is where we stumbled upon the B.A.T.M.A.N protocol.
     Over the past few weeks we have been extensively studying the various features and working principles
which has allowed this protocol to prosper. It will be a great learning opportunity for us to work with
B.A.T.M.A.N and in turn work with you. As per given on the open-mesh.org website for contributions, we
would appreciate if you could steer us towards the direction of choosing the right topic and working
towards culminating a project in the same, which would be helpful for the community.
     	Following are a few details which includes information about us, which would help you in making an
informed decision:

1) Group name: A-DRS
     It is our constant belief that inquisitiveness is the best teacher. For each one of us, coming together as a
group has allowed us to begin the journey of learning and innovating. We have been working together since
December 2012 and have completed numerous projects in our college and for organizations, some of which
you can view at out GitHub account link : (
https://github.com/a-drs?tab=contributions&from=2014-07-18 ).

2) Group members:
      Amey Ruikar ( ameyruikar@... ,
in.linkedin.com/pub/amey-ruikar/9a/315/1b7/ )
     	Dhruvesh Rathore (dhruvesh_r@... ,
in.linkedin.com/pub/dhruvesh-rathore/9a/550/56a/ )
      Somdeep Dey (somdeepdey10@... , in.linkedin.com/pub/somdeep-dey/a0/124/bb7/)

3) We have two mentors working with us, who will be guiding us throughout the process
(Continue reading)

Tobias Hachmer | 23 Jul 21:23 2014
Picon

alfred - one gateway - multiple interfaces


Hello list,

running here 3 gateways serving two communities. Nearly everything is
duplicated/separated logically: fastd, bridges, routing tables, batman
domains, etc.

Operating System is currently Ubuntu 14.04.

alfred:
  Installed: 2014.1.0-1
  Candidate: 2014.1.0-1
  Version table:
 *** 2014.1.0-1 0
        500 http://apt.rfc2324.org/debian/ wheezy/main amd64 Packages
        100 /var/lib/dpkg/status

Guess what: We have the requirement to run one alfred instance for
each batman domain. What is the suggested way to achieve this? For
instance, I assume that this isn't intended by design because
/etc/default/alfred in conjunction with the init script aren't
multiple interface aware.

From our POV the preferred solution for this would be to patch the
init script in order to support multiple interfaces by reading this
from /etc/default/alfred, like:

INTERFACES="bridge_one bridge_two"
BATMANIFS="bat_one bat_two"

(Continue reading)

Sven Eckelmann | 22 Jul 23:59 2014

[PATCH] batctl: Don't use hyphen for parameter in manpage

By default, "-" chars are interpreted as hyphens (U+2010) by groff, not as
minus signs (U+002D). Since options to programs use minus signs (U+002D), this
means for example in UTF-8 locales that you cannot cut and paste options, nor
search for them easily.

Signed-off-by: Sven Eckelmann <sven@...>
---
 man/batctl.8 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/man/batctl.8 b/man/batctl.8
index 110020e..bbe888c 100644
--- a/man/batctl.8
+++ b/man/batctl.8
 <at>  <at>  -61,7 +61,7  <at>  <at>  originator interval. The interval is in units of milliseconds.
 .br
 .IP "\fBap_isolation\fP|\fBap\fP [\fB0\fP|\fB1\fP]"
 If no parameter is given the current ap isolation setting is displayed. Otherwise the parameter is used to
enable or
-disable ap isolation. This command can be used in conjunction with "-m" option to target per VLAN configurations.
+disable ap isolation. This command can be used in conjunction with "\-m" option to target per VLAN configurations.
 .br
 .IP "\fBbridge_loop_avoidance\fP|\fBbl\fP [\fB0\fP|\fB1\fP]"
 If no parameter is given the current bridge loop avoidance setting is displayed. Otherwise the parameter
is used to enable
--

-- 
2.0.1

Rahul Amin | 22 Jul 18:06 2014
Picon

Batman-adv support for LXC containers

Hi,

  I am trying to set up an emulation scenario with 2 nodes 
  that uses Layer 2 routing via batman-adv. The emulation 
  creates LXC containers for the 2 nodes and I need to assign 
  wlan interfaces on each node to the bat0 interface.

  Following are the two things I tried:

  Approach 1:
  -> Set up wlanX interfaces on the host machine
  -> Assign bat0 as the mesh_iface on wlanX interfaces
  -> Move wlanX interfaces to LXC containers using 
       'ip link set wlanX netns namespace_id' command

  Problem with this approach is that I can't move bat0 interface 
  from host machine to both containers.

  Approach 2:

  -> Set up wlanX interfaces on the host machine
  -> Assign bat1 mesh_iface for wlan1 and 
       bat2 mesh_iface for wlan2
  -> Move wlan1 and bat1 interface to LXC container 1
  -> Move wlan2 and bat2 interface to LXC container 2

   With this setup, I got node 1 (container 1) to ping to 
   node 2 (container 2). But when I took wlan1 interface 
   down and then brought it back up, I could not ping 
   node 2 from node 1. I think both wlan1 and wlan2 
(Continue reading)

Simon Wunderlich | 21 Jul 15:42 2014
Picon

[PATCH] net: set name_assign_type in alloc_netdev()

From: Tom Gundersen <teg@...>

Extend alloc_netdev{,_mq{,s}}() to take name_assign_type as argument, and convert
all users to pass NET_NAME_UNKNOWN.

Coccinelle patch:

 <at>  <at> 
expression sizeof_priv, name, setup, txqs, rxqs, count;
 <at>  <at> 

(
-alloc_netdev_mqs(sizeof_priv, name, setup, txqs, rxqs)
+alloc_netdev_mqs(sizeof_priv, name, NET_NAME_UNKNOWN, setup, txqs, rxqs)
|
-alloc_netdev_mq(sizeof_priv, name, setup, count)
+alloc_netdev_mq(sizeof_priv, name, NET_NAME_UNKNOWN, setup, count)
|
-alloc_netdev(sizeof_priv, name, setup)
+alloc_netdev(sizeof_priv, name, NET_NAME_UNKNOWN, setup)
)

v9: move comments here from the wrong commit

Signed-off-by: Tom Gundersen <teg@...>
Reviewed-by: David Herrmann <dh.herrmann@...>
Signed-off-by: David S. Miller <davem@...>
[sw: added compat code]
Signed-off-by: Simon Wunderlich <sw@...>
---
(Continue reading)

Antonio Quartulli | 21 Jul 10:03 2014

[PATCH] batman-adv: avoid useless return in void functions

Cc: Linus Lüssing <linus.luessing@...>
Signed-off-by: Antonio Quartulli <antonio@...>
---
 multicast.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/multicast.h b/multicast.h
index 73b5d45..3a44ebd 100644
--- a/multicast.h
+++ b/multicast.h
 <at>  <at>  -50,7 +50,6  <at>  <at>  void batadv_mcast_purge_orig(struct batadv_orig_node *orig_node);

 static inline void batadv_mcast_mla_update(struct batadv_priv *bat_priv)
 {
-	return;
 }

 static inline enum batadv_forw_mode
 <at>  <at>  -67,12 +66,10  <at>  <at>  static inline int batadv_mcast_init(struct batadv_priv *bat_priv)

 static inline void batadv_mcast_free(struct batadv_priv *bat_priv)
 {
-	return;
 }

 static inline void batadv_mcast_purge_orig(struct batadv_orig_node *orig_node)
 {
-	return;
 }

(Continue reading)

Gabriel Tolón | 18 Jul 15:06 2014
Picon

non DHCP batman-adv gateway

Hi,

I'd like to use a configuration in a batman-adv openwrt mesh network in 
which the batman gateway relays the DHCP messages to and from a non 
batman-adv router. I think that's not a typical configuration right? 
Should it work? Do I need some additional packages? Thanks in advance!

Gabriel

Simon Wunderlich | 16 Jul 12:23 2014
Picon

[PATCH] batman-adv: remove obsolete variable primary_iface from orig_node

This variable became obsolete when changing to the new bonding mechanism
based on the multi interface optimization. Since its not used anywhere,
remove it.

Reported-by: Linus Lüssing <linus.luessing@...>
Signed-off-by: Simon Wunderlich <sw@...>
---
 types.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/types.h b/types.h
index 8854c05..462a70c 100644
--- a/types.h
+++ b/types.h
 <at>  <at>  -199,7 +199,6  <at>  <at>  struct batadv_orig_bat_iv {
 /**
  * struct batadv_orig_node - structure for orig_list maintaining nodes of mesh
  *  <at> orig: originator ethernet address
- *  <at> primary_addr: hosts primary interface address
  *  <at> ifinfo_list: list for routers per outgoing interface
  *  <at> last_bonding_candidate: pointer to last ifinfo of last used router
  *  <at> batadv_dat_addr_t:  address of the orig node in the distributed hash
 <at>  <at>  -244,7 +243,6  <at>  <at>  struct batadv_orig_bat_iv {
  */
 struct batadv_orig_node {
 	uint8_t orig[ETH_ALEN];
-	uint8_t primary_addr[ETH_ALEN];
 	struct hlist_head ifinfo_list;
 	struct batadv_orig_ifinfo *last_bonding_candidate;
 #ifdef CONFIG_BATMAN_ADV_DAT
(Continue reading)

Martin Hundebøll | 15 Jul 09:41 2014
Picon

[PATCHv2 01/13] batman-adv: kernel doc fixes for bat_iv_ogm.c

Signed-off-by: Martin Hundebøll <martin@...>
---
 bat_iv_ogm.c | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/bat_iv_ogm.c b/bat_iv_ogm.c
index 1e80539..73209f3 100644
--- a/bat_iv_ogm.c
+++ b/bat_iv_ogm.c
 <at>  <at>  -28,7 +28,7  <at>  <at> 

 
 /**
- * batadv_dup_status - duplicate status
+ * enum batadv_dup_status - duplicate status
  *  <at> BATADV_NO_DUP: the packet is a duplicate
  *  <at> BATADV_ORIG_DUP: OGM is a duplicate in the originator (but not for the
  *  neighbor)
 <at>  <at>  -517,7 +517,7  <at>  <at>  out:
  *  <at> bat_priv: the bat priv with all the soft interface information
  *  <at> packet_len: (total) length of the OGM
  *  <at> send_time: timestamp (jiffies) when the packet is to be sent
- *  <at> direktlink: true if this is a direct link packet
+ *  <at> directlink: true if this is a direct link packet
  *  <at> if_incoming: interface where the packet was received
  *  <at> if_outgoing: interface for which the retransmission should be considered
  *  <at> forw_packet: the forwarded packet which should be checked
 <at>  <at>  -1366,6 +1366,7  <at>  <at>  out:
 /**
  * batadv_iv_ogm_process_per_outif - process a batman iv OGM for an outgoing if
(Continue reading)


Gmane