Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have set up iptraf to run in the background and log all packets from/to eth0 to a logfile ( iptaf -s eth0 -B ). Everythings works fine, but traffic on port 20 ( ftp data ) is _not_ beeing logged! Why? Port 21, 22, 25, 80, ... works fine.
Here's the log from my client when I connect to the ftp server.
Quote:
230 Login successful. Have fun.
SYST
215 UNIX Type: L8
REST 100
350 Restart position accepted.
REST 0
350 Restart position accepted.
PWD
257 "/"
TYPE A
200 ASCII tastes bad, dude.
PASV
227 Entering Passive Mode (213,83,55,54,192,29)
LIST
150 Here comes the directory listing.
226 Directory send OK.
From "Building Linux and OpenBSD Firewalls" (Sonnenreich, Yates) Wiley Press
Quote:
In passive mode the command channel is still port 21 on the server but the traditional data channel on port 20 is not used. Instead, when the client requests passive mode the server picks an unused local TCP port between port 1024 and 65535 and tells the client."
ok, danke.....jetzt weiss ich schonmal warum ftp-data in meinem logfile nicht auftaucht. Kann ich meinen ftp-server zwingen, bestimmte ports zu benutzen, sodass ich die dann mitloggen kann? Ich hab vsftpd laufen.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.