Joseph C. Lehner
63de99cfbc
Update README.md
2020-08-17 13:12:44 +02:00
Joseph C. Lehner
25cda736e6
Increase NMRP timeout to 1s
2020-08-17 12:29:58 +02:00
Joseph C. Lehner
0503ae2788
Fix default timeout values
2020-08-17 12:15:26 +02:00
Joseph C. Lehner
f5c4937cc9
Update README.md
2020-08-06 21:16:03 +02:00
Joseph C. Lehner
13a135139d
Update README.md
2020-08-06 21:13:36 +02:00
Joseph C. Lehner
472adb1c51
Merge pull request #42 from BreakShadow0504/patch-1
...
Confirm work on my NETGEAR R6100
2020-08-03 21:43:09 +02:00
残影
608dfda3f9
Confirm work on my NETGEAR R6100
...
Went back from OpenWRT 19.07.3 to OEM firmware 1.2.0.4 (China) using nmrpflash.
After a few times of retries, router finally answered nmrpflash and recieved my firmware image.
"Timeout while waiting for ACK(0)/OACK" occured the first time and did not occur again.
2020-08-02 20:27:38 +08:00
Joseph C. Lehner
55452bb753
More fuzzing related changes
2020-07-07 10:10:47 +02:00
Joseph C. Lehner
c0c951f4a8
Merge branch 'master' of github.com:jclehner/nmrpflash
2020-07-06 18:15:44 +02:00
Joseph C. Lehner
ec29ee610d
Fuzzing related changes
2020-07-06 18:14:41 +02:00
Joseph C. Lehner
feb5c63986
Merge pull request #39 from benejoseph/master
...
Updated documentation.
2020-07-06 11:29:08 +02:00
Joseph C. Lehner
913f261a0c
Update README.md
2020-07-06 11:28:30 +02:00
Joseph C. Lehner
a79d405340
Update README.md
2020-07-06 11:27:04 +02:00
Benjamin Joseph
8a26cdf4b1
Updated documentation.
...
From painful experiences and eventual success
success.
2020-07-04 10:33:25 -07:00
Joseph C. Lehner
442f74b2d6
Update README.md
2020-05-26 16:26:19 +02:00
Joseph C. Lehner
9bb6324cd2
Update README.md
2020-05-11 22:49:57 +02:00
Joseph C. Lehner
7bbb247167
Update README.md
2020-05-11 22:23:31 +02:00
Joseph C. Lehner
b6cb61054b
Update README.md
2020-05-11 16:50:10 +02:00
Joseph C. Lehner
ee88cee0c8
Update README.md
2020-05-11 16:25:22 +02:00
Joseph C. Lehner
7d901d078f
Merge pull request #37 from real-dam/cross-pkg-config
...
Improve cross-building by honoring PKG_CONFIG from environment
2020-05-11 16:20:26 +02:00
Joseph C. Lehner
7f75f8bebc
Merge pull request #35 from real-dam/standalone-version
...
support compiling outside of git checkout
2020-05-11 16:19:36 +02:00
Joseph C. Lehner
44a2d08210
Merge pull request #34 from real-dam/init-intf_addr
...
avoid possible use of uninitialized intf_addr in nmrp_do()
2020-05-11 16:18:13 +02:00
Joseph C. Lehner
d13fe79bf2
Merge pull request #33 from sleiss/patch-1
...
nmrpflash works on EX6150v2.
2020-05-11 16:15:20 +02:00
Joseph C. Lehner
24b621dee9
Merge branch 'master' into patch-1
2020-05-11 16:15:00 +02:00
Joseph C. Lehner
dcef47a334
Merge pull request #31 from tonin/patch-1
...
Succesfully tested on EX6120 to flash an OpenWRT image
2020-05-11 16:13:49 +02:00
Damyan Ivanov
1679444dce
Improve cross-building by honoring PKG_CONFIG from environment
...
This is in response to Debian bug #960165 by Helmut Grohne.
<https://bugs.debian.org/960165 >
When cross-building, another pkg-config is used that accounts for the target
architecture.
The patch makes it possible to supply that via the PKG_CONFIG environment
variable and defaults to 'pkg-config' so no such variable defaults to
native build.
2020-05-10 07:26:31 +00:00
Damyan Ivanov
9f1a6027b4
support compiling outside git checkout
...
When building nmrpflash for Debian, there is no 'git' command available,
and there is no '.git' directory either. This makes the build emit
warnings from the $(shell) calls in VERSION variable in the Makefile
and breaks the '-V' option.
The change in this patch accounts for missing 'git' command and resorts
to using a STANDALONE_VERSION environment variable which in turn is
provided by the package build mechanics.
This change has no effect when the git command is available and the
'.git' directory is present.
2020-04-19 06:07:13 +00:00
Damyan Ivanov
6396c33402
avoid possible use of uninitialized intf_addr in nmrp_do()
...
Silences a warning by gcc:
.
nmrp.c:462:7: warning: ‘intf_addr’ may be used uninitialized in this function [-Wmaybe-uninitialized]
462 | if (ethsock_ip_add(sock, intf_addr, ipmask.s_addr, &ip_undo) != 0) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2020-04-19 06:02:22 +00:00
Simon Leiß
bdcb297609
nmrpflash works on EX6150v2.
2020-04-16 21:57:27 +02:00
Antoine Delvaux
268374bdcd
Succesfully tested on EX6120 to flash an OpenWRT image
2020-04-15 19:24:49 +00:00
Joseph C. Lehner
e95526d06c
Don't print messages on fake-packet receipt
2020-03-06 18:43:03 +01:00
Joseph C. Lehner
00505bc516
Update readme
2020-03-02 14:25:09 +01:00
Joseph C. Lehner
cf95657f5d
Add TFTP upload spinner
2020-03-02 14:21:02 +01:00
Joseph C. Lehner
79daac1e22
Always show opt length in Wireshark dissector
2020-03-02 11:47:05 +01:00
Joseph C. Lehner
490da10d04
Exit after successful upload in blind mode
2020-03-02 11:29:54 +01:00
Joseph C. Lehner
aca33657c0
Clarify comment regarding default IP
2020-03-02 09:58:56 +01:00
Joseph C. Lehner
1f3a435eb7
Update help text and readme
2020-03-02 09:41:56 +01:00
Joseph C. Lehner
da9700c71d
Use shorter TFTP timeout in blind mode
2020-03-02 09:30:27 +01:00
Joseph C. Lehner
30a2f28f1a
Change select_fd args to microseconds
2020-03-02 08:45:21 +01:00
Joseph C. Lehner
9a9abfc07c
Don't use -t timeout for TFTP transfers
2020-03-02 08:34:44 +01:00
Joseph C. Lehner
4c376a76f8
Fix mac handling in blind mode
2020-03-01 22:32:26 +01:00
Joseph C. Lehner
ddebe8979e
Extend blind mode to TFTP
2020-03-01 21:57:24 +01:00
Joseph C. Lehner
ccd4b0204b
Blind mode improvements
2020-03-01 21:48:18 +01:00
Joseph C. Lehner
0ab6b37b9c
Add blind mode (-B)
2020-03-01 20:08:37 +01:00
Joseph C. Lehner
f301e1727e
Send ADVERTISE and CONFIG_ACK in one go
2020-02-29 23:33:47 +01:00
Joseph C. Lehner
46c56b75e2
OSX -> MacOS
2020-01-09 21:28:28 +01:00
Joseph C. Lehner
47817a6dd7
Merge branch 'master' of github.com:jclehner/nmrpflash
2020-01-09 21:21:26 +01:00
Joseph C. Lehner
62e0e312eb
Update README.md
2020-01-09 21:19:11 +01:00
Joseph C. Lehner
8753d9ec59
Update README.md
2020-01-09 21:17:11 +01:00
Joseph C. Lehner
53e911292d
Update README.md
2020-01-09 21:16:29 +01:00