oweals/nmrpflash.git
8 years agoSend keep-alive request to remote after successful upload v0.9.2
Joseph C. Lehner [Wed, 17 Feb 2016 13:14:19 +0000 (14:14 +0100)]
Send keep-alive request to remote after successful upload

8 years agoReset timeout when receiving extra upload requests
Joseph C. Lehner [Wed, 17 Feb 2016 13:10:54 +0000 (14:10 +0100)]
Reset timeout when receiving extra upload requests

8 years agoBetter handling of extra upload requests
Joseph C. Lehner [Wed, 17 Feb 2016 11:42:20 +0000 (12:42 +0100)]
Better handling of extra upload requests

8 years agoBetter handling of extra upload requests
Joseph C. Lehner [Wed, 17 Feb 2016 11:31:31 +0000 (12:31 +0100)]
Better handling of extra upload requests

8 years agoShorten pathname in status message
Joseph C. Lehner [Wed, 17 Feb 2016 11:19:43 +0000 (12:19 +0100)]
Shorten pathname in status message

8 years agoLonger timeout for initial WRQ
Joseph C. Lehner [Wed, 17 Feb 2016 11:19:31 +0000 (12:19 +0100)]
Longer timeout for initial WRQ

8 years agoIgnore additional upload requests
Joseph C. Lehner [Wed, 17 Feb 2016 11:14:16 +0000 (12:14 +0100)]
Ignore additional upload requests

8 years agoMerge branch 'master' of github.com:jclehner/nmrpflash
Joseph C. Lehner [Wed, 17 Feb 2016 11:13:46 +0000 (12:13 +0100)]
Merge branch 'master' of github.com:jclehner/nmrpflash

8 years agoFix uninitialized variable
Joseph C. Lehner [Tue, 16 Feb 2016 23:51:04 +0000 (00:51 +0100)]
Fix uninitialized variable

8 years agoFilename is already corrected by tftp code
Joseph C. Lehner [Tue, 16 Feb 2016 16:41:55 +0000 (17:41 +0100)]
Filename is already corrected by tftp code

8 years agoDon't break if using the client-supplied filename
Joseph C. Lehner [Sun, 14 Feb 2016 22:01:58 +0000 (23:01 +0100)]
Don't break if using the client-supplied filename

8 years agoShow different message if no upload requests were received
Joseph C. Lehner [Sat, 13 Feb 2016 23:04:03 +0000 (00:04 +0100)]
Show different message if no upload requests were received

8 years agoFix msg_opt_data
Joseph C. Lehner [Sat, 13 Feb 2016 22:54:51 +0000 (23:54 +0100)]
Fix msg_opt_data

8 years agoDon't expect specific message code after TFTP upload
Joseph C. Lehner [Sat, 13 Feb 2016 22:51:04 +0000 (23:51 +0100)]
Don't expect specific message code after TFTP upload

8 years agoBetter handling of keep-alive requests
Joseph C. Lehner [Sat, 13 Feb 2016 22:49:38 +0000 (23:49 +0100)]
Better handling of keep-alive requests

8 years agoPretty-print message codes
Joseph C. Lehner [Sat, 13 Feb 2016 22:47:07 +0000 (23:47 +0100)]
Pretty-print message codes

8 years agoUpdate readme
Joseph C. Lehner [Sat, 13 Feb 2016 15:55:20 +0000 (16:55 +0100)]
Update readme

8 years agoUpdate version in DevCpp file
Joseph C. Lehner [Sat, 13 Feb 2016 15:44:40 +0000 (16:44 +0100)]
Update version in DevCpp file

8 years agoAdd and use ethsock_for_each_ip
Joseph C. Lehner [Sat, 13 Feb 2016 15:16:51 +0000 (16:16 +0100)]
Add and use ethsock_for_each_ip

8 years agoCheck if ip address is valid for given interface
Joseph C. Lehner [Sat, 13 Feb 2016 13:16:35 +0000 (14:16 +0100)]
Check if ip address is valid for given interface

8 years agoShow interface name in "Advertising" message
Joseph C. Lehner [Sat, 13 Feb 2016 12:35:01 +0000 (13:35 +0100)]
Show interface name in "Advertising" message

8 years agoAdd code to support setting the device region
Joseph C. Lehner [Fri, 12 Feb 2016 13:48:42 +0000 (14:48 +0100)]
Add code to support setting the device region

8 years agoAdd -F option to specify remote filename
Joseph C. Lehner [Fri, 12 Feb 2016 13:40:08 +0000 (14:40 +0100)]
Add -F option to specify remote filename

8 years agoAdd and use file_remote
Joseph C. Lehner [Fri, 12 Feb 2016 13:37:26 +0000 (14:37 +0100)]
Add and use file_remote

8 years agonmrpd_args::filename -> file_local
Joseph C. Lehner [Fri, 12 Feb 2016 13:16:55 +0000 (14:16 +0100)]
nmrpd_args::filename -> file_local

8 years agoRead filename from NMRP TFTP upload request
Joseph C. Lehner [Fri, 12 Feb 2016 13:14:12 +0000 (14:14 +0100)]
Read filename from NMRP TFTP upload request

8 years agoMerge branch 'master' of github.com:jclehner/nmrpflash
Joseph C. Lehner [Fri, 12 Feb 2016 13:07:16 +0000 (14:07 +0100)]
Merge branch 'master' of github.com:jclehner/nmrpflash

8 years agoSome changes related to "-f -"
Joseph C. Lehner [Fri, 12 Feb 2016 12:25:10 +0000 (13:25 +0100)]
Some changes related to "-f -"

8 years agoTell user to reboot device after successful flash
Joseph C. Lehner [Fri, 12 Feb 2016 12:24:35 +0000 (13:24 +0100)]
Tell user to reboot device after successful flash

8 years agoAdd -c switch to execute command before (or instead of) TFTP upload
Joseph C. Lehner [Fri, 12 Feb 2016 11:22:44 +0000 (12:22 +0100)]
Add -c switch to execute command before (or instead of) TFTP upload

8 years agoSupport reading from stdin using "-f -"
Joseph C. Lehner [Thu, 11 Feb 2016 21:25:35 +0000 (22:25 +0100)]
Support reading from stdin using "-f -"

8 years agoUpdate README.md
Joseph C. Lehner [Wed, 10 Feb 2016 17:48:55 +0000 (18:48 +0100)]
Update README.md

8 years agoUpdate README.md
Joseph C. Lehner [Wed, 10 Feb 2016 17:47:37 +0000 (18:47 +0100)]
Update README.md

8 years agoUpdate README.md
Joseph C. Lehner [Wed, 10 Feb 2016 17:47:15 +0000 (18:47 +0100)]
Update README.md

8 years agoFix OSX compile error v0.9.1
Joseph C. Lehner [Wed, 10 Feb 2016 17:40:34 +0000 (18:40 +0100)]
Fix OSX compile error

8 years agoUpdate README.md
Joseph C. Lehner [Wed, 10 Feb 2016 17:32:53 +0000 (18:32 +0100)]
Update README.md

8 years agoUpdate README.md
Joseph C. Lehner [Wed, 10 Feb 2016 17:06:24 +0000 (18:06 +0100)]
Update README.md

8 years agoUpdate README.md
Joseph C. Lehner [Wed, 10 Feb 2016 17:05:52 +0000 (18:05 +0100)]
Update README.md

8 years agoBe more efficient in obtaining the MAC address
Joseph C. Lehner [Tue, 9 Feb 2016 11:33:51 +0000 (12:33 +0100)]
Be more efficient in obtaining the MAC address

8 years agoFix #include order
Joseph C. Lehner [Tue, 9 Feb 2016 10:35:21 +0000 (11:35 +0100)]
Fix #include order

8 years agoMake -L work without root on Linux
Joseph C. Lehner [Tue, 9 Feb 2016 08:39:55 +0000 (09:39 +0100)]
Make -L work without root on Linux

8 years agoMake it compile on FreeBSD
Joseph C. Lehner [Tue, 9 Feb 2016 08:18:51 +0000 (09:18 +0100)]
Make it compile on FreeBSD

8 years agoAdd LDFLAGS to Makefile
Joseph C. Lehner [Tue, 9 Feb 2016 08:18:37 +0000 (09:18 +0100)]
Add LDFLAGS to Makefile

8 years agoUpdate readme
Joseph C. Lehner [Tue, 9 Feb 2016 07:42:32 +0000 (08:42 +0100)]
Update readme

8 years agoUse -mmacosx-version-min
Joseph C. Lehner [Mon, 8 Feb 2016 22:29:12 +0000 (23:29 +0100)]
Use -mmacosx-version-min

8 years agoUpdate readme
Joseph C. Lehner [Mon, 8 Feb 2016 22:28:49 +0000 (23:28 +0100)]
Update readme

8 years agoWait for up to 2 minutes after tftp upload
Joseph C. Lehner [Mon, 8 Feb 2016 20:55:19 +0000 (21:55 +0100)]
Wait for up to 2 minutes after tftp upload

8 years agoUse seconds for -T switch
Joseph C. Lehner [Mon, 8 Feb 2016 20:37:53 +0000 (21:37 +0100)]
Use seconds for -T switch

8 years agoDon't use NMRPFLASH_TFTP_TEST
Joseph C. Lehner [Mon, 8 Feb 2016 20:35:19 +0000 (21:35 +0100)]
Don't use NMRPFLASH_TFTP_TEST

8 years agoUpdate readme
Joseph C. Lehner [Mon, 8 Feb 2016 16:12:21 +0000 (17:12 +0100)]
Update readme

8 years agoUpdate readme
Joseph C. Lehner [Mon, 8 Feb 2016 16:03:28 +0000 (17:03 +0100)]
Update readme

8 years agoSome windows fixes
Joseph C. Lehner [Mon, 8 Feb 2016 15:43:10 +0000 (16:43 +0100)]
Some windows fixes

8 years agoCreate zip files when release-building v0.9
Joseph C. Lehner [Mon, 8 Feb 2016 15:30:03 +0000 (16:30 +0100)]
Create zip files when release-building

8 years agoMerge branch 'master' of github.com:jclehner/nmrp-flash
Joseph C. Lehner [Mon, 8 Feb 2016 15:28:08 +0000 (16:28 +0100)]
Merge branch 'master' of github.com:jclehner/nmrp-flash

8 years agoMerge branch 'master' of github.com:jclehner/nmrp-flash
Joseph C. Lehner [Mon, 8 Feb 2016 15:26:52 +0000 (16:26 +0100)]
Merge branch 'master' of github.com:jclehner/nmrp-flash

8 years agonmrp-flash -> nmrpflash
Joseph C. Lehner [Mon, 8 Feb 2016 15:18:21 +0000 (16:18 +0100)]
nmrp-flash -> nmrpflash

8 years agoRemove nmrp-flash
Joseph C. Lehner [Mon, 8 Feb 2016 15:14:30 +0000 (16:14 +0100)]
Remove nmrp-flash

8 years agoUpdate OSX binary
Joseph C. Lehner [Mon, 8 Feb 2016 15:06:38 +0000 (16:06 +0100)]
Update OSX binary

8 years agoFix warning when building on 32-bit OSX
Joseph C. Lehner [Mon, 8 Feb 2016 15:05:53 +0000 (16:05 +0100)]
Fix warning when building on 32-bit OSX

8 years agoFix release builds on OSX
Joseph C. Lehner [Mon, 8 Feb 2016 14:49:57 +0000 (16:49 +0200)]
Fix release builds on OSX

8 years agoUse git describe for the version string
Joseph C. Lehner [Mon, 8 Feb 2016 14:43:43 +0000 (15:43 +0100)]
Use git describe for the version string

8 years agoUpdate OSX binary
Joseph C. Lehner [Mon, 8 Feb 2016 14:35:31 +0000 (16:35 +0200)]
Update OSX binary

8 years agoUpdate .gitignore
Joseph C. Lehner [Mon, 8 Feb 2016 14:33:26 +0000 (15:33 +0100)]
Update .gitignore

8 years agoAdd Linux binary
Joseph C. Lehner [Mon, 8 Feb 2016 14:33:17 +0000 (15:33 +0100)]
Add Linux binary

8 years agoUpdate makefile
Joseph C. Lehner [Mon, 8 Feb 2016 14:28:01 +0000 (15:28 +0100)]
Update makefile

8 years agoMerge branch 'master' of github.com:jclehner/nmrp-flash
Joseph C. Lehner [Mon, 8 Feb 2016 14:26:38 +0000 (15:26 +0100)]
Merge branch 'master' of github.com:jclehner/nmrp-flash

8 years agoAdd prebuilt binary for OSX
Joseph C. Lehner [Mon, 8 Feb 2016 14:26:09 +0000 (16:26 +0200)]
Add prebuilt binary for OSX

8 years agoUpdate Makefile
Joseph C. Lehner [Mon, 8 Feb 2016 14:11:24 +0000 (16:11 +0200)]
Update Makefile

8 years agoSet ackblock to -1 on timeout
Joseph C. Lehner [Mon, 8 Feb 2016 13:35:56 +0000 (14:35 +0100)]
Set ackblock to -1 on timeout

8 years agoCall pcap_freecode on filter
Joseph C. Lehner [Mon, 8 Feb 2016 13:34:32 +0000 (14:34 +0100)]
Call pcap_freecode on filter

8 years agoAlways cleanup winsock
Joseph C. Lehner [Mon, 8 Feb 2016 13:06:04 +0000 (14:06 +0100)]
Always cleanup winsock

8 years agoUse mac_to_str
Joseph C. Lehner [Mon, 8 Feb 2016 12:57:57 +0000 (13:57 +0100)]
Use mac_to_str

8 years agoFinally make it work on Windows
Joseph C. Lehner [Mon, 8 Feb 2016 12:48:06 +0000 (13:48 +0100)]
Finally make it work on Windows

8 years agoAdd LDFLAGS
Joseph C. Lehner [Mon, 8 Feb 2016 12:42:45 +0000 (13:42 +0100)]
Add LDFLAGS

8 years agoAdd .gitignore
Joseph C. Lehner [Mon, 8 Feb 2016 10:59:55 +0000 (11:59 +0100)]
Add .gitignore

8 years agoUse signed int for ackblock
Joseph C. Lehner [Mon, 8 Feb 2016 10:56:51 +0000 (11:56 +0100)]
Use signed int for ackblock

8 years agoMore verbose error message
Joseph C. Lehner [Mon, 8 Feb 2016 10:55:49 +0000 (11:55 +0100)]
More verbose error message

8 years agoAdjust tftp_put return values
Joseph C. Lehner [Mon, 8 Feb 2016 10:55:25 +0000 (11:55 +0100)]
Adjust tftp_put return values

8 years agoGracefully handle ACKs from the future
Joseph C. Lehner [Mon, 8 Feb 2016 10:54:32 +0000 (11:54 +0100)]
Gracefully handle ACKs from the future

8 years agoPrettier output
Joseph C. Lehner [Mon, 8 Feb 2016 10:00:39 +0000 (11:00 +0100)]
Prettier output

8 years agoFix filter specification
Joseph C. Lehner [Mon, 8 Feb 2016 10:00:24 +0000 (11:00 +0100)]
Fix filter specification

8 years agoRemove ethsock.h from DevCpp project
Joseph C. Lehner [Mon, 8 Feb 2016 09:01:49 +0000 (10:01 +0100)]
Remove ethsock.h from DevCpp project

8 years agoCorrectly transmit empty file
Joseph C. Lehner [Sun, 7 Feb 2016 21:14:04 +0000 (22:14 +0100)]
Correctly transmit empty file

8 years agoAdd debugging printfs for tftp packets
Joseph C. Lehner [Sun, 7 Feb 2016 20:29:37 +0000 (21:29 +0100)]
Add debugging printfs for tftp packets

8 years agoFix TFTP code
Joseph C. Lehner [Sun, 7 Feb 2016 20:21:43 +0000 (21:21 +0100)]
Fix TFTP code

8 years agoSwitch ports after the initial handshake if required
Joseph C. Lehner [Sun, 7 Feb 2016 20:17:12 +0000 (21:17 +0100)]
Switch ports after the initial handshake if required

8 years agoPrettify -L output
Joseph C. Lehner [Sun, 7 Feb 2016 20:06:09 +0000 (21:06 +0100)]
Prettify -L output

8 years agoMake it compile on Linux again
Joseph C. Lehner [Sun, 7 Feb 2016 20:05:46 +0000 (21:05 +0100)]
Make it compile on Linux again

8 years agoBe less verbose
Joseph C. Lehner [Sat, 6 Feb 2016 17:49:58 +0000 (19:49 +0200)]
Be less verbose

8 years agoFix whitespace errors
Joseph C. Lehner [Sat, 6 Feb 2016 17:49:36 +0000 (19:49 +0200)]
Fix whitespace errors

8 years agoDon't call msg_hdr_ntoh twice
Joseph C. Lehner [Sat, 6 Feb 2016 17:32:46 +0000 (19:32 +0200)]
Don't call msg_hdr_ntoh twice

8 years agoUse correct type
Joseph C. Lehner [Fri, 5 Feb 2016 18:34:14 +0000 (20:34 +0200)]
Use correct type

8 years agoAdd option to test TFTP upload
Joseph C. Lehner [Fri, 5 Feb 2016 18:28:07 +0000 (20:28 +0200)]
Add option to test TFTP upload

8 years agoRemove ethsock.h
Joseph C. Lehner [Fri, 5 Feb 2016 18:23:56 +0000 (20:23 +0200)]
Remove ethsock.h

8 years agoInitialize winsock in main.c
Joseph C. Lehner [Fri, 5 Feb 2016 18:23:16 +0000 (20:23 +0200)]
Initialize winsock in main.c

8 years agoFix Winsock recvfrom() timeouts
Joseph C. Lehner [Fri, 5 Feb 2016 18:20:45 +0000 (20:20 +0200)]
Fix Winsock recvfrom() timeouts

8 years agoBetter error messages on Windows
Joseph C. Lehner [Fri, 5 Feb 2016 18:20:23 +0000 (20:20 +0200)]
Better error messages on Windows

8 years agoFix winsock shutdown call
Joseph C. Lehner [Fri, 5 Feb 2016 16:43:50 +0000 (18:43 +0200)]
Fix winsock shutdown call

8 years agox_basename -> leafname
Joseph C. Lehner [Fri, 5 Feb 2016 16:41:00 +0000 (18:41 +0200)]
x_basename -> leafname

8 years agoResend intial WRQs
Joseph C. Lehner [Fri, 5 Feb 2016 16:09:10 +0000 (18:09 +0200)]
Resend intial WRQs