From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dmitri Date: Mon, 08 Oct 2001 01:57:03 +0000 Subject: Re: Network protocol for linux-hotplug. MIME-Version: 1 Content-Type: multipart/mixed; boundary="pf9I7BMVVzbSWLtt" Message-Id: List-Id: References: In-Reply-To: To: linux-hotplug@vger.kernel.org --pf9I7BMVVzbSWLtt Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Quoting Stamatis Mitrofanis : > It had occurred to me that it might be a good idea to make things such=20 > that unsatisfied hotplug requests are forwarded through the network to=20 > certain database servers. > This automatic-downloading system must be very small, very uniform and=20 > very simple to implement. Questions that need answers: > - What protocol do we use for communication of the user system with the= =20 > server system? (must be well-known and standard) http:// and nothing else. This is because of firewalls and proxies that are capable of handling it. Other protocols/ports are often blocked from leaving intranets. Also, all http:// infrastructure is already available and widely deployed, allowing easy mirroring. > - How do we organize scripts and programs to do the job? wget http://www.kernel.org/cgi-bin/getdriver?bus=3Dusb&pid=3D0x1234&vid=3D0= x5678 tar xzvf usb_0x1234_0x5678.tar.gz cd usb_0x1234_0x5678 && make && make install > - What will be the formats for drivers downloaded from the net? likely, tarballs - but .rpm or .deb is also OK, as long as the originator of the request asked for them, *and* as long as they are available. This means that the script has to know how to fall back to the tarball. > - Add mandatory signatures to all packages, and mandatory checking of said signatures vs. hardcoded list of identities (public keys). This means that only holders of these keys can publish drivers. Otherwise this will be insecure, to put it mildly :-) Thanks, Dmitri --=20 "We all know Linux is great...it does infinite loops in 5 seconds." (Linus Torvalds about the superiority of Linux on the Amterdam Linux Symposium) --pf9I7BMVVzbSWLtt Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE7wQfvVqZS2gkpo2kRAtl2AJ48bpONUJu8XZB5jOCQMBBMKx9D+wCeNwKX MPlXsqbbUWGopnSTySsNDWA= =mQvf -----END PGP SIGNATURE----- --pf9I7BMVVzbSWLtt-- _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel