Total data limiting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi.

I was wondering if anyone had ideas about this.
I am interested in doing the following:

Node A connects to Node B through an iptables/netfilter box on port 80.

The netfilter is providing NAT services to Node B and portforwarding.

Node A then downloads X amount of data from node B.

When X amount of data reaches a certain limit, say 50mb then the
netfilter box drops all further connections from Node A for a specified
period of time, say 12 hours.

Is this possible with netfilter? would this be something better suited to
Squid or even perhapse some of the ip and traffic shaping stuff?

Any advice or pointers would be greatly appreciated.

A.

??????????????????????????????????
?      Anthony S. Clark          ?
?      asclark@lanl.gov          ?
? Los Alamos National Laboratory ?
? 0 1 1 3 5 8 13 21 34 55 89 144 ?
??????????????????????????????????



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux