aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: [1] 2

Author Topic: - DONE - Ipfilter On/Off Command  (Read 14858 times)

microft.pt

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 22
  • What the f0ck do you care?!?!
    • http://microft.pt.vu
- DONE - Ipfilter On/Off Command
« on: January 15, 2004, 02:38:22 PM »

Hi, I'm from Portugal. Here Broadband users have limited dowloads (In my case i con only download internacional 3Gbs/moth). BUT between 4am and 7am we can download whatever we want and it doesn't get chaged to our internet trafic acount.

So... What i'm asking is this:

Built it a command in aMule that enables the user to turn on/off the ipfilter from the console/command line.
The would solve the problem for all the users here.  :))

Thnx for you atention
Logged

KingFish

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 52
Re: - DONE - Ipfilter On/Off Command
« Reply #1 on: January 15, 2004, 09:18:34 PM »

nice sig! :P
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: - DONE - Ipfilter On/Off Command
« Reply #2 on: January 16, 2004, 01:57:03 AM »

it's in our todo list .. dunno how long, but seems we have to take a look at it  :] :))

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: - DONE - Ipfilter On/Off Command
« Reply #3 on: January 16, 2004, 04:33:59 AM »

We need the new preferences for that.
Logged

To

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 80
Re: - DONE - Ipfilter On/Off Command
« Reply #4 on: February 02, 2004, 03:11:50 PM »

I'm waiting for that feature too hehe

Logged

lifter

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 1
Re: - DONE - Ipfilter On/Off Command
« Reply #5 on: February 14, 2004, 05:55:24 PM »

that makes it three of us :)
Logged

falso

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 29
Re: - DONE - Ipfilter On/Off Command
« Reply #6 on: February 15, 2004, 02:39:19 AM »

one more here!!
Logged

niet

  • aMule DNS
  • Developer
  • Approved Newbie
  • *****
  • Karma: 2
  • Offline Offline
  • Posts: 20
Re: - DONE - Ipfilter On/Off Command
« Reply #7 on: February 22, 2004, 07:39:23 PM »

nice things to have:

- support for p2p guardian format http://www.peerguardian.net/pgipdb/guarding.p2p
- autodownload/update for p2p guardian and ipfilter.dat

- scheduler for IP blocking / bandwidth limiting

- blocking/bandwidth limiting "per country" (there is a perl library that does this...).
  (so i could allow mode bandwidth to clients from "my country")
Logged

niet

  • aMule DNS
  • Developer
  • Approved Newbie
  • *****
  • Karma: 2
  • Offline Offline
  • Posts: 20
« Last Edit: February 22, 2004, 09:36:24 PM by greebo »
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: - DONE - Ipfilter On/Off Command
« Reply #9 on: March 09, 2004, 04:47:57 AM »

IPfilter reload button and on/off checkbox added.

Will be available as soon as we fix the CVs issues.
Logged

To

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 80
Re: - DONE - Ipfilter On/Off Command
« Reply #10 on: March 18, 2004, 05:26:51 PM »

:baby:  :baby:  :baby:  :baby:  :baby:  :baby:
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: - DONE - Ipfilter On/Off Command
« Reply #11 on: March 18, 2004, 11:21:37 PM »

Of course, it's available on CVS now ;)
Logged

To

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 80
Re: - DONE - Ipfilter On/Off Command
« Reply #12 on: March 19, 2004, 10:52:16 AM »

I've been wondering about other thing that it was requested, donno if you (Kry) or any other developer had time to look into it.
It's a timer ipfilter on/off. I'll try to explain exactly what I'm talking about.

It doesn't need nothing too sofisticaded, a simple menu on the preferences:
Check box with - timed ipfilter On/Off
2 boxes:
time 1 ->Time to disable ipfilter on all files
time 2 ->Time to turn ipfilter back on, on all files

Do ya think you could work this out?

 cheers,
     Tó
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: - DONE - Ipfilter On/Off Command
« Reply #13 on: March 19, 2004, 01:12:46 PM »

I see it dangerous. What if a bug activated ipfilter when you don't want it to be activated and you don't notice?
Logged

To

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 80
Re: - DONE - Ipfilter On/Off Command
« Reply #14 on: March 19, 2004, 09:30:05 PM »

I see your point on it. But I think it will be more dangerous if you want it activated and it stay off, in Portugal we pay 3.8€ for each 100M over our limit/month. The ipfilter messes with toomany things that this feature can't be included.
( My ISP has a limit of 1GB internacional traffic/month, but they have a promo that they call happy hour, they don't count any traffic from 4am-7am)
Currently what I do is:
I've 2 dirs, with dif setups, one without ipfilter and other that only allows Portuguese IP's.
At 4:05 am I kill my amule, and copy all ~/.aMule files to "nac" dir, and copy my other configuration that allows worldwide IP's from dir "int" to ~/.aMule.
At 6:55 am I kill my amule and, copy back my ipfilter and all files from "nac" dir  back to ~/.aMule and start it.

This problably ain't the best way, it was just the way that I've founf to bypass the problem, yet there is a emule clone for windows that has a ipfilter on/off for each file, and a timer for ipfilter if you wish to disable it for a certain time, but then again I don't use windows.

Logged
Pages: [1] 2