[Olsr-dev] http headers for olsr-plugins
Ufo
(spam-protected)
Fri Dec 9 14:21:49 CET 2016
On 08.12.2016 18:35, Ferry Huberts wrote:
> On 08/12/16 17:39, Ufo wrote:
>> dont hurry, your prefix-idea (/plain and /http) may not help me either.
>>
> This is a rather unfair statement since I notified all olsr users and
> stakeholders over a year ago (3 December 2015, see
> https://lists.olsr.org/pipermail/olsr-users/2015-December/006533.html)
> to start testing with the new version of olsr because of breaking
> changes.
yes, 12months. i saw it also on olsr-dev, only discussion with hennig
and bastian.
>
> I could just as well argue that you disregarded that and are now
> trying to blame me for your own lack of testing.
of course i dont want to blame you. now (12 months later) we did first
tests in leipzig with that new version.
if required, we have to blame our all freifunk-communities. since some
years olsr isnt that popular any more (even for bigger meshnetworks now
layer-2 (batman-adv) is more favoured :-( )
remaining developers and testers didnt test or notice or doing
enhancements only for their own community.
> I'm already accommodating you by working on the prefix solution.
> That is as far as I'm willing to go for the moment.
hm, would be nice to hear some other peoples comment about this first.
>> i suppose you dont have a relationship to openwrt or LEDE
>
> Be careful of what you assume.
>
> I maintain olsr for everyone.
sorry for that. i just wanted to know if you use it. Testing olsr-0.9.5
on lede/openwrt makes me feel like the first person on universe doing
that, otherwise these problems with neigh.sh-command, olsr luci-pages
and compiling-problems would be discovered very fast.
> You can build just fine from git on LEDE and OpenWRT.
unfortunalty for our community this is not "just fine" but "very
sophisticated" to do so. we are compiling and testing LEDE-trunk
(including all packages) as it is (trunk). olsr on openwrt-routing trunk
repository is still on 0.9.0.3, so there was no chance for 0.9.5 in the
last months. copying/gitting olsr manually into buildsystem is too
tricky and time-consuming. blame on me.
>> why you dont increase the version-number of jsontext plugin?? (maybe als
>> textplugin). because the changelog is very big
>>
>
> That hasn't been the practice in olsr.
hm, at least the version number of dyn-gw-plugin was changed sometimes
in history
https://github.com/OLSR/olsrd/commit/015d99cd594c16b9485a225285a4de362003dcd4#diff-46facdf7de1852562d24fe6f4009246a
ufo
--
>
> Besides, changing those would have people like you complaining that
> their configs would no longer work, when they have worked since ages.
>
>
>
> Ferry
>
>>
>>
>>
>> ufo
>>
>>
>> On 08.12.2016 15:46, Ferry Huberts wrote:
>>> I'm working on a patch that allows you to override the setting on a
>>> per-request basis.
>>>
>>> You can then basically use the prefix '/plain' to force no headers, or
>>> the prefix '/http' to force headers.
>>>
>>> I'll notify you when it's ready.
>>> Probably tomorrow.
>>>
>>>
>>>
>>> On 08/12/16 15:36, Ufo wrote:
>>>> Konsole output
>>>> Hi,
>>>>
>>>> im still strungling with that "http headers are a must". (and about
>>>> opening so many webservers on different ports)
>>>>
>>>> do you know, httpheaders are sent by a different way to the client..
>>>> using wget there is a "-S" option to see the headers!?
>>>>
>>>> here an example with json output of olsr-neighbors (via luci)
>>>>
>>>> mfg ufo
>>>>
>>>>
>>>>
>>>>
>>>> (spam-protected):~$ wget -S
>>>> http://10.61.113.77/cgi-bin/luci/freifunk/olsr/neighbors?status=1 -O -
>>>> --2016-12-08 15:20:23--
>>>> http://10.61.113.77/cgi-bin/luci/freifunk/olsr/neighbors?status=1
>>>> Verbindungsaufbau zu 10.61.113.77:80... verbunden.
>>>> HTTP-Anforderung gesendet, warte auf Antwort...
>>>> HTTP/1.1 200 OK
>>>> Connection: Keep-Alive
>>>> Transfer-Encoding: chunked
>>>> Keep-Alive: timeout=20
>>>> Content-Type: application/json
>>>> Cache-Control: no-cache
>>>> Expires: 0
>>>> Länge: nicht spezifiziert [application/json]
>>>> In »»STDOUT«« speichern.
>>>>
>>>> - [<=>
>>>> ]
>>>> 0 --.-KB/s [
>>>> {"noise":-91,"ifn":"wireless0","rip":"10.61.113.33","snr":40,"proto":"4","snr_color":"#00cc00","nlq":"0.862","lip":"10.61.113.77","dfgcolor":"","
>>>>
>>>>
>>>> lq":"0.866","color":"#00cc00","signal":-51,"cost":"0.001","hn":"113-33.olsr.leipzig.freifunk.net"},{"noise":-91,"ifn":"wireless0","rip":"10.61.11
>>>>
>>>>
>>>> 3.31","snr":47,"proto":"4","snr_color":"#00cc00","nlq":"0.721","lip":"10.61.113.77","dfgcolor":"","lq":"0.960","color":"#00cc00","signal":-44,"co
>>>>
>>>>
>>>> st":"0.001","hn":"113-31.olsr.leipzig.freifunk.net"},{"noise":-91,"ifn":"wireless0","rip":"10.61.113.78","snr":14,"proto":"4","snr_color":"#ff660
>>>>
>>>>
>>>> 0","nlq":"0.658","lip":"10.61.113.77","dfgcolor":"","lq":"0.497","color":"#00cc00","signal":-77,"cost":"0.003","hn":"113-78.olsr.leipzig.freifunk
>>>>
>>>>
>>>> .net"},{"noise":-91,"ifn":"wireless0","rip":"10.61.125.9","snr":12,"proto":"4","snr_color":"#ff6600","nlq":"0.557","lip":"10.61.113.77","dfgcolor
>>>>
>>>>
>>>> - [ <=>
>>>> ]
>>>> 992 --.-KB/s in 0s
>>>>
>>>> 2016-12-08 15:20:24 (36,0 MB/s) - auf die Standardausgabe geschrieben
>>>> [/992]
>>>>
>>>>
>>>> ------------------------------------
>>>>
>>>> (spam-protected):~$ wget
>>>> http://10.61.113.77/cgi-bin/luci/freifunk/olsr/neighbors?status=1
>>>> -O -
>>>> --2016-12-08 15:20:28--
>>>> http://10.61.113.77/cgi-bin/luci/freifunk/olsr/neighbors?status=1
>>>> Verbindungsaufbau zu 10.61.113.77:80... verbunden.
>>>> HTTP-Anforderung gesendet, warte auf Antwort... 200 OK
>>>> Länge: nicht spezifiziert [application/json]
>>>> In »»STDOUT«« speichern.
>>>>
>>>> - [<=>
>>>> ]
>>>> 0 --.-KB/s [
>>>> {"noise":-93,"ifn":"wireless0","rip":"10.61.113.33","snr":37,"proto":"4","snr_color":"#00cc00","nlq":"0.878","lip":"10.61.113.77","dfgcolor":"","
>>>>
>>>>
>>>> lq":"0.831","color":"#00cc00","signal":-56,"cost":"0.001","hn":"113-33.olsr.leipzig.freifunk.net"},{"noise":-93,"ifn":"wireless0","rip":"10.61.11
>>>>
>>>>
>>>> 3.31","snr":47,"proto":"4","snr_color":"#00cc00","nlq":"0.729","lip":"10.61.113.77","dfgcolor":"","lq":"0.960","color":"#00cc00","signal":-46,"co
>>>>
>>>>
>>>> st":"0.001","hn":"113-31.olsr.leipzig.freifunk.net"},{"noise":-93,"ifn":"wireless0","rip":"10.61.113.78","snr":11,"proto":"4","snr_color":"#ff660
>>>>
>>>>
>>>> 0","nlq":"0.623","lip":"10.61.113.77","dfgcolor":"","lq":"0.438","color":"#00cc00","signal":-82,"cost":"0.004","hn":"113-78.olsr.leipzig.freifunk
>>>>
>>>>
>>>> .net"},{"noise":-93,"ifn":"wireless0","rip":"10.61.125.9","snr":13,"proto":"4","snr_color":"#ff6600","nlq":"0.557","lip":"10.61.113.77","dfgcolor
>>>>
>>>>
>>>> - [ <=>
>>>> ]
>>>> 992 --.-KB/s in 0s
>>>>
>>>>
>>>
>>
>
More information about the Olsr-dev
mailing list