22 Commits

Author SHA1 Message Date
4a74b5bcfc Nitori Engineering 2025-04-17 20:33:16 -03:00
Mike Belopuhov
1c6061c4af Don't waste time with DNS response if the session is going away.
Downgrade DNS failures to LOG_DEBUG while here.
2014-10-28 02:48:30 +01:00
Florian Obser
e68221bca4 Check that the reverse resolved hostname resolves back to the
connecting IP.
2014-06-23 15:02:33 +02:00
Mike Belopuhov
120eedde50 prevent icbd_drop from freeing an icb session while dns is in progress 2014-06-17 13:46:35 +02:00
Mike Belopuhov
94404148eb check that reverse dns entry can be resolved 2014-06-17 13:33:22 +02:00
Florian Obser
dab4135734 Use libevent asr helpers; from eric@
"please commit them now" mikeb@
2014-06-17 12:50:41 +02:00
Florian Obser
ee0e95fea0 new and public asr api; from eric@
OK mikeb
2014-03-31 16:14:10 +02:00
Mike Belopuhov
e80f9fcc8a Convert dns_* functions to use icbd_log instead of syslog 2014-03-10 13:11:56 +01:00
Mike Belopuhov
e87ab6d0e4 Convert DNS code to use ASR 2014-03-09 16:09:45 +01:00
Mike Belopuhov
9c04f2a610 Make dns_done read loop work the same way dns_dispatch does 2014-03-07 17:40:24 +01:00
Mike Belopuhov
145faa6040 Client can exit before DNS has a chance to update the information 2014-03-07 17:25:18 +01:00
Mike Belopuhov
a76f86650f Improve the read loop in dns_dispatch before we switch to bufferevents 2014-03-07 16:45:28 +01:00
Mike Belopuhov
72898238c8 Change DNS resolver to ignore hostnames longer than 39 symbols and
prefer IP/IPv6 addresses instead;  substitute "localhost" with
"unknown".
2014-03-07 16:42:03 +01:00
Mike Belopuhov
460786f474 Add command line switch '-n' to disable DNS 2014-03-06 16:30:44 +01:00
Stuart Henderson
e54f151f05 chdir(/) immediately after chroot 2014-03-05 21:48:17 +00:00
Mike Belopuhov
55923b7428 Add some basic logger framework 2014-03-05 16:37:31 +01:00
Mike Belopuhov
626f420e1c Add icb_vis to escape '%' chars and do some other sanitizing 2014-03-04 18:09:42 +01:00
Mike Belopuhov
b4049f9ba8 Rewrite DNS resolver to do things truly asynchronously 2014-03-04 11:34:57 +01:00
Mike Belopuhov
d55422352e setusercontext(3) does it's own syslogging 2014-03-02 02:50:57 +01:00
Mike Belopuhov
c8c9ccfb43 set tos bits to low delay, remove excessive logging in dns resolver 2010-04-11 13:37:57 +02:00
Mike Belopuhov
e3a7f9bdf8 drop rcsids 2010-01-08 12:22:40 +01:00
Mike Belopuhov
cd7b81d00d move it to the github 2010-01-08 12:20:28 +01:00