Networking :: Active FTP Using Raw FTP Commands / Turn Off Passive Mode Using It?
Apr 1, 2009
Can anybody have an idea of an ftp client code using raw ftp commands.
Can anybody tell me how to turn off passive mode using raw ftp commands.
PASV is the command which turns on passive mode but there is no such alternative of active mode.
I have already tried using pasv_enable=NO in vsftpd.conf but that is not working.
i have a two node drbd cluster, while drbd1 is primary and drbd2 is slave i should make drbd1 slave and unmount drbd partition and make make drbd2 primary and mount drbd partition to see content on drbd2is it any way to automate it so as drbd1 goes down, drbd1 make itself primary and mount the partition?
I want to use FTP client (for example ncftp) to connect in active mode. I have firewall (iptables) on my laptop and most of time I am behind rooter. With outgoing packets and with passive mode all is working fine.But some sites accept only active mode.I could open some port range in firewall and in rooter for active data packets, but I don't know how to solve security issues.So how should I correctly manage active ftp connection?
How can I set data port range when opening active connection with ncftp (or maybe another ftp client)?How can I limit that incoming connections to that ports range is accepted only by ncftp or else dropped?
I want to make an Ubuntu box a completely passive sniffer. As such, I want the NIC to never send anything or replying to anyone on the network, while still being able to capture the network traffic using pcap.
I've just started experimenting with SSH tunnels. I wanted a way to connect to MySQL on our website VPS but wanted the connection encrypted rather than just using PHP's mysql_connect() function and connecting to the remote IP. This seems to be working great. I'm also looking into autossh to make sure that the tunnel gets reconnected when it drops.is there a command/utility that can list the currently active SSH tunnels? Be great if there was a way of terminating an active tunnel through a command as well. Or is it a case of manually digging through the process list and killing the specific PID like I have been?
I have a dns-323 linux device that's running pure-ftpd with SSL/TLS authentication. Pure-ftpd is sitting behind a linksys router with IP 192.168.1.51. Pure-ftpd is configured for port 8021 and passive port range 55562-55663. The linksys router is configure to forward port 8021 and the passive port range to 192.168.1.51.
From outside my network I can connect to the ftp server using the WAN address of the router. I'm using filezilla 2.2.32 as my client and I choose FTP w/ explicit TLS (no other option will connect). The client will authenticate successfully with pure-ftpd but once it sets up the passive data connection and tries to do a LIST of the root directory, there's a timeout. I'm assuming this is because the passive data connection is not working. In pure-ftpd, I tried changing the passive address that it reports, to be the WAN address of the router, but it did not make a difference. I included the log from filezilla below.
i'm having this problem:when i put Fedora to sleep the system disconnect all my usb (or so i think)basically i can't wake up my computer becouse there is no where to do it.it gets back to normal after i power it off/on...how can i fix this?please since i'm new both to fedora and linux try to be detailed with the explanations, or there is a good chance i won't understand a thing
Disclaimer: I have very little linux desktop experience...I've only used command line stuff for work in my previous life. I am joyfully coming off of a long addiction to MS but am having a bit of a hard time adjusting.
ISSUE: I can't seem to figure out how to turn off suspend mode. I have turned every setting I could find in the power management to "do nothing" and I have turned off all of my power mgmt options in the system bios. A "friend" suggested I remove HAL...which caused me to lose my secondary internal HD and all of my usb devices...and the issue persisted. Every 20 minutes of no action the screen blanks and my monitor goes into standby mode which is making watching movies in bed a less than relaxing experience.
Some background that may or may not be useful: I installed kubunutu 10.04 (2.6.32-28-generic) from cd on a fresh HD. Initially I had issues with the wireless network and alsa/pulse sound. I worked through those through much trial and error but the suspend issue persists. I've uninstalled and re-installed lots of packages I probably shouldn't have been messing with and would really like to avoid a reinstall as this seems to be the final fix I need to get things running the way I want them.
I am currently trying to turn off ordered data mode for ext3 filesystem. I want to shred some files and apparently this won't work with journaling on.
I can't seem to find any good explanations of what exactly "ordered data" means in terms of data recovery/security...or at least none that are written in simple n00b terms. It is all written in terms of disk crashes and whether old data will mix in with the new. It doesn't say whether one's cousin will be able to poke around and find some thought-it-was-deleted porno if he's on the computer.
Can someone step me through the process of turning this off using tune2fs? (if that is the best way to do it!) Do I have to revert to ext2? Can I turn it back on later? Will I lose data (for example, does the drive need to be reformated?) once this change is made? And how does one find, read, and delete/shred the journal itself? Is "ordered data" even a real problem for data recovery?
How to configure Linux text console to automatically turn of the monitor after some time? And by "text console" I mean that thing that you get on ctrl+alt+F[1-6], which is what you get whenever X11 is not running. And, no, I'm not using any framebuffer console (it's a plain, good and old 80x25 text-mode). Many years ago, I was using Slackware Linux, and it used to boot up in text-mode. Then you would manually run startx after the login. Anyway, the main login "screen" was the plain text-mode console, and I remember that the monitor used to turn off (energy saving mode, indicated by a blinking LED) after some time. Now I'm using Gentoo, and I have a similar setup.
The machine boots up in text-mode, and only rarely I need to run startx. I say this because this is mostly my personal Linux server, and there is no need to keep X11 running all the time. (which means: I don't want to use GDM/KDM or any other graphical login screen). But now, in this Gentoo text-mode console, the screen goes black after a while, but the monitor does not enter any energy-saving mode (the LED is always lit). Yes, I've waited long enough to verify this. Thus, my question is: how can I configure my current system to behave like the old one? In other words, how to make the text console trigger energy-saving mode of the monitor?
I installed fedora 13 in its LXDE flavor in my laptop. I noticed when it goes to save energy mode, the TFT retro-illumination is not turned off. The display just stays black with light. How to make the display to turn off when the system enters in save energy mode?
I'm trying to run ubuntu 11.04 (64-bit) on my hp pavilion tx2100ed but it won't boot. After the grub bootscreen it goes black and doesn't react to Ctrl-Alt F1 ..F4. Also booting the recovery mode doesn't work To be able to start the installer I had to use xforcevesa. Does any one know what this can be and how to solve it?
can i force x to start in vesa mode using grub commands?
out of no where it seems ubuntu no longer wants to cooperate when suspending/hibernating. the screen will just turn to a black screen without shutting down. each time i have to maually power down my laptop.
I ordered this USB 802.11n dongle for about $10 and am having problems.I found a firmware related bug (Bug #595455) that keeps it from working out of the box and got around that. I put the right firmware file in the right place and CAN CONNECT TO B or G Access Points.hen I put my AP in N-Only mode, I can see the network, but cannot associate. With the AP in mixed mode I can Associate using G.The most interesting thing I found was something that had very few google hits (like 4). In the dmesg output after associating I see the message:
Successfully associated, ht not enabled(0, 1)The most interesting thing about this is the (0, 1) at the end.I don't know what that means but it seems like a clue as to what the problem is.This device uses the realtek chipset 8191S, there are conflicting reports on this, but all the reported possibilities seem to use the same driver from realtek (rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.2010 0625).Here is some random info:
Dmesg output: [85082.620027] usb 1-3: new high speed USB device using ehci_hcd and address 6 [85082.754586] usb 1-3: configuration #1 chosen from 1 choice [85082.755456] ==>ep_num:4, in_ep_num:1, out_ep_num:3[code]........
how to setup an Active/Active Load Balanced and High Available (If one of the nodes is down the system still runs) MySQL cluster. I have found quite a few howto's but I have some things unclear in my mind. I found a few solutions like this one: [URL] or this: [URK] Those are using two or four MySQL nodes, two Load Balancers to avoid a single point of failure but only one MySQL cluster management server. What happens if the MySQL cluster management fails?
I have also found a "MySQL Master-Master Circular Replication" technique but from what I read, with this option there is a chance that conflicts will arise if node A and node B both insert an auto-incrementing key on the same table.
my proftpd setup will not do passive ports, reading the how-to on this page [URL] It gives the instructions on how to set up passive ports and masqurade but the example is using ipchains so before I start typing these commands in I would like to know if I need to change anything in the commands other then the ipchains command.
will this work on debian 5.05 also how do I find out if I use ip filters.
Need to get a 2nd display for a PCMIG 1.0 passive backplane with an Advantech 6010 CPU [onboard video works fine], but NO PCI card will come up as the 2nd display! Tried 11 cards and most leave the cursor at the top corner when doing xorg-configure, but no that's all.
Has anyone gotten a 2nd display to work on a passive backplane system? Tried some newer cards, but they don't even allow the system to POST - perhaps because they are PCI 3.0 and the backplane is PCI 2.0 or 2.1?
Is this possible that a process running on a remote-host only inform nagios when some thing is wrong. Rather then nagios-monitoring-server checking through NRPE every so often. Reason is I want to add too many alerts in the application. And I don't want a whole list of ok messages.
I have a 2 node Oracle cluster running on RHEL 5.4. One server went down the other day, and then restarted. Virtual IP address switched to the other node as it should, but did not switch back where the failed node came up - problem is the ip address is still on node 2, but I cannot see it or down the interface as it does not show up with ifconfig -a. I would expect to see it on eth0:2 but only eth0:1 is showing up with the correct vip for the node. ifconfig -a on node 1 shows n vip configured. I can telnet to this ip address and login, so know it is still on node 2, so why can't ifconfig -a show it, which interface is it on, and how do I remove it so I can get it back on node 1
I have Ubuntu 9.04, and a HP laserjet 1018 printer.
I install the printer using:
And when it ask me about plugin I give the path to it. (the 3.9.2 version of the plugin, because Ubuntu 9.04 has the 3.9.2 version of hplip)
well I install the printer, everything works perfectly.....but, when I turn off the PC, and turn it on again, the printer does NOT work!, I send work for being printed but mothing happens , Ubuntu tells me that the job was printed but ... no case, my printer does not print it.
I have to install it again since cero. what can I don to stop install it every time I turn off the computer ?