2012-08-27 - Re: [GRASE-Hotspot] Users session logs with time duration bat no url log

Header Data

From: Tim White <ti***8@gmail.com>
Message Hash: b561945d7b6008fd1b39e295d824915be28aa8bcc20a573df5d6b0ab8678da80
Message ID: <503C07C8.6000109@gmail.com>
Reply To: <FAEC0FF7EEFF40F2B462613A74A2632D@PCJames>
UTC Datetime: 2012-08-27 16:50:32 UTC
Raw Date: Tue, 28 Aug 2012 09:50:32 +1000

Raw message

On 28/08/12 04:34, Antonino Murabito wrote:
> I have made an installation of GRASE Hotspot v3.7.6 on Ubuntu 12.04 
> (using repo 1.4)
> Everything seems to be ok, but I cannot find any url log in the "users 
> session logs"
> Trying to fix, I've renamed suid.conf.grase to squid.conf and then
> I modified the row 649 as following:
> acl localnet src 10.1.0.0/24 without any success.
> I hope in your help.

Hi Antonion. See the following post from earlier this month.

> Solution found.
> An iptables rule wasn't working, as the format for the rules changed
> some time ago, and obviously the 12.04 kernel no longer had the
> backwards compatible rule code in it.
> I've not yet got my build server setup, (and need to work out the
> issues of building for debian/ubuntu), so the fix will be a manual one
> for now, for anyone who needs logging.
>
> 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
> 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.
>
> I'll publish an update once my build server for the chilli packages is
> sorted out.
>
> Tim


Thread