Commit graph

973 commits

Author SHA1 Message Date
Jo-Philipp Wich
0593f93526 lucihttp: update to latest Git HEAD
a34a17d src: allow overriding buffer size from cli in multipart tester
730a46f lib: fix potentially lost bytes in boundary parsing across buffer limits
8734af2 lib: add buffer tracing to multipart parser
913051b src: add file dump option to multipart test utility
c419539 src: allow specifying custom buffer sizes in multipart testcases
f6e0564 lib: fix handling of empty multipart fields

Fixes: #2816
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 66c8ebfeff)
2019-07-05 08:28:26 +02:00
pmelange
e84dc64f9a community-profiles: update profiles to use the new digitalcourage nameservers
The old digitalcourage nameservers 85.214.20.141 and 2a01:238:42f6:ac00:2a29:4f7f:b6d:ef46
will be retired in 2020.  The new nameservers are 46.182.19.48 and 2a02:2970:1002::18.

The change is announced https://digitalcourage.de/support/zensurfreier-dns-server

This fixes https://github.com/freifunk/openwrt-packages/issues/11

This is cherry-picked from 2c4a93e646

Signed-off-by: pmelange <isprotejesvalkata@gmail.com>
2019-06-18 12:49:37 +02:00
Jo-Philipp Wich
115c4e3751 lucihttp: fix library packaging after 0dd887883
Adjust ABI_VERSION and install recipes accordingly.

Fixes: 0dd887883 ("lucihttp: update to latest Git HEAD")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(backported from commit c8e9578586)
2019-06-05 19:44:54 +02:00
Jo-Philipp Wich
0dd8878837 lucihttp: update to latest Git HEAD
f6e0564 lib: fix handling of empty multipart fields
91c01c3 lib: fix multipart state transition in boundary parsing

Fixes: #2737
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(backported from commit 15608fd2e5)
2019-06-05 16:16:41 +02:00
pmelange
5248d3719e freifunk profile_berlin: add default section for 802.11s
mesh_id is set to "Mesh-Freifunk-Berlin"

Signed-off-by: pmelange <isprotejesvalkata@gmail.com>
2019-03-19 01:27:20 +01:00
pmelange
de3be23883 freifunk-common: add default configuration for 802.11s interfaces
The defaults are

config 'defaults' 'wifi_iface_80211s'
       option 'mode' 'mesh'
       option 'encryption' 'none'
       option 'mesh_id' 'Mesh-Freifunk'
       option 'mesh_fwding' '0'

The decision for the name of the section can be found here:
https://github.com/freifunk/openwrt-packages/pull/3

Signed-off-by: pmelange <isprotejesvalkata@gmail.com>
2019-03-19 01:27:20 +01:00
Philipp Borgers
68fb3b279a community-profiles: change subnet of mesh_network option for Berlin
The mesh_network option is used to check the user input. The wizard
checks if the input ip address is part of the mesh_network. We use
multiple /16 networks. There is no support for multiple ranges so we the
10.0.0.0/8.

For reference the ip list:

https://wiki.freifunk.net/IP-Netze

Signed-off-by: Philipp Borgers <borgers@mi.fu-berlin.de>
2018-12-06 19:14:50 +01:00
Philipp Borgers
02bd34be15 get rid of library version numbers in luci olsrd code
Signed-off-by: Philipp Borgers <borgers@mi.fu-berlin.de>
2018-12-06 19:14:23 +01:00
Martin Hübner
e98580b058 community-profiles: create profile for Fürstenwalde
New profile for Fürstenwalde. At the moment we use parts of the Berlin-
infrastructure. Thus I have not changed the ip-address-related things.

Signed-off-by: Martin Hübner <martin.hubner@web.de>
[reword and rewrap commit message]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-12-06 19:13:59 +01:00
pmelange
63a72b3bff freifunk profiles: add nameserver 80.67.169.40 from www.fdn.fr/actions/dns
Signed-off-by: pmelange <isprotejesvalkata@gmail.com>
2018-12-06 19:04:53 +01:00
pmelange
667f73a428 ff_olsrd_watchdog: delete existing tunnels
When OLSRd crashes, the old tunnels still exist.  This can lead to unexpected behaviour.
The tunnels to be removed start with "tnl_"

See freifunk-berlin/firmware#522

Signed-off-by: pmelange <isprotejesvalkata@gmail.com>
(cherry picked from commit 5d0b720f8b)
2018-07-26 20:31:27 +02:00
Jo-Philipp Wich
27b7e43180 lucihttp: update to latest HEAD
6ddea4c utils: fix crash with zero length input string in lh_header_attribute()
cb119de lib: add support for setting the maximum allowed data size

Fixes #1784.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-05-18 16:34:28 +02:00
pmelange
c2d3fe8a97 Removed retired nameserver 213.73.91.35 from the Freifunk profiles
See issue openwrt/luci#1757

Signed-off-by: Perry Melange <isprotejesvalkata@gmail.com>
2018-04-23 16:27:08 +02:00
Jo-Philipp Wich
5ef51b2abe lucihttp: update to latest HEAD
ccc685e lua: expose LH_URLDECODE_PLUS flag in Lua library

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-04-22 11:59:47 +02:00
Jo-Philipp Wich
efcca75678 lucihttp: update to latest HEAD
c7c9c66 src: extend multipart parser test program
5071efb testcases: add multipart parsing edge cases
689e3d0 lib: multipart-parser: fix various edge cases

Fixes #1754.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-04-20 11:30:09 +02:00
Jo-Philipp Wich
6abc488db3 freifunk-common: explicitely depend on libuci-lua
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-04-18 16:54:16 +02:00
Jo-Philipp Wich
06b85427f5 lucihttp: update to latest HEAD
8617997 lib: cast size_t values in printf() to prevent compielr warnings

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-04-18 16:38:49 +02:00
Jo-Philipp Wich
3f0abd936d lucihttp: update to latest HEAD
b7470d1 lua: back out early when instantiating parser with bad boundary
e1b1b1f testcases: remove stray .swp file
b46a6ca utils: introduce new LH_URLDECODE_PLUS flag

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-04-18 16:21:27 +02:00
Jo-Philipp Wich
084499a4c0 contrib: package liblucihttp
Package liblucihttp, a utility library providing HTTP parsing and data
decoding helpers.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-04-17 11:31:37 +02:00
Hannes Fuchs
d098a64e27 community-profiles: potsdam - changed SSID
After some discussion in our meetings and on the maling list we decided to
change the SSID to a fixed one.

Signed-off-by: Hannes Fuchs <hannes.fuchs@gmx.org>
2018-02-28 16:21:35 +01:00
Hannu Nyman
7edc6f03f0 freifunk-p2pblock / luci-app-p2pblock: remove from repo
Remove freifunk-p2pblock and luci-app-p2pblock as they have been BROKEN
since 2016. Packages depend on the removed l7-protocols as well as the
deprecated l7 support in the iptables kernel modules.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-01-20 15:49:44 +02:00
Joda Stößer
402ec9def5
community-profiles: remove Hannover 2018-01-09 11:31:55 +01:00
FreifunkUFO
1e0f42a848 meshwizard: upgrade version for some olsr-plugins
inside OLSR some plugins recently got newer version numbers (and of course improvements)
Signed-off-by: Ufo <ufo@rund.freifunk.net>
2017-10-21 21:56:21 +02:00
Hannes Fuchs
892398692c updated community-profile for potsdam
- fixed ssid
- disable IPv6
- added more interface settings
- added settings for 5GHz wifi
- added ssidscheme
- added dhcp leasetime setting
- added LinkQualityAlgorithm for olsrd

Signed-off-by: Hannes Fuchs <hannes.fuchs@gmx.org>
2017-03-01 11:05:52 +01:00
Hannu Nyman
04cf8763cc meshwizard: cleanup references to madwifi
Remove the code related to the deprecated madwifi driver.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-02-28 18:57:31 +02:00
Hannu Nyman
7ab9b5a714 freifunk-common: cleanup references to madwifi
Remove the code related to the deprecated madwifi driver.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-02-28 18:56:52 +02:00
Hannu Nyman
a225e4ac59 remote-update: remove ancient non-maintained package
Remove the ancient 'remote-update' package that has not been
updated for years. It e.g. references two non-existing targets.

Reference to discussion in #995

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-02-10 11:23:55 +02:00
Sven Roederer
12e82a3425 freifunk-common: bump version as of recent changes
the updates for olsr-0.9.5 compatibility should have changed the release-number

Signed-off-by: Sven Roederer <freifunk@it-solutions.geroedel.de>
2017-01-13 23:28:42 +01:00
Sven Roederer
52be91a249 community-profiles: update Berlin
since Kathleen-0.2.0 Release there is a new owm-api-url

Signed-off-by: Sven Roederer devel-sven@geroedel.de
2016-12-31 00:05:15 +01:00
Bastian Bittorf
8ca5d6da96 freifunk-common: neigh.sh: work also with unprettyfied JSON output
Older OLSRd-version outputs JSON humanreadable over multiple lines.
The introduced change in 524439cd16 broke
the output for those users. Fix that be a finer filter regex.
Thanks to Thomas Huehn <thomas@net.t-labs.tu-berlin.de> for spotting that.
2016-12-13 21:38:29 +01:00
Bastian Bittorf
524439cd16 freifunk-common: neigh.sh: fix for new olsrd 0.9.5
Starting with version 0.9.5 the new olsr-deamon behaves
more standard-compliant and outputs correct HTTP-headers.
This would confuse the script and abort parsing.

Fix that by only trying to parse the JSON-value and
just ignore the other stuff. After this, we can see neighbours again.

Thanks to FreifunkUFO <ufo@rund.freifunk.net> for spotting this.
2016-12-12 08:48:11 +01:00
Hannu Nyman
5852affbbc meshwizard: remove local variable definitions outside functions
Adapted from PR #819 by FreifunkUFO

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-12-09 17:51:50 +02:00
Hannu Nyman
07591d77aa freifunk-p2pblock / luci-app-p2pblock: mark BROKEN
Mark freifunk-p2pblock and luci-app-p2pblock BROKEN
as p2pblock needs layer7 support in iptables, which
was removed in early 2015 from iptables-mod-filter:
https://dev.openwrt.org/changeset/45423
https://dev.openwrt.org/changeset/45424

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-09-22 21:35:57 +03:00
platschi
ef6dd443af Update LibreTulum Profile 2016-07-05 12:41:49 -05:00
platschi
e430129b99 Add LibreTulum
Adding Profile for LibreTulum
2016-07-01 23:34:23 -05:00
Sven Roederer
c89bf97efa freifunk-profiles: remove depreciated profiles
- 31C3: this was used back in 2014, looking forward for new the congress
- seefeld: died in march 2013 ... (as per note on their Wiki-page)

Signed-off-by: Sven Roederer devel-sven@geroedel.de
2016-05-01 22:38:21 +02:00
Manuel Munz
1d562672cd remove bensheim and heppenheim as requested here: https://github.com/freifunk/meshkit/issues/20 2016-02-29 19:17:20 +01:00
Jo-Philipp Wich
8eaac4b637 Use numeric prefixes for uci-defaults scripts
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-01-27 16:50:19 +01:00
Manuel Munz
03a8393de0 community-profiles/cottbus: fix some invalid characters 2016-01-04 23:19:26 +01:00
Manuel Munz
71dc54af6a a cleaner solution for disabling dyngw and dyngw_plain in freifunk-policyrouting init 2016-01-04 22:34:55 +01:00
mfuhrmeister
0caa02de48 change community profile halle 2016-01-04 18:11:49 +01:00
Nico Geyso
3725e579ca community-profiles: update berlin profile & remove berlin_pberg
these patches are used by the berlin-freifunk-community since 2014
- change ssid
  (563c955a19)
- remove obsolete olsr defaults
  (4558f8c88a)
- use intern-chXX.freifunk.net as ssid scheme for adhoc
  (6ce8f59082)
- add mcast_rate
  (e90753ed04)
  (0185677372)
- add wifi_device and *_iface for 5GHz
  (5823e89a3d)
- remove owm_api and mapserver key from community profile
  (d4ee2e1bce)
- add two ipv6 nameservers
  (83df6ab771)
- change default dhcp leasetime to 5 minutes
  (b38af129e0)
- remove non existent freifunk community profiles (Berlin)
  (6c49443bde)

Signed-off-by: Sven Roederer <freifunk@it-solutions.geroedel.de>
2015-12-19 02:51:27 +01:00
Jo-Philipp Wich
3bae3c7f5e Merge pull request #461 from marcel-sch/patch-1
package/community-profiles: add freifunk cottbus profile
2015-12-04 20:04:55 +01:00
Bastian Bittorf
e0bcfe82fb freifunk-common: neigh.sh - show hostnames
if nameservice-plugin is configured, we read
in all locally known hostnames and show them
in the output:

root@stuttgarter-core:~# neigh.sh
Local          Remote         vTime  LQ       NLQ      Cost Host
10.230.105.241 10.230.105.246 138851 1.000000 1.000000 1024 stuttgarter-rhnk.olsr
10.230.105.241 10.230.105.247 135717 1.000000 1.000000 1024 stuttgarter-emma.olsr
10.230.105.241 10.230.105.244 138309 1.000000 1.000000 1024 stuttgarter-sued.olsr
10.230.105.241 10.230.105.245 136001 1.000000 1.000000 1024 stuttgarter-west.olsr
10.230.105.241 10.230.105.242 134818 1.000000 1.000000 1024 stuttgarter-nord.olsr
10.230.105.241 10.230.105.243 137187 1.000000 1.000000 1024 stuttgarter-ost.olsr
10.230.105.241 10.230.105.250 139984 1.000000 1.000000 1024 stuttgarter-hof2.olsr
10.230.105.241 10.230.105.251 138294 1.000000 1.000000 1024 stuttgarter-stra2.olsr

Local               Remote              vTime  LQ       NLQ      Cost Host
2001:bf7:820:901::1 2001:bf7:820:950::1 139703 1.000000 1.000000 1024 stuttgarter-rhnk.olsr
2001:bf7:820:901::1 2001:bf7:820:960::1 139541 1.000000 1.000000 1024 stuttgarter-emma.olsr
2001:bf7:820:901::1 2001:bf7:820:990::1 140415 1.000000 1.000000 1024 stuttgarter-hof2.olsr
2001:bf7:820:901::1 fde6:24f1:a388::1   141338 1.000000 1.000000 1024

the filenames for the olsrd hosts-file is taken from uci
and falls back to sane defaults.

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>
2015-11-20 20:46:55 +01:00
marcel-sch
e75f6b1f9d update profile 2015-11-18 16:38:05 +01:00
Manuel Munz
8b08756d93 contrib/package/freifunk-policyrouting: remove rc.d symlink 2015-11-18 12:34:06 +01:00
Philipp Borgers
6e1a089b5c community-profiles: remove bno profile
The Berlin Nord-Ost community profile is not up-to-date and as far as I know the
community does not exist anymore.
2015-09-12 17:03:20 +02:00
marcel-sch
044b98150a Update profile_cottbus
back to basics
2015-09-02 11:28:54 +02:00
marcel-sch
176c0d23b9 removed option mesh_network 2015-09-01 15:37:28 +02:00
marcel-sch
60fedec15e add profile_cottbus
new community cottbus, config based on profile_berlin at kathleen
2015-09-01 15:24:03 +02:00