[OPSI 4.1] http transfers

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

[OPSI 4.1] http transfers

Beitrag von SisterOfMercy »

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: 326
Registriert: 11 Mär 2015, 10:09

Re: [OPSI 4.1] http transfers

Beitrag von dark alex »

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: 1521
Registriert: 22 Jun 2012, 19:18

Re: [OPSI 4.1] http transfers

Beitrag von SisterOfMercy »

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
Ex-uib-Team
Beiträge: 3194
Registriert: 04 Apr 2013, 12:15

Re: [OPSI 4.1] http transfers

Beitrag von n.wenselowski »

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

Code: Alles auswählen

import OPSI
dark alex
Beiträge: 326
Registriert: 11 Mär 2015, 10:09

Re: [OPSI 4.1] http transfers

Beitrag von dark alex »

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.
Antworten