[Dnsmasq-discuss] Re: (v2.31/Mac OS X) Not listening for DNS
requests
Doug Fields
dfields-dnsmasq at pexicom.com
Thu May 11 18:43:19 BST 2006
Hi Simon,
Thanks for the prompt reply!
> Log entries would be useful, but if you run dnsmasq in the foreground
> from a shell and give it the -d flag, it should print stuff to stderr.
Very good. I'll do this.
> If you can get ktrace/kdump to work, a log of exactly which system
> calls
> are being made would be useful. My guess is that something has
> broken in
> the interface enumeration code, ...
I can get this to work indeed. I use these tools often.
> Comment out the dhcp-range line to disable DHCP.
If I do this, I get this error and the program terminates:
dfields at PexiMini:/opt/dnsmasq/etc$ sudo ../sbin/dnsmasq -d -n
Password:
dnsmasq: ISC dhcpd integration not available: set HAVE_ISC_READER in
src/config.h
OK, so... With ktrace and screen logging as requested, I've enclosed
a transcript of the session at the end. (I limited the I/O dump to 64
bytes per call, which I hope should be enough. I think you're
probably interested in the part
CALL ioctl(0x4,SIOCGIFCONF,0xbffff7e8)
but I'm not sure.
Cheers,
Doug
dfields at PexiMini:/opt/dnsmasq/etc$ sudo ktrace ../sbin/dnsmasq -d -n
dnsmasq: started, version 2.31 cachesize 150
dnsmasq: compile time options: IPv6 no-GNU-getopt no-ISC-leasefile no-
DBus no-I18N
dnsmasq: setting --bind-interfaces option because of OS limitations
dnsmasq: DHCP, IP range 172.16.3.193 -- 172.16.3.250, lease time 2h
dnsmasq: DHCP, IP range 172.16.2.129 -- 172.16.2.191, lease time 2h
dnsmasq: using nameserver 65.98.93.57#53 for domain puresend.com
dnsmasq: using nameserver 65.98.93.57#53 for domain pexicom.com
dnsmasq: read /etc/hosts - 11 addresses
dnsmasq: reading /opt/dnsmasq/etc/resolv.conf
dnsmasq: using nameserver 66.28.0.61#53
dnsmasq: using nameserver 66.28.0.45#53
dnsmasq: using nameserver 65.98.93.57#53 for domain puresend.com
dnsmasq: using nameserver 65.98.93.57#53 for domain pexicom.com
^Z
[1]+ Stopped sudo ktrace ../sbin/dnsmasq -d -n
dfields at PexiMini:/opt/dnsmasq/etc$ bg
[1]+ sudo ktrace ../sbin/dnsmasq -d -n &
dfields at PexiMini:/opt/dnsmasq/etc$ host www.yahoo.com localhost
^Cdfields at PexiMini:/opt/dnsmasq/etc$ netstat -an | fgrep 53
udp4 0 0 *.5353 *.*
udp6 0 0 *.5353 *.*
udp4 0 0 *.5353 *.*
35d52a8 stream 0 0 0 35d5330 0 0 /var/
run/mDNSResponder
35d5330 stream 0 0 0 35d52a8 0 0
35d5990 stream 0 0 38c539c 0 0 0 /var/
run/asl_input
35d5088 dgram 0 0 0 35d5bb0 0 35d53b8
35d53b8 dgram 0 0 0 35d5bb0 0 35d5550
dfields at PexiMini:/opt/dnsmasq/etc$ ps augxww | fgrep dnsmasq
root 9035 0.0 0.0 36592 464 p1 S 1:35PM
0:00.02 ../sbin/dnsmasq -d -n
dfields 9042 0.0 0.0 27352 396 p1 S+ 1:36PM 0:00.00
fgrep dnsmasq
dfields at PexiMini:/opt/dnsmasq/etc$ sudo lsof -p 9035
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
dnsmasq 9035 root cwd DIR 14,5 238 233948 /opt/
dnsmasq-2.31/etc
dnsmasq 9035 root txt REG 14,5 108344 233946 /opt/
dnsmasq-2.31/sbin/dnsmasq
dnsmasq 9035 root txt REG 14,5 2209396 22341 /usr/lib/
dyld
dnsmasq 9035 root txt REG 14,5 6230268 22562 /usr/lib/
libSystem.B.dylib
dnsmasq 9035 root 0u CHR 4,1 0t378587 56245508 /dev/ttyp1
dnsmasq 9035 root 1u CHR 4,1 0t378587 56245508 /dev/ttyp1
dnsmasq 9035 root 2u CHR 4,1 0t378587 56245508 /dev/ttyp1
dnsmasq 9035 root 3r PSXSHM 4096
apple.shm.notification_center
dnsmasq 9035 root 4u IPv4 0x34a1270 0t0 UDP *:bootps
dnsmasq 9035 root 5u IPv4 0x38b9e10 0t0 ICMP *:*
dnsmasq 9035 root 6u CHR 23,0 0t0 56294404 /dev/bpf0
dnsmasq 9035 root 7u REG 14,5 0 233985 /opt/
dnsmasq-2.31/etc/dnsmasq.leases
dnsmasq 9035 root 8 PIPE 0x395fb48 16384
dnsmasq 9035 root 9 PIPE 0x395fb48 16384
dnsmasq 9035 root 10r PSXSHM 4096
apple.shm.notification_center
dnsmasq 9035 root 11u unix 0x3b2c440 0t0 ->0x35d5bb0
dnsmasq 9035 root 12u IPv4 0x34a1680 0t0 UDP *:50155
dfields at PexiMini:/opt/dnsmasq/etc$ sudo kill 9035
dnsmasq: exiting on receipt of SIGTERM
dfields at PexiMini:/opt/dnsmasq/etc$
[1]+ Done sudo ktrace ../sbin/dnsmasq -d -n
dfields at PexiMini:/opt/dnsmasq/etc$
dfields at PexiMini:/opt/dnsmasq/etc$ sudo kdump -m 64
9035 ktrace RET ktrace 0
9035 ktrace CALL execve(0xbffffbf3,0xbffffb6c,0xbffffb7c)
9035 ktrace NAMI "../sbin/dnsmasq"
9035 ktrace NAMI "/usr/lib/dyld"
9035 dnsmasq RET execve 0
9035 dnsmasq CALL getpid
9035 dnsmasq RET getpid 9035/0x234b
9035 dnsmasq CALL __sysctl(0xbffff678,0x3,0xbffffa7c,
0xbffffa78,0,0)
9035 dnsmasq RET __sysctl 0
9035 dnsmasq CALL stat(0x8fe3f7dc,0xbffff580)
9035 dnsmasq NAMI "/"
9035 dnsmasq RET stat 0
9035 dnsmasq CALL lstat(0x800400,0xbffff580)
9035 dnsmasq NAMI "."
9035 dnsmasq RET lstat 0
9035 dnsmasq CALL stat(0x800400,0xbffff4b0)
9035 dnsmasq NAMI ".."
9035 dnsmasq RET stat 0
9035 dnsmasq CALL open(0x800400,0x4,0)
9035 dnsmasq NAMI ".."
9035 dnsmasq RET open 4
9035 dnsmasq CALL fstat(0x4,0xbffff4b0)
9035 dnsmasq RET fstat 0
9035 dnsmasq CALL fcntl(0x4,0x2,0x1)
9035 dnsmasq RET fcntl 0
9035 dnsmasq CALL __sysctl(0xbffff304,0x2,0x8fe556a0,0xbffff30c,
0,0)
9035 dnsmasq RET __sysctl 0
9035 dnsmasq CALL fstatfs(0x4,0xbffff3a0)
9035 dnsmasq RET fstatfs 0
9035 dnsmasq CALL fstat(0x4,0xbffff580)
9035 dnsmasq RET fstat 0
9035 dnsmasq CALL getdirentries(0x4,0x800800,0x1000,0x100034)
9035 dnsmasq RET getdirentries 68/0x44
9035 dnsmasq CALL lseek(0x4,0,0)
9035 dnsmasq RET lseek 0
9035 dnsmasq CALL close(0x4)
9035 dnsmasq RET close 0
9035 dnsmasq CALL lstat(0x800400,0xbffff580)
9035 dnsmasq NAMI "../"
9035 dnsmasq RET lstat 0
9035 dnsmasq CALL stat(0x800400,0xbffff4b0)
9035 dnsmasq NAMI "../.."
9035 dnsmasq RET stat 0
9035 dnsmasq CALL open(0x800400,0x4,0x1)
9035 dnsmasq NAMI "../.."
9035 dnsmasq RET open 4
9035 dnsmasq CALL fstat(0x4,0xbffff4b0)
9035 dnsmasq RET fstat 0
9035 dnsmasq CALL fcntl(0x4,0x2,0x1)
9035 dnsmasq RET fcntl 0
9035 dnsmasq CALL fstatfs(0x4,0xbffff3a0)
9035 dnsmasq RET fstatfs 0
9035 dnsmasq CALL fstat(0x4,0xbffff580)
9035 dnsmasq RET fstat 0
9035 dnsmasq CALL getdirentries(0x4,0x800800,0x1000,0x100034)
9035 dnsmasq RET getdirentries 64/0x40
9035 dnsmasq CALL lseek(0x4,0,0)
9035 dnsmasq RET lseek 0
9035 dnsmasq CALL close(0x4)
9035 dnsmasq RET close 0
9035 dnsmasq CALL lstat(0x800400,0xbffff580)
9035 dnsmasq NAMI "../../"
9035 dnsmasq RET lstat 0
9035 dnsmasq CALL stat(0x800400,0xbffff4b0)
9035 dnsmasq NAMI "../../.."
9035 dnsmasq RET stat 0
9035 dnsmasq CALL open(0x800400,0x4,0x1)
9035 dnsmasq NAMI "../../.."
9035 dnsmasq RET open 4
9035 dnsmasq CALL fstat(0x4,0xbffff4b0)
9035 dnsmasq RET fstat 0
9035 dnsmasq CALL fcntl(0x4,0x2,0x1)
9035 dnsmasq RET fcntl 0
9035 dnsmasq CALL fstatfs(0x4,0xbffff3a0)
9035 dnsmasq RET fstatfs 0
9035 dnsmasq CALL fstat(0x4,0xbffff580)
9035 dnsmasq RET fstat 0
9035 dnsmasq CALL getdirentries(0x4,0x800800,0x1000,0x100034)
9035 dnsmasq RET getdirentries 676/0x2a4
9035 dnsmasq CALL lseek(0x4,0,0)
9035 dnsmasq RET lseek 0
9035 dnsmasq CALL close(0x4)
9035 dnsmasq RET close 0
9035 dnsmasq CALL lstat(0x800400,0xbffff580)
9035 dnsmasq NAMI "../../../"
9035 dnsmasq RET lstat 0
9035 dnsmasq CALL getuid
9035 dnsmasq RET getuid 0
9035 dnsmasq CALL __sysctl(0xbffff5e4,0x2,0xbffff5ac,0xbffff5ec,
0x8fe40084,0xa)
9035 dnsmasq RET __sysctl 0
9035 dnsmasq CALL __sysctl(0xbffff5ac,
0x2,0x8fe52f50,0xbffffa78,0,0)
9035 dnsmasq RET __sysctl 0
9035 dnsmasq CALL __sysctl(0xbffff5e4,0x2,0xbffff5ac,0xbffff5ec,
0x8fe400b0,0xd)
9035 dnsmasq RET __sysctl 0
9035 dnsmasq CALL __sysctl(0xbffff5ac,0x2,0x8fe52f4c,
0xbffffa78,0,0)
9035 dnsmasq RET __sysctl 0
9035 dnsmasq CALL open(0x1520,0,0)
9035 dnsmasq NAMI "/usr/lib/libSystem.B.dylib"
9035 dnsmasq RET open 4
9035 dnsmasq CALL fstat(0x4,0xbfffe9d8)
9035 dnsmasq RET fstat 0
9035 dnsmasq CALL pread(0x4,0xbfffd5d8,0x1000,0)
9035 dnsmasq GIO fd 4 read 4096 bytes
"\M-J\M-~\M-:\M->\0\0\0\^C\^A\0\0\^R\0\0\0\0\0\0\^P\0\0 ih\0\0
\0\f\0\0\0\a\0\0\0\^C\0 \M^@\
\0\0\^\\M^U\M^X\0\0\0\f\0\0\0\^R\0\0\0\0\0=@\0\0!\M-P\M-|"
9035 dnsmasq RET pread 4096/0x1000
9035 dnsmasq CALL pread(0x4,0xbfffd5d8,0x1000,0x208000)
9035 dnsmasq GIO fd 4 read 4096 bytes
"\M-N\M-z\M-m\M-~\a\0\0\0\^C\0\0\0\^F\0\0\0\v\0\0\0\M^H\a\0\0
\M-5\0\0\0\^A\0\0\0\M-`\^B\0\0\
__TEXT\0\0\0\0\0\0\0\0\0\0\0\0\0\M^P\0\M-p\^V\0\0\0\0\0"
9035 dnsmasq RET pread 4096/0x1000
9035 dnsmasq CALL __sysctl(0xbfffccb8,0x2,0xbfffccec,
0xbfffcce8,0,0)
9035 dnsmasq RET __sysctl 0
9035 dnsmasq CALL shared_region_map_file_np(0x4,0x5,0xbfffcb40,0)
9035 dnsmasq RET shared_region_map_file_np 0
9035 dnsmasq CALL close(0x4)
9035 dnsmasq RET close 0
9035 dnsmasq CALL open(0x900006dc,0,0)
9035 dnsmasq NAMI "/usr/lib/system/libmathCommon.A.dylib"
9035 dnsmasq RET open 4
9035 dnsmasq CALL fstat(0x4,0xbfffe918)
9035 dnsmasq RET fstat 0
9035 dnsmasq CALL pread(0x4,0xbfffd518,0x1000,0)
9035 dnsmasq GIO fd 4 read 4096 bytes
"\M-J\M-~\M-:\M->\0\0\0\^C\0\0\0\^R\0\0\0\0\0\0\^P\0\0\0v\M^L
\0\0\0\f\^A\0\0\^R\0\0\0\0\0\0\
\M^P\0\0\0\M^F\^\\0\0\0\f\0\0\0\a\0\0\0\^C\0\^A \0\0\0H\M-H"
9035 dnsmasq RET pread 4096/0x1000
9035 dnsmasq CALL pread(0x4,0xbfffd518,0x1000,0x12000)
9035 dnsmasq GIO fd 4 read 4096 bytes
"\M-N\M-z\M-m\M-~\a\0\0\0\^C\0\0\0\^F\0\0\0 \0\0\0\b\^D\0
\0\M-5\0\0\0\^A\0\0\0\M-P\^A\
\0\0__TEXT\0\0\0\0\0\0\0\0\0\0\0\M-`\^[\M^P\0000\0\0\0\0\0\0"
9035 dnsmasq RET pread 4096/0x1000
9035 dnsmasq CALL shared_region_map_file_np(0x4,0x3,0xbfffce40,0)
9035 dnsmasq RET shared_region_map_file_np 0
9035 dnsmasq CALL close(0x4)
9035 dnsmasq RET close 0
9035 dnsmasq CALL __sysctl
(0xbffffae8,0x2,0xbffffaf8,0xbffffaf0,0,0)
9035 dnsmasq RET __sysctl 0
9035 dnsmasq CALL __sysctl(0xbffffae8,0x2,0xbffffafc,
0xbffffaf0,0,0)
9035 dnsmasq RET __sysctl 0
9035 dnsmasq CALL open(0x9015d0fc,0,0x3005d0)
9035 dnsmasq NAMI "/dev/urandom"
9035 dnsmasq RET open 4
9035 dnsmasq CALL read(0x4,0xa0000340,0x20)
9035 dnsmasq GIO fd 4 read 32 bytes
""\M-Li\M-2\M-M\^Z\^We\M-#\M-6\M-a\M^[\^U\M-#\M-}\0\f\M-9\M-
_Zu\M-Q2\M-b\M-\\M-h\^Q\M^F\^E\
\M^?\M-q,"
9035 dnsmasq RET read 32/0x20
9035 dnsmasq CALL close(0x4)
9035 dnsmasq RET close 0
9035 dnsmasq CALL sigaction(0x1e,0xbffff810,0)
9035 dnsmasq RET sigaction 0
9035 dnsmasq CALL sigaction(0x1,0xbffff810,0)
9035 dnsmasq RET sigaction 0
9035 dnsmasq CALL sigaction(0xf,0xbffff810,0)
9035 dnsmasq RET sigaction 0
9035 dnsmasq CALL sigaction(0xe,0xbffff810,0)
9035 dnsmasq RET sigaction 0
9035 dnsmasq CALL sigaction(0x14,0xbffff810,0)
9035 dnsmasq RET sigaction 0
9035 dnsmasq CALL sigaction(0xd,0xbffff810,0)
9035 dnsmasq RET sigaction 0
9035 dnsmasq CALL open(0x14cb0,0,0x1b6)
9035 dnsmasq NAMI "/opt/dnsmasq/etc/dnsmasq.conf"
9035 dnsmasq RET open 4
9035 dnsmasq CALL fstat(0x4,0xbffff560)
9035 dnsmasq RET fstat 0
9035 dnsmasq CALL read(0x4,0x2800400,0x1000)
9035 dnsmasq GIO fd 4 read 4096 bytes
"# Configuration file for dnsmasq.
#
# Format is one option per l"
9035 dnsmasq RET read 4096/0x1000
9035 dnsmasq CALL read(0x4,0x2800400,0x1000)
9035 dnsmasq GIO fd 4 read 4096 bytes
"matches this setting.
# 2) Sets the "domain" DHCP option thereby"
9035 dnsmasq RET read 4096/0x1000
9035 dnsmasq CALL read(0x4,0x2800400,0x1000)
9035 dnsmasq GIO fd 4 read 4096 bytes
"ilable options.
# Note that all the common settings, such as net"
9035 dnsmasq RET read 4096/0x1000
9035 dnsmasq CALL read(0x4,0x2800400,0x1000)
9035 dnsmasq GIO fd 4 read 3210 bytes
"m /etc/hosts and the DHCP lease
# file have Time-To-Live set as "
9035 dnsmasq RET read 3210/0xc8a
9035 dnsmasq CALL read(0x4,0x2800400,0x1000)
9035 dnsmasq GIO fd 4 read 0 bytes
""
9035 dnsmasq RET read 0
9035 dnsmasq CALL close(0x4)
9035 dnsmasq RET close 0
9035 dnsmasq CALL socket(0x2,0x2,0)
9035 dnsmasq RET socket 4
9035 dnsmasq CALL ioctl(0x4,SIOCGIFCONF,0xbffff7e8)
9035 dnsmasq RET ioctl 0
9035 dnsmasq CALL close(0x4)
9035 dnsmasq RET close 0
9035 dnsmasq CALL socket(0x2,0x2,0x11)
9035 dnsmasq RET socket 4
9035 dnsmasq CALL fcntl(0x4,0x3,0x500760)
9035 dnsmasq RET fcntl 2
9035 dnsmasq CALL fcntl(0x4,0x4,0x6)
9035 dnsmasq RET fcntl 0
9035 dnsmasq CALL fcntl(0x4,0x1,0x6)
9035 dnsmasq RET fcntl 0
9035 dnsmasq CALL fcntl(0x4,0x2,0x1)
9035 dnsmasq RET fcntl 0
9035 dnsmasq CALL setsockopt(0x4,0,0x14,0xbffff80c,0x4)
9035 dnsmasq RET setsockopt 0
9035 dnsmasq CALL setsockopt(0x4,0xffff,0x20,0xbffff80c,0x4)
9035 dnsmasq RET setsockopt 0
9035 dnsmasq CALL setsockopt(0x4,0xffff,0x4,0xbffff80c,0x4)
9035 dnsmasq RET setsockopt 0
9035 dnsmasq CALL bind(0x4,0xbffff7fc,0x10)
9035 dnsmasq RET bind 0
9035 dnsmasq CALL socket(0x2,0x3,0x1)
9035 dnsmasq RET socket 5
9035 dnsmasq CALL fcntl(0x5,0x3,0x747069)
9035 dnsmasq RET fcntl 2
9035 dnsmasq CALL fcntl(0x5,0x4,0x6)
9035 dnsmasq RET fcntl 0
9035 dnsmasq CALL fcntl(0x5,0x1,0x6)
9035 dnsmasq RET fcntl 0
9035 dnsmasq CALL fcntl(0x5,0x2,0x1)
9035 dnsmasq RET fcntl 0
9035 dnsmasq CALL setsockopt(0x5,0xffff,0x10,0xbffff7ac,0x4)
9035 dnsmasq RET setsockopt 0
9035 dnsmasq CALL setsockopt(0x5,0xffff,0x1002,0xbffff80c,0x4)
9035 dnsmasq RET setsockopt 0
9035 dnsmasq CALL open(0x500860,0x2,0)
9035 dnsmasq NAMI "/dev/bpf0"
9035 dnsmasq RET open 6
9035 dnsmasq CALL fcntl(0x6,0x1,0)
9035 dnsmasq RET fcntl 0
9035 dnsmasq CALL fcntl(0x6,0x2,0x1)
9035 dnsmasq RET fcntl 0
9035 dnsmasq CALL open(0x500710,0x20a,0x1b6)
9035 dnsmasq NAMI "/opt/dnsmasq/etc/dnsmasq.leases"
9035 dnsmasq RET open 7
9035 dnsmasq CALL lseek(0x7,0,0x2)
9035 dnsmasq RET lseek 0
9035 dnsmasq CALL fcntl(0x7,0x1,0xbffff7b8)
9035 dnsmasq RET fcntl 0
9035 dnsmasq CALL fcntl(0x7,0x2,0x1)
9035 dnsmasq RET fcntl 0
9035 dnsmasq CALL fstat(0x7,0xbffff600)
9035 dnsmasq RET fstat 0
9035 dnsmasq CALL lseek(0x7,0,0)
9035 dnsmasq RET lseek 0
9035 dnsmasq CALL read(0x7,0x2800400,0x1000)
9035 dnsmasq GIO fd 7 read 0 bytes
""
9035 dnsmasq RET read 0
9035 dnsmasq CALL pipe
9035 dnsmasq RET pipe 8
9035 dnsmasq CALL fcntl(0x8,0x3,0x72657365)
9035 dnsmasq RET fcntl 0
9035 dnsmasq CALL fcntl(0x8,0x4,0x4)
9035 dnsmasq RET fcntl 0
9035 dnsmasq CALL fcntl(0x8,0x1,0x4)
9035 dnsmasq RET fcntl 0
9035 dnsmasq CALL fcntl(0x8,0x2,0x1)
9035 dnsmasq RET fcntl 0
9035 dnsmasq CALL fcntl(0x9,0x3,0x1)
9035 dnsmasq RET fcntl 1
9035 dnsmasq CALL fcntl(0x9,0x4,0x5)
9035 dnsmasq RET fcntl 0
9035 dnsmasq CALL fcntl(0x9,0x1,0x5)
9035 dnsmasq RET fcntl 0
9035 dnsmasq CALL fcntl(0x9,0x2,0x1)
9035 dnsmasq RET fcntl 0
9035 dnsmasq CALL write(0x9,0xbffffaff,0x1)
9035 dnsmasq GIO fd 9 wrote 1 byte
"\^A"
9035 dnsmasq RET write 1
9035 dnsmasq CALL getuid
9035 dnsmasq RET getuid 0
9035 dnsmasq CALL getpid
9035 dnsmasq RET getpid 9035/0x234b
9035 dnsmasq CALL access(0x90161498,0x4)
9035 dnsmasq NAMI "/etc/localtime"
9035 dnsmasq RET access 0
9035 dnsmasq CALL open(0x90161498,0,0xbfffcb18)
9035 dnsmasq NAMI "/etc/localtime"
9035 dnsmasq RET open 10/0xa
9035 dnsmasq CALL fstat(0xa,0xbfffcb28)
9035 dnsmasq RET fstat 0
9035 dnsmasq CALL read(0xa,0xbfffcb28,0x1f08)
9035 dnsmasq GIO fd 10 read 1267 bytes
"TZif\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\^D\0\0\0\^D\0\0\0
\0\0\0\0\M-k\0\0\0\^D\0\0\0\^P\
\M^^\M-&\^^p\M^_\M-:\M-k`\240\M^F\0p\M-!\M^Z\M-M`\M-"e\M-bp"
9035 dnsmasq RET read 1267/0x4f3
9035 dnsmasq CALL close(0xa)
9035 dnsmasq RET close 0
9035 dnsmasq CALL shm_open(0x901687dc,0,0)
9035 dnsmasq NAMI "apple.shm.notification_center"
9035 dnsmasq RET shm_open 10/0xa
9035 dnsmasq CALL mmap(0,0x1000,0x1,0x1,0xa,0)
9035 dnsmasq RET mmap 114688/0x1c000
9035 dnsmasq CALL writev(0x2,0xbffff7c4,0x2)
9035 dnsmasq GIO fd 2 wrote 45 bytes
"dnsmasq: started, version 2.31 cachesize 150
"
9035 dnsmasq RET writev 45/0x2d
9035 dnsmasq CALL socket(0x1,0x2,0)
9035 dnsmasq RET socket 11/0xb
9035 dnsmasq CALL fcntl(0xb,0x2,0x1)
9035 dnsmasq RET fcntl 0
9035 dnsmasq CALL connect(0xb,0xa000b8e0,0x6a)
9035 dnsmasq NAMI "/var/run/syslog"
9035 dnsmasq RET connect 0
9035 dnsmasq CALL sendto(0xb,0xbfffebc4,0x41,0,0,0)
9035 dnsmasq GIO fd 11 wrote 65 bytes
"<134>May 11 13:35:47 dnsmasq: started, version 2.31
cachesize 15"
9035 dnsmasq RET sendto 65/0x41
9035 dnsmasq CALL writev(0x2,0xbffff7c4,0x2)
9035 dnsmasq GIO fd 2 wrote 84 bytes
"dnsmasq: compile time options: IPv6 no-GNU-getopt no-ISC-
leasefi"
9035 dnsmasq RET writev 84/0x54
9035 dnsmasq CALL sendto(0xb,0xbfffebc4,0x68,0,0,0)
9035 dnsmasq GIO fd 11 wrote 104 bytes
"<134>May 11 13:35:47 dnsmasq: compile time options: IPv6 no-
GNU-"
9035 dnsmasq RET sendto 104/0x68
9035 dnsmasq CALL writev(0x2,0xbffff7c4,0x2)
9035 dnsmasq GIO fd 2 wrote 68 bytes
"dnsmasq: setting --bind-interfaces option because of OS
limitati"
9035 dnsmasq RET writev 68/0x44
9035 dnsmasq CALL sendto(0xb,0xbfffebc4,0x58,0,0,0)
9035 dnsmasq GIO fd 11 wrote 88 bytes
"<132>May 11 13:35:47 dnsmasq: setting --bind-interfaces
option b"
9035 dnsmasq RET sendto 88/0x58
9035 dnsmasq CALL writev(0x2,0xbffff7c4,0x2)
9035 dnsmasq GIO fd 2 wrote 68 bytes
"dnsmasq: DHCP, IP range 172.16.3.193 -- 172.16.3.250, lease
time"
9035 dnsmasq RET writev 68/0x44
9035 dnsmasq CALL sendto(0xb,0xbfffebc4,0x58,0,0,0)
9035 dnsmasq GIO fd 11 wrote 88 bytes
"<134>May 11 13:35:47 dnsmasq: DHCP, IP range 172.16.3.193 --
172"
9035 dnsmasq RET sendto 88/0x58
9035 dnsmasq CALL writev(0x2,0xbffff7c4,0x2)
9035 dnsmasq GIO fd 2 wrote 68 bytes
"dnsmasq: DHCP, IP range 172.16.2.129 -- 172.16.2.191, lease
time"
9035 dnsmasq RET writev 68/0x44
9035 dnsmasq CALL sendto(0xb,0xbfffebc4,0x58,0,0,0)
9035 dnsmasq GIO fd 11 wrote 88 bytes
"<134>May 11 13:35:47 dnsmasq: DHCP, IP range 172.16.2.129 --
172"
9035 dnsmasq RET sendto 88/0x58
9035 dnsmasq CALL socket(0x2,0x2,0)
9035 dnsmasq RET socket 12/0xc
9035 dnsmasq CALL bind(0xc,0x50048c,0x10)
9035 dnsmasq RET bind 0
9035 dnsmasq CALL fcntl(0xc,0x3,0x72657365)
9035 dnsmasq RET fcntl 2
9035 dnsmasq CALL fcntl(0xc,0x4,0x6)
9035 dnsmasq RET fcntl 0
9035 dnsmasq CALL fcntl(0xc,0x1,0x6)
9035 dnsmasq RET fcntl 0
9035 dnsmasq CALL fcntl(0xc,0x2,0x1)
9035 dnsmasq RET fcntl 0
9035 dnsmasq CALL writev(0x2,0xbffff774,0x2)
9035 dnsmasq GIO fd 2 wrote 65 bytes
"dnsmasq: using nameserver 65.98.93.57#53 for domain
puresend.com"
9035 dnsmasq RET writev 65/0x41
9035 dnsmasq CALL sendto(0xb,0xbfffeb74,0x55,0,0,0)
9035 dnsmasq GIO fd 11 wrote 85 bytes
"<134>May 11 13:35:47 dnsmasq: using nameserver
65.98.93.57#53 fo"
9035 dnsmasq RET sendto 85/0x55
9035 dnsmasq CALL writev(0x2,0xbffff774,0x2)
9035 dnsmasq GIO fd 2 wrote 64 bytes
"dnsmasq: using nameserver 65.98.93.57#53 for domain pexicom.com
"
9035 dnsmasq RET writev 64/0x40
9035 dnsmasq CALL sendto(0xb,0xbfffeb74,0x54,0,0,0)
9035 dnsmasq GIO fd 11 wrote 84 bytes
"<134>May 11 13:35:47 dnsmasq: using nameserver
65.98.93.57#53 fo"
9035 dnsmasq RET sendto 84/0x54
9035 dnsmasq CALL select(0xd,0xbffff9e4,0xbffff964,0xbffff8e4,0)
9035 dnsmasq RET select 1
9035 dnsmasq CALL read(0x8,0xbffffaff,0x1)
9035 dnsmasq GIO fd 8 read 1 byte
"\^A"
9035 dnsmasq RET read 1
9035 dnsmasq CALL open(0x147a0,0,0x1b6)
9035 dnsmasq NAMI "/etc/hosts"
9035 dnsmasq RET open 13/0xd
9035 dnsmasq CALL fstat(0xd,0xbffff660)
9035 dnsmasq RET fstat 0
9035 dnsmasq CALL read(0xd,0x2807800,0x1000)
9035 dnsmasq GIO fd 13 read 500 bytes
"##
# Host Database
#
# localhost is used to configure the loopba"
9035 dnsmasq RET read 500/0x1f4
9035 dnsmasq CALL read(0xd,0x2807800,0x1000)
9035 dnsmasq GIO fd 13 read 0 bytes
""
9035 dnsmasq RET read 0
9035 dnsmasq CALL close(0xd)
9035 dnsmasq RET close 0
9035 dnsmasq CALL writev(0x2,0xbffff6d4,0x2)
9035 dnsmasq GIO fd 2 wrote 40 bytes
"dnsmasq: read /etc/hosts - 11 addresses
"
9035 dnsmasq RET writev 40/0x28
9035 dnsmasq CALL sendto(0xb,0xbfffead4,0x3c,0,0,0)
9035 dnsmasq GIO fd 11 wrote 60 bytes
"<134>May 11 13:35:47 dnsmasq: read /etc/hosts - 11 addresses"
9035 dnsmasq RET sendto 60/0x3c
9035 dnsmasq CALL open(0x5003e0,0,0x1b6)
9035 dnsmasq NAMI "/opt/dnsmasq/etc/resolv.conf"
9035 dnsmasq RET open 13/0xd
9035 dnsmasq CALL writev(0x2,0xbffff704,0x2)
9035 dnsmasq GIO fd 2 wrote 46 bytes
"dnsmasq: reading /opt/dnsmasq/etc/resolv.conf
"
9035 dnsmasq RET writev 46/0x2e
9035 dnsmasq CALL sendto(0xb,0xbfffeb04,0x42,0,0,0)
9035 dnsmasq GIO fd 11 wrote 66 bytes
"<134>May 11 13:35:47 dnsmasq: reading /opt/dnsmasq/etc/
resolv.co"
9035 dnsmasq RET sendto 66/0x42
9035 dnsmasq CALL fstat(0xd,0xbffff690)
9035 dnsmasq RET fstat 0
9035 dnsmasq CALL read(0xd,0x2807800,0x1000)
9035 dnsmasq GIO fd 13 read 111 bytes
"search pexicom.com
nameserver 66.28.0.45
nameserver 66.28.0.61
#"
9035 dnsmasq RET read 111/0x6f
9035 dnsmasq CALL read(0xd,0x2807800,0x1000)
9035 dnsmasq GIO fd 13 read 0 bytes
""
9035 dnsmasq RET read 0
9035 dnsmasq CALL close(0xd)
9035 dnsmasq RET close 0
9035 dnsmasq CALL writev(0x2,0xbffff774,0x2)
9035 dnsmasq GIO fd 2 wrote 40 bytes
"dnsmasq: using nameserver 66.28.0.61#53
"
9035 dnsmasq RET writev 40/0x28
9035 dnsmasq CALL sendto(0xb,0xbfffeb74,0x3c,0,0,0)
9035 dnsmasq GIO fd 11 wrote 60 bytes
"<134>May 11 13:35:47 dnsmasq: using nameserver 66.28.0.61#53"
9035 dnsmasq RET sendto 60/0x3c
9035 dnsmasq CALL writev(0x2,0xbffff774,0x2)
9035 dnsmasq GIO fd 2 wrote 40 bytes
"dnsmasq: using nameserver 66.28.0.45#53
"
9035 dnsmasq RET writev 40/0x28
9035 dnsmasq CALL sendto(0xb,0xbfffeb74,0x3c,0,0,0)
9035 dnsmasq GIO fd 11 wrote 60 bytes
"<134>May 11 13:35:47 dnsmasq: using nameserver 66.28.0.45#53"
9035 dnsmasq RET sendto 60/0x3c
9035 dnsmasq CALL writev(0x2,0xbffff774,0x2)
9035 dnsmasq GIO fd 2 wrote 65 bytes
"dnsmasq: using nameserver 65.98.93.57#53 for domain
puresend.com"
9035 dnsmasq RET writev 65/0x41
9035 dnsmasq CALL sendto(0xb,0xbfffeb74,0x55,0,0,0)
9035 dnsmasq GIO fd 11 wrote 85 bytes
"<134>May 11 13:35:47 dnsmasq: using nameserver
65.98.93.57#53 fo"
9035 dnsmasq RET sendto 85/0x55
9035 dnsmasq CALL writev(0x2,0xbffff774,0x2)
9035 dnsmasq GIO fd 2 wrote 64 bytes
"dnsmasq: using nameserver 65.98.93.57#53 for domain pexicom.com
"
9035 dnsmasq RET writev 64/0x40
9035 dnsmasq CALL sendto(0xb,0xbfffeb74,0x54,0,0,0)
9035 dnsmasq GIO fd 11 wrote 84 bytes
"<134>May 11 13:35:47 dnsmasq: using nameserver
65.98.93.57#53 fo"
9035 dnsmasq RET sendto 84/0x54
9035 dnsmasq CALL select(0xd,0xbffff9e4,0xbffff964,0xbffff8e4,0)
9035 dnsmasq RET select -1 errno 4 Interrupted system call
9035 dnsmasq PSIG SIGTERM caught handler=0xd42c mask=0x0 code=0x0
9035 dnsmasq CALL write(0x9,0xbffff50f,0x1)
9035 dnsmasq GIO fd 9 wrote 1 byte
"\^O"
9035 dnsmasq RET write 1
9035 dnsmasq CALL #184(0xbffff80c,0x1e)
9035 dnsmasq RET #184 JUSTRETURN
9035 dnsmasq CALL select(0xd,0xbffff9e4,0xbffff964,0xbffff8e4,0)
9035 dnsmasq RET select 1
9035 dnsmasq CALL read(0x8,0xbffffaff,0x1)
9035 dnsmasq GIO fd 8 read 1 byte
"\^O"
9035 dnsmasq RET read 1
9035 dnsmasq CALL writev(0x2,0xbffff7c4,0x2)
9035 dnsmasq GIO fd 2 wrote 39 bytes
"dnsmasq: exiting on receipt of SIGTERM
"
9035 dnsmasq RET writev 39/0x27
9035 dnsmasq CALL sendto(0xb,0xbfffebc4,0x3b,0,0,0)
9035 dnsmasq GIO fd 11 wrote 59 bytes
"<134>May 11 13:36:37 dnsmasq: exiting on receipt of SIGTERM"
9035 dnsmasq RET sendto 59/0x3b
9035 dnsmasq CALL close(0x7)
9035 dnsmasq RET close 0
9035 dnsmasq CALL exit(0)
dfields at PexiMini:/opt/dnsmasq/etc$
More information about the Dnsmasq-discuss
mailing list