aboutsummaryrefslogtreecommitdiff
path: root/src/tftpd.rs
Commit message (Collapse)AuthorAge
* Bump copyright yearsReiner Herrmann2020-01-19
|
* Some cleanup as suggested by clippyReiner Herrmann2020-01-19
|
* Skip canonical path check when running chrootedReiner Herrmann2020-01-19
| | | | | | | | | | This works around musl's requirement of mounted /proc for running realpath(3), which is used by std::path::Path.canonicalize(). See also: https://www.openwall.com/lists/musl/2019/10/08/1 The check is not required, as only files inside the chrooted directory can be served.
* Check for minimum length of requestReiner Herrmann2019-09-15
|
* Drop -d parameter and allow appending directory at end of command lineReiner Herrmann2019-08-29
|
* Use dyn keyword for trait objects to fix deprecation warningsReiner Herrmann2019-08-29
|
* Simplify command line argument parsingReiner Herrmann2019-03-26
|
* Simplify error handling in some placesReiner Herrmann2019-03-25
|
* chroot to destination directory when having sufficient permissionsReiner Herrmann2019-03-24
|
* Use buffered file reading and fix the behaviour of read returning less data ↵Reiner Herrmann2019-03-10
| | | | than expected
* Implement netascii transfer mode (in server, client and for tsize option)Reiner Herrmann2019-03-10
|
* Use configured dir for allowed file checkReiner Herrmann2019-03-09
|
* Implement Default trait for tftpd ConfigurationReiner Herrmann2019-03-09
|
* Display version number in usage textReiner Herrmann2019-03-08
|
* Use threadpool to handle multiple clients in parallelReiner Herrmann2019-03-08
|
* Apply some of the code formatting by rustfmtReiner Herrmann2019-03-07
|
* Clean up as suggested by clippyReiner Herrmann2019-03-07
|
* Parse received errors and other minor error logging improvementsReiner Herrmann2019-03-03
|
* Implement Transfer Size Option (RFC 2349, part 2)Reiner Herrmann2019-03-03
|
* Implement Option Extension for clientReiner Herrmann2019-03-03
|
* Don't hardcode opcode values everywhereReiner Herrmann2019-03-03
|
* Beautify server usage a bitReiner Herrmann2019-03-02
|
* Move main tftp module into lib to be used as crateReiner Herrmann2019-03-02
| | | | | Otherwise compiler throws warnings about unused symbols, if not every public function is used in every module importing it.
* Implement TFTP clientReiner Herrmann2019-03-02
| | | | no support for TFTP Options yet
* Bind to IPv6 socketReiner Herrmann2019-02-28
| | | | | On Linux this will accept connections for both IPv4 and IPv6, if /proc/sys/net/ipv6/bindv6only is not set (which is the default).
* Implement Blocksize Option (RFC 2348)Reiner Herrmann2019-02-27
|
* Move generic TFTP functionality into separate module and server parts into ↵Reiner Herrmann2019-02-27
| | | | struct
* Implement Option Extension (RFC 2347)Reiner Herrmann2019-02-27
| | | | | Parse options at the end of read/write requests and acknowledge the supported ones.
* Parse options at the end of the requestReiner Herrmann2019-02-26
|
* Change directory after dropping privileges, to detect permission problems earlyReiner Herrmann2019-02-26
|
* Add copyright headerReiner Herrmann2019-02-26
|
* Don't overwrite files if they already existReiner Herrmann2019-02-26
|
* Leave retransmit loop directly after successReiner Herrmann2019-02-26
|
* Make operation mode configurableReiner Herrmann2019-02-26
|
* Use same socket for error sending to match TIDs (source ports)Reiner Herrmann2019-02-26
|
* Implement file upload (WRQ)Reiner Herrmann2019-02-26
|
* Allow setting different base directory on command lineReiner Herrmann2019-02-25
|
* Parse command line and make some parameters configurableReiner Herrmann2019-02-24
|
* Add timeout and retransmission of unacked dataReiner Herrmann2019-02-24
|
* Bind to real tftp port (69) and drop privileges immediately afterReiner Herrmann2019-02-24
|
* Allow only files below current working directoryReiner Herrmann2019-02-24
|
* Improved error handlingReiner Herrmann2019-02-24
|
* Initial tftpd implementation with RRQ supportReiner Herrmann2019-02-24