Damyan Ivanov [Sun, 10 May 2020 07:13:35 +0000 (07:13 +0000)]
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.
Joseph C. Lehner [Fri, 6 Mar 2020 17:43:03 +0000 (18:43 +0100)]
Don't print messages on fake-packet receipt
Joseph C. Lehner [Mon, 2 Mar 2020 13:25:09 +0000 (14:25 +0100)]
Update readme
Joseph C. Lehner [Mon, 2 Mar 2020 13:21:02 +0000 (14:21 +0100)]
Add TFTP upload spinner
Joseph C. Lehner [Mon, 2 Mar 2020 10:47:05 +0000 (11:47 +0100)]
Always show opt length in Wireshark dissector
Joseph C. Lehner [Mon, 2 Mar 2020 10:29:54 +0000 (11:29 +0100)]
Exit after successful upload in blind mode
Joseph C. Lehner [Mon, 2 Mar 2020 08:58:14 +0000 (09:58 +0100)]
Clarify comment regarding default IP
Joseph C. Lehner [Mon, 2 Mar 2020 08:41:56 +0000 (09:41 +0100)]
Update help text and readme
Joseph C. Lehner [Mon, 2 Mar 2020 08:30:27 +0000 (09:30 +0100)]
Use shorter TFTP timeout in blind mode
Joseph C. Lehner [Mon, 2 Mar 2020 07:45:21 +0000 (08:45 +0100)]
Change select_fd args to microseconds
Joseph C. Lehner [Mon, 2 Mar 2020 07:34:44 +0000 (08:34 +0100)]
Don't use -t timeout for TFTP transfers
Joseph C. Lehner [Sun, 1 Mar 2020 21:32:26 +0000 (22:32 +0100)]
Fix mac handling in blind mode
Joseph C. Lehner [Sun, 1 Mar 2020 20:55:59 +0000 (21:55 +0100)]
Extend blind mode to TFTP
Joseph C. Lehner [Sun, 1 Mar 2020 20:48:18 +0000 (21:48 +0100)]
Blind mode improvements
Joseph C. Lehner [Sun, 1 Mar 2020 19:08:37 +0000 (20:08 +0100)]
Add blind mode (-B)
Joseph C. Lehner [Sat, 29 Feb 2020 20:41:15 +0000 (21:41 +0100)]
Send ADVERTISE and CONFIG_ACK in one go
Joseph C. Lehner [Thu, 9 Jan 2020 20:28:28 +0000 (21:28 +0100)]
OSX -> MacOS
Joseph C. Lehner [Thu, 9 Jan 2020 20:21:26 +0000 (21:21 +0100)]
Merge branch 'master' of github.com:jclehner/nmrpflash
Joseph C. Lehner [Thu, 9 Jan 2020 20:19:11 +0000 (21:19 +0100)]
Update README.md
Joseph C. Lehner [Thu, 9 Jan 2020 20:17:11 +0000 (21:17 +0100)]
Update README.md
Joseph C. Lehner [Thu, 9 Jan 2020 20:16:29 +0000 (21:16 +0100)]
Update README.md
Joseph C. Lehner [Mon, 9 Sep 2019 11:31:45 +0000 (13:31 +0200)]
Cleanup
Joseph C. Lehner [Sat, 7 Sep 2019 08:55:12 +0000 (10:55 +0200)]
Show netmask as /%d
Joseph C. Lehner [Sat, 7 Sep 2019 08:54:16 +0000 (10:54 +0200)]
Remove useless goto
Joseph C. Lehner [Sat, 7 Sep 2019 07:59:01 +0000 (09:59 +0200)]
Update DevCpp project
Joseph C. Lehner [Thu, 5 Sep 2019 14:08:01 +0000 (16:08 +0200)]
Fix compile error
Joseph C. Lehner [Thu, 5 Sep 2019 13:58:25 +0000 (15:58 +0200)]
Update readme
Joseph C. Lehner [Thu, 5 Sep 2019 13:43:54 +0000 (15:43 +0200)]
Don't print each keep-alive request on a new line
Joseph C. Lehner [Thu, 5 Sep 2019 13:38:29 +0000 (15:38 +0200)]
Warn about TFTP block rollover
Joseph C. Lehner [Thu, 5 Sep 2019 13:26:23 +0000 (15:26 +0200)]
Revert "Prevent block counter rollover"
This reverts commit
49b156879aa32332adbec94e0a21c37b8b4485a1.
Joseph C. Lehner [Thu, 5 Sep 2019 13:26:01 +0000 (15:26 +0200)]
Revert "Conditionally enable TFTP block rollover hack"
This reverts commit
b3ba1c016b8fb2c970da9aae3fcb48fb4c255c94.
Joseph C. Lehner [Thu, 5 Sep 2019 13:25:57 +0000 (15:25 +0200)]
Revert "Hopefully fix TFTP rollover hack"
This reverts commit
1724f8b4c02b08190eed1e5c4bc0f52c580c5f99.
Joseph C. Lehner [Sun, 4 Aug 2019 20:24:38 +0000 (22:24 +0200)]
Update README.md
Joseph C. Lehner [Thu, 1 Aug 2019 18:58:04 +0000 (20:58 +0200)]
Hopefully fix TFTP rollover hack
Joseph C. Lehner [Thu, 2 May 2019 10:33:27 +0000 (12:33 +0200)]
Update README.md
Joseph C. Lehner [Thu, 2 May 2019 10:33:03 +0000 (12:33 +0200)]
Update README.md
Joseph C. Lehner [Thu, 2 May 2019 10:32:14 +0000 (12:32 +0200)]
Update README.md
Joseph C. Lehner [Thu, 2 May 2019 10:18:22 +0000 (12:18 +0200)]
Conditionally enable TFTP block rollover hack
Joseph C. Lehner [Mon, 29 Apr 2019 08:51:38 +0000 (10:51 +0200)]
Prevent block counter rollover
Joseph C. Lehner [Fri, 26 Apr 2019 18:48:34 +0000 (20:48 +0200)]
Drop 32-bit support on macOS
Joseph C. Lehner [Fri, 26 Apr 2019 18:43:45 +0000 (20:43 +0200)]
Fix tftp block rollover
Joseph C. Lehner [Sun, 3 Feb 2019 13:34:38 +0000 (05:34 -0800)]
Update README.md
Joseph C. Lehner [Tue, 11 Sep 2018 14:39:13 +0000 (16:39 +0200)]
Bump to 0.9.13
Joseph C. Lehner [Tue, 11 Sep 2018 14:31:31 +0000 (16:31 +0200)]
Correctly set subnet mask on Linux
Joseph C. Lehner [Tue, 11 Sep 2018 14:31:00 +0000 (16:31 +0200)]
Fix unused warning
Joseph C. Lehner [Mon, 10 Sep 2018 18:30:28 +0000 (20:30 +0200)]
Use SIOCxARP instead of libnl for Linux ARP stuff (WIP)
Joseph C. Lehner [Sun, 8 Jul 2018 20:05:42 +0000 (22:05 +0200)]
Add LICENSE
Joseph C. Lehner [Wed, 31 May 2017 14:11:49 +0000 (16:11 +0200)]
Fix pkt_mkopt
Joseph C. Lehner [Tue, 16 May 2017 19:10:41 +0000 (21:10 +0200)]
Update README.md
Joseph C. Lehner [Mon, 15 May 2017 07:03:55 +0000 (09:03 +0200)]
Don't crash while fuzzing
Joseph C. Lehner [Wed, 19 Apr 2017 13:02:33 +0000 (15:02 +0200)]
Bump version
Joseph C. Lehner [Sun, 16 Apr 2017 13:51:14 +0000 (15:51 +0200)]
Revert "Use pcap_setdirection instead of filter"
This reverts commit
590e7a079f097cabe19705aa8b22f486e1ca2d44.
Fixes #5.
Joseph C. Lehner [Thu, 6 Apr 2017 14:43:16 +0000 (16:43 +0200)]
Update README.md
Joseph C. Lehner [Wed, 5 Apr 2017 19:20:40 +0000 (21:20 +0200)]
Remove debugging stuff
Joseph C. Lehner [Sun, 2 Apr 2017 14:58:25 +0000 (16:58 +0200)]
Update README.md
Joseph C. Lehner [Sun, 2 Apr 2017 12:14:40 +0000 (14:14 +0200)]
Fix syntax error
Joseph C. Lehner [Sun, 2 Apr 2017 10:29:19 +0000 (12:29 +0200)]
Implement ethsock_arp_* on other platforms
Fixes #4.
Joseph C. Lehner [Sat, 18 Mar 2017 09:29:39 +0000 (10:29 +0100)]
Don't use full path for file_remote
Joseph C. Lehner [Sat, 25 Feb 2017 09:35:45 +0000 (10:35 +0100)]
Update readme
Joseph C. Lehner [Sat, 25 Feb 2017 09:01:04 +0000 (10:01 +0100)]
Use libnl to add/remove IPs on Linux
Joseph C. Lehner [Thu, 23 Feb 2017 17:38:15 +0000 (18:38 +0100)]
Use pcap_setdirection instead of filter
Joseph C. Lehner [Thu, 23 Feb 2017 17:29:55 +0000 (18:29 +0100)]
Log bogus NMRP responses
Joseph C. Lehner [Tue, 21 Feb 2017 17:30:00 +0000 (18:30 +0100)]
Don't require root/admin for -L
Joseph C. Lehner [Tue, 21 Feb 2017 16:55:39 +0000 (17:55 +0100)]
Fix issues in new nmrp code
Joseph C. Lehner [Sun, 19 Feb 2017 11:41:49 +0000 (12:41 +0100)]
More consistent function names
Joseph C. Lehner [Sun, 19 Feb 2017 10:34:01 +0000 (11:34 +0100)]
Fix packet length validation
Joseph C. Lehner [Sun, 19 Feb 2017 10:15:30 +0000 (11:15 +0100)]
Prettyify -L output on Windows
Joseph C. Lehner [Sun, 19 Feb 2017 10:12:22 +0000 (11:12 +0100)]
Fix get_intf_info NULL arg
Joseph C. Lehner [Sun, 19 Feb 2017 10:02:15 +0000 (11:02 +0100)]
Bump version
Joseph C. Lehner [Sun, 19 Feb 2017 10:01:04 +0000 (11:01 +0100)]
Actually enable -R option
Joseph C. Lehner [Sun, 19 Feb 2017 10:00:39 +0000 (11:00 +0100)]
Fix new nmrp code
Joseph C. Lehner [Sat, 18 Feb 2017 17:14:04 +0000 (18:14 +0100)]
Cleanup nmrp code
Joseph C. Lehner [Thu, 16 Feb 2017 11:08:51 +0000 (13:08 +0200)]
Ensure that NMRP packets are at least 64 bytes
Joseph C. Lehner [Mon, 13 Feb 2017 14:12:22 +0000 (16:12 +0200)]
Merge branch 'master' of github.com:jclehner/nmrpflash
Joseph C. Lehner [Sat, 28 Jan 2017 09:44:33 +0000 (10:44 +0100)]
Improve BSD bridge detection portability
Joseph C. Lehner [Sat, 28 Jan 2017 09:44:33 +0000 (10:44 +0100)]
Improve BSD bridge detection portability
Joseph C. Lehner [Sat, 28 Jan 2017 09:09:53 +0000 (10:09 +0100)]
Add BSD bridge interface detection
Joseph C. Lehner [Tue, 24 Jan 2017 19:36:03 +0000 (20:36 +0100)]
Disable STP on Linux bridge interfaces
Joseph C. Lehner [Wed, 18 Jan 2017 12:22:31 +0000 (13:22 +0100)]
Don't leak admin group SID memory
Joseph C. Lehner [Fri, 13 Jan 2017 10:48:21 +0000 (11:48 +0100)]
More tftp fixes
Joseph C. Lehner [Fri, 13 Jan 2017 10:41:43 +0000 (11:41 +0100)]
Bump version
Joseph C. Lehner [Fri, 13 Jan 2017 10:39:12 +0000 (11:39 +0100)]
Merge branch 'master' of github.com:jclehner/nmrpflash
Joseph C. Lehner [Fri, 13 Jan 2017 10:22:57 +0000 (11:22 +0100)]
Show exit prompt in Windows when run from console
Joseph C. Lehner [Fri, 13 Jan 2017 10:22:57 +0000 (11:22 +0100)]
Show exit prompt in Windows when run from console
Joseph C. Lehner [Fri, 13 Jan 2017 09:18:29 +0000 (10:18 +0100)]
Ignore case in OACK packets
Joseph C. Lehner [Fri, 13 Jan 2017 08:35:28 +0000 (09:35 +0100)]
tftp fixes
Joseph C. Lehner [Tue, 10 Jan 2017 19:16:09 +0000 (20:16 +0100)]
Don't accept any blksize
Joseph C. Lehner [Sat, 7 Jan 2017 07:33:47 +0000 (08:33 +0100)]
More tftp improvements
Joseph C. Lehner [Sat, 7 Jan 2017 07:15:42 +0000 (08:15 +0100)]
Further simplifications
Joseph C. Lehner [Sat, 7 Jan 2017 07:05:05 +0000 (08:05 +0100)]
Use correct blksize
Joseph C. Lehner [Fri, 6 Jan 2017 21:05:18 +0000 (22:05 +0100)]
Simplify code
Joseph C. Lehner [Fri, 6 Jan 2017 16:28:42 +0000 (17:28 +0100)]
Implement TFTP blksize option
Joseph C. Lehner [Tue, 22 Nov 2016 18:14:41 +0000 (19:14 +0100)]
Fuzzing-related changes, mostly
Joseph C. Lehner [Mon, 21 Nov 2016 20:24:53 +0000 (21:24 +0100)]
Fix uninitialized file descriptor
Joseph C. Lehner [Mon, 21 Nov 2016 20:24:37 +0000 (21:24 +0100)]
Fix OS detection
Joseph C. Lehner [Sun, 20 Nov 2016 19:51:07 +0000 (20:51 +0100)]
Add Wireshark NMRP dissector
Joseph C. Lehner [Sun, 20 Nov 2016 19:50:05 +0000 (20:50 +0100)]
Pimp makefile
Joseph C. Lehner [Sun, 20 Nov 2016 19:49:58 +0000 (20:49 +0100)]
Add missing license info
Joseph C. Lehner [Sun, 20 Nov 2016 19:48:40 +0000 (20:48 +0100)]
Fix ethsock issues
Joseph C. Lehner [Sun, 20 Nov 2016 11:10:55 +0000 (12:10 +0100)]
Use safe SIGINT handler