[OPSI 4.1] http transfers

Benutzeravatar
SisterOfMercy
Beiträge: 849
Registriert: 22 Jun 2012, 19:18

[OPSI 4.1] http transfers

Beitragvon SisterOfMercy » 07 Feb 2017, 19:35

Wouldn't it be an idea to stop using samba for client <-> depot interactions, and use http transfers?

The webdav thing for the wan clients might not be needed then. Yes, webdav is an extension of http, but I don't know how much extra is in there.
At least it would solve a lot of problems with networks that are not correctly configured - wouldn't it?
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!

dark alex
Beiträge: 255
Registriert: 11 Mär 2015, 10:09

Re: [OPSI 4.1] http transfers

Beitragvon dark alex » 08 Feb 2017, 07:11

http is not for file transfers.

this would only make sens when using FTP or switching entirely to WebDAV but why?
Samba is reliable, easy to setup and it's a well known component.

Benutzeravatar
SisterOfMercy
Beiträge: 849
Registriert: 22 Jun 2012, 19:18

Re: [OPSI 4.1] http transfers

Beitragvon SisterOfMercy » 10 Feb 2017, 15:52

dark alex hat geschrieben:http is not for file transfers.


Uhhh, since when?

dark alex hat geschrieben:this would only make sens when using FTP or switching entirely to WebDAV but why?
Samba is reliable, easy to setup and it's a well known component.


Samba is easy to setup with opsi-setup --auto-configure-samba, yes. But of course you can have problems with rights.
It's just an idea, it might streamline some things. For instance opsi-product-updater also uses http (I think). And the current repositories available on the internet would be the same from the view of the opsi-client-agent.
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!

Benutzeravatar
n.wenselowski
Beiträge: 2479
Registriert: 04 Apr 2013, 12:15

Re: [OPSI 4.1] http transfers

Beitragvon n.wenselowski » 13 Feb 2017, 13:46

Hi,

there are no plans for this.

Opsi runs an Samba since the beginning (ca. ~1994ish) and has been a reliable service for us.
As this would be a rather big chance to the internals this is something that needs very good cause!
We are already using webdav for WAN clients but this also introduces more stress to the opsiconfd and from that point of view I'd rather have less clients running with webdav.


Kind regards

Niko
Kein Support per DM!
_________________________
opsi support - uib gmbh
For productive opsi installations we recommend support contracts.

dark alex
Beiträge: 255
Registriert: 11 Mär 2015, 10:09

Re: [OPSI 4.1] http transfers

Beitragvon dark alex » 23 Mär 2017, 10:08

SisterOfMercy hat geschrieben:
dark alex hat geschrieben:http is not for file transfers.


Uhhh, since when?


As in "HyperText-Transfer-Protocol"

There is FTP (File Transfer Protocol) which is made especially for this task.

Of course you CAN use HTTP to transfer file though it's not the best option... HTTP causes overhead especially on smaller files. Often Setup directories consist of many small files.

Other thought: How do you secure your depot with HTTP? You would need to configure something like Digest authentication. This is not really easier than samba configuration. Thoug... both ways are easy especialy as opsi offers an automated way as you already stated.


Probably my statement above was a bit inaccurate. Yes HTTP is some kind of file transfer protocol but it's main use-case is for web traffic as in delivering Websites. For simple "dumb" file transfers there are better protocols like FTP causing less overhead and I think also less server-load.


Zurück zu „Comments, suggestions, wish list“

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 1 Gast