summaryrefslogtreecommitdiff
path: root/batctl
Commit message (Collapse)AuthorAgeFilesLines
* batctl: Merge bugfixes from 2022.1Sven Eckelmann2022-05-061-0/+29
| | | | | | * ping: Skip sleep after last packet Signed-off-by: Sven Eckelmann <sven@narfation.org>
* batctl: Allow parallel buildsSven Eckelmann2022-02-191-0/+2
| | | | | | | | The build system of this package is written in a way that it is safe to run the make steps in parallel. The build time can be reduced slightly on modern systems. Signed-off-by: Sven Eckelmann <sven@narfation.org>
* batctl: update to version 2022.0Sven Eckelmann2022-02-031-2/+2
| | | | | | * (no changes) Signed-off-by: Sven Eckelmann <sven@narfation.org>
* batctl: update to version 2021.4Sven Eckelmann2021-11-191-2/+2
| | | | | | * (no changes) Signed-off-by: Sven Eckelmann <sven@narfation.org>
* Revert "batman-adv: update packages to version 2021.4"Simon Wunderlich2021-11-191-2/+2
|
* batctl: update to version 2021.4Sven Eckelmann2021-11-191-2/+2
| | | | | | * (no changes) Signed-off-by: Sven Eckelmann <sven@narfation.org>
* batctl: update to version 2021.3Sven Eckelmann2021-09-141-2/+2
| | | | | | * (no changes) Signed-off-by: Sven Eckelmann <sven@narfation.org>
* batctl: update to version 2021.2Sven Eckelmann2021-08-201-2/+2
| | | | | | | * manpage cleanups * coding style cleanups and refactoring Signed-off-by: Sven Eckelmann <sven@narfation.org>
* batctl: update to version 2021.1Sven Eckelmann2021-05-182-27/+32
| | | | | | | * add various commands to print generic netlink replies as JSON * coding style cleanups and refactoring Signed-off-by: Sven Eckelmann <sven@narfation.org>
* batctl: use $(AUTORELEASE) for PKG_RELEASESven Eckelmann2021-05-141-1/+1
| | | | | | | Use `$(AUTORELEASE)` variable rather than setting a PKG_RELEASE on every commit manually. Signed-off-by: Sven Eckelmann <sven@narfation.org>
* batctl: upgrade package to latest release 2021.0Sven Eckelmann2021-01-282-4/+27
| | | | | | | | | | | * Drop support for batman-adv's sysfs+debugfs * allow to select routing algorithm during creation of interface * bugs squashed: - fix query of meshif's ap_isolation status - ignore "interface already exists" error during "interface add" Signed-off-by: Sven Eckelmann <sven@narfation.org>
* batctl: upgrade package to latest release 2020.4Sven Eckelmann2020-10-271-2/+2
| | | | | | | | * bugs squashed: - Fix endianness in ICMPv6 Echo Request/Reply parsing Signed-off-by: Sven Eckelmann <sven@narfation.org>
* batctl: upgrade package to latest release 2020.3Sven Eckelmann2020-08-251-3/+3
| | | | | | * add per interface hop penalty command Signed-off-by: Sven Eckelmann <sven@narfation.org>
* batctl: Enable build of mcast_flags subcommandSven Eckelmann2020-07-211-2/+2
| | | | | | | | | | | | The mcast_flags subcommand allows to query the mcast_flags of the current device and of the seen originators. It should be enabled for the default and full variants. But the configuration string wasn't correctly included in the list when the variants were prepared and thus disabled in all variants. Reported-by: Linus Lüssing <linus.luessing@c0d3.blue> Fixes: 129986825219 ("batctl: Provide different variants") Signed-off-by: Sven Eckelmann <sven@narfation.org>
* batctl: upgrade package to latest release 2020.2Sven Eckelmann2020-07-061-2/+2
| | | | | | | | | | * coding style cleanups and refactoring * drop support for automatic destruction of empty meshifs * bugs squashed: - Fix parsing of radiotap headers on big endian systems Signed-off-by: Sven Eckelmann <sven@narfation.org>
* batctl: upgrade package to latest release 2020.1Sven Eckelmann2020-04-241-2/+2
| | | | | | | | * bugs squashed: - Fix error code on throughputmeter errors Signed-off-by: Sven Eckelmann <sven@narfation.org>
* batctl: Drop duplicated PROVIDES for batctl-tinySven Eckelmann2020-03-071-1/+0
| | | | | | | | The PROVIDES:=batctl is also set by Package/batctl/Default and doesn't have to be duplicated for Package/batctl-tiny (which inherits from Package/batctl/Default). Signed-off-by: Sven Eckelmann <sven@narfation.org>
* batctl: Switch to OpenWrt package templateSven Eckelmann2020-03-071-19/+13
| | | | | | | | | The OpenWrt routing feed was tried to be merged together with the OpenWrt package feed. But they ended up being rejected due to formalities like the slightly different package template. Just moving to the OpenWrt package based one should simplify similar approaches in the future. Signed-off-by: Sven Eckelmann <sven@narfation.org>
* batctl: upgrade package to latest release 2020.0Sven Eckelmann2020-03-071-3/+3
| | | | Signed-off-by: Sven Eckelmann <sven@narfation.org>
* Merge pull request #529 from adrianschmutzler/openwrtversionSimon Wunderlich2019-12-151-1/+1
|\ | | | | batman-adv and friends: improve version string
| * batctl: improve version stringAdrian Schmutzler2019-11-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This changes the package version string so it does not start with "openwrt", but with the base version we are modifying: So far: openwrt-2019.4-1 Now: 2019.4-openwrt-1 Since it's us modifying version 2019.4 (in this case), this order is more convenient (and also closer to what the kernel version string does). Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* | batctl: upgrade package to latest release 2019.5Sven Eckelmann2019-12-131-2/+2
|/ | | | Signed-off-by: Sven Eckelmann <sven@narfation.org>
* batctl: upgrade package to latest release 2019.4Sven Eckelmann2019-10-251-2/+2
| | | | | | * fix deprecation warning for option '-m' Signed-off-by: Sven Eckelmann <sven@narfation.org>
* batctl: Extend PKG_LICENSE* informationSven Eckelmann2019-10-251-1/+2
| | | | Signed-off-by: Sven Eckelmann <sven@narfation.org>
* batctl: upgrade package to latest release 2019.3Sven Eckelmann2019-08-015-882/+3
| | | | | | | | | | | * add tcpdump support for MCAST TVLV, unicast fragments and coded packets * implement support for multicast RTR flags * avoid some kernel deprecation warning by using more generic netlink over sysfs * use type specific prefixes to select mesh interface or vlan instead of '-m' * add support for hardif specific settings Signed-off-by: Sven Eckelmann <sven@narfation.org>
* batctl: Use standard Build/Compile ruleSven Eckelmann2019-07-271-13/+3
| | | | | | | | batctl isn't using any special rules in Build/Compile. It is cleaner to directly use the global Build/Compile/Default instead of having a functional similar copy in the package Makefile Signed-off-by: Sven Eckelmann <sven@narfation.org>
* batctl: Add support for hardif settingsSven Eckelmann2019-06-155-1/+884
| | | | | | | | | | | | | | | | | | batctl currently supports settings which are either mesh interface or vlan specific. But B.A.T.M.A.N. V introduced two additional settings which are hard (slave) interface specific. To support these, an additional command prefix called hardif is implemented for some sysfs commands: $ batctl -m bat0 hardif eth0 .. The usable commands with that are: * elp_interval * throughput_override Signed-off-by: Sven Eckelmann <sven@narfation.org>
* batctl: upgrade package to latest release 2019.2Sven Eckelmann2019-05-231-4/+4
| | | | | | | | | | * coding style cleanups and refactoring * add multicast_fanout setting subcommand * implement netlink based support for remaining sysfs-only features * drop support for deprecated log command support * remove non-netlink support for translating MAC addresses to originators Signed-off-by: Sven Eckelmann <sven@narfation.org>
* batctl: upgrade package to latest release 2019.1Sven Eckelmann2019-03-282-62/+5
| | | | | | | | | * coding style cleanups and refactoring * introduce support for batadv meshif, hardif and vlan configuration via netlink * replace multicast_mode with multicast_forceflood settings subcommand * add hop_penalty setting subcommand Signed-off-by: Sven Eckelmann <sven@narfation.org>
* batctl: Add package description per variantSven Eckelmann2019-03-281-5/+20
| | | | | Fixes: 129986825219 ("batctl: Provide different variants") Signed-off-by: Sven Eckelmann <sven@narfation.org>
* batctl: Add support for hop_penalty settings commandSven Eckelmann2019-02-222-1/+62
| | | | | | | | The batman-adv scripts are still using sysfs for setting the hop_penalty. Since the sysfs is deprecated, the batctl interface should be used to make it independent of implementation details (sysfs vs. netlink). Signed-off-by: Sven Eckelmann <sven@narfation.org>
* batctl: fix wrong binary-name for batctl-defaultSven Roederer2019-02-181-3/+3
| | | | | | * correct binary for batctl-default to /usr/libexec/batctl-default * while at it fix description of batctl-full Signed-off-by: Sven Roederer <freifunk@it-solutions.geroedel.de>
* batctl: upgrade package to latest release 2019.0Sven Eckelmann2019-02-022-60/+3
| | | | | | | | | | | | * coding style cleanups and refactoring * add gateway selection manpage section for B.A.T.M.A.N. V * bugs squashed: - re-integrate support for translation table unicast/multicast filter - avoid incorrect warning about disabled mesh interface when debugfs support is not enabled in batman-adv Signed-off-by: Sven Eckelmann <sven@narfation.org>
* batman-adv: use batctl for configurationSven Eckelmann2019-01-271-2/+2
| | | | | | | | | | | | The batctl binary is currently optional for batman-adv installations. But new configuration settings will only be exposed via generic netlink. The batctl tool will therefore be required to modify them. batctl must therefore no longer depend on batman-adv but batman-adv must depend on batctl. Some already implemented settings are already moved to batctl. Signed-off-by: Sven Eckelmann <sven@narfation.org>
* batctl: Provide different variantsSven Eckelmann2019-01-271-8/+156
| | | | | | | | | | | | | The batctl binary is currently optional for batman-adv installations. But new configuration settings will only be exposed via generic netlink. The batctl tool will therefore be required to modify them. To also fit batctl in some of the smaller devices, a new variant batctl-tiny is build which only provides the settings subcommands. The batctl-default variant is equal to the old batctl package and batctl-full also provides the commands which were disabled until now. Signed-off-by: Sven Eckelmann <sven@narfation.org>
* batctl: Fix parsing of optional debug table command parametersSven Eckelmann2018-12-062-1/+58
| | | | | | | | | The commands which should have no support for -t/-u/-m/-i were allowed to accept these parameters but commands which should have accepted them were denying them. Fixes: 8936141bf038 ("batctl: upgrade package to latest release 2018.4") Signed-off-by: Sven Eckelmann <sven@narfation.org>
* batctl: upgrade package to latest release 2018.4Sven Eckelmann2018-11-141-3/+3
| | | | | | | | | | * coding style cleanups and refactoring * correction of manpage spelling errors * new subcommand "event" to receive netlink notifications * infrastructure to disable commands during build time * drop of the legacy vis subcommands Signed-off-by: Sven Eckelmann <sven@narfation.org>
* batctl: Don't overwrite default PKG_BUILD_DIRSven Eckelmann2018-10-071-2/+0
| | | | | | | There is no benefit to overwrite the PKG_BUILD_DIR directory for batctl. As seen with kmod-batman-adv, it actually can also break the build. Signed-off-by: Sven Eckelmann <sven@narfation.org>
* batctl: Add openwrt revision to internal versionSven Eckelmann2018-10-071-2/+3
| | | | | | | | | | OpenWrt is using a modified version of the software and these modifications may introduce extra bugs (or behavior changes). It is also patched for stable releases instead of switching to new releases. The revision should therefore be added to the version number to make it easier understandable which modified version the user may have installed. Signed-off-by: Sven Eckelmann <sven@narfation.org>
* batctl: upgrade package to latest release 2018.3Sven Eckelmann2018-09-151-2/+2
| | | | Signed-off-by: Sven Eckelmann <sven@narfation.org>
* batctl: upgrade package to latest release 2018.2Sven Eckelmann2018-07-171-2/+2
| | | | | | * (no changes) Signed-off-by: Sven Eckelmann <sven@narfation.org>
* batctl: Drop unused clean ruleSven Eckelmann2018-07-171-4/+0
| | | | | | | The rule can be removed because the OpenWrt build system takes care of the removal of the build directory. Signed-off-by: Sven Eckelmann <sven@narfation.org>
* batctl: upgrade package to latest release 2018.1Sven Eckelmann2018-04-251-3/+2
| | | | | | | | * synchronization of batman-adv netlink and packet headers * add DAT cache and multicast flags netlink support * disable translation support for non-unicast mac addresses Signed-off-by: Sven Eckelmann <sven@narfation.org>
* batctl: upgrade package to latest release 2018.0Sven Eckelmann2018-02-271-3/+3
| | | | | | | | * synchronization of batman-adv netlink and packet headers * mark licenses clearer, change batman-adv UAPI header from ISC to MIT * coding style cleanups and refactoring Signed-off-by: Sven Eckelmann <sven@narfation.org>
* batctl: upgrade package to latest release 2017.4Sven Eckelmann2017-12-051-3/+3
| | | | | | | | | | | | * synchronization of batman-adv netlink header * coding style cleanups and refactoring * documentation cleanup * bugs squashed: - improve error handling for libnl related errors - add checks for various allocation errors Signed-off-by: Sven Eckelmann <sven@narfation.org>
* batctl: upgrade package to latest release 2017.3Sven Eckelmann2017-09-281-3/+3
| | | | | | | * bugs squashed: - Fix error messages on traceroute send failures Signed-off-by: Sven Eckelmann <sven@narfation.org>
* batctl: upgrade package to latest release 2017.2Sven Eckelmann2017-07-291-3/+3
| | | | | | | | * coding style cleanups and refactoring * bugs squashed: - Fix error messages on traceroute send failures Signed-off-by: Sven Eckelmann <sven@narfation.org>
* batctl: upgrade package to latest release 2017.1Sven Eckelmann2017-05-251-3/+3
| | | | Signed-off-by: Sven Eckelmann <sven@narfation.org>
* batctl: upgrade package to latest release 2017.0Sven Eckelmann2017-02-281-3/+3
| | | | | | | | | | * remove root check for read-only sysfs and rtnl functionality * coding style cleanups * bugs squashed: - fix check for root privileges when started under modified effective uid Signed-off-by: Sven Eckelmann <sven@narfation.org>
* Merge pull request #269 from ecsv/batadv-fixesSimon Wunderlich2017-02-031-0/+1
|\ | | | | batman-adv: maint patch import + settings fixes