vsftpd failed because in bad state

Pagina: 1
Acties:

Onderwerpen

Vraag


Acties:
  • 0 Henk 'm!

Verwijderd

Topicstarter
Mijn vraag
Ik heb een aantal addiotional IP adressen aangeschaft voor mijn server. Ik wil deze graag gebruiken om te verbinden naar mijn server, dit werkte echt niet en daarom heb ik in de config het listening gedeelte aangepast. Ik begrijp het niet helemaal want ik krijg het niet werkend, ik heb alles gezet naar waar het eerst op stond en nu restart the vsftpd service niet meer.

Relevante software en hardware die ik gebruik
vsftpd en Centos

Wat ik al gevonden of geprobeerd heb
Alles terugzetten naar wat het was.

Error die in het log staat: Job for vsftpd.service failed because the control process exited with error code. See "systemctl status vsftpd.service" and "journalctl -xe" for details

Journal:
code:
1
2
3
4
5
6
7
8
9
10
11
May 02 12:57:58 vps336411.ovh.net systemd[1]: vsftpd.service: control process exited, code=exited status=2
May 02 12:57:58 vps336411.ovh.net systemd[1]: Failed to start Vsftpd ftp daemon.
-- Subject: Unit vsftpd.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit vsftpd.service has failed.
-- 
-- The result is failed.
May 02 12:57:58 vps336411.ovh.net systemd[1]: Unit vsftpd.service entered failed state.
May 02 12:57:58 vps336411.ovh.net systemd[1]: vsftpd.service failed.


Wat wil ik?
Dat de FTP server te benaderen is op alle IPs die gekoppeld zijn aan mijn server.

Config:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
# Example config file /etc/vsftpd/vsftpd.conf
#
# The default compiled in settings are fairly paranoid. This sample file
# loosens things up a bit, to make the ftp daemon more usable.
# Please see vsftpd.conf.5 for all compiled in defaults.
#
# READ THIS: This example file is NOT an exhaustive list of vsftpd options.
# Please read the vsftpd.conf.5 manual page to get a full idea of vsftpd's
# capabilities.
#
# Allow anonymous FTP? (Beware - allowed by default if you comment this out).
anonymous_enable=YES
#
# Uncomment this to allow local users to log in.
# When SELinux is enforcing check for SE bool ftp_home_dir
local_enable=YES
#
# Uncomment this to enable any form of FTP write command.
write_enable=YES
#
# Default umask for local users is 077. You may wish to change this to 022,
# if your users expect that (022 is used by most other ftpd's)
local_umask=022
#
# Uncomment this to allow the anonymous FTP user to upload files. This only
# has an effect if the above global write enable is activated. Also, you will
# obviously need to create a directory writable by the FTP user.
# When SELinux is enforcing check for SE bool allow_ftpd_anon_write, allow_ftpd_full_access
#anon_upload_enable=YES
#
# Uncomment this if you want the anonymous FTP user to be able to create
# new directories.
#anon_mkdir_write_enable=YES
#
# Activate directory messages - messages given to remote users when they
# go into a certain directory.
dirmessage_enable=YES
#
# Activate logging of uploads/downloads.
xferlog_enable=YES
#
# Make sure PORT transfer connections originate from port 20 (ftp-data).
connect_from_port_20=NO
#
# If you want, you can arrange for uploaded anonymous files to be owned by
# a different user. Note! Using "root" for uploaded files is not
# recommended!
#chown_uploads=YES
#chown_username=whoever
#
# You may override where the log file goes if you like. The default is shown
# below.
#xferlog_file=/var/log/xferlog
#
# If you want, you can have your log file in standard ftpd xferlog format.
# Note that the default log file location is /var/log/xferlog in this case.
xferlog_std_format=YES
#
# You may change the default value for timing out an idle session.
#idle_session_timeout=600
#
# You may change the default value for timing out a data connection.
#data_connection_timeout=120
#
# It is recommended that you define on your system a unique user which the
# ftp server can use as a totally isolated and unprivileged user.
#nopriv_user=ftpsecure
#
# Enable this and the server will recognise asynchronous ABOR requests. Not
# recommended for security (the code is non-trivial). Not enabling it,
# however, may confuse older FTP clients.
#async_abor_enable=YES
#
# By default the server will pretend to allow ASCII mode but in fact ignore
# the request. Turn on the below options to have the server actually do ASCII
# mangling on files when in ASCII mode.
# Beware that on some FTP servers, ASCII support allows a denial of service
# attack (DoS) via the command "SIZE /big/file" in ASCII mode. vsftpd
# predicted this attack and has always been safe, reporting the size of the
# raw file.
# ASCII mangling is a horrible feature of the protocol.
#ascii_upload_enable=YES
#ascii_download_enable=YES
#
# You may fully customise the login banner string:
#ftpd_banner=Welcome to blah FTP service.
#
# You may specify a file of disallowed anonymous e-mail addresses. Apparently
# useful for combatting certain DoS attacks.
#deny_email_enable=YES
# (default follows)
#banned_email_file=/etc/vsftpd/banned_emails
#
# You may specify an explicit list of local users to chroot() to their home
# directory. If chroot_local_user is YES, then this list becomes a list of
# users to NOT chroot().
# (Warning! chroot'ing can be very dangerous. If using chroot, make sure that
# the user does not have write access to the top level directory within the
# chroot)
chroot_local_user=YES
#chroot_list_enable=YES
# (default follows)
#chroot_list_file=/etc/vsftpd/chroot_list
#
# You may activate the "-R" option to the builtin ls. This is disabled by
# default to avoid remote users being able to cause excessive I/O on large
# sites. However, some broken FTP clients such as "ncftp" and "mirror" assume
# the presence of the "-R" option, so there is a strong case for enabling it.
#ls_recurse_enable=YES
#
# When "listen" directive is enabled, vsftpd runs in standalone mode and
# listens on IPv4 sockets. This directive cannot be used in conjunction
# with the listen_ipv6 directive.
listen=NO
#
# This directive enables listening on IPv6 sockets. By default, listening
# on the IPv6 "any" address (::) will accept connections from both IPv6
# and IPv4 clients. It is not necessary to listen on *both* IPv4 and IPv6
# sockets. If you want that (perhaps because you want to listen on specific
# addresses) then you must run two copies of vsftpd with two configuration
# files.
# Make sure, that one of the listen options is commented !!
listen_ipv6=YES

pam_service_name=vsftpd
userlist_enable=YES
tcp_wrappers=YES

[ Voor 0% gewijzigd door Hero of Time op 02-05-2017 14:05 . Reden: Config is zo veel beter te lezen in code blokken ]

Alle reacties


Acties:
  • 0 Henk 'm!

  • Hero of Time
  • Registratie: Oktober 2004
  • Laatst online: 00:20

Hero of Time

Moderator LNX

There is only one Legend

Ik heb je post maar een stukje aangepast zodat het leesbaarder is.

Verder is het wel handig om de uitvoer van 'systemctl status vsftpd' te hebben of de output van z'n log. Heb je ook het laatste stukje goed gelezen? Je laat vsftpd nu alleen op IPv6 luisteren, niet op IPv4. Als je geen IPv6 hebt, zal het falen te starten.

Commandline FTW | Tweakt met mate


Acties:
  • 0 Henk 'm!

Verwijderd

Topicstarter
Dit is de error code:

May 02 14:45:41 vps336411.ovh.net systemd[1]: Starting Vsftpd ftp daemon...
May 02 14:45:41 vps336411.ovh.net systemd[1]: vsftpd.service: control process exited, code=exited status=2
May 02 14:45:41 vps336411.ovh.net systemd[1]: Failed to start Vsftpd ftp daemon.
May 02 14:45:41 vps336411.ovh.net systemd[1]: Unit vsftpd.service entered failed state.
May 02 14:45:41 vps336411.ovh.net systemd[1]: vsftpd.service failed.

Ik heb het volgende weer aangepast maar het werkt nog niet:
# When "listen" directive is enabled, vsftpd runs in standalone mode and
# listens on IPv4 sockets. This directive cannot be used in conjunction
# with the listen_ipv6 directive.
listen=YES
#
# This directive enables listening on IPv6 sockets. By default, listening
# on the IPv6 "any" address (::) will accept connections from both IPv6
# and IPv4 clients. It is not necessary to listen on *both* IPv4 and IPv6
# sockets. If you want that (perhaps because you want to listen on specific
# addresses) then you must run two copies of vsftpd with two configuration
# files.
# Make sure, that one of the listen options is commented !!
#listen_ipv6=YES


Misschien vsftpd helemaal verwijderen en opnieuw installeren???

Acties:
  • 0 Henk 'm!

  • Demo
  • Registratie: Juni 2000
  • Laatst online: 20-09 14:09

Demo

Probleemschietende Tovenaar

Wat geeft vsftpd aan als je het gewoon op de voorgrond probeert te starten?

Unix doesn't prevent a user from doing stupid things, because that would necessarily prevent them from doing brilliant things.
while true ; do echo -n "bla" ; sleep 1 ; done


Acties:
  • 0 Henk 'm!

Verwijderd

Topicstarter
Demo schreef op dinsdag 2 mei 2017 @ 16:30:
Wat geeft vsftpd aan als je het gewoon op de voorgrond probeert te starten?
systemctl start vsftpd
Job for vsftpd.service failed because the control process exited with error code. See "systemctl status vsftpd.service" and "journalctl -xe" for details.

Acties:
  • 0 Henk 'm!

  • Demo
  • Registratie: Juni 2000
  • Laatst online: 20-09 14:09

Demo

Probleemschietende Tovenaar

Nee, gewoon zelf vsftpd starten zonder systemd.
code:
1
vsftpd /etc/vsftpd/vsftpd.conf

Unix doesn't prevent a user from doing stupid things, because that would necessarily prevent them from doing brilliant things.
while true ; do echo -n "bla" ; sleep 1 ; done


Acties:
  • 0 Henk 'm!

Verwijderd

Topicstarter
Demo schreef op dinsdag 2 mei 2017 @ 16:53:
Nee, gewoon zelf vsftpd starten zonder systemd.
code:
1
vsftpd /etc/vsftpd/vsftpd.conf
500 OOPS: bad bool value in config file for: anonymous_enable

Als ik de lijn comment en jouw command gebruik krijg ik geen error.
Alleen wel als ik wil verbinden: http://puu.sh/vDeQw.png

[ Voor 19% gewijzigd door Verwijderd op 02-05-2017 17:33 ]


Acties:
  • 0 Henk 'm!

  • CAPSLOCK2000
  • Registratie: Februari 2003
  • Laatst online: 07:09

CAPSLOCK2000

zie teletekst pagina 888

Staat er nog iets in /var/log/vstftpd.log? (Ik hoop dat ik de locatie van die file goed heb).

Werkte vsftpd wel voordat je die extra ip-adressen kreeg of heeft dat er niks mee te maken?

Is er een firewall actief? Zo ja, heb je die aangepast? (Zo nee, vergeet dat niet te regelen)

Kun je vsftpd op de juiste poort zien luisteren als je 'ss -tl' draait?

This post is warranted for the full amount you paid me for it.


Acties:
  • 0 Henk 'm!

Verwijderd

Topicstarter
Ik ben weer een stukje verder, het was inderdaad iets met de firewall.

Nu krijg ik deze error: http://puu.sh/vDXRS.png

Acties:
  • 0 Henk 'm!

  • Hero of Time
  • Registratie: Oktober 2004
  • Laatst online: 00:20

Hero of Time

Moderator LNX

There is only one Legend

Dat is leuk en aardig, maar op de server zou je ook het een en ander moeten zien wat de client doet als die je server al kan benaderen. Zolang je client geen verbinding kan maken met de server, heb je bar weinig aan de meldingen van de client om te zien of de server nou functioneert of niet. Fix dat eerst eens en test lokaal met een ftp client. Simpelweg 'ftp localhost' of 'ftp <ip van server>' moet al genoeg zijn. Werkt dat, dan pas ga je op je client zoeken waarom het daar niet werkt.

Nu zijn we bezig met twee issues terwijl het op je Windows systeem puur een client probleem kan zijn en je met een andere FTP client wel gewoon verbinding krijgt.

Commandline FTW | Tweakt met mate


Acties:
  • 0 Henk 'm!

Verwijderd

Topicstarter
CAPSLOCK2000 schreef op woensdag 3 mei 2017 @ 00:52:
Staat er nog iets in /var/log/vstftpd.log? (Ik hoop dat ik de locatie van die file goed heb).

Werkte vsftpd wel voordat je die extra ip-adressen kreeg of heeft dat er niks mee te maken?

Is er een firewall actief? Zo ja, heb je die aangepast? (Zo nee, vergeet dat niet te regelen)

Kun je vsftpd op de juiste poort zien luisteren als je 'ss -tl' draait?
Dat bestand bestaat niet op mijn server, ss -tl laat niets zien over de FTP server.

Het ftp localhost command geeft het volgende weer:
Login failed.
Name (localhost:root):

Status geeft nu de volgende output:
● vsftpd.service - Vsftpd ftp daemon
Loaded: loaded (/usr/lib/systemd/system/vsftpd.service; disabled; vendor preset: disabled)
Active: active (running) since Wed 2017-05-03 07:24:49 CEST; 1h 4min ago
Process: 7670 ExecStart=/usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf (code=exited, status=0/SUCCESS)
Main PID: 7671 (vsftpd)
CGroup: /system.slice/vsftpd.service
└─7671 /usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf
May 03 07:24:49 vps336411.ovh.net systemd[1]: Starting Vsftpd ftp daemon...
May 03 07:24:49 vps336411.ovh.net systemd[1]: Started Vsftpd ftp daemon.

[ Voor 39% gewijzigd door Verwijderd op 03-05-2017 08:57 ]


Acties:
  • 0 Henk 'm!

  • Sneezydevil
  • Registratie: Januari 2002
  • Laatst online: 08-09 10:28
Klinkt een beetje als poort 21 staat open, maar andere poorten die nodig zijn niet.

Maar probeer eerst zoals Hero of Time ook al zei of het wel lokaal werkt. Zodra je verbinding hebt kun je met ls of dir een directory listing opvragen (Daar heeft je Windows cliënt tenslotte moeite mee).

Acties:
  • 0 Henk 'm!

Verwijderd

Topicstarter
Sneezydevil schreef op woensdag 3 mei 2017 @ 08:58:
Klinkt een beetje als poort 21 staat open, maar andere poorten die nodig zijn niet.

Maar probeer eerst zoals Hero of Time ook al zei of het wel lokaal werkt. Zodra je verbinding hebt kun je met ls of dir een directory listing opvragen (Daar heeft je Windows cliënt tenslotte moeite mee).
FTP localhost geeft het volgende weer:
Login failed.
Name (localhost:root):

Alle poorten zijn op het IP adres geopend.

Acties:
  • 0 Henk 'm!

  • Sneezydevil
  • Registratie: Januari 2002
  • Laatst online: 08-09 10:28
Ik zag inderdaad je aangepaste post, probeer eens het volgende format:

ftp ftp://username:password@localhost

of

ftp -n localhost

Die laatste schakelt autologin uit.

[ Voor 22% gewijzigd door Sneezydevil op 03-05-2017 09:04 ]


Acties:
  • 0 Henk 'm!

Verwijderd

Topicstarter
Sneezydevil schreef op woensdag 3 mei 2017 @ 09:02:
Ik zag inderdaad je aangepaste post, probeer eens het volgende format:

ftp ftp://username:password@localhost
Ik krijg een nieuwe regel in SSH, verder gebeurde er niets, geen output.

Acties:
  • 0 Henk 'm!

  • Joran
  • Registratie: December 2005
  • Laatst online: 19-09 16:11

Joran

<3 natalee

Als het goed is kan je dan nu weer de error/access logs van vsftpd bekijken. Je lijkt namelijk wel verbinding te krijgen, maar daarna gaat er wat fout.

Wat je kan doen is je logbestand in een aparte shell 'open' zetten (tail -f /pad/naar/vsftpdlogbestand) en dan in een andere shell de login proberen. Als het goed is zie je dan precies wat er fout gaat.

Send me your gameboys


Acties:
  • 0 Henk 'm!

Verwijderd

Topicstarter
Joran schreef op woensdag 3 mei 2017 @ 09:18:
Als het goed is kan je dan nu weer de error/access logs van vsftpd bekijken. Je lijkt namelijk wel verbinding te krijgen, maar daarna gaat er wat fout.

Wat je kan doen is je logbestand in een aparte shell 'open' zetten (tail -f /pad/naar/vsftpdlogbestand) en dan in een andere shell de login proberen. Als het goed is zie je dan precies wat er fout gaat.
Ik kan geen log bestand vinden:

user@213.32.66.20 ~$ locate vsftpd
/etc/vsftpd
/etc/logrotate.d/vsftpd
/etc/pam.d/vsftpd
/etc/vsftpd/ftpusers
/etc/vsftpd/user_list
/etc/vsftpd/vsftpd.conf
/etc/vsftpd/vsftpd.conf.rpmsave
/etc/vsftpd/vsftpd_conf_migrate.sh
/root/.acme.sh/deploy/vsftpd.sh
/usr/lib/systemd/system/vsftpd.service
/usr/lib/systemd/system/vsftpd.target
/usr/lib/systemd/system/vsftpd@.service
/usr/lib/systemd/system-generators/vsftpd-generator
/usr/sbin/vsftpd
/usr/share/doc/vsftpd-3.0.2
/usr/share/doc/vsftpd-3.0.2/AUDIT
/usr/share/doc/vsftpd-3.0.2/BENCHMARKS
/usr/share/doc/vsftpd-3.0.2/BUGS
/usr/share/doc/vsftpd-3.0.2/COPYING
/usr/share/doc/vsftpd-3.0.2/Changelog
/usr/share/doc/vsftpd-3.0.2/EXAMPLE
/usr/share/doc/vsftpd-3.0.2/FAQ
/usr/share/doc/vsftpd-3.0.2/INSTALL
/usr/share/doc/vsftpd-3.0.2/LICENSE
/usr/share/doc/vsftpd-3.0.2/README
/usr/share/doc/vsftpd-3.0.2/README.security
/usr/share/doc/vsftpd-3.0.2/REWARD
/usr/share/doc/vsftpd-3.0.2/SECURITY
/usr/share/doc/vsftpd-3.0.2/SIZE
/usr/share/doc/vsftpd-3.0.2/SPEED
/usr/share/doc/vsftpd-3.0.2/TODO
/usr/share/doc/vsftpd-3.0.2/TUNING
/usr/share/doc/vsftpd-3.0.2/vsftpd.xinetd
/usr/share/doc/vsftpd-3.0.2/EXAMPLE/INTERNET_SITE
/usr/share/doc/vsftpd-3.0.2/EXAMPLE/INTERNET_SITE_NOINETD
/usr/share/doc/vsftpd-3.0.2/EXAMPLE/PER_IP_CONFIG
/usr/share/doc/vsftpd-3.0.2/EXAMPLE/README
/usr/share/doc/vsftpd-3.0.2/EXAMPLE/VIRTUAL_HOSTS
/usr/share/doc/vsftpd-3.0.2/EXAMPLE/VIRTUAL_USERS
/usr/share/doc/vsftpd-3.0.2/EXAMPLE/VIRTUAL_USERS_2
/usr/share/doc/vsftpd-3.0.2/EXAMPLE/INTERNET_SITE/README
/usr/share/doc/vsftpd-3.0.2/EXAMPLE/INTERNET_SITE/README.configu
ration
/usr/share/doc/vsftpd-3.0.2/EXAMPLE/INTERNET_SITE/vsftpd.conf
/usr/share/doc/vsftpd-3.0.2/EXAMPLE/INTERNET_SITE/vsftpd.xinetd
/usr/share/doc/vsftpd-3.0.2/EXAMPLE/INTERNET_SITE_NOINETD/README
/usr/share/doc/vsftpd-3.0.2/EXAMPLE/INTERNET_SITE_NOINETD/README
.configuration
/usr/share/doc/vsftpd-3.0.2/EXAMPLE/INTERNET_SITE_NOINETD/vsftpd
.conf
/usr/share/doc/vsftpd-3.0.2/EXAMPLE/PER_IP_CONFIG/README
/usr/share/doc/vsftpd-3.0.2/EXAMPLE/PER_IP_CONFIG/README.configu
ration
/usr/share/doc/vsftpd-3.0.2/EXAMPLE/PER_IP_CONFIG/hosts.allow
/usr/share/doc/vsftpd-3.0.2/EXAMPLE/VIRTUAL_HOSTS/README
/usr/share/doc/vsftpd-3.0.2/EXAMPLE/VIRTUAL_USERS/README
/usr/share/doc/vsftpd-3.0.2/EXAMPLE/VIRTUAL_USERS/README.configu
ration
/usr/share/doc/vsftpd-3.0.2/EXAMPLE/VIRTUAL_USERS/logins.txt
/usr/share/doc/vsftpd-3.0.2/EXAMPLE/VIRTUAL_USERS/vsftpd.conf
/usr/share/doc/vsftpd-3.0.2/EXAMPLE/VIRTUAL_USERS/vsftpd.pam
/usr/share/doc/vsftpd-3.0.2/EXAMPLE/VIRTUAL_USERS_2/README
/usr/share/doc/vsftpd-3.0.2/SECURITY/DESIGN
/usr/share/doc/vsftpd-3.0.2/SECURITY/IMPLEMENTATION
/usr/share/doc/vsftpd-3.0.2/SECURITY/OVERVIEW
/usr/share/doc/vsftpd-3.0.2/SECURITY/TRUST
/usr/share/man/man5/vsftpd.conf.5.gz
/usr/share/man/man8/vsftpd.8.gz

Acties:
  • 0 Henk 'm!

  • Joran
  • Registratie: December 2005
  • Laatst online: 19-09 16:11

Joran

<3 natalee

Aangezien het bij het inloggen fout gaat zou je naar /var/log/auth.log kunnen kijken. Dat is waar mijn vsftpd ook foute inlogs neer gooit:

code:
1
2
May  3 09:33:55 joran vsftpd: pam_unix(vsftpd:auth): check pass; user unknown
May  3 09:33:55 joran vsftpd: pam_unix(vsftpd:auth): authentication failure; logname= uid=0 euid=0 tty=ftp ruser=testt rhost=435.308.195.774

Send me your gameboys


Acties:
  • 0 Henk 'm!

Verwijderd

Topicstarter
Joran schreef op woensdag 3 mei 2017 @ 09:36:
Aangezien het bij het inloggen fout gaat zou je naar /var/log/auth.log kunnen kijken. Dat is waar mijn vsftpd ook foute inlogs neer gooit:

code:
1
2
May  3 09:33:55 joran vsftpd: pam_unix(vsftpd:auth): check pass; user unknown
May  3 09:33:55 joran vsftpd: pam_unix(vsftpd:auth): authentication failure; logname= uid=0 euid=0 tty=ftp ruser=testt rhost=435.308.195.774
Ik heb geen auth.log ook niet te vinden met locate.

Acties:
  • 0 Henk 'm!

  • Joran
  • Registratie: December 2005
  • Laatst online: 19-09 16:11

Joran

<3 natalee

Oops, ik heb Debian. Op centos heet 'ie /var/log/secure

edit:
Je kan trouwens ook /var/log/xferlog bekijken. Dit is het transferlog van vsftpd. Bij mij laat ie ook failed en geslaagde logins zien.

[ Voor 56% gewijzigd door Joran op 03-05-2017 09:57 ]

Send me your gameboys


Acties:
  • 0 Henk 'm!

Verwijderd

Topicstarter
Joran schreef op woensdag 3 mei 2017 @ 09:53:
Oops, ik heb Debian. Op centos heet 'ie /var/log/secure

edit:
Je kan trouwens ook /var/log/xferlog bekijken. Dit is het transferlog van vsftpd. Bij mij laat ie ook failed en geslaagde logins zien.
Ik kan hier niets vinden over vsftpd...

Heel vsftpd maar opnieuw installeren?

[ Voor 5% gewijzigd door Verwijderd op 03-05-2017 10:04 ]


Acties:
  • 0 Henk 'm!

  • Demo
  • Registratie: Juni 2000
  • Laatst online: 20-09 14:09

Demo

Probleemschietende Tovenaar

grep -R vsftpd /var/log/*

Unix doesn't prevent a user from doing stupid things, because that would necessarily prevent them from doing brilliant things.
while true ; do echo -n "bla" ; sleep 1 ; done


Acties:
  • 0 Henk 'm!

Verwijderd

Topicstarter
code:
1
2
3
/var/log/secure-20170430:Apr 27 08:02:40 vps336411 vsftpd[18865]: pam_unix(vsftpd:auth): authentication failure; logname= uid=0 euid=0 tty=ftp ruser=guest rhost=::ffff:178.218.207.9
/var/log/secure-20170430:Apr 27 09:17:30 vps336411 vsftpd[19163]: pam_unix(vsftpd:auth): check pass; user unknown
/var/log/secure-20170430:Apr 27 09:17:30 vps336411 vsftpd[19163]: pam_unix(vsftpd:auth): authentication failure; logname= uid=0 euid=0 tty=ftp ruser=login rhost=::ffff:47.247.8.213


Mijn logins staat er verder niet tussen, geen idee wie dit zijn.


Edit: Is nog oud ook, staat niets van vandaag.


Edit:

Dit lijkt er wel op, staat alleen geen tijd bij.

code:
1
2
/var/log/audit/audit.log:type=CRED_ACQ msg=audit(1493798779.368:1416): pid=10600 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=pam_listfile,pam_shells,pam_unix acct="developer" exe="/usr/sbin/vsftpd" hostna
me=::ffff:213.46.100.164 addr=::ffff:213.46.100.164 terminal=ftp res=success'

[ Voor 28% gewijzigd door Verwijderd op 03-05-2017 14:22 ]


Acties:
  • 0 Henk 'm!

  • ElCondor
  • Registratie: Juni 2001
  • Laatst online: 19-09 20:03

ElCondor

Geluk is Onmisbaar

Hint: zet al je log output even tussen [code] [/code] tags, dan is het leesbaarder...
d:)b

Hay 365 dias en un año y 366 occasiones para festejar (Boliviaans spreekwoord)


Acties:
  • +1 Henk 'm!

Verwijderd

Topicstarter
ElCondor schreef op woensdag 3 mei 2017 @ 14:12:
Hint: zet al je log output even tussen [code] [/code] tags, dan is het leesbaarder...
d:)b
Aangepast!
Pagina: 1