[Chilli] CoovaChilli Kernel Mode issue

Phyo Wai Soe phyo.w.soe at frontiir.net
Thu Nov 28 02:44:40 UTC 2013


Hi Xabier, 

I am following these instructions from David on how to enable the kernel module. http://lists.coova.org/pipermail/chilli/2010-April/001239.html 

According to him, "Chilli is then also configured with 'uamlisten' of 11.0.0.1 and 
this is the IP address that gets assigned to tun0 (so note that 
dhcplisten and uamlisten are different!). The high level concept is that 
subscribers get a 10.1.0.0/24 IP address which is routed (when 
authenticated) through the kernel." 

So, I guess my setup is ok. When I installed CoovaChilli in normal mode and made UAMLISTEN part of HS_NETWORK, it was ok. This issue happens only if I enable the kernel module mode. 

Btw, when I looked at the syslogs, I saw the following lines when the clients got the resetting issue. 

redir.c: 2020: 104 (Connection reset by peer) redir_read(0) failed! 

Doing tcpdump on a client (10.99.0.30) when the issue occurred gave me the followings. 
======================== 
16:54:09.921330 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto TCP (6), length 40) 
192.168.99.1.3990 > 10.99.0.30.57235: Flags [R], cksum 0xcb11 (correct), seq 2598775956, win 0, length 0 
16:54:09.922202 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto TCP (6), length 40) 
10.99.0.30.57235 > 192.168.99.1.3990: Flags [R], cksum 0xb372 (correct), seq 524533718, win 0, length 0 
16:54:09.922646 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto TCP (6), length 40) 
10.99.0.30.57235 > 192.168.99.1.3990: Flags [R], cksum 0xb372 (correct), seq 524533718, win 0, length 0 
=============== 
I think it probably indicates that the server (192.168.99.1:3990) is resetting the connections even before showing the redirection page. I tested by creating a test page and put it in /www. A client won't even see the contents of that test page. 
HS_UAMHOMEPAGE=http://\$HS_UAMLISTEN:\$HS_UAMPORT/www/testpage.html 

I searched the forum and web for solving redir_read issue but didn't get any clue. 

Thank you. 

Regards, 
Phyo 

Regards, 
Phyo Wai Soe 


----- Original Message -----

From: "Xabier Oneca -- xOneca" <xoneca at gmail.com> 
To: "Phyo Wai Soe" <phyo.w.soe at frontiir.net>, chilli at coova.org 
Sent: Wednesday, November 27, 2013 1:21:50 AM 
Subject: Re: [Chilli] CoovaChilli Kernel Mode issue 

Hello Phyo, 

Are you sure you posted the configuration that you used? 

> HS_NETWORK=10.99.0.0 # HotSpot Network (must include HS_UAMLISTEN) 
> HS_NETMASK=255.255.255.0 # HotSpot Network Netmask 
> HS_UAMLISTEN=192.168.99.1 # HotSpot IP Address (on subscriber network 

As the comments say, 'HS_UAMLISTEN' must be in 'HS_NEWORK' and your isn't... 

Cheers, 

Xabier Oneca_,,_ 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.coova.org/pipermail/chilli/attachments/20131128/fcff85a6/attachment.html>


More information about the Chilli mailing list