Summary: TCP Port redirector (for firewalls etc) Name: redir Version: __VERSION__ Release: 1 License: GPL Group: Networking Source: SOURCE BuildRoot: /tmp/redir-root Packager: Jacques Gelinas #Patch: redir-ftpproxy.patch %description redir is a tcp port redirector for unix. It can run under inetd or stand alone (in which case it handles multiple connections). Its 8 bit clean, not limited to line mode, is small and light. The ftpproxy feature adds the --ftp command line option allowing redirection of ftp session with support of ftp-data sub-session. Both passive and active ftp sessions are supported. It also feature a session recorder and a playback utility. They may be useful for server load testing. %prep %setup -n redir-__VERSION__ #%patch -p1 %build make CFLAGS="$RPM_OPT_FLAGS" redir %install rm -rf $RPM_BUILD_ROOT export RPM_BUILD_ROOT make install %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc README README.proxyftp redir.lsm /usr/share/man/man8/redir.8* /usr/sbin/redir #/usr/sbin/redir2 #/usr/bin/playback #/usr/bin/pingpong #/usr/bin/uniplayback #/usr/bin/playbatch #/usr/bin/redirdump #/usr/bin/mergedump %doc redir.sysv