Sponsored Content
Operating Systems SCO Config FTP on SCO Like proftpd Post 303037446 by Arcanisgk on Thursday 1st of August 2019 01:24:27 PM
Old 08-01-2019
Quote:
Originally Posted by MadeInGermany
Did you correctly (with wait) configure the ftpd in /etc/inetd.conf ?
yes, i have this like ... but i dont know much around config this:

Code:
#      @(#)$Id: inetd.conf,v 6.8 1996/01/09 21:48:54 aes Exp $ - STREAMware TCP/
IP  source
#
# Copyrighted as an unpublished work.
# (c) Copyright 1987-1994 Legent Corporation
# All rights reserved.
#
#      SCCS IDENTIFICATION
ftp     stream  tcp     nowait  root    /etc/ftpd       ftpd -a
telnet  stream  tcp     nowait  NOLUID  /etc/telnetd    telnetd
shell   stream  tcp     nowait  NOLUID  /etc/rshd       rshd
login   stream  tcp     nowait  NOLUID  /etc/rlogind    rlogind
exec    stream  tcp     nowait  NOLUID  /etc/rexecd     rexecd
finger  stream  tcp     nowait  nouser  /etc/fingerd    fingerd
#uucp   stream  tcp     nowait  NOLUID  /usr/lib/uucp/uucpd     uucpd
# Enabling this allows public read files to be accessed via TFTP.
#tftp   dgram   udp     wait    nouser  /etc/tftpd      tftpd
# This is the more secure method, since only files from /tftpboot can
# be accessed via TFTP.   This must be root in order to do the chroot
# to /tftpboot.  /tftpboot must be created by hand.
#tftp   dgram   udp     wait    root    /etc/tftpd      tftpd -s /tftpboot
comsat  dgram   udp     wait    root    /etc/comsat     comsat
ntalk   dgram   udp     wait    nouser  /etc/talkd      talkd
#
# Entries for BOOTP and DHCP servers & relay agent
#
# If running tftpd in secure mode, use bootpd with "-c securedir"
# where securedir is the argument to tftpd -s.
#
# To run bootpd by itself, use:
#bootps dgram   udp     wait    root    /etc/bootpd     bootpd
#
# To run dhcpd by itself, use:
#bootps dgram/i udp     wait    root    /etc/dhcpd      dhcpd
#
# When running dhcpd and bootpd, bootpd must be run in "slave mode" (with the
# -S option).  In this mode, bootpd listens on an alternate port.  The port
# bootps-alt is defined to be 950 in /etc/services, but it can be anything
# < 1024.  To run dhcpd and bootpd, use the following two lines:
#bootps dgram/i udp     wait    root    /etc/dhcpd      dhcpd -b bootps-alt
#bootps-alt dgram udp   wait    root    /etc/bootpd     bootpd -S
#
# To run the BOOTP/DHCP relay agent bootpgw, use:
#bootps dgram/i udp     wait    root    /etc/bootpgw    bootpgw server-name
tcpmux  stream  tcp     nowait  root    internal
echo    stream  tcp     nowait  root    internal
discard stream  tcp     nowait  root    internal
chargen stream  tcp     nowait  root    internal
daytime stream  tcp     nowait  root    internal
time    stream  tcp     nowait  root    internal
echo    dgram   udp     wait    root    internal
discard dgram   udp     wait    root    internal
chargen dgram   udp     wait    root    internal
daytime dgram   udp     wait    root    internal
time    dgram   udp     wait    root    internal
pop3    stream  tcp     nowait  root    /etc/popper popper
imap    stream  tcp     nowait  root    /etc/imapd imapd

 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

using ftp on sco

I'm using SCO unix - 5 as server and stallion board to connect my users on serial comm. I want some of my files generetd on unix to be copied to one of my window'95 based system. I can use crosstalk loaded on windows system to log in automatically and 'cat the file' which will be than stored... (1 Reply)
Discussion started by: skant
1 Replies

2. UNIX for Dummies Questions & Answers

[sos]How to config my Sco openserver 5.06

How to config my Sco openserver 5.06 to link on the Internet.MY Etherent sever is Winme........... Can u tell me from the configure of netcard start......... thanx for help...............thanx a lot (1 Reply)
Discussion started by: dingxf
1 Replies

3. IP Networking

RH 7.2 FTP Server Config

Is it possible to ftp from WinXp to a Linux box? I have the the ftp server set up to take the request from the WinXp box but each time I try to connect I keep getting an error, Connection established, unknown error(windows ftp program) or if I try to ftp from the DOS prompt I get ftp connect:... (3 Replies)
Discussion started by: flounder
3 Replies

4. UNIX for Advanced & Expert Users

FTP - Sco Unix to ProFTPD Error

First off I did try google for help on this topic, didn't really find anything. When I try to ftp from my SCO Unix box (SCO_SV servername 3.2 5.0.5 i386) to a proFTPD server within my company I get this error Connected to 10.?.?.?. 220 ProFTPD Server ftp.hostname.com Name (10.?.?.?:root):... (1 Reply)
Discussion started by: whegra
1 Replies

5. UNIX for Dummies Questions & Answers

Enable FTP on SCO

My goal is to use FTP to transfer file between PC and SCO Unix server.When I try to connect via FTP with root user, it failed. What should I do? How to configure ftpaccess? Thanks in advance! (2 Replies)
Discussion started by: Vladan
2 Replies

6. UNIX for Dummies Questions & Answers

FTP from SCO UNIX to Windows XP PC

I am trying to start an FTP session from my UNIX PC to a PC running XP. I aim to run a cron to manipulate remote files on the Windows M/C. I cannot connect to the Windows M/C when i start rthe FTP session on the UNIX box. I can do it fine the other way round. I have set entries in /etc/hosts... (2 Replies)
Discussion started by: farmacy
2 Replies

7. UNIX for Dummies Questions & Answers

Problem with FTP o n Unix SCO

my problem is like this while ftping locally it works, but when users from WAN try the ftp services it doesnt comes the message it displays is as follows "connection closed by remote host " please help Thanks (5 Replies)
Discussion started by: Athos19
5 Replies

8. Shell Programming and Scripting

FTP credentials from a config file

Hi, I am using the following syntax to connect to an FTP server and paste the file. Based on the value in the variable $Folder, i want to connect to different folders on the same server. The credential is different to access different folders. How to get the user name and password from a... (3 Replies)
Discussion started by: ashok.k
3 Replies

9. Solaris

RBAC with ftp/sftp using proftpd

I'm using proftpd to manage my ftp/sftp connections but would like to use RBAC to only allow ftp/sftp connections. Has anyone done this or can point me in the right direction? This is my first experience trying to use RBAC. Thanks in advance. (2 Replies)
Discussion started by: toor13
2 Replies

10. Shell Programming and Scripting

Odd looping issue with NET::FTP and Proftpd

Hello, I'm a UNIX SysAdmin at a large webhosting company and we have a vendor that provides a service which involves the ftp'ing of files from their servers to ours. They initiate FTP using a perl script with NET::FTP. When they try to transfer files (and delete files over ftp), there is... (3 Replies)
Discussion started by: tmmgeekette
3 Replies
BOOTPD(8)						    BSD System Manager's Manual 						 BOOTPD(8)

NAME
bootpd, bootpgw -- Internet Boot Protocol server/gateway SYNOPSIS
bootpd [-i | -s] [-c chdir-path] [-d level] [-h hostname] [-t timeout] [bootptab [dumpfile]] bootpgw [-i | -s] [-d level] [-h hostname] [-t timeout] server DESCRIPTION
The bootpd utility implements an Internet Bootstrap Protocol (BOOTP) server as defined in RFC951, RFC1532, and RFC1533. The bootpgw utility implements a simple BOOTP gateway which can be used to forward requests and responses between clients on one subnet and a BOOTP server (i.e. bootpd) on another subnet. While either bootpd or bootpgw will forward BOOTREPLY packets, only bootpgw will forward BOOTREQUEST packets. One host on each network segment is normally configured to run either bootpd or bootpgw from inetd(8) by including one of the following lines in the file /etc/inetd.conf: bootps dgram udp wait root /usr/libexec/bootpd bootpd /etc/bootptab bootps dgram udp wait root /usr/libexec/bootpgw bootpgw server This mode of operation is referred to as "inetd mode" and causes bootpd (or bootpgw) to be started only when a boot request arrives. If it does not receive another packet within fifteen minutes of the last one it received, it will exit to conserve system resources. The -t option controls this timeout (see OPTIONS). It is also possible to run bootpd (or bootpgw) in "standalone mode" (without inetd(8)) by simply invoking it from a shell like any other reg- ular command. Standalone mode is particularly useful when bootpd is used with a large configuration database, where the start up delay might otherwise prevent timely response to client requests. (Automatic start up in standalone mode can be done by invoking bootpd from within /etc/rc.local, for example.) Standalone mode is less useful for bootpgw which has very little start up delay because it does not read a con- figuration file. Either program automatically detects whether it was invoked from inetd or from a shell and automatically selects the appropriate mode. The -s or -i option may be used to force standalone or inetd mode respectively (see OPTIONS). OPTIONS
The following options are available: -t timeout Specify the timeout value (in minutes) that a bootpd or bootpgw process will wait for a BOOTP packet before exiting. If no packets are received for timeout minutes, then the program will exit. A timeout value of zero means "run forever". In standalone mode, this option is forced to zero. -d debug-level Set the debug-level variable that controls the amount of debugging messages generated. For example, -d4 or -d 4 will set the debug- ging level to 4. For compatibility with older versions of bootpd, omitting the numeric parameter (i.e., just -d) will simply incre- ment the debug level by one. -c chdir-path Set the current directory used by bootpd while checking the existence and size of client boot files. This is useful when client boot files are specified as relative pathnames, and bootpd needs to use the same current directory as the TFTP server (typically /tftpboot). This option is not recognized by bootpgw. -h hostname Specify the hostname corresponding to the IP address to listen on. By default, bootpd listens on the IP address corresponding to the machine's hostname, as returned by gethostname(3). -i Force inetd mode. This option is obsolete, but remains for compatibility with older versions of bootpd. -s Force standalone mode. This option is obsolete, but remains for compatibility with older versions of bootpd. bootptab Specify the name of the configuration file from which bootpd loads its database of known clients and client options (bootpd only). dumpfile Specify the name of the file that bootpd will dump its internal database into when it receives a SIGUSR1 signal (bootpd only). This option is only recognized if bootpd was compiled with the -DDEBUG flag. server Specify the name of a BOOTP server to which bootpgw will forward all BOOTREQUEST packets it receives (bootpgw only). OPERATION
Both bootpd and bootpgw operate similarly in that both listen for any packets sent to the bootps port, and both simply forward any BOOTREPLY packets. They differ in their handling of BOOTREQUEST packets. When bootpgw is started, it determines the address of a BOOTP server whose name is provided as a command line parameter. When bootpgw receives a BOOTREQUEST packet, it sets the "gateway address" and "hop count" fields in the packet and forwards the packet to the BOOTP server at the address determined earlier. Requests are forwarded only if they indicate that the client has been waiting for at least three seconds. When bootpd is started it reads a configuration file, (normally /etc/bootptab) that initializes the internal database of known clients and client options. This internal database is reloaded from the configuration file when bootpd receives a hangup signal (SIGHUP) or when it dis- covers that the configuration file has changed. When bootpd receives a BOOTREQUEST packet, it looks for a database entry matching the client request. If the client is known, bootpd com- poses a BOOTREPLY packet using the database entry found above, and sends the reply to the client (possibly using a gateway). If the client is unknown, the request is discarded (with a notice if debug > 0). If bootpd is compiled with the -DDEBUG option, receipt of a SIGUSR1 signal causes it to dump its internal database to the file /tmp/bootpd.dump or the dumpfile specified as a command line parameter. During initialization, both programs determine the UDP port numbers to be used by calling getservbyname(3) (which normally uses /etc/services). Two service names (and port numbers) are used: bootps BOOTP Server listening port bootpc BOOTP Client destination port If the port numbers cannot be determined using getservbyname(3) then the values default to bootps=67 and bootpc=68. FILES
/etc/bootptab Database file read by bootpd. /tmp/bootpd.dump Debugging dump file created by bootpd. /etc/services Internet service numbers. /tftpboot Current directory typically used by the TFTP server and bootpd. SEE ALSO
bootptab(5), inetd(8), tftpd(8) DARPA Internet Request For Comments: RFC951 Bootstrap Protocol RFC1532 Clarifications and Extensions for the Bootstrap Protocol RFC1533 DHCP Options and BOOTP Vendor Extensions AUTHORS
This distribution is currently maintained by Walter L. Wimer <walt+@cmu.edu>. The original BOOTP server was created by Bill Croft at Stanford University in January 1986. The current version of bootpd is primarily the work of David Kovar, Drew D. Perkins, and Walter L. Wimer, at Carnegie Mellon University. Enhancements and bug-fixes have been contributed by: (in alphabetical order) Danny Backx <db@sunbim.be> John Brezak <brezak@ch.hp.com> Frank da Cruz <fdc@cc.columbia.edu> David R. Linn <drl@vuse.vanderbilt.edu> Jim McKim <mckim@lerc.nasa.gov> Gordon W. Ross <gwr@mc.com> Jason Zions <jazz@hal.com>. BUGS
Individual host entries must not exceed 1024 characters. BSD
February 10, 2004 BSD
All times are GMT -4. The time now is 11:58 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy