oweals/nmrpflash.git
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

8 years agoUnexport sock_set_rx_timeout
Joseph C. Lehner [Fri, 5 Feb 2016 16:10:36 +0000 (18:10 +0200)]
Unexport sock_set_rx_timeout

8 years agoBetter error messages
Joseph C. Lehner [Fri, 5 Feb 2016 12:31:57 +0000 (14:31 +0200)]
Better error messages

8 years agoUse strrchr instead of rindex
Joseph C. Lehner [Fri, 5 Feb 2016 11:56:15 +0000 (13:56 +0200)]
Use strrchr instead of rindex

8 years agoDon't redefine PACKED
Joseph C. Lehner [Fri, 5 Feb 2016 10:39:44 +0000 (12:39 +0200)]
Don't redefine PACKED

8 years agoFall back to sane filename instead of bailing out
Joseph C. Lehner [Fri, 5 Feb 2016 12:11:52 +0000 (14:11 +0200)]
Fall back to sane filename instead of bailing out

8 years agoGracefully close the socket
Joseph C. Lehner [Fri, 5 Feb 2016 12:16:49 +0000 (14:16 +0200)]
Gracefully close the socket

8 years agoSanitize filename (netascii, basename)
Joseph C. Lehner [Thu, 4 Feb 2016 08:39:17 +0000 (10:39 +0200)]
Sanitize filename (netascii, basename)

8 years agoFix compile error on Windows
Joseph C. Lehner [Thu, 4 Feb 2016 08:04:25 +0000 (10:04 +0200)]
Fix compile error on Windows

8 years agoUpdate include and lib path
Joseph C. Lehner [Wed, 3 Feb 2016 15:48:19 +0000 (17:48 +0200)]
Update include and lib path

8 years agoUpdate readme
Joseph C. Lehner [Wed, 3 Feb 2016 15:46:26 +0000 (17:46 +0200)]
Update readme

8 years agoAdjust usage message on Windows
Joseph C. Lehner [Wed, 3 Feb 2016 15:33:51 +0000 (17:33 +0200)]
Adjust usage message on Windows

8 years agoShow either GUID or alias on Windows
Joseph C. Lehner [Wed, 3 Feb 2016 15:33:04 +0000 (17:33 +0200)]
Show either GUID or alias on Windows

8 years ago#include cleanup
Joseph C. Lehner [Wed, 3 Feb 2016 15:32:15 +0000 (17:32 +0200)]
#include cleanup

8 years agoUpdate readme
Joseph C. Lehner [Tue, 2 Feb 2016 19:57:31 +0000 (21:57 +0200)]
Update readme

8 years agoUpdate DevCpp project file
Joseph C. Lehner [Tue, 2 Feb 2016 19:37:24 +0000 (21:37 +0200)]
Update DevCpp project file

8 years agoSupport -v switch
Joseph C. Lehner [Tue, 2 Feb 2016 19:36:15 +0000 (21:36 +0200)]
Support -v switch

8 years agoFix pcap_getevent warning
Joseph C. Lehner [Tue, 2 Feb 2016 19:35:54 +0000 (21:35 +0200)]
Fix pcap_getevent warning

8 years agoDisplay IP in interface list
Joseph C. Lehner [Tue, 2 Feb 2016 19:35:25 +0000 (21:35 +0200)]
Display IP in interface list

8 years agoAdd support for interface aliases on Windows
Joseph C. Lehner [Tue, 2 Feb 2016 15:20:24 +0000 (17:20 +0200)]
Add support for interface aliases on Windows

8 years agoBe less verbose while advertising
Joseph C. Lehner [Tue, 2 Feb 2016 12:31:42 +0000 (14:31 +0200)]
Be less verbose while advertising

8 years agoFix eth_hdr struct definition
Joseph C. Lehner [Tue, 2 Feb 2016 12:31:27 +0000 (14:31 +0200)]
Fix eth_hdr struct definition

8 years agoMore Windows fixes
Joseph C. Lehner [Tue, 2 Feb 2016 12:19:05 +0000 (14:19 +0200)]
More Windows fixes

8 years agoAdd DevCpp project file
Joseph C. Lehner [Tue, 2 Feb 2016 11:12:21 +0000 (13:12 +0200)]
Add DevCpp project file

8 years agoMany Windows fixes
Joseph C. Lehner [Tue, 2 Feb 2016 11:11:55 +0000 (13:11 +0200)]
Many Windows fixes

8 years agoMove OS defines to nmrpd.h
Joseph C. Lehner [Tue, 2 Feb 2016 10:14:28 +0000 (12:14 +0200)]
Move OS defines to nmrpd.h

8 years agoWindows fixes
Joseph C. Lehner [Tue, 2 Feb 2016 10:12:46 +0000 (12:12 +0200)]
Windows fixes

8 years agoFix silly naming clash on MinGW
Joseph C. Lehner [Tue, 2 Feb 2016 09:43:20 +0000 (11:43 +0200)]
Fix silly naming clash on MinGW

8 years agoConditionally include sys/socket.h
Joseph C. Lehner [Tue, 2 Feb 2016 09:40:16 +0000 (11:40 +0200)]
Conditionally include sys/socket.h

8 years agoAdd missing #include
Joseph C. Lehner [Tue, 2 Feb 2016 09:37:26 +0000 (11:37 +0200)]
Add missing #include

8 years agoInstall SIGINT handler in nmrp_do
Joseph C. Lehner [Sun, 31 Jan 2016 16:42:58 +0000 (18:42 +0200)]
Install SIGINT handler in nmrp_do

8 years agoList only ethernet interfaces
Joseph C. Lehner [Sun, 31 Jan 2016 16:42:12 +0000 (18:42 +0200)]
List only ethernet interfaces

8 years agoInitialize tftpcmd
Joseph C. Lehner [Sun, 31 Jan 2016 15:32:23 +0000 (17:32 +0200)]
Initialize tftpcmd

8 years agoAdd option to list network interfaces
Joseph C. Lehner [Sun, 31 Jan 2016 15:31:56 +0000 (17:31 +0200)]
Add option to list network interfaces

8 years agoBetter Windows support
Joseph C. Lehner [Sun, 31 Jan 2016 15:31:01 +0000 (17:31 +0200)]
Better Windows support

8 years agoFix return value on timeout
Joseph C. Lehner [Sat, 30 Jan 2016 07:02:50 +0000 (09:02 +0200)]
Fix return value on timeout

8 years agoFix timeout max
Joseph C. Lehner [Sat, 30 Jan 2016 07:02:37 +0000 (09:02 +0200)]
Fix timeout max

8 years agoUse MAC addr of interface when sending packets
Joseph C. Lehner [Fri, 29 Jan 2016 21:05:24 +0000 (23:05 +0200)]
Use MAC addr of interface when sending packets

8 years agoUpdate makefile
Joseph C. Lehner [Fri, 29 Jan 2016 17:21:44 +0000 (19:21 +0200)]
Update makefile

8 years agoUse ethsock
Joseph C. Lehner [Fri, 29 Jan 2016 17:21:33 +0000 (19:21 +0200)]
Use ethsock

8 years agorawsock -> ethsock
Joseph C. Lehner [Fri, 29 Jan 2016 17:21:15 +0000 (19:21 +0200)]
rawsock -> ethsock

8 years agoSatisfy clang
Joseph C. Lehner [Fri, 29 Jan 2016 17:19:31 +0000 (19:19 +0200)]
Satisfy clang

8 years agoMake buffers void*
Joseph C. Lehner [Fri, 29 Jan 2016 17:18:49 +0000 (19:18 +0200)]
Make buffers void*

8 years agoSome rawsock changes
Joseph C. Lehner [Fri, 29 Jan 2016 11:34:43 +0000 (13:34 +0200)]
Some rawsock changes

8 years agoUpdate rawsock code
Joseph C. Lehner [Fri, 29 Jan 2016 11:16:05 +0000 (13:16 +0200)]
Update rawsock code

8 years agoUpdate readme
Joseph C. Lehner [Wed, 27 Jan 2016 18:40:40 +0000 (19:40 +0100)]
Update readme

8 years agoAdd some size checks in msg_ntoh()
Joseph C. Lehner [Wed, 27 Jan 2016 18:35:54 +0000 (19:35 +0100)]
Add some size checks in msg_ntoh()

8 years agoAdd rawsock stuff (WIP)
Joseph C. Lehner [Mon, 25 Jan 2016 15:58:07 +0000 (16:58 +0100)]
Add rawsock stuff (WIP)

8 years agoAdd missing file
Joseph C. Lehner [Mon, 25 Jan 2016 14:16:37 +0000 (15:16 +0100)]
Add missing file

8 years agoUpdate readme
Joseph C. Lehner [Mon, 25 Jan 2016 14:16:28 +0000 (15:16 +0100)]
Update readme

8 years agoAdd readme
Joseph C. Lehner [Mon, 25 Jan 2016 14:09:00 +0000 (15:09 +0100)]
Add readme

8 years agoFix messages
Joseph C. Lehner [Mon, 25 Jan 2016 14:03:58 +0000 (15:03 +0100)]
Fix messages

8 years agoAdd "install" target
Joseph C. Lehner [Mon, 25 Jan 2016 13:53:06 +0000 (14:53 +0100)]
Add "install" target