Hot answers tagged

3

Does it go through the FTP messages to find out the data-connection tuple (dst_ip, dst_prt, src_ip, src_prt) ? I know that is way too impractical to implement. Yes, that is exactly what it does. Why do you think it's too impractical? You can look at the code yourself here: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/net/netfilter/...


2

The chances are that the unexpected inbound traffic is simply acknowledgements of the data you're uploading. Assuming it's TCP/IP rather than UDP, of course. I would have thought 100:1 a little strong, but it is quite plausible. Best thing might be to run something like ntop to see whether the incoming traffic addresses match the outbound traffic.


2

On WinSCP, transport compression can be enabled in the SSH page on the Advanced Site Settings dialog: For an OpenSSH command line client, the -C option to sftp (passed through as the -C option to ssh) provides transport compression for the session.


2

Since you’re using Debian, if your repositories are set up correctly (and they are by default), apt-get source ftpd will download and extract the source code for your ftpd package in a sub-directory of the current directory — on Debian 9, that will be ftpd-0.17-36. This works for any package downloaded from the Debian repositories, as long as the ...


1

man netrc writes, If a macro named init is defined, it is automatically executed as the last step in the auto-login process It looks like this is what you need, machine WHATEVER.gov login anonymous password none macdef init cd "/some/directory" get …whatever… quit


1

I'm trying to check what the maximum transfer speed is over ethernet. In my local network I want the communication between a Linux device and a Microsoft machine. suggest you keep it simple, you don't need to do a stream an infinite zeros. Install samba [server] on linux and open a shared folder such as /tmp. On linux if it's a systemd type system, do a ...


1

sftpsrv=/usr/libexec/openssh/sftp-server cp -a ${sftpsrv} ${sftpsrv}.super chmod 500 ${sftpsrv}.super chown someuser ${sftpsrv}.super /sbin/setcap cap_dac_read_search+ep ${sftpsrv}.super You'll need to connect to your server this way: sftp -s /usr/libexec/openssh/sftp-server.super address And it works! ls -la /tmp | grep TEST drwx------. 2 root root ...


1

Have you've looked at rsync? That may server you better than ftp. Rsync is a fast and extraordinarily versatile file copying tool. It can copy locally, to/from another host over any remote shell, or to/from a remote rsync daemon.


1

The **** SSL_connect: sslv3 alert illegal parameter message looks like a local one. lftp's default SSL/TLS settings might include a reference to SSLv3 (hopefully to disable it!), but the SSL/TLS library lftp is compiled to use may already have removed SSLv3 support completely, so it no longer recognizes the SSLv3 keyword. If you start lftp and run set -a, ...


1

From the man page: ftp:ssl-force (boolean) if true, refuse to send password in clear when server does not support SSL. Default is false. So that option isn't going to help you. You need to tell lftp which of the many supported protocols you wish to use. When you connect with the open command you provide the scheme and host in the <scheme>://<...


1

In olden days when the world was young, pterodactyls still flew in the sky, a computer that was able to connect to a IP network cost $100,000 (and those were real dollars) and most of the system administrators of those machines knew each other on a first name basis, it was decided to partition the 65535 TCP ports (or is it 65536) into two groups and make ...


1

The script fetches five text files from the FTP server running at 10.232.164.17, on port 3147. It store all files in the local directory /usr/tmp. That's about it. The individual FTP commands, like get, lcd etc. are documented in the ftp manual on your system (see man ftp).


1

In /etc/vsftpd.conf set seccomp_sandbox=NO Fixed this for me, reported as https://bugzilla.opensuse.org/show_bug.cgi?id=1173275


Only top voted, non community-wiki answers of a minimum length are eligible