Releases: troglobit/redir
Releases · troglobit/redir
redir v3.3
redir v3.2
Minor bug fixes.
Changes
- Add missing
transproxy.txt
file to distribution - Update usage text and man page for
--bind
option, w.r.t. transproxy
Fixes
- Issue #4: Service names from
/etc/services
not recognized for compat syntax,--lport
or--cport
redir v3.1
Restored support for some command line options on behalf of Debian.
Changes
- New
--enable-compat
option added to configure script. Enables
support for command line options from v2.x used byvagrant-lxc
,
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=824698#15--laddr=SRC
--lport=PORT
--caddr=SRC
--cport=PORT
Fixes
- Portability fixes for musl libc
redir v3.0
This version changes the command line syntax! You are going to have to
change how you call redir
in order to upgrade.
Changes
- Convert
SRC:PORT
andDST:PORT
from options to arguments, using
a UNIX syntax that is pretty much standard by now. - Rename
-n,--name=STR
-->-I,--ident=NAME
- Simplify argument parsing, move more data to global variables
- Simplify
debug()
statements, usesyslog()
- Daemonize by default, like a proper UNIX daemon, unless
-n, --foreground
is given - Replace
perror()
and other log messages going tostderr
in favor
ofsyslog()
for everything, unless running in foreground, in which
case we useLOG_PERROR
for log message output tostderr
as well
... unless-s, --syslog
is given - Replace
-d, --debug
with-l, --loglevel=LEVEL
to control the
syslog()
default log level. The default log level isLOG_NOTICE
- Convert to GNU Configure & Build System. With configure switches like
--disable-ftp
,--disable-shaping
, and--with-libwrap
- Change distribution to use
.tar.xz
rather than.tar.gz
from now on - Convert to Markdown, clean up and simplify
README
- Remove local versions of
getopt()
andgetopt_long()
. All relevant
UNIX distributions should have them by now. - Massive code cleanup and (Linux KNF) coding style fixes
- Add Coverity Scan support for Travis-CI runs
- Complete rewrite of man page
- Overhaul of
--help
usage help - Refactor to reduce code duplication:
verify_request()
for TCP wrapper handlingtarget_init()
for initializing astruct sockaddr_in
target_connect()
to handle creating and connecting a target socket
- Refactor to harmonize function and variable names
- Cleanup
redir.c
heading and use proper GNU GPL blurb - Make sure to credit all known major contributors in
AUTHORS
file - Removed
redir.lsm
file
Fixes
- Fix socket leaks found by Coverity Scan
- Fix unterminated strings returned by
read()
, found by Coverity Scan - Fix ordering bug(s) found by Coverity Scan
- Fix
strcpy()
into fixed size buffer found by Coverity Scan - Fix uninitialized
struct sockaddr_in
, found by Coverity Scan - Check
malloc()
return value - Do
gethostbyname()
before everyconnect()
, DNS names may change at
runtime