[Chilli] CoovaChilli 1.2.9
Bojan Pogacar
bojan at gajba.net
Sat Feb 4 19:34:37 UTC 2012
Hello!
I am still trying to fix anyip feature on my Chilli. I've analized TCP
stream when opening captive portal web page and I get:
592 117.787866 10.9.0.4 10.9.0.1 TCP 66 49713 > http [SYN] Seq=0
Win=8192 Len=0 MSS=1460 WS=256 SACK_PERM=1
593 117.789301 10.9.0.1 10.9.0.4 TCP 66 http > 49713 [SYN, ACK] Seq=0
Ack=1 Win=14600 Len=0 MSS=1460 SACK_PERM=1 WS=256
594 117.789413 10.9.0.4 10.9.0.1 TCP 54 49713 > http [ACK] Seq=1 Ack=1
Win=65536 Len=0
595 117.789514 10.9.0.1 10.9.0.4 TCP 66 [TCP Previous segment lost] http
> 49713 [SYN, ACK] Seq=1237032389 Ack=1 Win=14600 Len=0 MSS=1460
SACK_PERM=1 WS=256
596 117.789533 10.9.0.4 10.9.0.1 TCP 54 [TCP Dup ACK 594#1] 49713 > http
[ACK] Seq=1 Ack=1 Win=65536 Len=0
597 117.790578 10.9.0.1 10.9.0.4 TCP 60 http > 49713 [RST] Seq=1 Win=0 Len=0
598 117.790719 10.9.0.1 10.9.0.4 TCP 60 http > 49713 [RST] Seq=1 Win=0 Len=0
10.9.0.4 is client IP
10.9.0.1 is chilli server
I can SSH from client to server without problems, only web pages on
10.9.0.1 don't work.
Any idea, why I get "TCP Dup ACK" and then RST ? What am I missing. Any
idea?
Could it be realted to this (duplicate entry in Unit 0 and Unit 1), when
I execute chilli_query listippool
> Unit 0 : -inuse- : 10.9.0.2 : mac=02-01-01-05-01-01 ip=10.9.0.2 age=1
> Unit 1 : -inuse- : 10.9.0.3 : mac=02-01-01-05-01-01 ip=10.9.0.2 age=1
Problem exists only if I enable anyip feature and if I use DHCP on my
client. When I use static IP (anyip) on client, it works OK.
Thanks, Bye
Dne 11.1.2012 10:29, piše Bojan Pogacar:
> On chilli 1.2.9 I get:
>
> Unit 0 : -inuse- : 10.9.0.2 : mac=02-01-01-05-01-01 ip=10.9.0.2 age=1
> Unit 1 : -inuse- : 10.9.0.3 : mac=02-01-01-05-01-01 ip=10.9.0.2 age=1
> Unit 2 : -1/ 3 : 10.9.0.4 :
> Unit 3 : 2/ 4 : 10.9.0.5 :
> Unit 4 : 3/ 5 : 10.9.0.6 :
> Unit 5 : 4/ 6 : 10.9.0.7 :
> etc, ..
>
> On chilli 1.2.5 I get:
>
> Unit 0 : -inuse- : 10.9.0.2 : mac=02-01-01-05-01-01 ip=10.9.0.2 age=4
> Unit 1 : -1/ 2 : 10.9.0.3 :
> Unit 2 : 1/ 3 : 10.9.0.4 :
> Unit 3 : 2/ 4 : 10.9.0.5 :
> Unit 4 : 3/ 5 : 10.9.0.6 :
> Unit 5 : 4/ 6 : 10.9.0.7 :
> etc, ...
>
> Is there OK, that on 1.2.9 I get two IPs listed on same MAC. Could this
> be a problem that web server terminates a connection?
>
> All IPs are fetch through DHCP. Static IPs are working.
>
> Thanks, Bojan
>
>
>
> Dne 11.1.2012 10:20, piše David Bird:
>> You can get perhaps a bit more info if you do:
>>
>> chilli_query listippool
>> DHCP lease time 600 sec, grace period 60 sec
>> First available dynamic 3 Last 1
>> First available static 254 Last 508
>> List size 509
>> -- Dynamic Pool
>> ------------------------------------------------------------
>> Unit 0 : -inuse- : 10.1.0.2 : mac=XX-XX-XX-XX-XX-XX
>> ip=192.0.0.2 age=2
>> Unit 1 : 252/ -1 : 10.1.0.3 :
>> Unit 2 : -inuse- : 10.1.0.4 : mac=YY-YY-YY-YY-YY-YY ip=10.1.0.4
>> age=241
>> ...
>>
>> above is a 192.0.0.2 anyip static IP being NATed through as 10.1.0.2.
>>
>>
>> On Tue, 2012-01-10 at 23:21 +0100, Bojan Pogacar wrote:
>>> Hello!
>>>
>>> I've tested 1.2.9 and it seems that DHCP is faster and is running
>>> very well.
>>>
>>> I've also tested anyip feature and it still doesn't work for me after
>>> 1.2.5 . Can anyone confirm that this feature wasn't broken after 1.2.5.
>>>
>>> I've also described my problem at http://coova.org/node/4888 . Can
>>> please anyone please take a look?
>>>
>>> Thanks David, thanks everyone!
>>>
>>> Bojan
>>>
>>>
>>> _______________________________________________
>>> Chilli mailing list
>>> Chilli at coova.org
>>> http://lists.coova.org/cgi-bin/mailman/listinfo/chilli
>>
>>
> _______________________________________________
> Chilli mailing list
> Chilli at coova.org
> http://lists.coova.org/cgi-bin/mailman/listinfo/chilli
>
More information about the Chilli
mailing list