Re: [Dnsmasq-discuss] stop-dns-rebind and IPv6

2010-09-10 Thread Jan 'RedBully' Seiffert
2010/9/10 Mark Cross markcross.gpg...@gmx.com: [snip]    BEHAVE          64:ff9b::/96  Well Known Prefix Oh, drafts are also OK? Then i have this nice comment here in my code: //TODO: add DS-Lite well known addresses /* * When the draft gets to standard: * 192.0.0.0/29 is reserved for the p2p

Re: [Dnsmasq-discuss] stop-dns-rebind and IPv6

2010-09-09 Thread Jan 'RedBully' Seiffert
2010/9/8 Simon Kelley si...@thekelleys.org.uk: dnsm...@flyingout.name wrote: [snip - IPv6 rebind filter failing] What IPv6 ranges need to be blocked? the IPv4-mapped ones obviously, but ::1 also? Sure, it's the equivalent to 127.0.0.1 What about the fe80:: link-local addresses. I would say

Re: [Dnsmasq-discuss] Stateless DHCPv6 Server

2010-07-01 Thread Jan 'RedBully' Seiffert
Simon Kelley schrieb: François-Xavier Le Bail wrote: Hello, [snip] Is there current plans to support in DNSmasq a stateless DHCPv6 server ? Not currently. Would there be any advantage to having this as part of dnsmasq, rather than a stand-alone daemon? 1) One config. 2) Getting over

Re: [Dnsmasq-discuss] TFTP for IPv6

2010-06-18 Thread Jan 'RedBully' Seiffert
Simon Kelley schrieb: Adding IPv6 support would be fairly simple: the DNS part of dnsmasq does do IPv6, so all the bits are already in place, there just need to be an IPv6 socket listening as well as an IPv4 one, and a couple of address fields in structures need to be extended to hold IPv6

Re: [Dnsmasq-discuss] TFTP for IPv6

2010-06-18 Thread Jan 'RedBully' Seiffert
Jan 'RedBully' Seiffert schrieb: Simon Kelley schrieb: Adding IPv6 support would be fairly simple: the DNS part of dnsmasq does do IPv6, so all the bits are already in place, there just need to be an IPv6 socket listening as well as an IPv4 one, and a couple of address fields in structures

Re: [Dnsmasq-discuss] TFTP for IPv6

2010-06-18 Thread Jan 'RedBully' Seiffert
Jan 'RedBully' Seiffert schrieb: Jan 'RedBully' Seiffert schrieb: Simon Kelley schrieb: Adding IPv6 support would be fairly simple: the DNS part of dnsmasq does do IPv6, so all the bits are already in place, there just need to be an IPv6 socket listening as well as an IPv4 one, and a couple

Re: [Dnsmasq-discuss] next server and vendor encapsulated

2010-06-13 Thread Jan 'RedBully' Seiffert
Helmut Hullen schrieb: [snip] My first trial: Dnsmasq version 2.52 - dhcp-mac = set:fog, 11.22.33.44.55.66 # beliebig oft zu wiederholen pxe-service = tag:fog,x86PC,fog,192.168.0.5 pxe-service = tag:!fog,x86PC,Arktur,192.168.0.1 #

Re: [Dnsmasq-discuss] Iterative queries (Re: NS records)

2010-05-12 Thread Jan 'RedBully' Seiffert
clemens fischer schrieb: [snip] When testing the recent testing version with the rebind-domain-ok option (2.53test25) I noticed that dnsmasq doesn't do iterative queries, only recursive ones. Yes, and that is the way it is intendet. This means dnsmasq forwards queries to an ISP's resolver

Re: [Dnsmasq-discuss] Why is dnsmasq handing out the same IP to different MACs?

2010-04-13 Thread Jan 'RedBully' Seiffert
Paul Smith schrieb: On Mon, 2010-04-12 at 20:51 +0100, Simon Kelley wrote: [snip] You are seeing problems because you are running lots of hosts through the address-aquisition process simultaneously and their MAC addresses are all very similar because they have the same manufacturer. This is

Re: [Dnsmasq-discuss] wildcard in address switch

2010-03-25 Thread Jan 'RedBully' Seiffert
simon stenning schrieb: Hi I would like to implement wildcards in the address switch, along the lines of [snip] Is this possible? Is there a wildcard character to be added ie address=/%domain%/127.0.0.1/ Besides of '#', which will match any domain, no, no wildcard character. But are

Re: [Dnsmasq-discuss] Add address file option

2010-03-05 Thread Jan 'RedBully' Seiffert
Simon Kelley schrieb: [snip] I'd be rather more inclined to extend the DBus interface, which allows dynamic setting of servers (but not source ports) I'm still bewildered why people are so allergic to restarting dnsmasq: it takes almost no time, doesn't disrupt existing connections and the

Re: [Dnsmasq-discuss] Add address file option

2010-03-05 Thread Jan 'RedBully' Seiffert
Perette Barella schrieb: Was this mail also ment to go to the list? On 2010年03月05日, at 12:16, Jan 'RedBully' Seiffert wrote: [snip] As far as coming up with a way to handle restarting dnsmasq without hiccups... I tend to agree with Brad... if you need 100% uptime, a better solution

Re: [Dnsmasq-discuss] IP address based on switch port number (option 82)

2010-02-18 Thread Jan 'RedBully' Seiffert
richardvo...@gmail.com schrieb: On Wed, Feb 17, 2010 at 3:05 PM, Simon Kelley si...@thekelleys.org.uk wrote: richardvo...@gmail.com wrote: [snip] Actually, instead of prohibiting use of tags set by tag-if for further tag-if, I think it's more reasonable to execute the lines in order and

Re: [Dnsmasq-discuss] IP address based on switch port number (option 82)

2010-02-18 Thread Jan 'RedBully' Seiffert
Simon Kelley schrieb: Jan 'RedBully' Seiffert wrote: I see where this will all lead to ... a tag construction tool with dnf generation and Quine–McCluskey minimizer. Perfect! I look forward to the patch. My non-backpropagating tag-if evaluator took 11 lines of code. I'll give you

Re: [Dnsmasq-discuss] forwarding-loop mitigation.

2010-02-17 Thread Jan 'RedBully' Seiffert
Simon Kelley schrieb: Alberto's query got me thinking: If dnsmasq were to read the value of the IP hop-count on incoming queries, and decrement it when forwarding, loops would be squashed in the same way as IP layer-three forwarding. Can anyone see a problem with this? If i'm not

Re: [Dnsmasq-discuss] how to add regex matching ?

2009-12-21 Thread Jan 'RedBully' Seiffert
pulle...@web.de schrieb: hi, gibt es deinen patch auch für die 2.51 ? bin kein coder :~/dnsmasq-2.51# patch attachment-0001.bin patching file Makefile Hunk #1 FAILED at 27. Hunk #2 FAILED at 36. Hunk #3 FAILED at 56. 3 out of 3 hunks FAILED -- saving rejects to file Makefile.rej

Re: [Dnsmasq-discuss] how to add regex matching ?

2009-12-21 Thread Jan 'RedBully' Seiffert
Jan 'RedBully' Seiffert schrieb: [snip] Looks, my regex patch does not apply to 2.51, so i imported 2.51 into my VCS, merged it and regenerated the patch. And while at it, rediff against dnsmasq-2.52test12 Apply with: cd dnsmasq-2.52test12 patch -p1 patchfile_name.patch Only compile

Re: [Dnsmasq-discuss] Custom DNS Order

2009-01-05 Thread Jan 'RedBully' Seiffert
Xavier Kerestesy wrote: Does anyone have an idea on how I can accomplish this? Hmmm, it is still a little confusing what you are trying to achive, but i guess you want dnsmasq to query different DNS-Server based on the client MAC-Address. This is AFAIK not possible. But there are

Re: [Dnsmasq-discuss] Multiple Resolv Files?

2008-11-07 Thread Jan 'RedBully' Seiffert
Petri Savilahti wrote: Hallo Helmut, Danke schoen fuer deine Hilfe! What if the primary link (/etc/resolv.conf) goes down? Dnsmasq will not get any replies using nameservers from this file. Does dnsmasq automatically read then the /etc/ppp/resolv.conf? dnsmask reads all specified files

Re: [Dnsmasq-discuss] Re: using DHCP to set clients' MTU

2008-10-31 Thread Jan 'RedBully' Seiffert
Peter wrote: Apologies for digging up this thread, but its exactly my issue, and after nearly 12 hours researching it, im jaded to the point of madness. Same deal, theres a modem running off a pppoa dsl link (NZ), and the modem has a pppoe - pppoa pass through feature ( Draytek Vigor series)

Re: [Dnsmasq-discuss] using DHCP to set clients' MTU

2008-09-12 Thread Jan 'RedBully' Seiffert
Adam Hardy wrote: Jan 'RedBully' Seiffert on 11/09/08 21:17, wrote: [snip] Hmmm, a mtu of 1430 looks a bit strange, but propably depends on your link. Some kind of VPN or PPPoA on your side? Or are you saying paypal has some kind of Tunnel/Route/Whatever which limits THEIR mtu

Re: [Dnsmasq-discuss] using DHCP to set clients' MTU

2008-09-11 Thread Jan 'RedBully' Seiffert
Adam Hardy wrote: Steven Jan Springl on 11/09/08 15:20, wrote: On Thursday 11 September 2008 14:08, Adam Hardy wrote: Hi, searched the archives and the net and was surprised not to see any hits for MTU except its generic appearance in log statements. I had to change my MTU on my workstations

Re: [Dnsmasq-discuss] dnsmasq rc5 segfault

2008-07-11 Thread Jan 'RedBully' Seiffert
Carlos Carvalho wrote: Today dnsmasq died. It was the first time since I use it :-( In its log there's no sign of problems. The last entry is for a DHCPNAK; it's the only such record with 2.43. The kernel log says Jul 11 14:27:38 hoggar dnsmasq[11797]: segfault at 10 ip 08061e91 sp bfffe770

Re: [Dnsmasq-discuss] Re: DHCP: different IPs for same same MAC

2008-05-05 Thread Jan 'RedBully' Seiffert
Sven Köhler wrote: here's the leases file from a currently running dnsmasq installation: 86400 00:12:f0:a1:81:7d 10.1.2.233 bert 01:00:12:f0:a1:81:7d 86400 00:12:f0:a1:81:7d 10.1.2.22 * ff:65:74:68:31:00:01:00:01:0e:91:06:82:00:00:f0:7a:14:04 How can that be? Same MAC-addresses, but

Re: [Dnsmasq-discuss] setting up dynamic DNS?

2007-09-11 Thread Jan 'RedBully' Seiffert
Adam Hardy wrote: [snip] Yes you did say that previously but I was unsure about the requirement of the slashes front and back, so I left it unchanged. So I changed the dnsmasq.conf again in this way and now the logging gives me the following: isengard dnsmasq[8120]: reading

Re: [Dnsmasq-discuss] setting up dynamic DNS?

2007-09-10 Thread Jan 'RedBully' Seiffert
Adam Hardy wrote: Thanks again for the help. Config files appended at bottom for reference. Jan 'RedBully' Seiffert on 10/09/07 16:45, wrote: Adam Hardy wrote: adam@gondor:~$ cat /etc/resolv.conf search localdomain.net nameserver 192.168.0.2 Ok, looks good. Is their default gateway set

Re: [Dnsmasq-discuss] (no subject)

2007-02-13 Thread Jan 'RedBully' Seiffert
mmarkk wrote: Il giorno 13/feb/07, alle ore 10:58, Simon Kelley ha scritto: There's no way to increase verbosity which would be useful here, since you can build new binaries, I guess adding old-fashioned printf is the way to debug. The code you are interested in in src/dnsmasq.c, lines

Re: [Dnsmasq-discuss] Two dnsmasq servers connected by a VPN

2007-02-04 Thread Jan 'RedBully' Seiffert
Pedro Côrte-Real wrote: I have a VPN permanently connected between two sites. It's a routed one, so each network has its own subnet. There's a dnsmasq server on each side doing DNS and DHCP. The problem is that I want laptops to have the same network name independent of which side they're in.

Re: [Dnsmasq-discuss] Dnsmasq with Gigantic hosts file

2007-01-30 Thread Jan 'RedBully' Seiffert
Simon Kelley wrote: Jan 'RedBully' Seiffert wrote: While it is common that most of these entries will point to one address (be it 127.0.0.1 or a local LAN machine) and F_REVERSE not set for them, it's a pity it will still slow down reverse lookups... Reverse lookups currently iterate over

Re: [Dnsmasq-discuss] Dnsmasq with Gigantic hosts file

2007-01-28 Thread Jan 'RedBully' Seiffert
Jason wrote: Hello all, Hi I'm considering replacing squidguard, a filtering redirector for the squid cache proxy, with a BIG hosts file and dnsmasq (716,093 entries!). Currently, my network serves less than 10 clients(dns only, no dhcp), but may reach 200 in the next few years. Will