aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: bind externalconnect to special interfaces  (Read 5446 times)

Mr Faber

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 229
bind externalconnect to special interfaces
« on: March 05, 2005, 11:35:48 PM »

I think it would be a security improvement if aMuled and aMule can be bind to special interfaces for external connections (only intern connections, not the P2P ones). So I could bind it to my LAN adress or to localhost and can route it through ssh.
Since webinterface has no SSL and no bruteforce protection like eMule (eMule has no SSL but bruteforce protections) as far as I know a bind would be useful too.

cu
Mr Faber
Logged

lfroen

  • Guest
Re: bind externalconnect to special interfaces
« Reply #1 on: March 06, 2005, 10:43:08 AM »

It might be supported in future.

Quote
Since webinterface has no SSL

You definitly don't need SSL. Are you afraid that someone feeding you forged pages ?! On your own LAN ?

Quote
I think it would be a security improvement

Definitly. And it will be configuration hell, like all security oriented features.

Quote
and no bruteforce protection like eMule

Completely useless feature:
You have MD5 checksummed password. Do you have 2^128 of computing power ? Good luck in basic cryptography.
Logged

Mr Faber

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 229
Re: bind externalconnect to special interfaces
« Reply #2 on: March 06, 2005, 11:39:52 AM »

Quote
Originally posted by lfroen
Quote
and no bruteforce protection like eMule

Completely useless feature:
You have MD5 checksummed password. Do you have 2^128 of computing power ? Good luck in basic cryptography.
That isn't correct. If a person uses a bad password (yes it is his fault but DEVs can help a lot) it is easier to bruteforce this. I think it is no problem to use the simple bruteforce protection from eMule that blocks the ip for some seconds or minutes if the password was wrong for five times. No more security needed instead of protection against potential buffer overflows.
I know that SSL isn't needed for LAN but for WAN. It isn't so important. It was just a hint for a useful feature in future.

A optional bind adress at least for external connections would be very usefull I think but you are the dev/expert :).

cu
Mr Faber
« Last Edit: March 06, 2005, 11:41:16 AM by Mr Faber »
Logged

lfroen

  • Guest
Re: bind externalconnect to special interfaces
« Reply #3 on: March 06, 2005, 11:57:35 AM »

Quote
That isn't correct. If a person uses a bad password (yes it is his fault but DEVs can help a lot) it is easier to bruteforce this.

Known argument. All correct. But in low priority compared to other things. Like binding specific interface, which match more usefull.

Quote
I know that SSL isn't needed for LAN but for WAN. It isn't so important. It was just a hint for a useful feature in future.

We are not going even think about it. You want THAT complicated webserver - install Apache (or IIS), write amule module for it, web applications, .NET or whatever your imagination provides.
SSL is no-so-trivial thing to do. Even more complicated is to do it right (it's cryptographic intensive thing). So answer is no.
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: bind externalconnect to special interfaces
« Reply #4 on: March 06, 2005, 07:55:07 PM »

Quote
Originally posted by lfroen
Quote
I know that SSL isn't needed for LAN but for WAN. It isn't so important. It was just a hint for a useful feature in future.

We are not going even think about it. You want THAT complicated webserver - install Apache (or IIS), write amule module for it, web applications, .NET or whatever your imagination provides.
SSL is no-so-trivial thing to do. Even more complicated is to do it right (it's cryptographic intensive thing). So answer is no.


YOU are not even going to think about it. But I am going to think about it, and discuss it. So the answer it 'maybe'
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: bind externalconnect to special interfaces
« Reply #5 on: March 06, 2005, 08:24:53 PM »

I already thought about it. After 2.0.0.
Logged
concordia cum veritate

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: bind externalconnect to special interfaces
« Reply #6 on: March 06, 2005, 09:53:38 PM »

See, see.
Logged

lfroen

  • Guest
Re: bind externalconnect to special interfaces
« Reply #7 on: March 07, 2005, 07:34:25 AM »

Quote
YOU are not even going to think about it

Correction: I already thought about it. Answer is strong no. Neither I nor you don't have required understanding in cryptography. GonoszTopi - have you ?
Doing it wrong is worst that not doing at all - you give false sence of security.

Quote
But I am going to think about it, and discuss it

There's so many things to do with usability of amuleweb. They worth thinking and discussion match more.

Quote
I already thought about it. After 2.0.0.

Before you going to write single line of code for this, visit http://www.openssl.org/ - that's what you need. Don't even think about implementing "light weight" version of ssl. Unless you have M.Sc. and made thesis on cryptography.
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: bind externalconnect to special interfaces
« Reply #8 on: March 07, 2005, 04:18:00 PM »

Quote
Originally posted by lfroen
Quote
YOU are not even going to think about it

Correction: I already thought about it. Answer is strong no. Neither I nor you don't have required understanding in cryptography. GonoszTopi - have you ?
Doing it wrong is worst that not doing at all - you give false sence of security.

Quote
But I am going to think about it, and discuss it

There's so many things to do with usability of amuleweb. They worth thinking and discussion match more.

Quote
I already thought about it. After 2.0.0.

Before you going to write single line of code for this, visit http://www.openssl.org/ - that's what you need. Don't even think about implementing "light weight" version of ssl. Unless you have M.Sc. and made thesis on cryptography.

Ahem, sorry lfroen, where do you get the idea we have not the required understanding in cryptography? And, while we're at it, who told you that we're not going to use openssl already?

In short, if you don't want to work on this, it's ok for me, but leave your team co-workers work on it if they want to.
Logged

lfroen

  • Guest
Re: bind externalconnect to special interfaces
« Reply #9 on: March 07, 2005, 05:05:08 PM »

Quote
Ahem, sorry lfroen, where do you get the idea we have not the required understanding in cryptography?

I don't know any of project members who have M.Sc. (at least) with specialization on cryptography. That's what I call "required understanding" if you going to implement SSL yourself. Taking "Introduction to cryptography" (as I did) is simply not enough.

OpenSSL will protect you from making basic mistakes, but you still have to convince at least yourself - what makes you sure that you understand what are you doing.
Using SSL is not just about link to yet another library. You better have theoretical insite.
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: bind externalconnect to special interfaces
« Reply #10 on: March 08, 2005, 01:25:21 AM »

Quote
I don't know any of project members who have M.Sc. (at least) with specialization on cryptography. That's what I call "required understanding" if you going to implement SSL yourself. Taking "Introduction to cryptography" (as I did) is simply not enough.
:)

Man, you don't know your co-workers, all of them use nicks, how can you say that? :P

Btw, cryptograophy is no rocket science. Even if it was, rocket science is not beyond our comprehension. We are hackers, remember? ;)

Cheers!
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: bind externalconnect to special interfaces
« Reply #11 on: March 08, 2005, 01:30:16 AM »

Quote
Originally posted by phoenix
Quote
I don't know any of project members who have M.Sc. (at least) with specialization on cryptography. That's what I call "required understanding" if you going to implement SSL yourself. Taking "Introduction to cryptography" (as I did) is simply not enough.
:)

Man, you don't know your co-workers, all of them use nicks, how can you say that? :P

Btw, cryptograophy is no rocket science. Even if it was, rocket science is not beyond our comprehension. We are hackers, remember? ;)

Cheers!

No, I stopped being a hacker 6 years ago :P
Logged

lfroen

  • Guest
Re: bind externalconnect to special interfaces
« Reply #12 on: March 08, 2005, 05:26:24 AM »

Quote
how can you say that?

That's why I say "I don't know and unless. So it's quite possible that I completely wrong  ;)

Quote
Btw, cryptograophy is no rocket science.

What makes you be sure on this one ? :D You studied cryptography or rocket science or may be both :) ?
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: bind externalconnect to special interfaces
« Reply #13 on: March 08, 2005, 06:52:06 AM »

Quote
Originally posted by lfroenNeither I nor you don't have required understanding in cryptography.


Sorry, is that a "I don't know" or is me getting old?
Quote
Originally posted by lfroen
What makes you be sure on this one ? Big Grin  You studied cryptography or rocket science or may be both Smile  ?
 


/me takes a look at the wall

Now, if I could get a digital cam to show the diplomas...
Logged

Meeni

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 26
Re: bind externalconnect to special interfaces
« Reply #14 on: March 14, 2005, 02:08:49 AM »

Any news for this binding ?
Logged