Philipp Riederer
40bec28d83
Merge pull request #31 from toelke/renovate/debian-12.x
chore(deps): update debian docker tag to v12
5 months ago
renovate[bot]
8141c1988e
chore(deps): update debian docker tag to v12
5 months ago
Philipp Riederer
5f5b0ac148
Merge pull request #30 from toelke/renovate/configure
chore: Configure Renovate
5 months ago
renovate[bot]
bf8e9f93f3
Add renovate.json
5 months ago
Philipp Riederer
4c31c7a92e
handle disk full
2 years ago
Philipp Riederer
127bfdfef5
pull out common function
2 years ago
Philipp Riederer
d28f3c4def
update the tester to debian 11
2 years ago
Philipp Riederer
0df95e2b41
Merge pull request #28 from Schafwolle/fb-valgrind-fix
fixed unitalized warning of valgrind and optimized dockerfile
3 years ago
Vitus Birkmeir
3f2133023e
Revert "optimzed Dockerfile"
This reverts commit 1a93415b66
.
3 years ago
Vitus Birkmeir
1a93415b66
optimzed Dockerfile
1. use apt-get instead of apt as apt API is not stable
2. use 1 line per argument to follow docker best practise
3. use wget instead of ADD to ensure ff14.zip is not download during
each build run (it is save to assume ff14.zip never changes)
4. only COPY source files need for build instead of entire repository
3 years ago
Vitus Birkmeir
364770b7e4
fixed: uninitalized error of valgrind
fixed the valgrind warning:
Conditional jump or move depends on uninitialised value(s)
at 0x11271E: check_fs (ff.c:3301)
by 0x1127C7: find_volume (ff.c:3325)
by 0x1129B0: mount_volume (ff.c:3427)
by 0x112FAD: f_mount (ff.c:3680)
by 0x10D7DC: main (main.c:139)
3 years ago
Vitus Birkmeir
84c1570c4a
show filename and linenumber in valgrind output
use "-g3" to build the binary with debug option
to allow valgrind to resolve the address
3 years ago
Philipp Riederer
b1ecef9b2d
Merge pull request #27 from Schafwolle/fb-warning-fix
added gcc Warnings checks to test-in-docker build
3 years ago
Vitus Birkmeir
eec613a9f3
fixed warnings cause by common compiler options
ftpd.c (trim trailing spaces)
vfs.c (added suggested parentheses)
fixed prototype of main() function
3 years ago
Vitus Birkmeir
260d8354d5
fixed format warning for printf()
cast size_t to unsigned to avoid issues caused by
64 bit systems mixed with 32 bit once.
cast pointer to unsigned long to ensure 64bit will
be printed on linux x64
3 years ago
Vitus Birkmeir
fe9ec960b4
fixed unused parameter warning
(void) parameter cast is a common way to suppress unused warning
3 years ago
Vitus Birkmeir
1fc1f4ff91
added common warnigs levels to test build
The gcc options -Wall, -Wextra and -Werror are common build option.
The options should be used to ensure warning free building.
3 years ago
Philipp Riederer
4633559720
Merge pull request #26 from Schafwolle/fb-support-cpp
support usage within C++
3 years ago
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