Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 633003 Details for
Bug 839257
vsftpd doesn't accept legacy ipv4 connections when set to listen on ipv6
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
vsftpd init script for ipv6
vsftpd6.init (text/plain), 2.80 KB, created by
Paul Wouters
on 2012-10-24 19:44:29 UTC
(
hide
)
Description:
vsftpd init script for ipv6
Filename:
MIME Type:
Creator:
Paul Wouters
Created:
2012-10-24 19:44:29 UTC
Size:
2.80 KB
patch
obsolete
>#!/bin/bash ># >### BEGIN INIT INFO ># Provides: vsftpd6 ># Required-Start: $local_fs $network $named $remote_fs $syslog ># Required-Stop: $local_fs $network $named $remote_fs $syslog ># Short-Description: Very Secure Ftp Daemon on IPv6 ># Description: vsftpd is a Very Secure FTP daemon. It was written completely from ># scratch >### END INIT INFO > ># vsftpd6 This shell script takes care of starting and stopping ># standalone vsftpd6. ># ># chkconfig: - 60 50 ># description: Vsftpd is a ftp daemon, which is the program \ ># that answers incoming ftp service requests. ># processname: vsftpd ># config: /etc/vsftpd/vsftpd.conf > ># Source function library. >. /etc/rc.d/init.d/functions > ># Source networking configuration. >. /etc/sysconfig/network > >RETVAL=0 >prog="vsftpd6" > >start() { > # Start daemons. > > # Check that networking is up. > [ ${NETWORKING} = "no" ] && exit 1 > > [ -x /usr/sbin/vsftpd ] || exit 1 > > if [ -d /etc/vsftpd ] ; then > CONFS=`ls /etc/vsftpd/*.conf 2>/dev/null` > [ -z "$CONFS" ] && exit 6 > PROC_FAILED=0 > for i in $CONFS; do > site=`basename $i .conf` > echo -n $"Starting $prog for $site: " > daemon /usr/sbin/$prog $i -olisten=no -olisten_ipv6=yes > RETVAL=$? > echo > if [ $RETVAL -eq 0 ] && [ ! -f /var/lock/subsys/$prog ]; then > touch /var/lock/subsys/$prog > elif [ $RETVAL -ne 0 ]; then > ps -FC $prog | grep "$i" > /dev/null > RETVAL=$? > if [ $PROC_FAILED -eq 0 ] && [ $RETVAL -ne 0 ]; then > PROC_FAILED=1 > fi > fi > done > if [ $RETVAL -eq 0 ] && [ $PROC_FAILED -ne 0 ]; then > RETVAL=1 > fi > else > RETVAL=1 > fi > return $RETVAL >} > >stop() { > # Stop daemons. > echo -n $"Shutting down $prog: " > killproc $prog > RETVAL=$? > echo > [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/$prog > return $RETVAL >} > ># See how we were called. >case "$1" in > start) > start > ;; > stop) > stop > ;; > restart|reload) > stop > start > RETVAL=$? > ;; > condrestart|try-restart|force-reload) > if [ -f /var/lock/subsys/$prog ]; then > stop > start > RETVAL=$? > fi > ;; > status) > status $prog > RETVAL=$? > ;; > *) > echo $"Usage: $0 {start|stop|restart|try-restart|force-reload|status}" > exit 1 >esac > >exit $RETVAL
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 839257
: 633003 |
633004