itojun
52c469ffaa
socklen_t audit. from deraadt, sync w/kame
2002-09-08 01:41:12 +00:00
itojun
00975d3872
die if fd_set overrun. explicitly turn off use of IPv4 mapped addr on AF_INET6
...
socket.
2002-08-20 23:02:44 +00:00
itojun
8a4859803b
remove unmaintained option (#ifdef FAITH4). sync w/kame
2002-06-07 00:20:45 +00:00
itojun
fd53f7c428
drop support for rsh/rlogin relaying.
...
use of .rhosts authentication should be discouraged with relaying service.
sync w/kame
2002-05-09 14:24:03 +00:00
itojun
3f18342704
handle ECONNABORTED at accept(2). correct error handling for connect(2)
...
sync w/ kame
2002-04-24 12:14:42 +00:00
itojun
4a1ad619af
daemon(3) has to be called before opening file descriptors.
...
noticed by markus@openbsd, sync with kame
2002-01-11 04:20:55 +00:00
itojun
f8e9dbe7d3
assume the presense of getifaddrs(3). sync with kame
2001-11-21 06:53:13 +00:00
itojun
d1fee0dd15
deal with wait3() returning -1. be careful on malloc failures. sync with kame
2001-11-21 06:52:35 +00:00
itojun
bc0d6cdd22
sync with the latest kame.
...
- select() with the right maxfd.
- don't write() with len <= 0.
- no wacky macro ERRSTR.
2001-09-05 01:22:24 +00:00
itojun
4db33fdf62
avoid null pointer deref. sync with kame.
2001-04-25 11:25:51 +00:00
itojun
722e18b9a5
avoid zombies on abnormal disconnects. sync with kame
2001-03-20 01:13:46 +00:00
itojun
20540573e7
pull latest faithd from kame. /etc/faithd.conf allows you to filter by prefix.
...
manpage cleanups.
2001-02-15 17:58:55 +00:00
lukem
06680ddb2d
fix tyop
2001-01-11 03:28:03 +00:00
itojun
74b478c63c
printf-format audit. from sommrfeld@netbsd.org. sync with kame.
2000-10-06 00:13:01 +00:00
itojun
a5d0cbc5e5
sync with latest kame.
...
- improve logging.
- correct multicast address check for the relayed destination.
- repair EPRT translation.
- support 227 result without paren.
- change behavior on no-argument to more sensible side
(before: relay telnet, now: error)
WARNING: you may need to change your startup script.
2000-09-14 00:36:10 +00:00
itojun
31431ac193
always use %s for setproctitle. from openbsd-current
2000-07-05 17:59:58 +00:00
itojun
e9bf9cf7a1
allow faithd(8) to be invoked via inetd(8), just like tcpd (of tcp_wrappers).
...
sync with kame.
benefits: allows us to access-control inbound traffic by using hosts.allow(5).
possible drawbacks: inetd mode has no chance for multi-connection-per-single-
process enhancement. current faithd(8) needs 1 process per 1 connection
anyways.
2000-07-04 13:28:13 +00:00
itojun
7f153848ab
use %s with syslog, to prevent abuse. from: deraadt (sync with kame)
2000-06-29 01:24:11 +00:00
itojun
5599a3d879
sync with latest kame code. a bug with malloc() size (that can lead to
...
SEGV) is corrected.
2000-05-31 03:18:02 +00:00
itojun
0395cd74d3
use getifaddrs, not SIOCGIFCONF.
2000-02-25 10:05:46 +00:00
itojun
5dd97131d3
typo (sa_family must be sa_len)
...
NetBSD PR: 9084
1999-12-30 15:39:40 +00:00
itojun
2d9ec4dac7
void unbounded sprintf().
...
fix proc title.
1999-12-20 16:22:41 +00:00
itojun
01c6c6df06
fix wrong indentation.
1999-12-20 16:03:19 +00:00
itojun
e67cbfed4a
oops, fix typo.
1999-12-20 16:01:31 +00:00
itojun
e0e43ad479
fix uninitialized pointer access on mapped addr handling.
...
add more debugging info on setsockopt errors.
1999-12-20 15:35:55 +00:00
itojun
184c111af0
fix possible infinite loop in tcp relay (avoid possible DoS).
...
PR: 8640
From: Feico Dillema
1999-12-20 05:41:35 +00:00
itojun
9e8f1055f6
sync with latest KAME. nuke use of ss_{len,family}.
...
CVsA: ----------------------------------------------------------------------
1999-12-09 15:20:02 +00:00
itojun
e5db40b6de
add faithd, IPv6-to-IPv4 tcp relay translator.
...
utilizes pseudo-device "faith".
1999-07-13 22:16:48 +00:00