leitner
|
444c36f3e8
|
silence clang static analyzer
|
2 years ago |
leitner
|
1217583e2b
|
now that gcc 11's static analyzer looks at array bounds in arguments
like "char ip[4]", let's be more strict about that
|
4 years ago |
leitner
|
e1f516b426
|
add missing man pages
|
4 years ago |
leitner
|
f6bdbda5d5
|
left old constants in
|
4 years ago |
leitner
|
5e47b80d5a
|
need to use own constants now
|
4 years ago |
leitner
|
7fd8e31f7d
|
OSX does not have accept4 :(
|
4 years ago |
leitner
|
0579cb6a7b
|
it's fcntl.h not sys/fcntl.h
|
4 years ago |
leitner
|
b5f21a3900
|
add support for saving syscalls with accept4
|
4 years ago |
leitner
|
14df96bc34
|
less warnings
|
6 years ago |
leitner
|
421df2174c
|
systems without fastopen support return EPIPE
|
6 years ago |
leitner
|
1137831ddd
|
make fastopen fall back to connect if len==0
|
7 years ago |
leitner
|
ed67042965
|
undo freebsd fix, does not compile
|
7 years ago |
leitner
|
2cc0eec6cc
|
#define _POSIX_SOURCE for FreeBSD
|
7 years ago |
leitner
|
61db2acee6
|
no :: at the end if it's only :0
|
7 years ago |
leitner
|
a4a2aed3de
|
fmt_ip6 was violating rfc5952 section 4.2.2
|
7 years ago |
leitner
|
760598ec2f
|
#include <foo.h> -> #include <libowfat/foo.h>
|
8 years ago |
leitner
|
a7f74699da
|
add #include <string.h> for memset/strcpy
|
8 years ago |
leitner
|
79cc92ec6f
|
remove warning for crippled operating systems
|
9 years ago |
leitner
|
d26b8082d8
|
shut up new gcc 6 warnings
|
9 years ago |
leitner
|
83712b7f23
|
attempt to support FreeBSD
|
9 years ago |
leitner
|
189d8bad1d
|
darwin compat
|
9 years ago |
leitner
|
f74f9b9b25
|
add socket_udp4b and socket_udp6b
|
9 years ago |
leitner
|
7bdc1b29bb
|
a few missing headers and minor fixes
fix corking behavior for the case where a buffer follows a buffer in
iob_send
|
9 years ago |
leitner
|
695843c79e
|
small buffer optimization
fix botched noipv6 case in buffer_tcp6
|
10 years ago |
leitner
|
d0e735e2c2
|
support noipv6 being set externally even when there is perfectly good
IPv6 support.
|
10 years ago |
leitner
|
1856c8a2d7
|
damn it, fucked up the return value
|
10 years ago |
leitner
|
6e022f98c9
|
... but if errno==EINVAL still fall back to socket+fcntl (Robert Henney)
|
10 years ago |
leitner
|
35f5a9692a
|
if SOCK_NONBLOCK is defined, use it instead of socket+fcntl
|
10 years ago |
leitner
|
a691887e75
|
forgot to check in the actual code m(
|
10 years ago |
leitner
|
88167b5ce1
|
add socket_fastopen, socket_fastopen_connect4, socket_fastopen_connect6 and socket_quickack
|
10 years ago |
leitner
|
dc4d204f4e
|
also mention scan_ip6if(3)
|
10 years ago |
leitner
|
8581b74a84
|
on FreeBSD, on a PF_INET6 socket, recvfrom and friends can actually
return a sockaddr with family PF_INET. WTF? Work around that.
|
11 years ago |
leitner
|
53e2af7389
|
never close fd 0, 1 or 2 in buffer_close
|
11 years ago |
leitner
|
4a04c40595
|
get rid of more -Wconversion warnings
|
11 years ago |
leitner
|
c099365ec7
|
mingw compile fix
|
13 years ago |
leitner
|
82e6b4086b
|
socket_remote4 does not need havescope.h
|
13 years ago |
leitner
|
2cb6a12c92
|
#include <errno.h>
|
15 years ago |
leitner
|
b4469f1ed8
|
support SCTP in addition to TCP
|
15 years ago |
leitner
|
78306e451e
|
typo
|
16 years ago |
leitner
|
3636c04609
|
use SO_REUSEPORT
|
17 years ago |
leitner
|
67bfd53652
|
check for socket() returning -1 before trying to set the socket
non-blocking so we don't hide the "too many open files" error code
|
17 years ago |
leitner
|
c114890119
|
*cough*
|
17 years ago |
leitner
|
d4cdc92b4a
|
remove warning
|
17 years ago |
leitner
|
22f88f6550
|
add socket_deferaccept
|
17 years ago |
leitner
|
b0d5046428
|
fmt_ip6 compresses at best spot, not at first spot (Nikola Vladov)
|
18 years ago |
leitner
|
0cda5dacc8
|
immer noch falsch
|
18 years ago |
leitner
|
8420a7a724
|
fix man pages
|
18 years ago |
leitner
|
3004b518ef
|
switch to size_t and ssize_t
|
18 years ago |
leitner
|
83c1186870
|
fix for NetBSD 3.0 (they broke their sys/types.h)
remove support for ip6.int reverse lookup in DNS routines (the domain is
no longer delegated)
|
19 years ago |
leitner
|
144fb41918
|
remove warnings
|
19 years ago |