Re: [Dnsmasq-discuss] code style, decision

2019-09-12 Thread Jan Psota
> If at all, I'd vote for converting the existing tabstops to 8 spaces > and keep the indentation step of 2 spaces per level. As Simon wrote, it is unnecessary. He uses 2-space indentation, as I can see, and every 8 spaces (32) are put with 1 tab (09). Nothing can go wrong if only editor is set to

Re: [Dnsmasq-discuss] code improvement WAS: code style

2019-09-07 Thread Jan Psota
What about "indent -kr" style? In 16x9 monitor era let's not talk about 4-space long tabs, please :-) (I actually use old 17" CRT, which I like, but I'm still sure that indentation should rely on ASCII 09 - tab character) ___ Dnsmasq-discuss mailing lis

Re: [Dnsmasq-discuss] duplicate dhcp-host IP address

2018-11-12 Thread Jan Psota
> On 12/11/2018 16:11, Donald Muller wrote: > > You could put a reservation in dnsmasq for the wired and wireless > > MAC addresses and give them the same IP address. > > How? > In /etc/dnsmask.hosts I have: ee:33:99:99:cc:dd,88:33:99:88:ee:00,192.168.1.10,hostname ethernet

Re: [Dnsmasq-discuss] systemd service improvements

2016-07-05 Thread Jan Psota
Dnia 2016-07-05, o godz. 16:28:14 Craig Andrews napisał(a): [...] I agree with _all_ you've written. (I'm Gentoo on systemd user - 7s to boot from grub prompt to xdm. Booted from cheap pendrive not SSD! :-) -- Jan Psota ___ Dnsma

Re: [Dnsmasq-discuss] Announce: dnsmasq 2.76 release-candidate.

2016-05-10 Thread Jan Psota
> I've just pushed 2.76rc1 to the usual places. Wait for pl.po! :-) (tomorrow night I'll prepare it) -- jasiu ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

Re: [Dnsmasq-discuss] Announce: release candidate dnsmasq-2.60rc1

2012-02-29 Thread Jan Psota
Dnia 2012-02-29, o godz. 18:30:57 /dev/rob0 napisał(a): > On Tue, Feb 28, 2012 at 08:05:41PM +, Simon Kelley wrote: > > The DHCPv6 code is looking pretty good now (thanks all testers). > > > > So good, in fact, that I think it's time to start moving gently > > towards a release. I've just c

Re: [Dnsmasq-discuss] Call for testers DHCPv6 support.

2012-02-14 Thread Jan Psota
Dnia 2012-02-14, o godz. 21:18:15 Simon Kelley napisał(a): > I've just released dnsmasq-2.60test11 available now from > [...] > Please give it a whirl and let me know hoe it goes. > Works for me :-) @ Gentoo users: updated in bleeding edge. @ Jan 'RedBully': regex patch does not apply. -- jasi

Re: [Dnsmasq-discuss] git/svn/cvs? dnscrypt support?

2011-12-13 Thread Jan Psota
2011-12-13, 12:13:39: Cyril Plisko wrote: > > Simon: "I'll be in a position to do stuff like making git access available. > > I'm" > > What about github ? > Gitorious is OK. Easier, I'd say. -- jasiu

Re: [Dnsmasq-discuss] Howto realize configuration from isc DHCP - Server‏

2011-09-18 Thread Jan Psota
2011-09-18, 14:22:00 Herbert Halegmaier : > i have a simple question. Is it possible to realize following ISC - DHCP - > Server configuration with dnsmasq: > > class "SiemensPhone" { > match if ( > (substring(hardware, 1, 3) = 00:01:E3) or > (substring(hardware, 1, 3) = 00:1A:E8) > )

Re: [Dnsmasq-discuss] Dnsmasq not always seeing unicast packets

2011-09-12 Thread Jan Psota
> Unfortunately using multiple range and interface arguments won't work since I > will need to run >100, with different conf files for each. > Didn't you forget to set "bind-interfaces"? -- jasiu

Re: [Dnsmasq-discuss] Dnsmasq not always seeing unicast packets

2011-09-12 Thread Jan Psota
> I'm running dnsmasq-2.57 on Linux (Ubuntu 11.04), and am starting two dnsmasq > processes to serve DHCP on two interfaces to VMs I'm running. Initial packets > (broadcast MAC/broadcast IP) are handled fine, but when it comes time to renew > and the VMs unicast the packet directly to the server I

Re: [Dnsmasq-discuss] allow unknown clients

2011-09-08 Thread Jan Psota
> How can I setup dnsmasq to provide IP via dhcp to unknwon clients? > I get always this. > > DHCPDISCOVER(eth2) 08:00:37:a0:ca:76 no address available > > The option 'dhcp-authoritative' is in the config file. > That's not the point. You need dhcp-range, like this: dhcp-range=192.168.1.2,192.16

Re: [Dnsmasq-discuss] PXE boot using dnsmasq (load kernel + initrd)

2011-09-03 Thread Jan Psota
> Can i boot a kernel + initrd using dnsmasq's tftp server. Most > available literature suggests using tftp-hpa. > Without any problem. I use it this way, too. All is in example dnsmasq.conf, and you'll need: enable-tftp tftp-root=/... # readable by user dnsmasq is running tftp-secure

Re: [Dnsmasq-discuss] regex-patch for dnsmasq-2.58

2011-08-27 Thread Jan Psota
2011-08-27, 05:16:49 Jan Seiffert wrote: > 2011/8/26 Simon Kelley : > > Dnsmasq 2.58 is done, it's available from the usual place > > > [...] > Attached is the regex-patch for 2.58, for those who like it. > Thanks! Works :-) For Gentoo users: added to bleeding-edge (2.58-r1 USE=regex) and maint

Re: [Dnsmasq-discuss] [suggestion] tiny embedded web server

2011-07-09 Thread Jan Psota
[about web server embedded in dnsmasq] 1. I don't see the need. 2. ...but if Simon think about it, I would propose libmicrohttpd [http://www.gnu.org/s/libmicrohttpd/] I made some tests: 1. example http server running takes 272KB RAM (free - free), (second process didn't use any memory ;-) 2

Re: [Dnsmasq-discuss] DHCP doesn't seem to respond to requests(?)

2011-05-21 Thread Jan Psota
> Turns out that you were on the right track, Jan -- which is OK, except that > it means I wasn't ... and that's not acceptable! :) > ;-))) > I have to learn a LOT about iptables; it all seems mysterious to me. > I would have to, too... That's why I use Shorewall for that: guys that make it know

Re: [Dnsmasq-discuss] DHCP doesn't seem to respond to requests(?)

2011-05-19 Thread Jan Psota
Dnia 2011-05-18, o godz. 22:07:38 napisał(a): > Sorry, I don't know what you mean. A little on the cryptic side for me, > sorry. > > I have no shorewall. I followed these instructions, relevant to this > [...] Oh, I only wanted to say, that DROP policy on servers' input side will cause exactly

Re: [Dnsmasq-discuss] DHCP doesn't seem to respond to requests(?)

2011-05-19 Thread Jan Psota
Dnia 2011-05-18, o godz. 21:30:11 napisał(a): > > > My configuration is simple for now: > > # (latest) > domain-needed > bogus-priv > expand-hosts > domain=lovelady.com > dhcp-range=192.168.0.150,192.168.0.249,72h > dhcp-host=00:23:8b:8a:ad:70,192.168.0.249 > log-dhcp > > > 1. turn on logging b

Re: [Dnsmasq-discuss] DHCP doesn't seem to respond to requests(?)

2011-05-19 Thread Jan Psota
> However, I'm struggling with the DHCP portion. This is being run on a linux > server in my small network, and DHCP has been supplied by the cable modem. > (I did turn off DHCP at the modem.) I have decided to start small - > connecting with an UBUNTU laptop - but my dhclient eth0 requests > con

Re: [Dnsmasq-discuss] Serve DNS requests to hosts outside subnet

2011-05-11 Thread Jan Psota
> I would like to resolve domains using it from the clients that are > connected via the VPN, but it haven't figured out how, the clients can > reach dnsmasq but the requests are refused. to complicate things, the > VPN with racoon does not offer any kind of interface to bind, all the > routing is

Re: [Dnsmasq-discuss] dhcp-script on dnsmasq

2011-04-15 Thread Jan Psota
> However, if I say "ls -l /tmp/post-lease.sh" its most definitely exists and > its chmodded 777 just to be safe. > Mode 777 is never safe... Anybody can edit it and play with rm on root rights. > Am I missing something important? /tmp can be mounted noexec if it points to /dev/shm for example W

Re: [Dnsmasq-discuss] Announce: dnsmasq-2.56

2011-02-16 Thread Jan Psota
2011-02-16, 15:45:41 Matthias Andree wrote: > FreeBSD now has 2.56_1,1 - it is 2.56 + the config file parser fix. > Gentoo users have it too: "bleeding-edge", 2.56-r1. -- jasiu

Re: [Dnsmasq-discuss] Announce: dnsmasq-2.56

2011-02-15 Thread Jan Psota
2011-02-14 20:37:57 Simon Kelley wrote: > Dnsmasq 2.56 is now available, download it from > [...] To Gentoo users: it is (2.56) in "bleeding-edge" overlay. (since yesterday, of course! ;-) -- jasiu

Re: [Dnsmasq-discuss] Multiple Macs -> Same IP

2011-01-12 Thread Jan Psota
JT napisał(a): > Is there a way that I can convince dnsmasq to assign the same IP to the two > different mac addresses? I should note the saving grace here is that the > From man. dhcp-host [...] As a special case, it is possible to include more than one hardware address. eg: --dhcp-host=11

Re: [Dnsmasq-discuss] Re : Feature request for dhcp-hostfiles to behave like addn-hosts

2010-12-16 Thread Jan Psota
> > > A tangential question, I've increased MAXLEASES to > > > > > > #define MAXLEASES 16384 > > > [...] > > a problem that's that prefect excuse to write a script to move the > > database to a MySQL backend, right? > > [...] > What about sqlite? IMHO MySQL seems a little bit overkill for th

Re: [Dnsmasq-discuss] Feature request for dhcp-hostfiles to behave like addn-hosts

2010-12-16 Thread Jan Psota
> > A tangential question, I've increased MAXLEASES to > > > > #define MAXLEASES 16384 > > > > in config.h. Is there any danger in having this many leases and > > increasing this even higher if necessary? I'm a few weeks away from > > being able to test this at scale and appreciate any warnings o

Re: [Dnsmasq-discuss] Handling unknown RTYPEs and querying for version...

2010-11-29 Thread Jan Psota
Here are results from my system: http://n3.netalyzr.icsi.berkeley.edu/summary/id=ae81b058-4485-88b87afa-9e91-46b0-90a7#feedback I have port 53 blocked for TCP output. If I should unlock it for some reasons - please tell me. dnsmasq-2.56test17 / no-IPv6 -- jasiu

Re: [Dnsmasq-discuss] Icon/logo for dnsmasq?

2010-10-19 Thread Jan Psota
Justin Clift wrote about an icon for dnsmasq. Maybe it could look something like a sign of infinity? -- jasiu

Re: [Dnsmasq-discuss] Can't get dnsmasq to work on OS X 10.6 as DNS forwarder only

2010-07-31 Thread Jan Psota
Sung Pae wrote: > ...and on OS X, > > sudo lsof -Pni > > will give very similar output. > ...and so it does on Linux, thanks! -- jasiu

Re: [Dnsmasq-discuss] Can't get dnsmasq to work on OS X 10.6 as DNS forwarder only

2010-07-31 Thread Jan Psota
John Puffs wrote: > I am running Snow Leopard latest 10.6.4 > I installed Macports. I installed dnsmasq > > I tried EVERYTHING I have read. Nothing works. I get: > > failed to bind listening socket Address already in use > > or > > failed to create listening socket Address already in use >

Re: [Dnsmasq-discuss] Single-file config

2010-07-06 Thread Jan Psota
> > "static-ip-dns" or "static-dhcp-dns"? > > Simon wrote: > But less flexible than dns-host, because it's all-or-nothing. It also > requires new behaviour to be defined, whilst just allowing the > equivalent of /etc/hosts lines doesn't. The semantics may be a bit > obscure, but they are at least

Re: [Dnsmasq-discuss] Single-file config

2010-07-05 Thread Jan Psota
> Simon Kelley writes: > > > It would be possible to add something like > > > > dns-host=,[, > > > which would be semantically exactly the same as a line in /etc/hosts. > What about single option to turn on serving names for all hosts specified in dhcp-host lines (files) even though the didn't

Re: [Dnsmasq-discuss] segfault - Re: No dnsmasq after starting openVPN?!

2010-06-08 Thread Jan Psota
> > 2.55 in the process of release now. > > Wow, less than 12 hours later the new (and working, did a --reinstall) > version is already in debian/sid. > "on June 07, 2010 23:24 new release:net-dns/dnsmasq-2.55" :-) (source: http://gitorious.org/jasiu) Gentoo ;-) -- jasiu

Re: [Dnsmasq-discuss] tftp 'Permission denied' issue...

2010-05-16 Thread Jan Psota
clemens fischer wrote: > > Or like "su -c 'whoami; cat -tv that-file | head' nobody". That works > even when login is prohibited for user "nobody". But he already showed > the permissions, it must be some directory higher up. > He won't get there with 'cd' starting from '/' if it is like you s

Re: [Dnsmasq-discuss] tftp 'Permission denied' issue...

2010-05-16 Thread Jan Psota
Dnia 2010-05-16, o godz. 20:32:07 clemens fischer napisał(a): > Steve Elliott wrote: > [...] > My theory is that one of the directories your bootrom.pxe.o is burried > in doesn't have execute permissions for user nobody. > > For this kind of trouble I have this little bash function: > dirperms(

[Dnsmasq-discuss] dnsmasq on Gentoo - always latest in overlay

2010-04-26 Thread Jan Psota
Simon wrote: > http://www.thekelleys.org.uk/dnsmasq/test-releases/dnsmasq-2.53test19.tar.gz Dnsmasq users on Gentoo! There is always latest stable and test/rc version in my overlay 'jasiu': http://gitorious.org/jasiu It is on layman's list. -- jasiu

[Dnsmasq-discuss] Fw: two stupid questions

2009-11-16 Thread Jan Psota
gandalf dnsmasq[5553]: server 192.168.1.1#53: queries sent 0, retried or failed 0 Alternatively you can check dnsmasq's PID with 'ps' command and then use kill -USR1 [PID] like: gandalf ~ # ps -C dnsmasq PID TTY TIME CMD 6136 ?00:00:00 dnsmasq gandalf ~ # kill -USR1 6136 gandalf ~ # #[take a look on logs] -- Jan Psota

Re: [Dnsmasq-discuss] Same IP for a range of MAC addresses?

2009-04-04 Thread Jan Psota
> Heh...I did try using /dev/null for the lease file and dnsmasq complained > that it was an illegal file type (or something like that). --leasefile-ro would do the work, I suppose. -- jasiu Domeny, serwer, Strona WWW ca

Re: [Dnsmasq-discuss] dns on loopback but dhcp on extif?

2009-02-26 Thread Jan Psota
> Is there a way to get the dhcp server to run on the external > interface, but the dns portion to listen on the loopback or some > other ip? Run two processes of dnsmasq :-). I guess You don't want to serve names of DHCP clients on external network? -- jasiu _

Re: [Dnsmasq-discuss] DHCP provided Nameserver

2009-02-17 Thread Jan Psota
> I have dnsmasq providing dhcp for my network. It is providing the > name server that is in my /etc/resolv.conf file to all the hosts on > my network. Instead, I would like to provide the name of the server > running dnsmasq so that hosts will effectively proxy dns through that > server. I thou

Re: [Dnsmasq-discuss] dnsmasq-2.43rc3 caps failed

2008-07-10 Thread Jan Psota
> > On Linux 2.6.24 (Gentoo kernel, though I don't see why it wouldn't > > happen on other distros), starting this release with the user set > > to anything other than root fails with this message: > > > > dnsmasq: setting capabilities failed: Operation not permitted > > > > I think I may have

[Dnsmasq-discuss] dnsmasq-2.43rc3 pl.po

2008-07-09 Thread Jan Psota
holiday! :-) -- jasiu # translation of pl.po to Polski # Polish translations for dnsmasq package. # This file is put in the public domain. # # Tomasz Sochañski , 2005. # Jan Psota , 2008. msgid "" msgstr "" "Project-Id-Version: pl\n" "Report-Msgid-Bugs-To:

Re: [Dnsmasq-discuss] DHCP error

2008-05-08 Thread Jan Psota
Can it come from using ipv6? I met such problem with ipv6 disabled. -- jasiu

Re: [Dnsmasq-discuss] DHCP error

2008-05-08 Thread Jan Psota
I've met such bahavior. NFS is guilty. If You start dnsmasq before nfs, one of nfs.* probably won't start. But maybe it will? I use recent versions of nfs-utils and dnsmasq, and have no such problems. Try to run 'strace dnsmasq -d' from shell, so You can tell to which port it cannot bind? There w

Re: [Dnsmasq-discuss] Option-252 ?

2008-03-12 Thread Jan Psota
Phibee Network Operation Center napisał(a): > anyone know why the option 252 are not sent/requested ? Maybe You should try to use --dhcp-option-force= -- jasiu

[Dnsmasq-discuss] alternate dhcp port 1067

2008-02-16 Thread Jan Psota
needed to boot a workstation. Etherboot bootroms propose those alternate ports. I can prepare a patch if You would like me to do so (for my use I only changed it in config.h). -- Jan Psota