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: Multiuser for amulegui  (Read 10811 times)

juanez

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
Multiuser for amulegui
« on: November 28, 2009, 08:58:41 PM »

In amulegui or web panel.

The web panel, will have a template multiuser, that have a name and a password.

Various users will can login into amuled, whith differents users and passwords.



Logged

Morse

  • Full Member
  • ***
  • Karma: 6
  • Offline Offline
  • Posts: 105
Re: Multiuser for amulegui
« Reply #1 on: November 28, 2009, 09:05:45 PM »

what's the point if all users will have equal permissions?
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: Multiuser for amulegui
« Reply #2 on: November 28, 2009, 10:09:04 PM »

One day we might have full multiuser support, but there's a lot to do until then. Don't expect it before 4.0.0. ;)
Logged
concordia cum veritate

juanez

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
Re: Multiuser for amulegui
« Reply #3 on: November 29, 2009, 03:49:39 PM »

what's the point if all users will have equal permissions?

In emulemorphXt whith the template chicane, can assigned different permissions for any user.

Imagine an amule that have acessed for various users, and one user put to download any ilegal content.

How do you know what user are doing some bad?

Whith multiuser, in the emule normal, in the log appears the name of the user and the ip and her actions.

Thanks for yuo understand mi bad english.
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Multiuser for amulegui
« Reply #4 on: November 29, 2009, 05:40:35 PM »

Imagine an amule that have acessed for various users, and one user put to download any ilegal content.
I really can't imagine such a thing.  :P
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

Morse

  • Full Member
  • ***
  • Karma: 6
  • Offline Offline
  • Posts: 105
Re: Multiuser for amulegui
« Reply #5 on: November 29, 2009, 06:18:32 PM »

... ;D
Edit (Stu): Sorry, no such talk here.  :)
« Last Edit: November 29, 2009, 07:38:22 PM by Stu Redman »
Logged

Vollstrecker

  • Administrator
  • Hero Member
  • *****
  • Karma: 67
  • Offline Offline
  • Posts: 1549
  • Unofficial Debian Packager
    • http://vollstreckernet.de
Re: Multiuser for amulegui
« Reply #6 on: November 29, 2009, 06:41:44 PM »

Imagine an amule that have acessed for various users, and one user put to download any ilegal content.

So you would have to run it as root, or with a real strange config and permisions of dirs. In this case, the one that set's these permisions is able to put any download to any dir on filesystem-level. Or you save the file->user pairs somewhere else, which would give us a new file in .aMule. The only way I could imagine would be, to have a core that provides just the connection, and separate remoteguis, that do all the other stuff. So we can use one connection for all users and still have them separeted.
Logged
Homefucking is killing prostitution

lfroen

  • Guest
Re: Multiuser for amulegui
« Reply #7 on: November 29, 2009, 08:57:38 PM »

Imagine an amule that have acessed for various users, and one user put to download any ilegal content.

So you would have to <very long list of complicated stuff>

And all this to find out "who had downloaded what"? Are you serious? FYI: I don't believe in concept of "illegal content" (Holy Inquisition days are over).
Since in this kind of setup you probably personally know all your users, why don't just ask them? You can't have too many users anyway: amule's remote control is not _that_ scalable.

Multiuser remote gui requests are asked from time to time, and I personally consider it waste of coding effort: there's no single case where such feature is the only way to solve a problem.
In any way, it's not like "many users" mean 100+ users. It usually mean "more than 1, less than 4". Just use categories - you can have up to 255 of them IIRC.
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Multiuser for amulegui
« Reply #8 on: November 29, 2009, 11:41:27 PM »

I personally consider it waste of coding effort: there's no single case where such feature is the only way to solve a problem.
Agreed. Just run one daemon for each user ("multi" being < 10 for sure) in different environments and on different ports and be done.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

Vollstrecker

  • Administrator
  • Hero Member
  • *****
  • Karma: 67
  • Offline Offline
  • Posts: 1549
  • Unofficial Debian Packager
    • http://vollstreckernet.de
Re: Multiuser for amulegui
« Reply #9 on: November 30, 2009, 07:05:08 AM »

k, you understood what I tried to explain.
Logged
Homefucking is killing prostitution

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: Multiuser for amulegui
« Reply #10 on: November 30, 2009, 11:05:59 AM »

Just run one daemon for each user ("multi" being < 10 for sure) in different environments and on different ports and be done.

... and get banned for sure. Neither servers nor Kad tolerate multiple clients from the same IP.
Logged
concordia cum veritate

Vollstrecker

  • Administrator
  • Hero Member
  • *****
  • Karma: 67
  • Offline Offline
  • Posts: 1549
  • Unofficial Debian Packager
    • http://vollstreckernet.de
Re: Multiuser for amulegui
« Reply #11 on: November 30, 2009, 04:04:53 PM »

Is it possible to for lugdunum to connect to kad? In this case, you could just setup the server and let it multiplex your connections.
Logged
Homefucking is killing prostitution

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Multiuser for amulegui
« Reply #12 on: November 30, 2009, 10:25:15 PM »

Neither servers nor Kad tolerate multiple clients from the same IP.
Ok...  :-[
Two clients from the same IP are allowed however IIRC, at least in the client code. Not in Kad? I've been running several clients from the same IP often, and never noticed problems.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

aldobr

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 2
Re: Multiuser for amulegui
« Reply #13 on: May 07, 2010, 12:33:20 AM »

i really need multiuser support.

I used to use mldonkey, but this client is not uptodate. Amule has more features, but i still miss the multiuser support.

But i can do without this.

I really need is :

1 - Allow amule to call an external program every time a download finishes (With $FILENAME, $FILECATEGORY = user, $FILESIZE, $FILEDATE as environment variables to the external program/script).
2 - Allow to setup categories using amulecmd (So as to use categories to mimmick users).

I plan to do the following :

1 - Use categories to simulate multiple users (Category = user).
2 - Hide amule from users (No native remote gui, whatever).
3 - Add users as system users (so as to allow SSH login)
4 - Develop a shell (Set the user shell to be my app, when adding users to the system), allowing commands to be sent to amulecmd (filtered by category) and some functions for file transfers (completed downloads).
5 - Develop a remote gui using SSH Telnet.
Result -> Now the user can search, download, share, etc, using SSH as protocol (Safe).
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Multiuser for amulegui
« Reply #14 on: May 07, 2010, 03:09:54 AM »

You know, (1) already exists.
Logged
Pages: [1] 2