Wouter Wijngaards
121cb15d67
remote control setup, port binding and service.
...
git-svn-id: file:///svn/unbound/trunk@1227 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-09-10 15:23:01 +00:00
Wouter Wijngaards
26429c9457
refactored code.
...
git-svn-id: file:///svn/unbound/trunk@1225 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-09-04 14:29:05 +00:00
Wouter Wijngaards
960da40475
DoS protection.
...
git-svn-id: file:///svn/unbound/trunk@1221 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-09-02 13:04:47 +00:00
Wouter Wijngaards
01cabbebc1
do not allow cache snooping by default.
...
git-svn-id: file:///svn/unbound/trunk@1220 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-09-01 13:48:24 +00:00
Wouter Wijngaards
51d548563c
logfile creation fixup.
...
git-svn-id: file:///svn/unbound/trunk@1214 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-08-28 09:02:48 +00:00
Wouter Wijngaards
e474ca2619
bug #199 .
...
git-svn-id: file:///svn/unbound/trunk@1212 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-08-27 11:29:46 +00:00
Wouter Wijngaards
f809bfa145
Remove daemon(3) usage.
...
git-svn-id: file:///svn/unbound/trunk@1211 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-08-27 06:17:55 +00:00
Wouter Wijngaards
4993c646e7
use daemon(3) if available.
...
git-svn-id: file:///svn/unbound/trunk@1210 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-08-26 12:47:26 +00:00
Wouter Wijngaards
53fed5315c
Drop privileges more.
...
git-svn-id: file:///svn/unbound/trunk@1209 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-08-26 12:11:42 +00:00
Wouter Wijngaards
0d8ce6f075
more fixup pthreads compile.
...
git-svn-id: file:///svn/unbound/trunk@1184 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-08-11 14:02:37 +00:00
Wouter Wijngaards
23ac4b02e3
Fixup compilation without pthreads.
...
git-svn-id: file:///svn/unbound/trunk@1183 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-08-11 13:58:33 +00:00
Wouter Wijngaards
665a98e47b
print openssl version.
...
git-svn-id: file:///svn/unbound/trunk@1168 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-07-25 11:33:31 +00:00
Wouter Wijngaards
34d75b1994
- moved pipe actions to util/tube.c. easier porting and shared code.
...
- check _raw() commpoint callbacks with fptr_wlist.
- iana port update.
git-svn-id: file:///svn/unbound/trunk@1163 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-07-23 09:23:03 +00:00
Wouter Wijngaards
afe9b3e83c
please doxygen, fixup fake func prototypes and make typedef more portable.
...
git-svn-id: file:///svn/unbound/trunk@1160 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-07-18 15:29:33 +00:00
Wouter Wijngaards
e4ef5a6156
tube work for mingw port.
...
git-svn-id: file:///svn/unbound/trunk@1159 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-07-18 15:06:59 +00:00
Wouter Wijngaards
8ab18cb0f7
fds max test before start.
...
git-svn-id: file:///svn/unbound/trunk@1156 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-07-17 10:07:40 +00:00
Wouter Wijngaards
4263f2a692
- lowered log_hex blocksize to fit through BSD syslog linesize.
...
- no useless initialisation if getpwnam not available.
- iana, ldns snapshot updated.
git-svn-id: file:///svn/unbound/trunk@1150 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-07-15 15:05:12 +00:00
Wouter Wijngaards
66f896ddbf
iana update.
...
checklocks.c is not in the compile path for production code anymore.
git-svn-id: file:///svn/unbound/trunk@1129 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-06-24 09:24:08 +00:00
Wouter Wijngaards
f7059107b3
winsock_event handler, working resolution and validation on windows.
...
git-svn-id: file:///svn/unbound/trunk@1124 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-06-17 14:57:18 +00:00
Wouter Wijngaards
7a528cdf53
set USE_WINSOCK if on windows. error string routine. start and clean winsock.
...
git-svn-id: file:///svn/unbound/trunk@1123 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-06-16 15:02:52 +00:00
Wouter Wijngaards
f90f5a2583
windows threads. detect gdi32. nicer DISABLED_THREADS define. Compiles on mingw32.
...
git-svn-id: file:///svn/unbound/trunk@1122 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-06-16 13:39:46 +00:00
Wouter Wijngaards
4a6d702edf
- mingw32 porting.
...
- test for sys/wait.h
- WSAEWOULDBLOCK test after nonblocking TCP connect.
- write_iov_buffer removed: unused and no struct iov on windows.
- signed/unsigned warning fixup mini_event.
- use ioctlsocket to set nonblocking I/O if fnctl is unavailable.
- skip signals that are not defined
- detect pwd.h.
- detect getpwnam, getrlimit, setsid, sbrk, chroot.
- default config has no chroot if chroot() unavailable.
- if no kill() then no pidfile is read or written.
- gmtime_r is replaced by nonthreadsafe alternative if unavail.
used in rrsig time validation errors.
git-svn-id: file:///svn/unbound/trunk@1097 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-05-23 14:13:07 +00:00
Wouter Wijngaards
fa07056f79
mingw port.
...
relabel replaced functions to avoid conflicts with library.
git-svn-id: file:///svn/unbound/trunk@1093 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-05-22 13:30:22 +00:00
Wouter Wijngaards
54318b8c35
Fix bug #175 .
...
git-svn-id: file:///svn/unbound/trunk@1090 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-05-22 09:00:56 +00:00
Wouter Wijngaards
4ba9161e75
Fixup.
...
git-svn-id: file:///svn/unbound/trunk@1070 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-04-24 13:03:59 +00:00
Wouter Wijngaards
9dd64e357f
chroot more tests and more documentation.
...
git-svn-id: file:///svn/unbound/trunk@1067 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-04-24 12:37:01 +00:00
Wouter Wijngaards
227ae5b7a4
SIGPIPE ignore.
...
git-svn-id: file:///svn/unbound/trunk@1062 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-04-22 10:19:24 +00:00
Wouter Wijngaards
9739014da1
fixup chroot and kill-HUP reread of config file.
...
git-svn-id: file:///svn/unbound/trunk@1061 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-04-21 11:34:25 +00:00
Wouter Wijngaards
30a1d557bd
porting.
...
git-svn-id: file:///svn/unbound/trunk@1056 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-04-16 16:09:25 +00:00
Wouter Wijngaards
0f80e5e78a
- removed base_port.
...
- created 256-port ephemeral space for the OS, 59802 available.
git-svn-id: file:///svn/unbound/trunk@1030 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-04-11 14:10:16 +00:00
Wouter Wijngaards
a8bf62f962
- random port selection out of the configged ports.
...
- fixup threadsafety for libevent-1.4.3+ (event_base_get_method).
git-svn-id: file:///svn/unbound/trunk@1029 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-04-11 13:24:49 +00:00
Wouter Wijngaards
f0cf79146c
config available ports, iana assigned ports list.
...
git-svn-id: file:///svn/unbound/trunk@1025 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-04-09 15:07:37 +00:00
Wouter Wijngaards
7eeb7cc78c
statistics cumulative option.
...
git-svn-id: file:///svn/unbound/trunk@1024 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-04-09 12:29:53 +00:00
Wouter Wijngaards
d26b183ba6
- unbound tries to set the ulimit fds when started as server.
...
if that does not work, it will scale back its requirements.
git-svn-id: file:///svn/unbound/trunk@1022 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-04-08 15:02:52 +00:00
Wouter Wijngaards
130a5f2dee
can use DNS-0x20 draft casing.
...
git-svn-id: file:///svn/unbound/trunk@994 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-27 09:21:31 +00:00
Wouter Wijngaards
39b2a21a81
Answers use same case as query does.
...
git-svn-id: file:///svn/unbound/trunk@993 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-26 20:45:20 +00:00
Wouter Wijngaards
f3cfe6ed9c
- setup speec_cache for need-ldns-testns in dotests.
...
- check number of queued replies on incoming queries to avoid overload
on that account.
- fptr whitelist checks are not disabled in optimize mode.
git-svn-id: file:///svn/unbound/trunk@971 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-20 07:18:42 +00:00
Wouter Wijngaards
b2710818d4
Faster due to time-sharing.
...
git-svn-id: file:///svn/unbound/trunk@966 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-19 13:12:23 +00:00
Wouter Wijngaards
94f8dd838c
start without a config file (all default settings).
...
git-svn-id: file:///svn/unbound/trunk@953 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-14 10:37:32 +00:00
Wouter Wijngaards
06890aaf8e
print version.
...
git-svn-id: file:///svn/unbound/trunk@950 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-13 13:24:41 +00:00
Wouter Wijngaards
1dd130be61
stats output text nice.
...
git-svn-id: file:///svn/unbound/trunk@943 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-11 09:19:32 +00:00
Wouter Wijngaards
c8982075c5
unsigned cast for prints.
...
git-svn-id: file:///svn/unbound/trunk@933 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-07 14:55:27 +00:00
Wouter Wijngaards
849026931b
move around debug levels.
...
git-svn-id: file:///svn/unbound/trunk@929 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-07 09:46:49 +00:00
Wouter Wijngaards
46f7dc4d08
nicer printout.
...
git-svn-id: file:///svn/unbound/trunk@923 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-06 10:13:26 +00:00
Wouter Wijngaards
967793aad3
statistics-interval config setting.
...
git-svn-id: file:///svn/unbound/trunk@917 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-05 10:23:44 +00:00
Wouter Wijngaards
da8ae735ce
Fixup getmem.
...
git-svn-id: file:///svn/unbound/trunk@915 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-31 15:09:24 +00:00
Wouter Wijngaards
c8f2bf0333
fixes for random number badness (lack of entropy and SIGFPE from RAND_cleanup
...
too early).
git-svn-id: file:///svn/unbound/trunk@907 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-28 14:34:53 +00:00
Wouter Wijngaards
b7745a2e53
TC bit is formerr.
...
git-svn-id: file:///svn/unbound/trunk@866 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-16 08:53:56 +00:00
Wouter Wijngaards
179273a13a
interface-automatic (IP6mapped, good for anycast service and so on).
...
git-svn-id: file:///svn/unbound/trunk@847 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-15 09:45:30 +00:00
Wouter Wijngaards
1a4d24816b
more portable libtool linking of included ldns package.
...
git-svn-id: file:///svn/unbound/trunk@835 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-10 11:47:07 +00:00