Commit Graph

  • 0e78f03409 tftp: Polish up remaining logging a bit master Bjorn Andersson 2026-01-18 12:38:08 -06:00
  • e2a2ecd226 tftp: Replace commented out debug prints with log call Bjorn Andersson 2026-01-15 10:59:22 -06:00
  • 6e6d765eda tftp: Inform client that read transmisison is terminated Bjorn Andersson 2026-01-15 08:19:40 -06:00
  • 7557ca4754 tftp: Ensure that the oack message stays within bounds Bjorn Andersson 2026-01-14 18:23:27 -06:00
  • 006afcbefe tftp: add path traversal protection Bjorn Andersson 2026-01-14 12:05:46 -08:00
  • d2b8ad5f07 tftp: use lseek() for file size determination and handle errors Bjorn Andersson 2026-01-14 13:31:57 -08:00
  • dd4eebcf5e tftp: Signal that the file system write failed Bjorn Andersson 2026-01-14 13:25:05 -08:00
  • 477f031648 tftp: clean up error handling in RRQ and WRQ handlers Bjorn Andersson 2026-01-14 13:25:05 -08:00
  • f84cefc24e tftp: Avoid double free in tftp_send_data() on failure Bjorn Andersson 2026-01-14 21:25:56 -06:00
  • af9bb54a43 tftp: send error response when file read fails during transfer Bjorn Andersson 2026-01-14 13:19:27 -08:00
  • b3f80df192 tftp: send error response when WRQ file open fails Bjorn Andersson 2026-01-14 13:07:44 -08:00
  • f47b088a89 tftp: reject non-octet transfer modes Bjorn Andersson 2026-01-14 13:05:58 -08:00
  • 0a041debc7 tftp: validate NUL-termination of filename and mode in WRQ and RRQ Bjorn Andersson 2026-01-14 11:55:06 -08:00
  • f6f9b15284 tftp: validate option values to prevent resource exhaustion Bjorn Andersson 2026-01-14 11:45:12 -08:00
  • 465ced8be7 tftp: Relocate the tftp_send_error() function Bjorn Andersson 2026-01-14 17:33:02 -06:00
  • c7cf88b05e tftp: use symbolic constants for error codes Bjorn Andersson 2026-01-14 13:15:19 -08:00
  • 1995188db0 tftp: Fix block buffer signedness warning Bjorn Andersson 2026-01-14 17:38:20 -06:00
  • 443c82aada Merge pull request #31 from lumag/tqftp-1.1.1 v1.1.1 Dmitry Baryshkov 2026-01-07 19:22:17 +02:00
  • 3e568ebf78 meson.build: prepare 1.1.1 release Dmitry Baryshkov 2026-01-07 19:14:20 +02:00
  • 0ed681362b Merge pull request #30 from fossdd/systemd Dmitry Baryshkov 2025-12-24 06:28:44 +02:00
  • d4c7f06435 build: allow building systemd unit files without systemd dependency Achill Gilgenast 2025-11-18 17:12:49 +01:00
  • 408ca1ed5e Merge pull request #26 from quic-bhaskarv/topic/fix_wsize Dmitry Baryshkov 2025-08-01 14:48:48 +03:00
  • 33a3b4891e tqftpserv: Cache wsize buffers in client instance Bhaskar Valaboju 2025-07-18 18:34:46 +05:30
  • ad282fcab3 tqftpserv: Use blksize buffer in send/recvfrom for TFTP packets Bhaskar Valaboju 2025-07-18 18:26:43 +05:30
  • 7d5fcd440a tqftpserv: Allocate memory in client instance to hold blksize buffer Bhaskar Valaboju 2025-07-18 00:47:57 +05:30
  • 44748aa794 tqftpserv: Set default wsize to 1 if not specified in WRQ/RRQ Bhaskar Valaboju 2025-07-18 00:41:40 +05:30
  • 4b3054aed3 tqftpserv: Allocate wsize buffer in TFTP client instance Bhaskar Valaboju 2025-07-18 17:58:25 +05:30
  • 9fc5fdc53b Merge pull request #28 from z3ntu/zstd-errors Dmitry Baryshkov 2025-07-09 13:26:37 +03:00
  • 1a516e7a78 translate: Check existance of .zstd firmware before accessing Luca Weiss 2025-07-06 12:24:35 +02:00
  • 72aad03e24 zstd-decompress: Print file path in "stat failed" message Luca Weiss 2025-07-06 12:23:19 +02:00
  • b0f786c1a7 Merge pull request #27 from z3ntu/readme Dmitry Baryshkov 2025-07-06 13:24:51 +03:00
  • e2bfdbb52f Add README.md Luca Weiss 2025-07-06 12:05:01 +02:00
  • 533779cb8a Merge pull request #24 from nik012003/master Dmitry Baryshkov 2024-11-21 18:13:30 +02:00
  • cab8b18f9a tqftpserv.service.in: remove dependency on qrtr-ns.service Nicola Guerrera 2024-11-09 00:22:37 +01:00
  • 859c6e3969 Merge pull request #23 from a-wai/firmware-updates Dmitry Baryshkov 2024-10-19 19:37:05 +03:00
  • bbfff09e16 Merge pull request #22 from evelikov/zstd-followups Dmitry Baryshkov 2024-10-16 17:33:58 +03:00
  • 4744c0ce07 translate: lookup firmware files under /lib/firmware/updates Arnaud Ferraris 2023-02-09 19:51:15 +01:00
  • f9da0667fb Fix Android build without zstd Emil Velikov 2024-09-19 14:13:00 +01:00
  • 0f7fd27524 Use context-less zstd decompression API Emil Velikov 2024-09-19 12:56:21 +01:00
  • 95d0c67322 Explicitly open zstd file as read-only Emil Velikov 2024-09-19 12:53:27 +01:00
  • 085a87c279 Clear memory leaks during zstd decompression Emil Velikov 2024-09-19 12:47:39 +01:00
  • 48e143d273 meson.build: Set v1.1 version Konrad Dybcio 2024-07-23 14:22:35 +02:00
  • f803b4d573 meson.build: Set v1.1 version v1.1 topic/v1.1 Konrad Dybcio 2024-07-23 14:22:35 +02:00
  • 0197df8e61 Add support for zstd-compressed readonly files Stefan Hansson 2024-05-28 21:37:47 +02:00
  • 47e8957271 meson.build: Make systemd dep optional Alexey Minnekhanov 2024-04-28 15:39:14 +03:00
  • 5f9f263ae2 treewide: meson Konrad Dybcio 2024-04-09 01:21:35 +02:00
  • 96f76d8481 treewide: meson topic/meson Konrad Dybcio 2024-04-09 01:21:35 +02:00
  • 3a10a7dd6f treewide: use SPDX license IDs Konrad Dybcio 2024-04-08 23:51:46 +02:00
  • 493d5ec0b5 treewide: use SPDX license IDs topic/spdx Konrad Dybcio 2024-04-08 23:51:46 +02:00
  • a09948e5e3 tqftpserv: don't print "End of Transfer" as an error Luca Weiss 2024-01-19 14:25:34 +01:00
  • 588a8d3c8f tqftpserv: add rsize & offset options to RRQ print Luca Weiss 2024-01-19 14:16:29 +01:00
  • e167336fca tqftpserv: handle rsize & offset options Luca Weiss 2024-01-19 14:15:34 +01:00
  • 69c7cfcf73 tqftpserv: add seek option parsing Luca Weiss 2023-02-10 14:23:34 +01:00
  • 2dd48a2899 tqftpserv: allow sending data packet with 0-byte data payload Luca Weiss 2024-01-19 17:09:17 +01:00
  • 98d162c9ff translate: Fix firmware path for 'fallback' case Luca Weiss 2024-03-29 15:21:48 +01:00
  • 37669ab1e2 Merge pull request #12 from minlexx/respect-firmware-sysfs-path Konrad Dybcio 2024-03-27 21:27:08 +01:00
  • a4c755db17 Use firmware path from sysfs Alexey Minnekhanov 2024-01-08 05:58:40 +03:00
  • 289214a5d1 Merge pull request #11 from z3ntu/misc-improvements Bjorn Andersson 2024-01-22 09:57:48 -06:00
  • 00fe2775de tqftpserv: add docs for options Luca Weiss 2023-02-10 17:01:53 +01:00
  • fb20008c86 translate: don't try to close already closed class_fd Luca Weiss 2024-01-17 16:53:46 +01:00
  • a540a1c307 tqftpserv: also print value for unknown options Luca Weiss 2023-02-10 13:17:28 +01:00
  • 3fa49eafe0 tqftpserv: handle OP_ERROR code Luca Weiss 2023-02-10 12:13:00 +01:00
  • aaba76c6ba tqftpserv: also print error code on read error Luca Weiss 2023-02-10 12:10:46 +01:00
  • de42697a24 translate: Null terminate firmware_value string John Stultz 2020-02-24 13:07:49 +05:30
  • 538efb3096 translate: Use /data/vendor for temporary files Amit Pundir 2020-02-24 13:40:51 +05:30
  • 48b9e1cbb1 tqftpserv: add support for TFTP options on WRQs Sireesh Kodali 2020-11-21 14:56:21 +05:30
  • 3488007880 Makefile: allow $(CFLAGS), $(LDFLAGS) override Jami Kettunen 2023-01-06 00:42:58 +02:00
  • 783425b550 ANDROID: Add Android.bp makefile v1.0 Amit Pundir 2020-02-03 23:17:41 +05:30
  • 2324458f18 include limits.h for PATH_MAX Khem Raj 2019-11-29 17:52:33 -08:00
  • fe53d2a810 tqftpserv: Implement path translation Bjorn Andersson 2019-10-26 11:14:03 -07:00
  • 75a7a89398 tqftpserv.service: Add systemd service Bjorn Andersson 2019-07-25 11:36:16 -07:00
  • 6348c52f20 tqftpserv: Remove the spamming of stdout Bjorn Andersson 2019-06-10 16:37:21 -07:00
  • 7167c88ead tqftpserv: Don't close socket at EOF Bjorn Andersson 2019-06-10 16:36:13 -07:00
  • 2ae2758cba Add LICENSE file Bjorn Andersson 2019-03-15 11:33:48 -07:00
  • 4fa490847a tqftpserv: fix memory leak in tftp_send_error() v0.0 Ben Chan 2018-07-13 17:22:35 -07:00
  • a175e68796 tqftpserv: remove duplicated initialization in handle_rrq() Ben Chan 2018-07-13 17:03:51 -07:00
  • 9c4bc44c44 tqftpserv: Fix invalid include directives Bjorn Andersson 2018-07-10 19:02:52 -07:00
  • e4894436dd tqftpserv: Initial prototype implementation Bjorn Andersson 2018-06-29 15:57:40 -07:00
  • 73a4053779 ... Bjorn Andersson 2018-06-29 15:54:40 -07:00