[Chilli] miniportal: wwwsh wrapper not receiving POST via stdin for login.chi

Dennehy, Liam Liam.Dennehy at paperlinx.com
Wed Jun 4 10:00:18 UTC 2014


Hi all

I haven't heard anything on this topic at all. As far as I can see the miniportal simply doesn't work, since the user's POST data (username + password) never reaches login.chi, indeed it is never even passed to wwwsh for it to give over to login.chi.

Has anyone actually got this working on OpenWRT or anywhere else? What is the format login.chi expects, how does it actually work?

Until this is sorted, the product is pretty useless and it appears I need to be something of a java coder to set up any other portal since there are no ready-made solutions. I was drawn to this product specifically because it has a radius-compatible portal built-in, and it just doesn't work.

Liam Dennehy
Technical Design Authority
PaperlinX Europe
M: +31 621 877 185

From: Dennehy, Liam
Sent: 24 April 2014 12:39
To: 'Chilli at coova.org'
Subject: miniportal: wwwsh wrapper not receiving POST via stdin for login.chi

Hi all

I've been trying to figure out how to get this issue solved for some time, hopefully this is the right forum.

I'm running CoovaChilli on OpenWRT Barrier Breaker (trunk). The miniportal's wwwsh wrapper does not seem to have the client's POST response to login.chi either in stdin or as a shell variable which haserl is expecting to see when handling login.chi. As a result, the connection is terminated as soon as login.chi fails, citing a lack of input.

A packet trace shows POST data in the client's submission of 106 bytes, and a shell variable CONTENT_LENGTH inside the wwwsh image also 106 bytes, but the actual POST data is neither in stdin nor any shell variable. From my limited knowledge of C I can't see how this is ever submitted to the execv calling _options.wwwbin, so I have no idea where else to look.

All other functions appear to be working fine - DHCP, DNS forwarding, even opening the status.chi page and authenticating there passes to RADIUS just fine (that script has no stdin requirement apparently).

This is the last piece before I declare everything functional and can start rollout, and I've kept all my changes ready to publish to upstream to both OpenWRT and anyone else so I'm keen to get this solved.

Liam Dennehy
PaperlinX Europe


________________________________
This email is privileged and confidential and is intended only for those to whom it is addressed. If you are not the intended recipient then any disclosure, dissemination, copying or use of the information is strictly prohibited. If you have received this email in error, please notify this office immediately by return email.

Before opening any attachments please make sure they have been checked for viruses and defects.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.coova.org/pipermail/chilli/attachments/20140604/a73f4f04/attachment.html>


More information about the Chilli mailing list