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 3 [4]

Author Topic: aMule-mod Xtreme  (Read 26683 times)

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: aMule-mod Xtreme
« Reply #45 on: April 20, 2007, 01:58:08 PM »

Damn you, guys...I'm not gonna close right now, I'll let you answer this last question before I ruin your fun.

The question: Whom to ping with UDP?

My answer (not having a real clue about network programming): The ISP.

Edit: Removed poll.
Logged

Vollstrecker

  • Administrator
  • Hero Member
  • *****
  • Karma: 67
  • Offline Offline
  • Posts: 1549
  • Unofficial Debian Packager
    • http://vollstreckernet.de
Re: aMule-mod Xtreme
« Reply #46 on: April 20, 2007, 05:08:22 PM »

wuischke: What IP has your ISP? And how should aMule find out this adress?
Logged
Homefucking is killing prostitution

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: aMule-mod Xtreme
« Reply #47 on: April 20, 2007, 06:59:49 PM »

wuischke: What IP has your ISP? And how should aMule find out this adress?

Yeah. "The ISP" is not an answer. Which *IP* should you ping?
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: aMule-mod Xtreme
« Reply #48 on: April 20, 2007, 08:03:32 PM »

Quote
What IP has your ISP?
My ISP's IP: 217.0.65.118 (one of the German Telekom routers)

Quote
And how should aMule find out this adress?
I found it out by using traceroute, which in return requires root permissions. (I don't know about another way.)

To cut it short: As far as I'm aware there's no way to *automatically* find out about this without big changes.
It is possible to implement UDP ping with manual entered IPs, which in return leads to the risk of misuse.

Another possibility would be pinging connected clients, but this is only usable for large numbers of clients - if I have only 3 connected clients I would ping them a lot more than intended. Hence when looking for an host to ping the ISP is imho the only good option.
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: aMule-mod Xtreme
« Reply #49 on: April 20, 2007, 08:12:03 PM »

Another possibility would be pinging connected clients,

No. Don't even think about it.

Quote
Hence when looking for an host to ping the ISP is imho the only good option.

And we can't find that IP programatically, we can't ICMP. so?
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: aMule-mod Xtreme
« Reply #50 on: April 20, 2007, 08:16:32 PM »

So nothing. It will not be implemented, everyone gets why and everybody is happy - or not.
I was not really making a practical point, rather explaining why the ISP is imho the only option - but still not possible.

---

Dispute seems to be settled - I can leave the thread opened.
Logged

Lame_azz

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 15
Re: aMule-mod Xtreme
« Reply #51 on: April 21, 2007, 03:54:15 PM »

*SIGH*

The only one avoiding a question is you.
Really?Are you sure?Well, you just proved once again you're do not read my messages.

Quote
And it's a good damn question, at that.
Which one?About idiots?Nope, I will not answer about idiots, it's too boring.About pings?I'm already answered it several times.Try to read my messages.This helps.

Quote
So answer it.
I'm already wasted lots of my time on you with almost zero result (argh, I learned that I'm idiot though, still not a bad discovery).And I'm still can't get idea, if you're kidding or just have absolutely no wish to implement this feature so absolutely refusing to read my messages and try to think how this can be implemented.And of course it is so hard to find example of any UDP-based *nix tracerouter in the google.

Quote
(P.S: The eMule implementation uses ICMP. Never think I don't know what I'm talking about. We can't use ICMP as stated above, like it or not. That's why I ask questions about *UDP* which is NOT on eMule.)
Argh, maybe finally you will take a look on Pinger.cpp (and other parts of this traceroute+ping derivative) a bit closer instead of just beating me, yep?Really this pinger (actually, all this rather ressembles well known tool, traceroute, so it is a bit more than pinger) is able to ping both ICMP and UDP.Looks like eMule itself has no UI option to choose ICMP vs UDP to use (or I was not able to fnid it).However, in sources, choice is here and at least some mods allowing to choose UDP ping instead of ICMP explicitly.Once eMule uses pretty same pinger source, UDP pinger code is here.I can see it somehow depends on Windows-specific crap to proceed ICMP replies even for UDP pings.But if you will take a few moments to google instead of beating me, you will find how to do the same for *nix sockets.Without dealing with ICMP sockets at all - just by getting UDP socket error ECONNREFUSED.See http://www.softlab.ntua.gr/facilities/documentation/unix/unix-socket-faq/unix-socket-faq-5.html (5.4 How can I read ICMP errors from "connected" UDP sockets?).Just one of the first references in google; almost any *nix network programming FAQs has the same entry.If you're so inclined on "what IP to ping", come on, take a look on eMule sources as well.There is answer to your question.Idiot should not learn guru how to program a traceroute part of this code but well, I'm even said where to get the answer.

(P.P.S: Idiot)
Well, as we Russians saying, "idiots are lucky".Seems to be true :o.Once you have called me an idiot, my ISP has been pressed by competitors too much, so it just increased UP and DOWN speeds twice for free (wow!) and implemented some sort of QoS on it's side as well.Amazing.Please keep on calling me idiot, I'm really like how this old russian phrase works  ;D.So, today I'm even unable to saturate my channel to get pings high, even with shaper turned off on my router.Now, I'm personally do not need this feature anymore.However, I can admit it is still may be usable for someone else if implemented - as you maybe noticed, this feature in official eMule so there is good reasons for this.

P.S.: Only one thing that I failed to understand after all: why an idiot must learn hardcore gurus how to perform UDP pings and how to obtain closest routers to ping 'em?I'm really not an expert in network programming (just have some protocols knowledge, nothing more).So this fact feels pretty strange for me.Where to this world going if an idiot should learn gurus how to program ping\traceroute crap which is very old thingies known to every IT-inclined schoolchildren?
« Last Edit: April 21, 2007, 04:19:36 PM by Lame_azz »
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: aMule-mod Xtreme
« Reply #52 on: April 21, 2007, 04:30:03 PM »

You don't ahve to teach us anything (at least not me). There are several things you don't understand, starting from the fact that I colaborate with eMule developers, so, please, dont' tell me to read sources. It's amusing.

Taht said, we're only trying to show you the MISTAKES you have. We already know the answers, you're the one asking for explanations.
Logged

Lame_azz

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 15
Re: aMule-mod Xtreme
« Reply #53 on: April 21, 2007, 05:22:50 PM »

You don't ahve to teach us anything (at least not me). There are several things you don't understand, starting from the fact that I colaborate with eMule developers, so, please, dont' tell me to read sources. It's amusing.
IIRC, this feature was not coded by eMule developers at all, this one was created by some modder(s).Official eMule dev's just used it at some point as well (let's admit in a pretty strange manner: UDP pinger is still here as in original source, but I see no option in UI to use it while mods do have option to choose ICMP vs UDP).

Quote
Taht said, we're only trying to show you
...that I'm an idiot.Okay, let's assume I am.It is even funny to be an idiot, they're lucky.Something else? ;D

Quote
the MISTAKES you have.
Umm, as for me, all looks in another light: I'm trying to find the ways how feature can be implemented, taking *nix vs windows systems differences into account.You're beating me and trying to prove I'm an idiot.Without even bothering yourself to prove it.Or, at very best, saying some technical things and then, when I see flaw here and have something to argue against your arguments, you're sticking to "you're an idiot" tactics.Great, duh.

Quote
We already know the answers, you're the one asking for explanations
...and your answer always sounds like "you're an idiot, we do know better" without any actual proof of this point of view.Also I just wonder: you can't create "connected" UDP socket?Or you can't get idea how UDP traceroute works?  ::) (well, to be exact, traceroute's derivative used in eMule but no big difference: overall algo idea is quite similar).
« Last Edit: April 21, 2007, 05:25:36 PM by Lame_azz »
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: aMule-mod Xtreme
« Reply #54 on: April 21, 2007, 10:00:10 PM »

Are you done?

I want to close the door and turn off the lights...

(Tomorrow morning I will.)
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: aMule-mod Xtreme
« Reply #55 on: April 22, 2007, 09:33:17 AM »

You know that you're doing something wrong when more than 50% of what you say have exactly no relation to the topic.

- closed -
Logged
Pages: 1 2 3 [4]