Commit graph

248 commits

Author SHA1 Message Date
Joseph C. Lehner
612741ae36 Call pcap_freecode on filter 2016-02-08 14:34:32 +01:00
Joseph C. Lehner
8dc5b3164b Always cleanup winsock 2016-02-08 14:06:04 +01:00
Joseph C. Lehner
e0cec73349 Use mac_to_str 2016-02-08 13:57:57 +01:00
Joseph C. Lehner
933ef7bab2 Finally make it work on Windows 2016-02-08 13:57:39 +01:00
Joseph C. Lehner
35b5b36a89 Add LDFLAGS 2016-02-08 13:42:45 +01:00
Joseph C. Lehner
36571f8047 Add .gitignore 2016-02-08 12:00:34 +01:00
Joseph C. Lehner
b934c55975 Use signed int for ackblock 2016-02-08 11:56:51 +01:00
Joseph C. Lehner
7fb13a8e12 More verbose error message 2016-02-08 11:55:49 +01:00
Joseph C. Lehner
917b2d9578 Adjust tftp_put return values 2016-02-08 11:55:25 +01:00
Joseph C. Lehner
cac4275e60 Gracefully handle ACKs from the future 2016-02-08 11:54:32 +01:00
Joseph C. Lehner
020c0c67f2 Prettier output 2016-02-08 11:00:39 +01:00
Joseph C. Lehner
48c7830721 Fix filter specification 2016-02-08 11:00:24 +01:00
Joseph C. Lehner
2b96c091d7 Remove ethsock.h from DevCpp project 2016-02-08 10:01:49 +01:00
Joseph C. Lehner
d210bbebf5 Correctly transmit empty file 2016-02-07 22:14:04 +01:00
Joseph C. Lehner
8c25c63efd Add debugging printfs for tftp packets 2016-02-07 21:29:37 +01:00
Joseph C. Lehner
39b0033325 Fix TFTP code 2016-02-07 21:21:43 +01:00
Joseph C. Lehner
8cab20c17e Switch ports after the initial handshake if required 2016-02-07 21:17:12 +01:00
Joseph C. Lehner
6da9b2b160 Prettify -L output 2016-02-07 21:06:09 +01:00
Joseph C. Lehner
ba285c462a Make it compile on Linux again 2016-02-07 21:05:49 +01:00
Joseph C. Lehner
5e37406b6d Be less verbose 2016-02-06 20:01:12 +02:00
Joseph C. Lehner
5da29e5109 Fix whitespace errors 2016-02-06 19:49:36 +02:00
Joseph C. Lehner
e315ecf3d2 Don't call msg_hdr_ntoh twice 2016-02-06 19:32:46 +02:00
Joseph C. Lehner
a83a32ddf9 Use correct type 2016-02-05 20:34:14 +02:00
Joseph C. Lehner
525b91d363 Add option to test TFTP upload 2016-02-05 20:28:07 +02:00
Joseph C. Lehner
4beccaac20 Remove ethsock.h 2016-02-05 20:27:48 +02:00
Joseph C. Lehner
a1c9cc6e7f Initialize winsock in main.c 2016-02-05 20:23:16 +02:00
Joseph C. Lehner
590894deac Fix Winsock recvfrom() timeouts 2016-02-05 20:20:57 +02:00
Joseph C. Lehner
0fbee16f65 Better error messages on Windows 2016-02-05 20:20:23 +02:00
Joseph C. Lehner
7196e445ca Fix winsock shutdown call 2016-02-05 18:43:50 +02:00
Joseph C. Lehner
bf804d60a9 x_basename -> leafname 2016-02-05 18:41:00 +02:00
Joseph C. Lehner
402cf2dffe Resend intial WRQs 2016-02-05 18:38:48 +02:00
Joseph C. Lehner
486a3a2e69 Unexport sock_set_rx_timeout 2016-02-05 18:38:26 +02:00
Joseph C. Lehner
ad7f69f0c5 Better error messages 2016-02-05 14:31:57 +02:00
Joseph C. Lehner
a0382e9245 Use strrchr instead of rindex 2016-02-05 14:22:57 +02:00
Joseph C. Lehner
f3cd34f1b9 Don't redefine PACKED 2016-02-05 14:22:56 +02:00
Joseph C. Lehner
d3dfcc954d Fall back to sane filename instead of bailing out 2016-02-05 14:22:56 +02:00
Joseph C. Lehner
ea850215ab Gracefully close the socket 2016-02-05 14:22:56 +02:00
Joseph C. Lehner
74ab06f9e8 Sanitize filename (netascii, basename) 2016-02-04 10:39:17 +02:00
Joseph C. Lehner
9ad7767b6a Fix compile error on Windows 2016-02-04 10:04:25 +02:00
Joseph C. Lehner
d8dc957723 Update include and lib path 2016-02-03 17:48:19 +02:00
Joseph C. Lehner
63979329ef Update readme 2016-02-03 17:46:26 +02:00
Joseph C. Lehner
98b8bc3c74 Adjust usage message on Windows 2016-02-03 17:33:51 +02:00
Joseph C. Lehner
95858bc3ba Show either GUID or alias on Windows 2016-02-03 17:33:04 +02:00
Joseph C. Lehner
c2f583f0da #include cleanup 2016-02-03 17:32:15 +02:00
Joseph C. Lehner
bcfac84ece Update readme 2016-02-02 21:57:31 +02:00
Joseph C. Lehner
1348e29ba3 Update DevCpp project file 2016-02-02 21:43:31 +02:00
Joseph C. Lehner
7dce485863 Support -v switch 2016-02-02 21:36:42 +02:00
Joseph C. Lehner
43643aa3de Fix pcap_getevent warning 2016-02-02 21:35:54 +02:00
Joseph C. Lehner
8ce09f61a1 Display IP in interface list 2016-02-02 21:35:25 +02:00
Joseph C. Lehner
9a10f024df Add support for interface aliases on Windows 2016-02-02 17:20:24 +02:00