Re: [Dnsmasq-discuss] Fake reverse lookups from cache

2015-02-06 Thread Joachim Zobel
[Resend, this mail did not make it to the list (wrong From:)] Am Montag, den 02.02.2015, 16:57 +0100 schrieb Niels: I do see the usefulness of such an option but only if implemented such that real reverse lookups can still function unchanged. One way would be to implement a separate dns

[Dnsmasq-discuss] Reverse Lookups from the query log

2015-02-17 Thread Joachim Zobel
Hi. To translate my routers netstat-nat output into names that actually talk to me I have started writing to simple shell scripts. They require log-queries log-facility=/var/log/dnsmasq.log to be set. With netstat-nat -n -4 | reverse_replace.sh I get retranslated output. Sincerely, Joachim

[Dnsmasq-discuss] Fake reverse lookups from cache

2015-01-31 Thread Joachim Zobel
Hi. I am currently thinking about implementing a feature in dnsmasq that I consider highly useful. When I do a netstat-nat on my router (asuswrt), I will mostly get reverse names that are about as useful as ip adresses. So my idea is to implement a configuration option for dnsmasq:

[Dnsmasq-discuss] Option log-queries=extra complains about extraneous parameter

2015-02-14 Thread Joachim Zobel
Hi. Trying to use the new extra logging results in a failed startup and a syslog message saying the configuration has an extraneous parameter. Ist this a bug or am I missing something obvious? Sincerely, Joachim ___ Dnsmasq-discuss mailing list

[Dnsmasq-discuss] log-queries=extra - Ignore my previous mail

2015-02-14 Thread Joachim Zobel
I just found I actually was stupid. Sincerely, Joachim ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

Re: [Dnsmasq-discuss] Reverse Lookups from the query log

2015-03-01 Thread Joachim Zobel
Am Montag, den 23.02.2015, 21:39 + schrieb Simon Kelley: Thanks for that. I added the scripts to the /contrib directory of the source distribution. I hope that's OK. Yes, but better use the attached script. It is only one script now. I summarize: The script reads stdin and replaces all IP

Re: [Dnsmasq-discuss] Integration with iptables?

2015-06-12 Thread Joachim Zobel
Just learned about the dnsmasq ipset option. That is really cool. Thanks, Joachim ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

[Dnsmasq-discuss] Integration with iptables?

2015-06-12 Thread Joachim Zobel
Hi. A use case for my router would be: Block every outgoing traffic except for that going to the domain whatsapp.net. Note: No way to do this by port, whatsapp is using http(s). Since there is no way to list the hosts in a domain this would require a way for dnsmasq to talk to iptables. Any

Re: [Dnsmasq-discuss] Integration with iptables?

2015-06-12 Thread Joachim Zobel
A way to maintain ipsets via dnsmasq would for example do what I need. Sincerely, Joachim ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

[Dnsmasq-discuss] Log to database

2016-06-12 Thread Joachim Zobel
Hi. The main problem for my reverse_replace script is speed. It takes a minute, which is too slow to be run from a web gui. This is because the script parses the last 15k lines and puts them into an IP->name lookup tables made up from enviroment variables. Is there a way to log queries to a

[Dnsmasq-discuss] reverse_replace Script updated

2016-06-10 Thread Joachim Zobel
Hi. Now that my router firmware supports the log-queries=extra option I had the motivation to rewrite my reverse_replace.sh script to use that. The script now replaces IP addresses with the names originally requested as A/ records. Please update he version in contribute. Sincerey,

Re: [Dnsmasq-discuss] Log to database

2016-06-13 Thread Joachim Zobel
On 13.06.2016 18:04, Eric Hiller wrote: "This paper describes an approach with rsyslogd, an alternative enhanced syslog daemon natively supporting MySQL and PostgreSQL. " http://www.rsyslog.com/doc/v8-stable/tutorials/database.html Hi. Unfortunately this does not fit my needs. Since my

Re: [Dnsmasq-discuss] Log to database

2016-06-13 Thread Joachim Zobel
Oooops, logging to a pipe is not supported. Got the point ... Sincerely, Joachim ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

[Dnsmasq-discuss] Address configuration with wildcard

2016-11-26 Thread Joachim Zobel
Hi. Is there a way to have address configuration entries with wildcards. I tried address=/alt#-mtalk.google.com/127.0.0.1 but it did not work with e.g. alt8-mtalk.google.com Sincerely, Joachim ___ Dnsmasq-discuss mailing list

Re: [Dnsmasq-discuss] Address configuration with wildcard

2016-11-28 Thread Joachim Zobel
On 27.11.2016 10:14, Albert ARIBAUD wrote: The only way to get the behaviour you are looking for in dnsmasq would be to modify the search_servers() function in src/forward.c -- without of course introducing any bug or impeding efficiency especially under high loads. Hi. Is this considered a