Eugene Bujak
|
8316d39b42
|
Move filtering setting fields from main app to dnsforward.
|
2018-12-05 16:56:11 +03:00 |
|
Eugene Bujak
|
7120f551c8
|
dnsforward -- rename BlockedTTL to BlockedResponseTTL to be in line with app's config variable.
|
2018-12-05 16:56:11 +03:00 |
|
Eugene Bujak
|
e4a3564706
|
Fix a logical race that wasn't detectable by -race -- we were closing a connection that was already reestablished.
|
2018-12-05 16:56:11 +03:00 |
|
Eugene Bujak
|
4eb122e973
|
Avoid duplication of fields in filter struct.
|
2018-12-05 16:56:11 +03:00 |
|
Eugene Bujak
|
a904f85e61
|
dnsforward library -- default to plain DNS for high-performance testing.
|
2018-12-05 16:54:56 +03:00 |
|
Eugene Bujak
|
584f441141
|
dnsforward library -- introduce IsRunning()
|
2018-12-05 16:54:56 +03:00 |
|
Eugene Bujak
|
7944f23d95
|
dnsforward library -- consistently nullify and close listening socket when we're done with it.
|
2018-12-05 16:54:56 +03:00 |
|
Eugene Bujak
|
639b34c7d1
|
dnsforward library -- Fix race conditions found by -race
|
2018-12-05 16:54:56 +03:00 |
|
Eugene Bujak
|
5a548be16c
|
Add dns forwarding server library
|
2018-12-05 16:54:56 +03:00 |
|