[Dnsmasq-discuss] (no subject)

2013-12-06 Thread Roy Marples
Hi List I've been adding RFC3925 Vendor-Identifying Vendor Options to dhcpcd(8) and testing against dnsmasq-2.67 I added this to dnsmasq.conf: dhcp-option=vi-encap:12345, 1, It is pitch black. You are likely to be eaten by a grue. dhcp-option=vi-encap:12345, 2, 100 I added this to

Re: [Dnsmasq-discuss] (no subject)

2013-12-06 Thread Simon Kelley
On 06/12/13 19:20, Roy Marples wrote: Hi List I've been adding RFC3925 Vendor-Identifying Vendor Options to dhcpcd(8) and testing against dnsmasq-2.67 I added this to dnsmasq.conf: dhcp-option=vi-encap:12345, 1, It is pitch black. You are likely to be eaten by a grue.

Re: [Dnsmasq-discuss] (no subject)

2013-12-06 Thread Roy Marples
On 06/12/2013 21:37, Simon Kelley wrote: It fails at startup? I can't reproduce that. What's the exact message? Ahem. A buggy config. my bad! Secondly, this works via DHCPv4, but doesn't work for DHCPv6. How can I debug this? Wireshark shows a correct trace with the same enterprise number

[Dnsmasq-discuss] (no subject)

2013-01-17 Thread Eric Vance
I'm using dnsmasq on an OpenWRT Router. I have the following set in /etc/dnsmasq.conf: local-ttl=0 cache-size=0 I believe that tells the client not to cache the dns (which I've confirmed) and it tells dnsmasq to not cache responses. Let's say I have this entry in my /etc/hosts file:

Re: [Dnsmasq-discuss] (no subject)

2013-01-17 Thread richardvo...@gmail.com
From your symptoms, I believe you aren't sending SIGHUP correctly, and dnsmasq picks up the change after a minute due to its /etc/hosts polling. dnsmasq uses multiple processes when seteuid behavior is enabled, so you might be signalling the wrong one. On Thu, Jan 17, 2013 at 11:51 AM, Eric

Re: [Dnsmasq-discuss] (no subject)

2013-01-17 Thread Eric Vance
That is very possible. Good suggestion. Does anyone have any suggestion of how I should SIGHUP dnsmasq? I've tried these without much luck: kill -1 `pidof dnsmasq`; kill -9 `pidof dnsmasq`; kill -HUP `pidof dnsmasq`; kill -SIGHUP `pidof dnsmasq`; /etc/init.d/dnsmasq restart; I even put a

Re: [Dnsmasq-discuss] (no subject)

2013-01-17 Thread richardvo...@gmail.com
I strongly suggest you test it from your login shell first, to separate problems in the approach from problems in the cron environment. Run 'ps' to see how many dnsmasq processes you have. If there's more than one, then 'pidof' won't be as useful. Most startup scripts write the PID of the

Re: [Dnsmasq-discuss] (no subject)

2013-01-17 Thread Helmut Hullen
Hallo, richardvo...@gmail.com, Du meintest am 17.01.13: I strongly suggest you test it from your login shell first, to separate problems in the approach from problems in the cron environment. Run 'ps' to see how many dnsmasq processes you have. If there's more than one, then 'pidof'

[Dnsmasq-discuss] (no subject)

2012-04-05 Thread dnsmasq dnsmasq
Hello, I'm new with dnsmasq and i have to understand its source code for my internship. So i have some questions: 1. Did Dnsmasq provide only mask of DNS requests, or it can also provide DNS services? 2. Where Dnsmasq save DHCP leases and Masq for DNS? 3. there isn't documentation which explain

Re: [Dnsmasq-discuss] (no subject)

2012-04-05 Thread Simon Kelley
On 05/04/12 18:33, dnsmasq dnsmasq wrote: Hello, I'm new with dnsmasq and i have to understand its source code for my internship. So i have some questions: 1. Did Dnsmasq provide only mask of DNS requests, or it can also provide DNS services? It provides DNS caching and forwarding, DHCP and

[Dnsmasq-discuss] (no subject)

2012-04-05 Thread MOHAMAD SARAVI
zendegy6...@gmail.com ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

[Dnsmasq-discuss] (no subject)

2012-03-13 Thread MOHAMAD SARAVI
zendegy6...@gmail.com ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

[Dnsmasq-discuss] (no subject)

2012-01-27 Thread MOHAMAD SARAVI
zendegy6...@gmail.com ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

[Dnsmasq-discuss] (no subject)

2012-01-19 Thread MOHAMAD SARAVI
zendegy6...@gmail.com ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

Re: [Dnsmasq-discuss] (no subject)

2011-10-19 Thread ramakanth . varala
hope you are doing good! i feel like you need to advance further in your life http://t.co/x6zs8eet

Re: [Dnsmasq-discuss] (no subject)

2007-02-15 Thread Simon Kelley
Jan 'RedBully' Seiffert wrote: It's a pity there isn't a way to do that portably without involving FP. Hmmm, sigh, yes, there's cleanly a gap (i mean, that's a quite common task and a double for this??...). On the other hand, what return type should a standard choose given that time_t can

Re: [Dnsmasq-discuss] (no subject)

2007-02-13 Thread mmarkk
Il giorno 12/feb/07, alle ore 20:31, Jan 'RedBully' Seiffert ha scritto: Both can be ignored (modulo that 1) deals with permissions) So maybe some #ifdef __LINUX__ or something like that may help. ok, thanks, dnsmasq should run on my router, where there is only an account, root. Anyway

Re: [Dnsmasq-discuss] (no subject)

2007-02-13 Thread Simon Kelley
mmarkk wrote: Il giorno 12/feb/07, alle ore 20:31, Jan 'RedBully' Seiffert ha scritto: Both can be ignored (modulo that 1) deals with permissions) So maybe some #ifdef __LINUX__ or something like that may help. ok, thanks, dnsmasq should run on my router, where there is only an account,

Re: [Dnsmasq-discuss] (no subject)

2007-02-13 Thread mmarkk
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 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

Re: [Dnsmasq-discuss] (no subject)

2007-02-13 Thread Simon Kelley
mmarkk wrote: maybe all of this is because my processor does not handle floating point? cat /proc/cpuinfo processor : 0 cpu model : MIPS 4KEc V4.8 BogoMIPS: 149.91 wait instruction: no microsecond timers : yes extra interrupt

Re: [Dnsmasq-discuss] (no subject)

2007-02-13 Thread mmarkk
Il giorno 13/feb/07, alle ore 18:17, Simon Kelley ha scritto: Do you have floating point functions available in your C library? The solution might be as simple as building dnsmasq with make COPTS=-msoft-float to force the compiler to insert calls to the library instead of FP instructions.

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] (no subject)

2007-02-13 Thread Simon Kelley
Jan 'RedBully' Seiffert wrote: hmmm, or not? Rules of implicit type conversion... Is the difftime result casted to an int or the int casted to a double: Good? ./src/rfc2131.c:976: else if (lease lease-expires != 0 difftime(lease-expires, now) 0.0) Bad? ./src/lease.c:251: if

Re: [Dnsmasq-discuss] (no subject)

2007-02-13 Thread Simon Kelley
mmarkk wrote: Il giorno 13/feb/07, alle ore 18:17, Simon Kelley ha scritto: Do you have floating point functions available in your C library? The solution might be as simple as building dnsmasq with make COPTS=-msoft-float to force the compiler to insert calls to the library instead of FP

Re: [Dnsmasq-discuss] (no subject)

2007-02-13 Thread Jan 'RedBully' Seiffert
Simon Kelley wrote: Jan 'RedBully' Seiffert wrote: hmmm, or not? Rules of implicit type conversion... Is the difftime result casted to an int or the int casted to a double: Good? ./src/rfc2131.c:976: else if (lease lease-expires != 0 difftime(lease-expires, now) 0.0) Bad?

Re: [Dnsmasq-discuss] (no subject)

2007-02-12 Thread Simon Kelley
mmarkk wrote: I have some problems building dnsmasq for mipsel-uclibc target. The problem is the 2 calls to function prctl that are in dnsmasq.c . While compiling, I get these errors from ld: dnsmasq.o: In function 'main': dnsmasq.o (.text+0xae0): undefined reference to 'prctl' dnsmasq.o