On 19.05.12 22:02, Mel Flynn wrote: > As I read the original intent is to post crashdumps at a specified > remote location through rc(8) using an sh(1) script on the next > reboot. tar seemed appropriate. I'm only mentioning extending > libfetch(3), because it will be easy for fetch(1) to pick it up, it > benefits more than just this project and once integrated into fetch(1) > can be used in said script above. Other than openssh we don't really > have a good tool in the base system to put local files elsewhere > securely. Also, if the BUGS section of fetch(3) is out of date, I'm > happy to be corrected :) I'm not going to make you happy...
From lib/libfetch/http.c: /* * Store a file by HTTP */ FILE * fetchPutHTTP(struct url *URL __unused, const char *flags __unused) { warnx("fetchPutHTTP(): not implemented"); return (NULL); } Adding HTTP PUT support to libfetch would be cool, but I doubt that it's worth wasting GSoC time for that. Most people use curl for that just because Google tells them to. On the other hand, SSH is available in FreeBSD system in 99% of use cases, and it would be quite easy to setup secure file transfer. The final decision should however be made by TS. -- Regards, Ilya Bakulin http://kibab.com xmpp://kibab...@jabber.ru
signature.asc
Description: OpenPGP digital signature