Commit graph

  • 4247a2870f Add -F option to specify remote filename Joseph C. Lehner 2016-02-12 14:40:08 +01:00
  • 54e4724b9a Add and use file_remote Joseph C. Lehner 2016-02-12 14:37:26 +01:00
  • 98607d141b nmrpd_args::filename -> file_local Joseph C. Lehner 2016-02-12 14:16:55 +01:00
  • 9fd1b968b4 Read filename from NMRP TFTP upload request Joseph C. Lehner 2016-02-12 14:14:12 +01:00
  • 8b984fb78b Merge branch 'master' of github.com:jclehner/nmrpflash Joseph C. Lehner 2016-02-12 14:07:16 +01:00
  • 41cc1b6885 Some changes related to "-f -" Joseph C. Lehner 2016-02-12 13:25:10 +01:00
  • 78ae82e5a3 Tell user to reboot device after successful flash Joseph C. Lehner 2016-02-12 13:24:35 +01:00
  • 32914803f3 Add -c switch to execute command before (or instead of) TFTP upload Joseph C. Lehner 2016-02-12 12:22:44 +01:00
  • 936219b598 Support reading from stdin using "-f -" Joseph C. Lehner 2016-02-11 22:25:35 +01:00
  • 5a97a20da4 Update README.md Joseph C. Lehner 2016-02-10 18:48:55 +01:00
  • 1c6179c8c8 Update README.md Joseph C. Lehner 2016-02-10 18:47:37 +01:00
  • 5a6883e92d Update README.md Joseph C. Lehner 2016-02-10 18:47:15 +01:00
  • 2f9307bcda Fix OSX compile error Joseph C. Lehner 2016-02-10 18:40:34 +01:00
  • c21921c5ce Update README.md Joseph C. Lehner 2016-02-10 18:32:53 +01:00
  • d21595beed Update README.md Joseph C. Lehner 2016-02-10 18:06:24 +01:00
  • 8978f527be Update README.md Joseph C. Lehner 2016-02-10 18:05:52 +01:00
  • 5ca96a36e0 Be more efficient in obtaining the MAC address Joseph C. Lehner 2016-02-09 12:33:51 +01:00
  • f270831c91 Fix #include order Joseph C. Lehner 2016-02-09 11:35:21 +01:00
  • 8b0251e7e1 Make -L work without root on Linux Joseph C. Lehner 2016-02-09 09:39:55 +01:00
  • 417345b031 Make it compile on FreeBSD Joseph C. Lehner 2016-02-09 09:18:51 +01:00
  • 9d2f9e3636 Add LDFLAGS to Makefile Joseph C. Lehner 2016-02-09 09:18:37 +01:00
  • 3815dd0e9a Update readme Joseph C. Lehner 2016-02-09 08:42:32 +01:00
  • 03f7a59bd3 Use -mmacosx-version-min Joseph C. Lehner 2016-02-08 23:29:12 +01:00
  • 1e91c8a722 Update readme Joseph C. Lehner 2016-02-08 23:28:49 +01:00
  • 588589581b Wait for up to 2 minutes after tftp upload Joseph C. Lehner 2016-02-08 21:55:19 +01:00
  • f2ad76de41 Use seconds for -T switch Joseph C. Lehner 2016-02-08 21:37:53 +01:00
  • 18f34175fe Don't use NMRPFLASH_TFTP_TEST Joseph C. Lehner 2016-02-08 21:35:19 +01:00
  • 0a5e3c572f Update readme Joseph C. Lehner 2016-02-08 17:12:21 +01:00
  • 73ac4bb692 Update readme Joseph C. Lehner 2016-02-08 17:03:28 +01:00
  • 82f33d07a4 Some windows fixes Joseph C. Lehner 2016-02-08 16:43:10 +01:00
  • 0bf73c3919 Create zip files when release-building Joseph C. Lehner 2016-02-08 16:30:03 +01:00
  • e6c101eb2a Merge branch 'master' of github.com:jclehner/nmrp-flash Joseph C. Lehner 2016-02-08 16:28:08 +01:00
  • 0eef7587b8 Merge branch 'master' of github.com:jclehner/nmrp-flash Joseph C. Lehner 2016-02-08 16:26:52 +01:00
  • 904a81b50e nmrp-flash -> nmrpflash Joseph C. Lehner 2016-02-08 16:18:21 +01:00
  • bc8bff3997 Remove nmrp-flash Joseph C. Lehner 2016-02-08 16:14:30 +01:00
  • 0a181b2562 Update OSX binary Joseph C. Lehner 2016-02-08 16:06:38 +01:00
  • 138615e1e8 Fix warning when building on 32-bit OSX Joseph C. Lehner 2016-02-08 16:05:53 +01:00
  • d94e849b16 Fix release builds on OSX Joseph C. Lehner 2016-02-08 16:49:57 +02:00
  • aa0f1992e3 Use git describe for the version string Joseph C. Lehner 2016-02-08 15:43:43 +01:00
  • c8c69c10ce Update OSX binary Joseph C. Lehner 2016-02-08 16:35:31 +02:00
  • 025f89493a Update .gitignore Joseph C. Lehner 2016-02-08 15:33:26 +01:00
  • ce6ec1e0a1 Add Linux binary Joseph C. Lehner 2016-02-08 15:33:17 +01:00
  • 062c922e9b Update makefile Joseph C. Lehner 2016-02-08 15:28:01 +01:00
  • 6135b1be77 Merge branch 'master' of github.com:jclehner/nmrp-flash Joseph C. Lehner 2016-02-08 15:26:38 +01:00
  • 3c0e5e6856 Add prebuilt binary for OSX Joseph C. Lehner 2016-02-08 16:26:09 +02:00
  • b59709a37e Update Makefile Joseph C. Lehner 2016-02-08 16:11:24 +02:00
  • 15b30ad2e7 Set ackblock to -1 on timeout Joseph C. Lehner 2016-02-08 14:35:56 +01:00
  • 612741ae36 Call pcap_freecode on filter Joseph C. Lehner 2016-02-08 14:34:32 +01:00
  • 8dc5b3164b Always cleanup winsock Joseph C. Lehner 2016-02-08 14:06:04 +01:00
  • e0cec73349 Use mac_to_str Joseph C. Lehner 2016-02-08 13:57:57 +01:00
  • 933ef7bab2 Finally make it work on Windows Joseph C. Lehner 2016-02-08 13:48:06 +01:00
  • 35b5b36a89 Add LDFLAGS Joseph C. Lehner 2016-02-08 13:42:45 +01:00
  • 36571f8047 Add .gitignore Joseph C. Lehner 2016-02-08 11:59:55 +01:00
  • b934c55975 Use signed int for ackblock Joseph C. Lehner 2016-02-08 11:56:51 +01:00
  • 7fb13a8e12 More verbose error message Joseph C. Lehner 2016-02-08 11:55:49 +01:00
  • 917b2d9578 Adjust tftp_put return values Joseph C. Lehner 2016-02-08 11:55:25 +01:00
  • cac4275e60 Gracefully handle ACKs from the future Joseph C. Lehner 2016-02-08 11:54:32 +01:00
  • 020c0c67f2 Prettier output Joseph C. Lehner 2016-02-08 11:00:39 +01:00
  • 48c7830721 Fix filter specification Joseph C. Lehner 2016-02-08 11:00:24 +01:00
  • 2b96c091d7 Remove ethsock.h from DevCpp project Joseph C. Lehner 2016-02-08 10:01:49 +01:00
  • d210bbebf5 Correctly transmit empty file Joseph C. Lehner 2016-02-07 22:14:04 +01:00
  • 8c25c63efd Add debugging printfs for tftp packets Joseph C. Lehner 2016-02-07 21:29:37 +01:00
  • 39b0033325 Fix TFTP code Joseph C. Lehner 2016-02-07 21:21:43 +01:00
  • 8cab20c17e Switch ports after the initial handshake if required Joseph C. Lehner 2016-02-07 21:17:12 +01:00
  • 6da9b2b160 Prettify -L output Joseph C. Lehner 2016-02-07 21:06:09 +01:00
  • ba285c462a Make it compile on Linux again Joseph C. Lehner 2016-02-07 21:05:46 +01:00
  • 5e37406b6d Be less verbose Joseph C. Lehner 2016-02-06 19:49:58 +02:00
  • 5da29e5109 Fix whitespace errors Joseph C. Lehner 2016-02-06 19:49:36 +02:00
  • e315ecf3d2 Don't call msg_hdr_ntoh twice Joseph C. Lehner 2016-02-06 19:32:46 +02:00
  • a83a32ddf9 Use correct type Joseph C. Lehner 2016-02-05 20:34:14 +02:00
  • 525b91d363 Add option to test TFTP upload Joseph C. Lehner 2016-02-05 20:28:07 +02:00
  • 4beccaac20 Remove ethsock.h Joseph C. Lehner 2016-02-05 20:23:56 +02:00
  • a1c9cc6e7f Initialize winsock in main.c Joseph C. Lehner 2016-02-05 20:23:16 +02:00
  • 590894deac Fix Winsock recvfrom() timeouts Joseph C. Lehner 2016-02-05 20:20:45 +02:00
  • 0fbee16f65 Better error messages on Windows Joseph C. Lehner 2016-02-05 20:20:23 +02:00
  • 7196e445ca Fix winsock shutdown call Joseph C. Lehner 2016-02-05 18:43:50 +02:00
  • bf804d60a9 x_basename -> leafname Joseph C. Lehner 2016-02-05 18:41:00 +02:00
  • 402cf2dffe Resend intial WRQs Joseph C. Lehner 2016-02-05 18:09:10 +02:00
  • 486a3a2e69 Unexport sock_set_rx_timeout Joseph C. Lehner 2016-02-05 18:10:36 +02:00
  • ad7f69f0c5 Better error messages Joseph C. Lehner 2016-02-05 14:31:57 +02:00
  • a0382e9245 Use strrchr instead of rindex Joseph C. Lehner 2016-02-05 13:56:15 +02:00
  • f3cd34f1b9 Don't redefine PACKED Joseph C. Lehner 2016-02-05 12:39:44 +02:00
  • d3dfcc954d Fall back to sane filename instead of bailing out Joseph C. Lehner 2016-02-05 14:11:52 +02:00
  • ea850215ab Gracefully close the socket Joseph C. Lehner 2016-02-05 14:16:49 +02:00
  • 74ab06f9e8 Sanitize filename (netascii, basename) Joseph C. Lehner 2016-02-04 10:39:17 +02:00
  • 9ad7767b6a Fix compile error on Windows Joseph C. Lehner 2016-02-04 10:04:25 +02:00
  • d8dc957723 Update include and lib path Joseph C. Lehner 2016-02-03 17:48:19 +02:00
  • 63979329ef Update readme Joseph C. Lehner 2016-02-03 17:46:26 +02:00
  • 98b8bc3c74 Adjust usage message on Windows Joseph C. Lehner 2016-02-03 17:33:51 +02:00
  • 95858bc3ba Show either GUID or alias on Windows Joseph C. Lehner 2016-02-03 17:33:04 +02:00
  • c2f583f0da #include cleanup Joseph C. Lehner 2016-02-03 17:32:15 +02:00
  • bcfac84ece Update readme Joseph C. Lehner 2016-02-02 21:57:31 +02:00
  • 1348e29ba3 Update DevCpp project file Joseph C. Lehner 2016-02-02 21:37:24 +02:00
  • 7dce485863 Support -v switch Joseph C. Lehner 2016-02-02 21:36:15 +02:00
  • 43643aa3de Fix pcap_getevent warning Joseph C. Lehner 2016-02-02 21:35:54 +02:00
  • 8ce09f61a1 Display IP in interface list Joseph C. Lehner 2016-02-02 21:35:25 +02:00
  • 9a10f024df Add support for interface aliases on Windows Joseph C. Lehner 2016-02-02 17:20:24 +02:00
  • 87b0352820 Be less verbose while advertising Joseph C. Lehner 2016-02-02 14:31:42 +02:00
  • d54846c848 Fix eth_hdr struct definition Joseph C. Lehner 2016-02-02 14:31:27 +02:00
  • 36c9e97ad1 More Windows fixes Joseph C. Lehner 2016-02-02 14:19:05 +02:00