aMule Forum
English => Feature requests => Topic started by: s0undt3ch on December 10, 2004, 01:34:05 AM
-
I've sent this mail to aMule developers:
Hi there!
I have a big favor to ask. I've been an emule fan for almost 2 years now on my old platform (WinXP).
Recently I moved to Linux, so the emule I was using stop working for me ("eMule bowlfish" http://pwp.netcabo.pt/deepsea).
Why was I using this eMule, well, I live in Portugal and ADSL is a bit recent here (1/2 years), and our (stupid)ISP's have a strange defenition of ADSL traffic, ie, national and international, so, in my case, I'm allowed to download what ever I want as long as it's comming from portugal, if it's a foreign country, I can only download 4 GIG's, go figure, Internet Network being deferentiated Nationaly, and Internationally. Internet IS a world network!
Well, the eMule I used had a "filter" wich allowed the user to select if it would download only from national sources or all arround the world sources, wich Is great for US(not U.S.) Portuguese, we could also define schedules for the "happy hours" that some ISP's provide, special times of the day were traffic(national or international) was free.
For some days now, I've been trying to get it to work on top of wine, and the first couple of hours, it works great, but then it crashes.
I've also tried to contact the mantainer to provide us Portuguese Linux Users growing community, a version for linux, but with no luck, cant even seem to find a direct email to him.
So, I remembered something, he makes it's source code available, so someone with the now how could make a linux version out of it!
Then another great thought crossed my mind also!
Since I've already had your aMule working here, and I noticed that It worked faster and more stable than the one I ran on my WinXP (old) times. Could it be implemented to aMule, letting the user do the dirty work of gathering the "National IP's" of course? I'm sure that there must be users all arround the world with the same stupid ISP problems, if not, I'm sure ALL the linux Portuguese users would use your aMule, there are lots of people searching for this!!!
Sure, I could setup my IPTABLE to allow only national IP's for some times of the day, but what was so great about that filter is that we could select to filter or not, on a file to file basis, ie, the first only DL nationaly while the second DL worldwide!!!
Please help out the Portuguese Linux community!
A simple answer, Yes or No, would be fine for me, but I'd really like to get some feedback from you!
Thanks in advance just for reading this testament.
Pedro Algarvio.
Why am I posting it here, well I guess I'll be needing some help so It can be implemented, so anyone interested leave a message on this thread, this way THESE GREAT DEVELOPERS can know how much it is wanted!!!
I'll be informing all Portuguese Users to post a message here, If you know someone that is searching for this, let him know....
Thanks!
s0undt3ch
-
Perhaps a better option is to enable right clicking on a file and enable the IPFILTER.DAT of that file only.
Meaning, on a per file basis, this way we could select wich files ran trough the IPFILTER.DAT
Of course, the user has to define their own IPFILTER.DAT.
Any opinions?
-
Also, on eMule bowlfish, there is ipblock.dat (http://ufsoft.no-ip.com/ipblock.dat.zip) that contains some suposedly dangerous IP's.
This could also be implemented, leaving the IPFILTER.dat aside from any changes for those who already use it, or to my sugestion ;)
Please consider it, It would be great!!!!
s0undt3ch.
-
Soundtech:
> Perhaps a better option is to enable right clicking on a file and enable the IPFILTER.DAT of that file only.
yes, this has been already asked for and iirc it was accepted ;-) but yet has to be implemented. you'll have to wait until 2.0.0 final _at least_ since current work is focues in bug fixing only :-(
make no doubt we are on helping and improving wherever and however we can though :)
about ipblock.dat, could you provide a valid url? :)
the above one isnt' working.
anyway, if it is ipfilterstyle, then yuo can just apply it to aMule. AFAIK, all ipfilters applied in aMule are merged if there already was an ipfilter applied during the current execution (please check it and report).
Greetings!
-
Sorry about the bad link, but since I burned my bios :] on my P4, I'm using my home server until the other is fixed, and since it's in my room, there are some hours of the day in wich I have to sleep ;) , so I have to shut it down, too much noise.
You should keep trying.
Mostly is on during 13H to 1AM, at least (GMT+0).
s0undt3ch.
P.S. I can also mail it to who want's it.
-
The fastest and easiest way would be, if you use the ipfilter.dat
Option A:
Get a list of portugese IP address ranges. Then create an ipfilter.dat file, which filters all non-portugese IPs.
This would save many hours of developing something few people would use.
The time could then be spend on the implementation of the :)) webserver :D ;) :P :rolleyes:
Option B:
Change ISP.
Option C:
Find out, why the eMule crashed, then contact the WINE-team and let them know. It should be able to be fixed, if a program crashes, and it looks like it's WINEs fault. If it always crashes, then it is a bug that will surely interest them!
Good luck!
-
There are lots of people using aMule with ipfilter, a lot being portuguese users that filter non-portuguese ips except on the called 'happy hours'.
So I fail to see what more we need. Ask them.
-
Well thank you djtm, here's one person who only thinks to him self.
Your susgestion was already taken and donne ages ago by the ones that wanted your behaviour, but the purpose of mine is not to block all foreign IP's for all files, just some!!!!
If you had read carefully you would understood.
Link For IPBLOCK.DAT (http://ufsoft.no-ip.com/ipblock.dat.zip) (mirror (http://soundtech.no.sapo.pt/ipblock.dat.zip))[/FONT][/COLOR]
For the ones interested...
s0undt3ch.
-
thanks for mailing me the file.
it is a normal ipfilter.dat file so you can just apply it in Preferences once you have started aMule. it will be merged in memory with the previous ipfilter.dat file loaded, so both will be blocked.
I guess the best will eb to allow many ipfilter.dat files to be loaded on startup, sthi way files such as ipfilter.dat ipblock.dat firewall.dat etc can be used without need to merge them on every start not having to merge them into a single file.
anyway, as I said, after 2.0.0 final release ;)
Greetings!
-
I for one don't have happy hours, just international limits. Changing ISP is no good, they are all more or less the same here.
And please NOTE:
The purpose of my enhancement is to enabble the ipfilter.dat on only SOME of the downloads!!!!
This way, the ones, that have limits, could mantain their traffic bellow limits, in a better way.
SURE, I could use IPFILTER.DAT with a cron, but, with this behaviour, imagine:
I have 5 downloads of 500Mb on queue and I have 500Mb left of international traffic, 4 of them are available complete only with National sources, the 5th is a rare file and I only can get it with international sources.
So, why should I make all five download internationaly, disabling the ipfilter.dat with cron?
It would low up my ISP limits!!!!
Get it Now?
s0undt3ch.
-
Well, then try to read Jacobo221's reply :)
Seriously, I didn't mean to be rude. It has just been discussed lot of times and using Search button on the forum can lead you to those threads. Discussing it over and over again leads nowhere. I'm not willing to implement a special file for those filters: files will have a right-click option to enable or disable ipfilter, and that's all. Except of course you can't filter out a source until you know which file it requests, so you will have external connections indeed, tho not file transfers, only control packets (what's marked as overhead).
-
the purpose of mine is not to block all foreign IP's for all files, just some!!!!
If you had read carefully you would understood.
s0undt3ch.
Well, the less you write, the more of it is read! :P
-
Originally posted by Kry
Well, then try to read Jacobo221's reply :)
Seriously, I didn't mean to be rude. It has just been discussed lot of times and using Search button on the forum can lead you to those threads. Discussing it over and over again leads nowhere. I'm not willing to implement a special file for those filters: files will have a right-click option to enable or disable ipfilter, and that's all. Except of course you can't filter out a source until you know which file it requests, so you will have external connections indeed, tho not file transfers, only control packets (what's marked as overhead).
Well, It will do the work!
P.S. The rude part wasn't you!
s0undt3ch
-
Originally posted by s0undt3ch
Well, It will do the work!
s0undt3ch
Well, I think it will also remember wich ones were enabled and wich were not everytime we shut down aMule, right?
s0undt3ch
-
P.S. The rude part wasn't you!
s0undt3ch
Who was rude actually? ?(
-
please... take it easy...
try this (in portuguese): http://forum.amule.org/thread.php?threadid=4351&sid=
I think that is what you want!
-
Originally posted by |Syrius|
please... take it easy...
try this (in portuguese): http://forum.amule.org/thread.php?threadid=4351&sid=
I think that is what you want!
Well, this solves the part of the happy hours, but I don't have happy hours, so I'm stuck with the same problem.
But indeed, this got my mind thinking a litle bit more, so, My question for the developers now is:
If instead of enabeling/disabeling ipfilter.dat with the right click, we could instead set the IPLEVEL per file, meaning:
On my ipblock, bad ips have a level of 000, if I make the Portuguese IP's to be LEVEL 200 for example, setting a file with IPLEVEL to 200 would make it DL from Portuguese sources, making IPLEVEL 100 on another file would mean that It would download from anywere besides the BADIP's(level '000'). Do I make any sence?
Doable? Please?
s0undt3ch.
P.S.: About the rude part, sorry , bad interpretation, no one was rude, I got carried away...
-
"set the IPLEVEL per file" <- this is real non-sense ;-) values over 127 mean that those IPS _are_ accepted, while vules minor 127 mean that those IPs _aren't_ accepted. now, decide which values suit you and yes, here you can modify the iplevel values with a simple script.
IMO, ipfilter per file is real real real on-sense.
Greetings!
-
Bummer!!!!
At least you got my idea right didn't you?
This way we would't have do disable the whole ipfilter.dat, leaving those dangerous ip filters blocked.
Come on it does make sence!
Instead of setting the ip level only on config or cmd, wich makes changes for all files, we could set at least some pre defined Level wich would be choosable on every file!
Low(Block Always) - 000
Medium - 100
High - 200
For me this would translate to someting like:
Bad IP's(LOW-000) would always e blocked:
International and National downloads (MEDIUM-100)
Only National downloads (HIGH-200)
Of course everyobdy would have to define their IPFILTER.DAT to suite their needs...
Does this make better sence?
I know it would problably consume more CPU power but I manage with that, as for the ones that use IPFILTER.DAT as it is now would not get their CPU power consumed because they wont be using it this way!
It could have a check box stating the behaviour we wanted, per file or global....
Come on it makes sence if you think about it!
Thanks!
s0undt3ch
-
Now I like the Idea too.
Give priority to certain IPs depending on their numeral in the ipfilter.dat
So the higher the Number, the higher the priority. This doesn't look too diffucult and would be compatible with older versions. priority lower than the set value (default 127?) are still blocked.
-
At least we'd have a certain meaning of the number in ip filter level. (Currently it acts as a boolean value, <128 = true, >127 = false - or the other way)
-
well, you'll have to discuss this with phoenix at irc (well, he's kinda busy lately) but I don't like the idea. the level is already set in all files and you should have the level set with the same criterium in all files, so that when you have it set to, let's say, 200, you are doing what you exactly want to do i all files.
it is nonsense to add various files, then allow level-per-file, and filnaly ipfilter-per-download.
phoenix is the oen who coded the ipfilter, so you'll have to ask him, but I'm not voting for iplever-per-file ;)
-
HURRAY!!!
Glad to see somewone liked it!!!!
Possilble? After 2.0.0 final of course....
s0undt3ch.
-
Originally posted by s0undt3ch
HURRAY!!!
Glad to see somewone liked it!!!!
Possilble? After 2.0.0 final of course....
s0undt3ch.
OOPPPSSSS!!!
Only now I saw page 3!
Guess I'll try to convince him!
s0undt3ch
-
I think I convinced him to do it!
Lets hope he finds time to do it!
s0undt3ch.
-
;)
-
:)
-
What are your real reservations about the subject Jacobo?
For what I've talked to phoenix, I stated that it would be advisable to have a check-box, to enable/disable this kind of behaviour, so that people who don't need it, wont get their amule running slower...
So, again, what are your real reservations about the subject Jacobo?
s0undt3ch.
-
There shouldn't be any significant speed reducements through this. It would rather be advisable to merge the behavior into eMule as well. As it's simple, easy, flexible and efficient IMHO. Also the checkbox for enabling IPfiltering should be sufficient.
Oh, guess I'm not Jacobo... ooops. :))
-
it is nonsense to add various files, then allow level-per-file, and filnaly ipfilter-per-download.
I totally agree with that. Moreover, I find the hole idea of ipfilter be questionable. This is exactly what firewall was invented: filter packets according to some rules.
Unless someone can point to something iptables can't do, but amule ipfilter can.
-
Oh, this is all this thread is about! ;)
Discussing things Ipfilter firewalls cannot do, but aMule could use.
-
The whole idea that started this thread was to add function to aMule's ipfilter that iptables don't support!
Are you all reading the whole thread?
iptables can not be defined on a aMule file in queue, all rules will be applied to every download(using iptables)...
Any more questions?
Sure we can block those bad IP with iptables but there are lots of files on the net that have the right configuration for aMule(just download and add to ipfilter), besides, those ips only apply to emule, not every other service we might have, so it's better to be on aMule....
For me this is the only discutionable part on my question, thow the per-file right click disable, is unquestionably neccessary to some aMule users....
s0undt3ch.