Schafwolle
12f81d74ec
fixed commit encoding
use german Ö character again
3 years ago
Schafwolle
dff5bb53a0
support usage of headers within C++
added missing extern "C" to support usage of the header within C++
3 years ago
Philipp Tölke
618bf816c1
saner ordering of operations in the test-Dockerfile
4 years ago
Philipp Tölke
efdf97520a
bigger tcp windows+mss for testing
4 years ago
Philipp Tölke
386f659c27
close the directory before discarding it
closes #25
4 years ago
Philipp Toelke
881fe232d1
add docker tester
currently a bit buggy, will work on this
4 years ago
Philipp Toelke
58d7eed802
use lwip-debugging
4 years ago
Philipp Toelke
a50984551d
make time-handling compatible to linux
this may break stuff...
4 years ago
Philipp Tölke
8032def548
Merge branch 'Fix-Passive-Mode'
5 years ago
Philipp Tölke
47f10af1ee
Fix Passive Mode
Author: Mark Walters <mwalters1024@gmail.com>
Using passive mode caused a pcb to be left open after the FTP session terminated.
Added new datalistenpcb to ftpd_msgstate to be listening pcb during passive mode: opened in cmd_pasv() and closed in ftpd_dataclose().
Uncommented PASV command in ftpd_commands[].
5 years ago
Philipp Tölke
7bb0f0af95
Added extra error handling & debug messages
to open_dataconnection(), cmd_rnfr() and ftpd_msgaccept()
Author: Mark Walters <mwalters1024@gmail.com>
5 years ago
Philipp Tölke
cf3deefda3
Fixed month_table[] name of Dec.
Author: Mark Walters <mwalters1024@gmail.com>
5 years ago
Philipp Tölke
ba93e8cffa
Merge pull request #19 from m-seker/patch-9
Free resources on remote close
8 years ago
Murat Seker
5987e9f455
Free resources on remote close
Fix typo
8 years ago
Murat Seker
e198c97abc
Free resources on remote close
Deallocate resources immediately if client closes connection.
8 years ago
Philipp Tölke
1e439e9045
Merge pull request #18 from m-seker/patch-8
Remove redundant binding
8 years ago
Murat Seker
871f506d42
Remove redundant binding
Binding to data port is not necessary since server does not support passive mode
8 years ago
Philipp Tölke
539c42d607
Fix memory leak after client quits session
closes #12
8 years ago
Philipp Tölke
34bc800257
Merge pull request #16 from mseker-issd/patch-6
Fix unhandled TYPE command
8 years ago
Murat Seker
ba5d20ee52
Accept only binary mode transfers
Do not accept if clients wishes to communicate in a mode which is not binary
8 years ago
Philipp Tölke
38605d1874
Merge pull request #17 from mseker-issd/patch-7
Fix wrong initialization of tm.tm_mon and tm_year
8 years ago
Philipp Tölke
5aa3a91c69
Also fix wrong initialization of tm.tm_year
"tm_year The number of years since 1900."
8 years ago
Murat Seker
dcdc39168f
Fix wrong initialization of tm.tm_mon
According to https://linux.die.net/man/3/gmtime , the month-field of struct tm ranges from 0 to 11.
8 years ago
Murat Seker
3019a6d331
Fix unhandled TYPE command
FileZilla and most other FTP clients are not able to cope with unhandled TYPE command. Return success instead of command not implemented.
8 years ago
Philipp Tölke
b5d810ebad
Merge pull request #13 from mseker-issd/patch-3
Redundant close of file
8 years ago
Philipp Tölke
f1b6feb882
Merge pull request #14 from mseker-issd/patch-4
Uninitialized variable causes problems on FileZilla
8 years ago
Murat Seker
d8830c3540
Uninitialized variable causes problems on FileZilla
Uninitialized "dummy" variable causes wrong date text to be sent to clients and FileZilla can not cope with invalid dates (day > 31, month > 12). It assumes wrong date text as part of file names and makes it impossible to send-receive files since it uses wrongly parsed file names with RETR - STOR commands.
8 years ago
Murat Seker
d266cf666a
Redundant close of file
vfs_close is always called with NULL since fsd->vfs_file checked against NULL at the beginning of function
8 years ago
Philipp Tölke
5a0caf8d56
Merge pull request #11 from mseker-issd/patch-2
Fix linting problem: 'if' always evaluates to true; this is no change in behaviour.
8 years ago
Murat Seker
3f22965893
Update ftpd.c
PCLint Info 774: Boolean within 'if' always evaluates to True
8 years ago
Philipp Tölke
c90c17b305
Merge pull request #10 from mseker-issd/patch-1
Conditionally compile access to long name member of file structure.
8 years ago
Murat Seker
7cbf3e8e63
Update vfs.c
Hide long filename support variables if LFN is not enabled
8 years ago
Philipp Toelke
0fdd00bd1e
fix free of static memory
closes #9
8 years ago
Philipp Toelke
8b6e47324b
Remove use-after-free
9 years ago
Philipp Toelke
d0d380fbcb
update to new lwip-API
9 years ago
Philipp Toelke
a6634e4839
remove unused code
9 years ago
Philipp Toelke
07027c9e1c
Fix use before initialization in cmd_pasv()
fixes #4
9 years ago
toelke
7a6d077a3b
Fix memory leak of file descriptors
closes #3
10 years ago
Philipp Toelke
1e88f616c2
remove unnecessary comments
11 years ago
Philipp Toelke
288538a029
fix warnings found by clang
11 years ago
Philipp Toelke
f3414fc9af
fix spelling
11 years ago
Philipp Toelke
ae58bc6bcc
Add API-Code and README
11 years ago
Philipp Toelke
020be82247
Patch ftpd.c to work with current versions of lwip
11 years ago
Philipp Toelke
91f3b87a85
Initial commit of the original ftpd-files
11 years ago
Philipp Toelke
99562bf9c3
Fix license generated by github
11 years ago
toelke
7fdcb22175
Initial commit
11 years ago