Joseph C. Lehner
|
d6e3f15d55
|
Call nmrp_discard only when neccessary
Speeds up TFTP transfers on Windows
|
2024-09-30 12:35:42 +02:00 |
|
Joseph C. Lehner
|
c234a07d67
|
Decrease default TFTP timeout
|
2023-10-23 16:43:53 +02:00 |
|
Joseph C. Lehner
|
a0c1624125
|
Don't try to drain late NMRP packets in one go
|
2023-10-23 16:43:53 +02:00 |
|
Joseph C. Lehner
|
d4c3fc51ee
|
Revert "Reduce TFTP packet timeout"
This reverts commit 96d9f189e2 .
This should address #137.
|
2023-10-12 16:32:12 +02:00 |
|
Joseph C. Lehner
|
96d9f189e2
|
Reduce TFTP packet timeout
|
2023-07-27 19:43:24 +02:00 |
|
Joseph C. Lehner
|
bf7ed6e8e1
|
Increase TFTP rx timeout
This reverts a previous change from MAX to MIN.
|
2023-07-27 09:42:16 +02:00 |
|
Joseph C. Lehner
|
7d3124fb4b
|
Drain NMRP rx buffer before TFTP upload
More debug log spam
|
2023-07-26 11:43:41 +02:00 |
|
Joseph C. Lehner
|
a2267b7351
|
Display size of uploaded firmware file
|
2021-05-31 17:58:55 +02:00 |
|
Joseph C. Lehner
|
e7a0e6a814
|
Fix compiler warning on Windows
|
2020-12-09 11:45:37 +01:00 |
|
Joseph C. Lehner
|
7b398453db
|
Set SO_REUSEADDR on TFTP socket
|
2020-09-15 18:53:39 +02:00 |
|
Joseph C. Lehner
|
ec3f738fb6
|
Add -S <offset> option
|
2020-09-10 15:11:04 +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
|
cf95657f5d
|
Add TFTP upload spinner
|
2020-03-02 14:21:02 +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
|
ddebe8979e
|
Extend blind mode to TFTP
|
2020-03-01 21:57:24 +01:00 |
|
Joseph C. Lehner
|
0373577005
|
Warn about TFTP block rollover
|
2019-09-05 15:38:34 +02:00 |
|
Joseph C. Lehner
|
f5d0a4ffe1
|
Revert "Prevent block counter rollover"
This reverts commit 49b156879a .
|
2019-09-05 15:26:23 +02:00 |
|
Joseph C. Lehner
|
73a1c11f4f
|
Revert "Conditionally enable TFTP block rollover hack"
This reverts commit b3ba1c016b .
|
2019-09-05 15:26:01 +02:00 |
|
Joseph C. Lehner
|
68fb396869
|
Revert "Hopefully fix TFTP rollover hack"
This reverts commit 1724f8b4c0 .
|
2019-09-05 15:25:57 +02:00 |
|
Joseph C. Lehner
|
1724f8b4c0
|
Hopefully fix TFTP rollover hack
|
2019-08-01 20:58:04 +02:00 |
|
Joseph C. Lehner
|
b3ba1c016b
|
Conditionally enable TFTP block rollover hack
|
2019-05-02 12:25:08 +02:00 |
|
Joseph C. Lehner
|
49b156879a
|
Prevent block counter rollover
|
2019-04-29 10:51:38 +02:00 |
|
Joseph C. Lehner
|
2d4a5948fc
|
Fix tftp block rollover
|
2019-04-26 20:43:45 +02:00 |
|
Joseph C. Lehner
|
30d1e63c6c
|
Fix pkt_mkopt
|
2017-05-31 16:11:49 +02:00 |
|
Joseph C. Lehner
|
1b27e82a10
|
Don't crash while fuzzing
|
2017-05-15 09:03:55 +02:00 |
|
Joseph C. Lehner
|
eafbf90d15
|
More tftp fixes
|
2017-01-18 13:17:42 +01:00 |
|
Joseph C. Lehner
|
6835881e80
|
Ignore case in OACK packets
|
2017-01-13 10:18:29 +01:00 |
|
Joseph C. Lehner
|
3753023819
|
tftp fixes
|
2017-01-13 09:37:39 +01:00 |
|
Joseph C. Lehner
|
549e0da06f
|
Don't accept any blksize
|
2017-01-12 17:08:43 +01:00 |
|
Joseph C. Lehner
|
a4fb23fdba
|
More tftp improvements
|
2017-01-07 08:33:47 +01:00 |
|
Joseph C. Lehner
|
0a2eb2a8c9
|
Further simplifications
|
2017-01-07 08:18:40 +01:00 |
|
Joseph C. Lehner
|
1cfd98fb27
|
Use correct blksize
|
2017-01-07 08:05:05 +01:00 |
|
Joseph C. Lehner
|
448ede01f1
|
Simplify code
|
2017-01-06 22:05:18 +01:00 |
|
Joseph C. Lehner
|
79f3c1ff56
|
Implement TFTP blksize option
|
2017-01-06 19:01:50 +01:00 |
|
Joseph C. Lehner
|
1d6013fce4
|
Fix uninitialized file descriptor
|
2016-11-21 21:24:53 +01:00 |
|
Joseph C. Lehner
|
98fdb9e63c
|
Use safe SIGINT handler
|
2016-11-20 12:22:15 +01:00 |
|
Joseph C. Lehner
|
644a9ce55f
|
Block in ethsock_add_ip on Windows
|
2016-11-13 08:20:43 +01:00 |
|
Joseph C. Lehner
|
482b03db23
|
Windows fixes
|
2016-11-12 19:04:09 +01:00 |
|
Joseph C. Lehner
|
8c54437357
|
Fix crash related to arg->file_remote
|
2016-08-10 12:33:08 +02:00 |
|
Joseph C. Lehner
|
6d108dc2ed
|
Open firmware images in binary mode on Windows
|
2016-08-10 12:32:50 +02:00 |
|
Joseph C. Lehner
|
283742f117
|
Fix stack overflow
|
2016-02-18 19:30:31 +01:00 |
|
Joseph C. Lehner
|
758d301c31
|
Shorten pathname in status message
|
2016-02-17 12:19:43 +01:00 |
|
Joseph C. Lehner
|
dc961b598a
|
Longer timeout for initial WRQ
|
2016-02-17 12:19:31 +01:00 |
|
Joseph C. Lehner
|
54e4724b9a
|
Add and use file_remote
|
2016-02-12 14:37:26 +01:00 |
|
Joseph C. Lehner
|
98607d141b
|
nmrpd_args::filename -> file_local
|
2016-02-12 14:16:55 +01:00 |
|
Joseph C. Lehner
|
41cc1b6885
|
Some changes related to "-f -"
|
2016-02-12 13:25:53 +01:00 |
|
Joseph C. Lehner
|
936219b598
|
Support reading from stdin using "-f -"
|
2016-02-11 22:36:22 +01:00 |
|