2013-04-12 - Re: [GRASE-Hotspot] Help with Grase and Squid

Header Data

From: Lars Winkelmann <la***s@winkelmaenner.com>
Message Hash: 8c479b3c0aff056e86e640d02811a1ad82e744e821c6a8b48589235559d49fdd
Message ID: <!&!AAAAAAAAAAAYAAAAAAAAAMUqYtei4rhBqhEf7CX3SubigAAAEAAAAJJlFEFC6YpKh/XjHrI/S2QBAAAAAA==@winkelmaenner.com>
Reply To: <002101ce3751$eb80f9a0$c282ece0$@gmail.com>
UTC Datetime: 2013-04-12 02:05:55 UTC
Raw Date: Fri, 12 Apr 2013 11:05:55 +0200

Raw message

http://sourceforge.net/mailarchive/forum.php?thread_name=503C07C8.6000109%40
gmail.com
<http://sourceforge.net/mailarchive/forum.php?thread_name=503C07C8.6000109%4
0gmail.com&forum_name=grase-hotspot%3E%20&forum_name=grase-hotspot>
&forum_name=grase-hotspot%3E%20&forum_name=grase-hotspot
 
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.
 

 

> 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

 

 

Von: pjoter [mailto:pj***r@gmail.com] 
Gesendet: Freitag, 12. April 2013 09:47
An: gr***t@lists.sourceforge.net
Betreff: [GRASE-Hotspot] Help with Grase and Squid

 

Hello All

 

I have the same problem as Jarod wrote in his email of 06-04-2013

But I see no answer to his and mine problem yet.

That's why I bring this problem a second time to everybody's attention.

 

All is working well except for Squid.

The access.log (/var/log/squid3/access.log) from squid is empty and the
session monitoring in the Admin interface only show total traffic in KiB.

Is this happening because I give my customers unlimited up en download for 1
month?

Or is there another reason?

Can somebody explain why this is happening?   

Thanks' in advance.

Peter Louman

 

 


Thread