2014-07-21 - Re: Session Logs showing no data

Header Data

From: Pilosopong Tasyo <pi***7@gmail.com>
Message Hash: 0fc7cf67e437a13116c3421657edc7a9739572c8a67d561395f9257dad59afcd
Message ID: <24ddc23e-2a92-4eaa-83d5-6bcff4dd6841@grasehotspot.org>
Reply To: <b5fae11c-a3b5-44e3-b67e-9a75e84246a1@grasehotspot.org>
UTC Datetime: 2014-07-21 06:44:46 UTC
Raw Date: Mon, 21 Jul 2014 06:44:46 -0700

Raw message


>
> Can anyone tell me if Session logs are broken on v3.7.7.6. Have done clean 
> install - Ubuntu 12.04. The session logs page opens but there no data at 
> all. I used to be able to see all the sites visited by any particular user 
> but not anymore.
>

I think the fix to this was in the old mailing list, but I copied the 
instructions for future reference.  Here you go:

to enable logging of user sessions (monitor sessions > session logs for a 
particular user), edit /etc/chilli/ipup.sh and change the following line

ipt -I PREROUTING -t nat -i $TUNTAP -p tcp -s $NET/$MASK -d ! $ADDR --dport 
80 -j REDIRECT --to 3128
to                                                       ^^^^ swap these 
two items
ipt -I PREROUTING -t nat -i $TUNTAP -p tcp -s $NET/$MASK ! -d $ADDR --dport 
80 -j REDIRECT --to 3128

The key for those who can't see the difference is the exclamation mark 
after the -d, is now before the -d.

Thread