Seite 1 von 1

[OPSI 4.1] http transfers

Verfasst: 07 Feb 2017, 19:35
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?

Re: [OPSI 4.1] http transfers

Verfasst: 08 Feb 2017, 07:11
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.

Re: [OPSI 4.1] http transfers

Verfasst: 10 Feb 2017, 15:52
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.

Re: [OPSI 4.1] http transfers

Verfasst: 13 Feb 2017, 13:46
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

Re: [OPSI 4.1] http transfers

Verfasst: 23 Mär 2017, 10:08
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.