Software :: Configure Cygwin On Passive Mode?
Dec 26, 2008I am using Cygwin with RHEL 4. Can anyone guide to configure it on passive mode.
View 2 RepliesI am using Cygwin with RHEL 4. Can anyone guide to configure it on passive mode.
View 2 RepliesCan anybody have an idea of an ftp client code using raw ftp commands.
OR
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've got problems uploading files to a remote FTP server using passive mode with enabled SuSeFirewall2 (Using 11.2)
I've disabled Firewall and everything went ok. Why firewall disables or terminates OUTGOING connections to a remote FTP?
I have a program that is completed under Linux, it requires library tidy, PCRE and libcurl, which could be found in Cygwin too.
I could compile my linux program through Cygwin and produce an EXE file, however it do require 'cygwin.dll' installed by the users.
I am wondering if I could have someway to produce out a stand-alone EXE file that could run independently from Cygwin ? ( I don't mind to combine that cygwin.dll and the EXE together for a larger EXE file).
I made a big mistake. While logged in as root i deleted the /bin directory by mistake. I cannot boot up now...I tried to re-install with the upgrade option...Did it partly but it does not go to the login. I tried a rescue operation and have gone into /mnt/sysimage...However I do not know how to copy my data files over the network to another computer. If I could do that it would be great...I can then backup my file and reinstall.
However I do not know how to setup the network in rescue mode..
Agter going into the network option ...It gave 2 places where I could enter the values ipv4 .and ipv6...I tried entering the old IP address in the first oprtion ........./....Its prompting for some entry to be put after the /. I think its a 3 digit input. Not sure what has to be done.with namesserver and default gateway....I have a small dlink hub and normally (when the system was running) I just needed to go into network manager and enter the machine ipaddress, subnet mask 255.255.255.0 and some value for the default gateway which was not really there....It worked, i could remote connect with another computer in my LAN. How do i enter the 255.255.255.0 in rescue mode?
I am trying to configure a ftp server (pure-ftp) where I am using CentOS 5.5.
View 1 Replies View RelatedI want to configure eth0 and eth1 in bonding mode with 2 vlans each (sam existing vlan 100 and 200)configured on 2 Cisco switches. How can I go about that? I got the following procedure for bonding from the internet, is it right?
1. Add the below lines to /etc/modprobe.conf alias bond0 bonding options bond0 mode=1 miimon=100
2. Create bond0 device file, /etc/sysconfig/network-scripts/ifcfg-bond0 with the following content:
DEVICE=bond0
BOOTPROTO=none
ONBOOT=yes
NETWORK=192.168.122.0
NETMASK=255.255.255.0
IPADDR=192.168.122.118
USERCTL=no
[Code]....
I wants to ask if there is any method to configure bcm4313 wireless adaptor to monitor mode.
I need to do this for my graduate project
till this moment, what I'm sure of is that ndiswrapper doesn't support monitor mode.
Is there any way to use monitor mode on this adaptor?
How would I configure my box to connect to a modem in bridge mode?
I have a server at home that im migrating over to be the default-gateway/router. I have everything else setup (dns,dhcp etc) now just need the ppoe part, or so i beleive?
I have two interfaces. eth0 (lan) and eth1 ready to connect to the modem.
The modem is in bridge mode ready to go.
What is my next step? Are there any good guides, I didn't find any.
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.
View 8 Replies View RelatedHow can I get the NS Code for passive clustering in NS 2.34
View 3 Replies View RelatedI have two hard disks sda and sdb. I have Windows XP installed on sda2 and Ubuntu 10.04 on sdb5. When I installed Windows XP, Ubuntu stopped booting. I tried to repair grub2 from a Live CD unsuccessfully. Now I have completely messed up my MBR of both HDDs. I just want to configure grub2 to load both OSes in dual boot mode.
View 9 Replies View RelatedI'm trying to setup and configure a server entirely with text only run mode 3 on a virtual machine so I can redo my current live server. I'm now trying to set up the firewall of the system using iptables. I've read up on it and came up with the following:
-clear all rules
#iptables -F
-set default policy rules
#iptables --policy INPUT DROP
#iptables --policy FORWARD DROP
[Code]....
Everything above worked for me but just out of interest I looked at my live server which was configured using a GUI. I ran iptables-save and it was pretty much the same but its port open lines read like this:
#iptables -A INPUT -p tcp -m state --state NEW --dport 80 -j ACCEPT
so finally my question is do I really need the "-m state --state NEW"? Wouldn't having that drop established connections on those ports? I'm just confused as to what exactly the NEW state is doing and would it make a difference if I didn't include it.
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.
[Code].....
will this work on debian 5.05 also how do I find out if I use ip filters.
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.
[Code]...
I'm trying to build a firewall with IPTables: INTERNET <--------> (eth0) FIREWALL (eth1) <------------->FTP_srvI set all rules DROP by default.My rules for forwarding packet to FTP server:
#iptables -t nat -A PREROUTING -i eth1 -d $FIREWALL_EX_ADDR -p tcp --dport 21 -j DNAT --to-destination $FTP_ADDR:21
#iptables -A FORWARD -i eth0 -o eth1 -p tcp --dport 21 -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT
[code]....
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?
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?
View 2 Replies View Relatedtring to run an ftp server on default ports with port 10100-10199 as passive. Using vsftp. But the ports refuse to open what the heck am I doing wrong? see screen shot. oh using karmac, now.
View 2 Replies View RelatedIs 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.
View 1 Replies View RelatedBelow is a print out of my partition Table from Fdisk, in Cylinder mode, Sector mode, and then in expert mode?
Why in expert mode does it look like Partitions 2 and 3 share the same sector / hd / Cylinders? Is this OK?
Code:
As one of our friends told, I have downloaded and installed the CYGWIN on my winows xp pc, to learn and practice linux commands.when the icon of it is double clicked, its screen as appearing as below:
System1@system ~
$
MY DOUBT IS :
I could make a directory with command like mkdir. But after that it is not allowing commands like touch, vi, vim etc.How i have to write data or a file in it. Still anything to do after installing CYGWIN.
I am using cygwinI am getting these errors when i compile sim_routing.cc program by this command../../bin/cxx sim_routing.ccg++ -Wall -o sim_routing sim_routing.cxxfollowing errors comes../../common/priority_q.h : In member function 'bool guardedQueue<ITEM>::Validate(Const char*);error : there are no argument to 'strcat' that depend on template parameter so a declaration of 'strcat' must be avaible.error : <if you use -fpermissive g++ will accept your code but allowing use of undeclared name is deprecated>error : there are no argument to strcat that depends on template parameter,so declaration to strcat must be avaible
View 1 Replies View RelatedI want to install these libraries in cygwin, how do I do it? are all of them available on cygwin environment or only on linux?
g++ - the version 4.4
graphviz
gnuplot
plotdrop
[Code].....
I can't copy and paste into Cygwin... is there a good alternative to Cygwin that will let me do this?
View 7 Replies View RelatedI want to use the command more to see the content of a text file; however, the command is not available. I wonder whether all linux commands exist in cygwin. I am running cygwin on windows xp.
View 4 Replies View Relatedcan't find a decent forum (sourceforge.net has an awkward forum platform). I am having trouble getting a2ps to run under Cygwin on a Windows-7 box. And if you know of a forum specifically for users of a2ps
View 1 Replies View RelatedNew to this kernel stuff But not too new to C/C++. I'm trying to compile the linux kernel on a PC, that is running Windows XP 32 bit, using Cygwin. I keep getting the error saying:
Error: Not ELF
make[2]:*** [scripts/mod/elfconfig.h] Error 1
make[1]:*** [scripts/mod] Error 2
make:***[scripts] Error 2
Every time I try to compile it from the main directory of the source, which I hope is what I'm supposed to do, I always get this.
I installed the CUnit framework which is a .tar.gz file from the bash shell in cygwin.
make gives me an error saying:
make install works
make clean works
I am not able to compile but install works I do not know if it is installed and as to where it is installed
when i checked it gives me a list of header files and also the lib files. I do not know as to why the make command is not working in cygwin. When i go to the bin directory it shows the make command.
I'm running cygwin 1.7 on a vanilla win2k3 r2 server. I've put together a simple crontab that I'll paste in her in a sec. The crontab entries call several shell scripts that do either scp's or rsync's from linux servers to this win2k3 box under cygwin.
The problem is that the scripts work and run fine from the commandline. Just not when called from the crontab. I'm running from the root equivalent administrator UID. The crontab log files are empty of errors.
crontab is:
Like I said, the scripts execute fine from the command line.