05-25-2006
if you are using tftp i asume a you thin client environment, so why copy the files at all ?
simply use NfS (or equivalent) and mount the file where you need them.
10 More Discussions You Might Find Interesting
1. Cybersecurity
using fork().how do v send and receive messages in child and parent process. (2 Replies)
Discussion started by: krishnavel
2 Replies
2. IP Networking
Hi,
I am doin a project that'll work as a normal Explorer on Windows
but the best thing is it'll be exploring the content of a UNIX server.
The application would be runnin on the windows platform with probably a
FTP server on UNIX server.
How i should proceed? (2 Replies)
Discussion started by: ziaullahk
2 Replies
3. Programming
i came acors this coding when surfin the net.this code works perfectly.but as i am new to this socket programming i need sm coments quoted on it or explanation regarding this source code.
i have prb understanding the server.c i have posted it below
can u guys help me !!!!
cheerZ
The... (4 Replies)
Discussion started by: mathu
4 Replies
4. Shell Programming and Scripting
I have a unix server through which some ten client machines are connected. I want to shutdown/restart all the machine from the server through the shell script during the particular time of the day. I welcome your suggestions.
Thanks in advance.
With regards
Victor (1 Reply)
Discussion started by: mvictorvijayan
1 Replies
5. Programming
hi guys,
I need the code for a server client registration form.The server must ask for authentication .Then the client would send in data. This is stored in a file .The server sends back a receipt to the client as part of the payment done.
plz can some 1 get me the code... (9 Replies)
Discussion started by: pip3r
9 Replies
6. Shell Programming and Scripting
Hi,
i have several client machines connected to a server..how do i shutdown a specific client from server using shell scripts?? is it possible to use socket programming to establish a connection before doing this? (need a code in 'c')
thanking you
tanvi (1 Reply)
Discussion started by: tanvi
1 Replies
7. Shell Programming and Scripting
Hi guys,
I need to send a txt file from a windows machine to Linux server.
Any help is appreciated....
Thanks... (3 Replies)
Discussion started by: gowrishankar05
3 Replies
8. Solaris
Hello,
i need to create a communication between two machines solaris 2 installed in VM workstation; to begin with NFS and do these :
Machine A : share -F nfs /opt
and in Machine B : mount -F nfs machineA:/opt /mnt
also
share -F nfs -o rw=machineB /opt
and in B
mount -F nfs... (0 Replies)
Discussion started by: herbich1985
0 Replies
9. Shell Programming and Scripting
Hi,
I have taken the below code from Quick Start with SOAP - Perl.com and modified to my requirement.Server program runs without error.I have kept Demo.pm under /usr/local/apache2/cgi-bin directory.When I run the client program I am not getting any output.Whether the client program should be... (1 Reply)
Discussion started by: liyakathali
1 Replies
10. Linux
Hi,
Could you please help me with the below issue..
I'm running RHEL6 OS on both server (192.168.0.10) and client machines (192.168.0.1).
I'm trying to connect to server from the client machine using ftp service.
I have installed vsftpd daemon on both the machines.
I'm getting... (4 Replies)
Discussion started by: raosr020
4 Replies
LEARN ABOUT NETBSD
tftp-proxy
TFTP-PROXY(8) BSD System Manager's Manual TFTP-PROXY(8)
NAME
tftp-proxy -- Internet Trivial File Transfer Protocol proxy
SYNOPSIS
tftp-proxy [-v] [-w transwait]
DESCRIPTION
tftp-proxy is a proxy for the Internet Trivial File Transfer Protocol invoked by the inetd(8) internet server. TFTP connections should be
redirected to the proxy using the pf(4) rdr command, after which the proxy connects to the server on behalf of the client.
The proxy establishes a pf(4) rdr rule using the anchor facility to rewrite packets between the client and the server. Once the rule is
established, tftp-proxy forwards the initial request from the client to the server to begin the transfer. After transwait seconds, the pf(4)
NAT state is assumed to have been established and the rdr rule is deleted and the program exits. Once the transfer between the client and
the server is completed, the NAT state will naturally expire.
Assuming the TFTP command request is from $client to $server, the proxy connected to the server using the $proxy source address, and $port is
negotiated, tftp-proxy adds the following rule to the anchor:
rdr proto udp from $server to $proxy port $port -> $client
The options are as follows:
-v Log the connection and request information to syslogd(8).
-w transwait
Number of seconds to wait for the data transmission to begin before removing the pf(4) rdr rule. The default is 2 seconds.
CONFIGURATION
To make use of the proxy, pf.conf(5) needs the following rules. The anchors are mandatory. Adjust the rules as needed for your configura-
tion.
In the NAT section:
nat on $ext_if from $int_if -> ($ext_if:0)
no nat on $ext_if to port tftp
rdr-anchor "tftp-proxy/*"
rdr on $int_if proto udp from $lan to any port tftp ->
127.0.0.1 port 6969
In the filter section, an anchor must be added to hold the pass rules:
anchor "tftp-proxy/*"
inetd(8) must be configured to spawn the proxy on the port that packets are being forwarded to by pf(4). An example inetd.conf(5) entry fol-
lows:
127.0.0.1:6969 dgram udp wait root
/usr/libexec/tftp-proxy tftp-proxy
SEE ALSO
tftp(1), pf(4), pf.conf(5), ftp-proxy(8), inetd(8), syslogd(8), tftpd(8)
CAVEATS
tftp-proxy chroots to /var/chroot/tftp-proxy and changes to user ``_proxy'' to drop privileges.
BSD
May 31, 2007 BSD