12-26-2007
It could be a wrong firewall rule on your PC.
10 More Discussions You Might Find Interesting
1. UNIX Desktop Questions & Answers
I use FTP in a shell script to transfer the files to a remote server.
Sometimes the program hangs without returning any errors
after the command
ftp server_name
How do you detect from within the shell that something is wrong?
How do you trap the errors returned by ftp command?
Any help... (3 Replies)
Discussion started by: marusia
3 Replies
2. UNIX for Dummies Questions & Answers
can someone tell me how I can deal with a problem am having concerning users that are faliing to use one of the shells specified in the /etc/shells file.
as a result, am told, these users are bound fail to connect via FTP. i know i goto check the /etc/shells file on the target host but what... (5 Replies)
Discussion started by: TRUEST
5 Replies
3. Shell Programming and Scripting
hi i have written a shell to automate the ftp process for the particular file.iam getting errors when try to ftp it.And i am cant get why the lcd is not being taken properly as it is taking during runtime.can anyone give me a solution
here its my code
DATE=`date '+%d_%m_%Y'`... (1 Reply)
Discussion started by: cskumar
1 Replies
4. HP-UX
We recently moved offices and checked our network ID. I have configured all the files that I am familiar with and am able to telnet and ping from my pc but I am unable to ftp. Any suggestions...Thanks (5 Replies)
Discussion started by: andrewd
5 Replies
5. Shell Programming and Scripting
i have got 2 servers in unix(IBM AIX 5.3) namely below.
test1
production1
i m trying to do ftp from test1 to production1.
------------------------------------------------------------
below the script called naveed1.sh which lies in test1,also it have two files called
... (2 Replies)
Discussion started by: ali560045
2 Replies
6. Shell Programming and Scripting
i m able to login to Unix box from window's cmd
can anyone tell me how to run a script from window cmd using ftp ?
the script is in unix box and i need to run from windows CMD using ftp (2 Replies)
Discussion started by: ali560045
2 Replies
7. Shell Programming and Scripting
Hello experts,
I've got the following script that is supposed to FTP a file to another box.
#!/usr/bin/ksh
while read line
do
HOST=`echo "$line" | cut -d" " -f1`
USER=`echo "$line" | cut -d" " -f2`
PASSWD=`echo "$line" | cut -d" " -f3`
PATH=`echo "$line" | cut -d" " -f4`
done <... (5 Replies)
Discussion started by: King Nothing
5 Replies
8. Shell Programming and Scripting
Hello,
I have a very simple script that put a file in server ftp
#!/bin/bash
var="ITW-trail-templiers-samedi"
cd /Users/$USER/Desktop
ftp -n >&1 << EOF
open server
quote user "user"
cd oberon
binary
put "$var"
bye
EOF
I have error :
200 Type set to IMAGE.
remote:... (2 Replies)
Discussion started by: protocomm
2 Replies
9. Red Hat
Dear All
I cannot ftp to my RedHat server from MS Windows machine ,but ping and telnet are ok. I checked as the following :
#chkconfig tftp on
#setup
After enabling tftp service, still the ftp is not ok but ping & telnet are ok. Can you please help me?
Thank you (8 Replies)
Discussion started by: hadimotamedi
8 Replies
10. Shell Programming and Scripting
Hi,
I have a problem when i want to get a filename from an ftp server when a space is before his name.
example: "spacetestFile"
The ftp server return an error "no asset or no permission" though the file exist ?
Why it behave in this way ? (8 Replies)
Discussion started by: protocomm
8 Replies
LEARN ABOUT DEBIAN
fwb_pf
fwb_pf(1) Firewall Builder fwb_pf(1)
NAME
fwb_pf - Policy compiler for OpenBSD packet filter "pf"
SYNOPSIS
fwb_pf [-vVx] [-d wdir] [-o output.fw] [-i] -f data_file.xml object_name
DESCRIPTION
fwb_pf is a firewall policy compiler component of Firewall Builder (see fwbuilder(1)). This compiler generates code for OpenBSD Packet Fil-
ter (pf). Compiler reads objects definitions and firewall description from the data file specified with "-f" option and generates pf con-
figuration files and firewall activation script.
All generated files have names that start with the name of the firewall object. Firewall activation script has extension ".fw" and is sim-
ple shell script that flushes current policy, loads new filter and nat rules and then activates pf. PF configuration file name starts with
the name of the firewall object, plus "-pf.conf". NAT configuration file name also starts with the name of the firewall object, plus
"-nat.conf". For example, if firewall object has name "myfirewall", then compiler will create three files: "myfirewall.fw", "myfirewall-
pf.conf", "myfirewall-nat.conf".
The data file and the name of the firewall objects must be specified on the command line. Other command line parameters are optional.
OPTIONS
-f FILE
Specify the name of the data file to be processed.
-o output.fw
Specify output file name
-d wdir
Specify working directory. Compiler creates firewall activation script and PF configuration files in this directory. If this
parameter is missing, then all files will be placed in the current working directory.
-v Be verbose: compiler prints diagnostic messages when it works.
-V Print version number and quit.
-i When this option is present, the last argument on the command line is supposed to be firewall object ID rather than its name
-x Generate debugging information while working. This option is intended for debugging only and may produce lots of cryptic messages.
NOTES
Support for PF has been introduced in version 1.0.1 of Firewall Builder
Supported features:
o both pf.conf and nat.conf files are generated
o negation in policy and NAT rules
o grouping in "from", "to" and ports using '{' '}' syntax
o if checkbox "Scrub" is checked in the rule options dialog, and rule's action is Accept, the compiler generates two (almost) identi-
cal rules: first with action 'scrub' and the second with action 'pass quick'
o stateful inspection in individual rule can be turned off in rule options dialog. By default compiler adds "keep state" or "modulate
state" to each rule with action 'pass'
o rule options dialog provides a choice of icmp or tcp rst replies for rules with action "Reject"
o compiler adds flag "allow-opts" if match on ip options is needed
o compiler can generate rules matching on TCP flags
o compiler can generate script adding ip aliases for NAT rules using addresses that do not belong to any interface of the firewall
o compiler always adds rule "block quick all" at the very bottom of the script to ensure "block all by default" policy even if the
policy is empty.
o Address ranges in both policy and NAT
Features that are not supported (yet)
o custom services
What will not be supported (at least not anytime soon)
o policy routing
URL
Firewall Builder home page is located at the following URL: http://www.fwbuilder.org/
BUGS
Please report bugs using bug tracking system on SourceForge:
http://sourceforge.net/tracker/?group_id=5314&atid=105314
SEE ALSO
fwbuilder(1), fwb_ipt(1), fwb_ipf(1)
FWB
fwb_pf(1)