May be /usr/ports/sysutils/ipa is the answer to your problem.

Quote from port description:

ipa(8) allows to make IP accounting (network accounting) based on
FreeBSD IPv4/v6 Firewall (including IPFW2), OpenBSD Packet Filter and
IP Filter accounting rules on FreeBSD, NetBSD and OpenBSD.

It supports limits for accounting rules and limits events as "limit is
reached", "reached limit is expired", etc. It understands time intervals
like "end of day", "end of week", "end of month", etc.

ipastat(8) is a viewer for IP accounting database made by ipa(8).

WWW: http://www.simon.org.ua/ipa/

- Andrey Simonenko
[EMAIL PROTECTED]
[EMAIL PROTECTED]


> Hi,
> 
> Is there a way to limit incoming traffic (bandwidth) using
> ipfilter/ipfw or any such software tool?. I am running a mail
> server and I pay per GB transfered. If I have my ISP do the
> limiting, they charge extra $$ for it. I know I can limit
> incoming mail size via the mail server. But still doesn't
> prevent someone from sending a lot of mail or fill up
> a 100mbps line for 24 hrs/day.
> 
> 
> I am not looking for a perfect solution, and I do realize
> ddos attacks and such are still possible. I am only looking
> for a reasonable solution.
> 
> Any help is appreciated
> 
> --
> Hari Bhaskaran
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
> 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to