Commit Graph

19 Commits

Author SHA1 Message Date
christos
2579358a05 KNF, pass lint. 2010-11-26 18:58:43 +00:00
lukem
6bc6e73b91 Fix -Wsign-compare issues 2009-04-19 06:09:42 +00:00
christos
10dfada83b Coverity CID 1321: False -gative detection. 2006-05-24 21:47:25 +00:00
christos
4c1a6c8705 Coverity CID 3671: Cast close to void and don't close negative fds. 2006-05-23 01:36:36 +00:00
itojun
522016be88 plug memory leak. Patrick Latifi 2005-03-16 05:05:06 +00:00
dsl
cfe7f80ff0 Add (unsigned char) cast to ctype functions 2004-10-29 20:51:11 +00:00
itojun
ecf557376f use poll(2) instead of select(2). based on patch from deraadt@openbsd, via kame 2003-09-02 22:57:29 +00:00
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
184465092f correct ftp relay functionality. 2002-06-24 06:03:13 +00:00
itojun
8a4859803b remove unmaintained option (#ifdef FAITH4). sync w/kame 2002-06-07 00:20:45 +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
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
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
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
2d9ec4dac7 void unbounded sprintf().
fix proc title.
1999-12-20 16:22:41 +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
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