Compare commits

...
6 Commits
21 changed files with 747 additions and 617 deletions

No files matched your search

+1 -1
View File
@@ -73,7 +73,7 @@ objs = cache.o rfc1035.o util.o option.o forward.o network.o \
dnsmasq.o dhcp.o lease.o rfc2131.o netlink.o dbus.o bpf.o \
helper.o tftp.o log.o conntrack.o dhcp6.o rfc3315.o \
dhcp-common.o outpacket.o radv.o slaac.o auth.o ipset.o \
domain.o dnssec.o blockdata.o tables.o loop.o inotify.o
domain.o dnssec.o blockdata.o tables.o loop.o inotify.o poll.o
hdrs = dnsmasq.h config.h dhcp-protocol.h dhcp6-protocol.h \
dns-protocol.h radv-protocol.h ip6addr.h
+1 -1
View File
@@ -10,7 +10,7 @@ LOCAL_SRC_FILES := bpf.c cache.c dbus.c dhcp.c dnsmasq.c \
dhcp6.c rfc3315.c dhcp-common.c outpacket.c \
radv.c slaac.c auth.c ipset.c domain.c \
dnssec.c dnssec-openssl.c blockdata.c tables.c \
loop.c inotify.c
loop.c inotify.c poll.c
LOCAL_MODULE := dnsmasq
+54 -45
View File
@@ -1090,34 +1090,34 @@ msgstr "versuchen Sie -w"
msgid "bad command line options: %s"
msgstr "unzulässige Optionen auf der Befehlszeile: %s"
#: option.c:4544
#: option.c:4541
#, c-format
msgid "cannot get host-name: %s"
msgstr "kann Hostnamen nicht ermitteln: %s"
#: option.c:4572
#: option.c:4569
msgid "only one resolv.conf file allowed in no-poll mode."
msgstr "mit -n/--no-poll ist nur eine resolv.conf-Datei zulässig."
#: option.c:4582
#: option.c:4579
msgid "must have exactly one resolv.conf to read domain from."
msgstr "Um die Domäne zu lesen, muss genau eine resolv.conf-Datei verwendet werden."
#: option.c:4585 network.c:1507 dhcp.c:777
#: option.c:4582 network.c:1507 dhcp.c:777
#, c-format
msgid "failed to read %s: %s"
msgstr "konnte %s nicht lesen: %s"
#: option.c:4602
#: option.c:4599
#, c-format
msgid "no search directive found in %s"
msgstr "keine \"search\"-Anweisung in %s gefunden"
#: option.c:4623
#: option.c:4620
msgid "there must be a default domain when --dhcp-fqdn is set"
msgstr "Es muss eine standard Domain gesetzt sein, wenn --dhcp-fqdn gesetzt ist"
#: option.c:4632
#: option.c:4629
msgid "syntax check OK"
msgstr "Syntaxprüfung OK"
@@ -1140,11 +1140,11 @@ msgstr "Namensserver %s hat eine rekursive Anfrage verweigert"
msgid "possible DNS-rebind attack detected: %s"
msgstr "möglichen DNS-Rebind-Angriff entdeckt: %s"
#: forward.c:1209 forward.c:1785
#: forward.c:1209 forward.c:1815
msgid "Ignoring query from non-local network"
msgstr "Ignoriere Anfragen vom nicht lokalen Netzwerk"
#: forward.c:2256
#: forward.c:2286
#, c-format
msgid "Maximum number of concurrent DNS queries reached (max: %d)"
msgstr "Maximale Anzahl an nebenläufiger DNS-Anfragen erreicht (Max: %d)"
@@ -1306,7 +1306,7 @@ msgstr "konnte Schnitstellenliste nicht beziehen: %s"
msgid "unknown interface %s"
msgstr "unbekannte Schnittstelle %s"
#: dnsmasq.c:354 dnsmasq.c:1037
#: dnsmasq.c:354 dnsmasq.c:997
#, c-format
msgid "DBus error: %s"
msgstr "DBus-Fehler: %s"
@@ -1408,121 +1408,121 @@ msgid "DHCP, sockets bound exclusively to interface %s"
msgstr "DHCP, Sockets exklusiv an das Interface %s gebunden"
# FIXME: this and the next few must be full strings to be translatable - do not assemble in code"
#: dnsmasq.c:808
#: dnsmasq.c:804
msgid "root is "
msgstr "Wurzel ist "
#: dnsmasq.c:808
#: dnsmasq.c:804
msgid "enabled"
msgstr "Aktiviert"
#: dnsmasq.c:810
#: dnsmasq.c:806
msgid "secure mode"
msgstr "sicherer Modus"
#: dnsmasq.c:813
#: dnsmasq.c:809
#, c-format
msgid "warning: %s inaccessible"
msgstr ""
#: dnsmasq.c:817
#: dnsmasq.c:813
#, fuzzy, c-format
msgid "warning: TFTP directory %s inaccessible"
msgstr "Das TFTP-Verzeichnis %s ist nicht zugreifbar: %s"
#: dnsmasq.c:843
#: dnsmasq.c:839
#, c-format
msgid "restricting maximum simultaneous TFTP transfers to %d"
msgstr "Begrenze gleichzeitige TFTP-Übertragungen auf maximal %d"
#: dnsmasq.c:1039
#: dnsmasq.c:999
msgid "connected to system DBus"
msgstr "Mit System-DBus verbunden"
#: dnsmasq.c:1189
#: dnsmasq.c:1149
#, c-format
msgid "cannot fork into background: %s"
msgstr "kann nicht in den Hintergrund abspalten: %s"
#: dnsmasq.c:1192
#: dnsmasq.c:1152
#, c-format
msgid "failed to create helper: %s"
msgstr "kann Helfer nicht erzeugen: %s"
#: dnsmasq.c:1195
#: dnsmasq.c:1155
#, c-format
msgid "setting capabilities failed: %s"
msgstr "kann \"capabilities\" nicht setzen: %s"
#: dnsmasq.c:1198
#: dnsmasq.c:1158
#, c-format
msgid "failed to change user-id to %s: %s"
msgstr "Kann nicht Benutzerrechte %s annehmen: %s"
#: dnsmasq.c:1201
#: dnsmasq.c:1161
#, c-format
msgid "failed to change group-id to %s: %s"
msgstr "Kann nicht Gruppenrechte %s annehmen: %s"
#: dnsmasq.c:1204
#: dnsmasq.c:1164
#, c-format
msgid "failed to open pidfile %s: %s"
msgstr "kann die Prozessidentifikations-(PID)-Datei %s nicht öffnen: %s"
#: dnsmasq.c:1207
#: dnsmasq.c:1167
#, c-format
msgid "cannot open log %s: %s"
msgstr "Kann Logdatei %s nicht öffnen: %s"
#: dnsmasq.c:1210
#: dnsmasq.c:1170
#, c-format
msgid "failed to load Lua script: %s"
msgstr "Konnte Lua-Script nicht laden: %s"
#: dnsmasq.c:1213
#: dnsmasq.c:1173
#, c-format
msgid "TFTP directory %s inaccessible: %s"
msgstr "Das TFTP-Verzeichnis %s ist nicht zugreifbar: %s"
#: dnsmasq.c:1216
#: dnsmasq.c:1176
#, fuzzy, c-format
msgid "cannot create timestamp file %s: %s"
msgstr "kann Lease-Datei %s nicht öffnen: %s"
#: dnsmasq.c:1237
#: dnsmasq.c:1197
msgid "now checking DNSSEC signature timestamps"
msgstr "Prüfe jetzt DNSSEC Signatur-Zeitstempel"
#: dnsmasq.c:1304
#: dnsmasq.c:1264
#, c-format
msgid "script process killed by signal %d"
msgstr "Scriptprozess durch Signal %d getötet"
#: dnsmasq.c:1308
#: dnsmasq.c:1268
#, c-format
msgid "script process exited with status %d"
msgstr "Scriptprozess hat sich mit Status %d beendet"
#: dnsmasq.c:1312
#: dnsmasq.c:1272
#, c-format
msgid "failed to execute %s: %s"
msgstr "konnte %s nicht ausführen: %s"
#: dnsmasq.c:1367
#: dnsmasq.c:1327
msgid "exiting on receipt of SIGTERM"
msgstr "beende nach Empfang von SIGTERM"
#: dnsmasq.c:1395
#: dnsmasq.c:1355
#, c-format
msgid "failed to access %s: %s"
msgstr "konnte auf %s nicht zugreifen: %s"
#: dnsmasq.c:1425
#: dnsmasq.c:1385
#, c-format
msgid "reading %s"
msgstr "lese %s"
#: dnsmasq.c:1436
#: dnsmasq.c:1396
#, c-format
msgid "no servers found in %s, will retry"
msgstr "keine Server in %s gefunden, werde es später neu versuchen"
@@ -1883,7 +1883,7 @@ msgstr "Überlauf: %d Protokolleinträge verloren"
msgid "log failed: %s"
msgstr "Protokollierung fehlgeschlagen: %s"
#: log.c:472
#: log.c:469
msgid "FAILED to start up"
msgstr "Start fehlgeschlagen"
@@ -2139,36 +2139,45 @@ msgstr "Warnung: DIOCR%sADDRS: %s"
msgid "%d addresses %s"
msgstr "%d Adressen %s"
#: inotify.c:46
#: inotify.c:59
#, fuzzy, c-format
msgid "cannot access path %s: %s"
msgstr "Kann auf %s nicht zugreifen: %s"
#: inotify.c:92
#, fuzzy, c-format
msgid "failed to create inotify: %s"
msgstr "kann Helfer nicht erzeugen: %s"
#: inotify.c:60
#, fuzzy, c-format
msgid "cannot cannonicalise resolv-file %s: %s"
msgstr "kann Lease-Datei %s nicht öffnen: %s"
#: inotify.c:105
#, c-format
msgid "too many symlinks following %s"
msgstr ""
#: inotify.c:72
#: inotify.c:121
#, c-format
msgid "directory %s for resolv-file is missing, cannot poll"
msgstr ""
#: inotify.c:75 inotify.c:112
#: inotify.c:125 inotify.c:162
#, fuzzy, c-format
msgid "failed to create inotify for %s: %s"
msgstr "Konnte Empfangs-Socket für %s: %s nicht erzeugen"
#: inotify.c:97
#: inotify.c:147
#, fuzzy, c-format
msgid "bad dynamic directory %s: %s"
msgstr "Kann auf Verzeichnis %s nicht zugreifen: %s"
#: inotify.c:197
#: inotify.c:247
#, c-format
msgid "inotify, new or changed file %s"
msgstr ""
#, fuzzy
#~ msgid "cannot cannonicalise resolv-file %s: %s"
#~ msgstr "kann Lease-Datei %s nicht öffnen: %s"
#~ msgid "no interface with address %s"
#~ msgstr "keine Schnittstelle mit Adresse %s"
+54 -45
View File
@@ -1129,35 +1129,35 @@ msgstr "pruebe -w"
msgid "bad command line options: %s"
msgstr "opciones de línea de comandos erróneas: %s"
#: option.c:4544
#: option.c:4541
#, c-format
msgid "cannot get host-name: %s"
msgstr "no se puede obtener host-name (nombre de host): %s"
#: option.c:4572
#: option.c:4569
msgid "only one resolv.conf file allowed in no-poll mode."
msgstr "solo un archivo resolv.conf está permitido en modo no-poll."
#: option.c:4582
#: option.c:4579
msgid "must have exactly one resolv.conf to read domain from."
msgstr "debe haber exáctamente un resolv.conf desde donde leer dominio."
#: option.c:4585 network.c:1507 dhcp.c:777
#: option.c:4582 network.c:1507 dhcp.c:777
#, fuzzy, c-format
msgid "failed to read %s: %s"
msgstr "no se pudo leer %s: %s"
#: option.c:4602
#: option.c:4599
#, c-format
msgid "no search directive found in %s"
msgstr "ninguna directiva de búsqueda encontrada en %s"
#: option.c:4623
#: option.c:4620
#, fuzzy
msgid "there must be a default domain when --dhcp-fqdn is set"
msgstr "debe haber un dominio predeterminado cuando --dhcp-fqdn está fijado"
#: option.c:4632
#: option.c:4629
msgid "syntax check OK"
msgstr "revisión de sintaxis OK"
@@ -1180,11 +1180,11 @@ msgstr "servidor DNS %s rechaz
msgid "possible DNS-rebind attack detected: %s"
msgstr "posible ataque de revinculación DNS detectado"
#: forward.c:1209 forward.c:1785
#: forward.c:1209 forward.c:1815
msgid "Ignoring query from non-local network"
msgstr ""
#: forward.c:2256
#: forward.c:2286
#, fuzzy, c-format
msgid "Maximum number of concurrent DNS queries reached (max: %d)"
msgstr "Número máximo de búsquedas DNS simultáneas alcanzado. (%s por predeterminado)"
@@ -1348,7 +1348,7 @@ msgstr "no se pudo encontrar lista de interfases: %s"
msgid "unknown interface %s"
msgstr "interfase desconocida %s"
#: dnsmasq.c:354 dnsmasq.c:1037
#: dnsmasq.c:354 dnsmasq.c:997
#, c-format
msgid "DBus error: %s"
msgstr "error DBus: %s"
@@ -1448,122 +1448,122 @@ msgstr "Anuncio de router IPv6 habilitado"
msgid "DHCP, sockets bound exclusively to interface %s"
msgstr ""
#: dnsmasq.c:808
#: dnsmasq.c:804
msgid "root is "
msgstr "root está "
#: dnsmasq.c:808
#: dnsmasq.c:804
#, fuzzy
msgid "enabled"
msgstr "habilitado"
#: dnsmasq.c:810
#: dnsmasq.c:806
msgid "secure mode"
msgstr "modo seguro"
#: dnsmasq.c:813
#: dnsmasq.c:809
#, c-format
msgid "warning: %s inaccessible"
msgstr ""
#: dnsmasq.c:817
#: dnsmasq.c:813
#, fuzzy, c-format
msgid "warning: TFTP directory %s inaccessible"
msgstr "directorio TFTP % inaccesible: %s"
#: dnsmasq.c:843
#: dnsmasq.c:839
#, c-format
msgid "restricting maximum simultaneous TFTP transfers to %d"
msgstr "limitando número máximo de transferencias TFTP simultáneas a %d"
#: dnsmasq.c:1039
#: dnsmasq.c:999
msgid "connected to system DBus"
msgstr "conectado a DBus de sistema"
#: dnsmasq.c:1189
#: dnsmasq.c:1149
#, c-format
msgid "cannot fork into background: %s"
msgstr "no se puede hacer fork en background: %s"
#: dnsmasq.c:1192
#: dnsmasq.c:1152
#, fuzzy, c-format
msgid "failed to create helper: %s"
msgstr "no se pudo crear ayudante: %s"
#: dnsmasq.c:1195
#: dnsmasq.c:1155
#, fuzzy, c-format
msgid "setting capabilities failed: %s"
msgstr "configuración de capacidades ha fallado: %s"
#: dnsmasq.c:1198
#: dnsmasq.c:1158
#, fuzzy, c-format
msgid "failed to change user-id to %s: %s"
msgstr "no se pudo cambiar user-id a %s: %s"
#: dnsmasq.c:1201
#: dnsmasq.c:1161
#, fuzzy, c-format
msgid "failed to change group-id to %s: %s"
msgstr "no se pudo cambiar group-id a %s: %s"
#: dnsmasq.c:1204
#: dnsmasq.c:1164
#, fuzzy, c-format
msgid "failed to open pidfile %s: %s"
msgstr "no se pudo abrir archivo PID %s: %s"
#: dnsmasq.c:1207
#: dnsmasq.c:1167
#, fuzzy, c-format
msgid "cannot open log %s: %s"
msgstr "no se puede abrir registro %s: %s"
#: dnsmasq.c:1210
#: dnsmasq.c:1170
#, fuzzy, c-format
msgid "failed to load Lua script: %s"
msgstr "no se pudo cargar script Lua %s: %s"
#: dnsmasq.c:1213
#: dnsmasq.c:1173
#, c-format
msgid "TFTP directory %s inaccessible: %s"
msgstr "directorio TFTP % inaccesible: %s"
#: dnsmasq.c:1216
#: dnsmasq.c:1176
#, fuzzy, c-format
msgid "cannot create timestamp file %s: %s"
msgstr "no se puede abrir o crear archivo de concesión %s: %s"
#: dnsmasq.c:1237
#: dnsmasq.c:1197
msgid "now checking DNSSEC signature timestamps"
msgstr ""
#: dnsmasq.c:1304
#: dnsmasq.c:1264
#, fuzzy, c-format
msgid "script process killed by signal %d"
msgstr "proceso script eliminado por señal %d"
#: dnsmasq.c:1308
#: dnsmasq.c:1268
#, fuzzy, c-format
msgid "script process exited with status %d"
msgstr "proceso script salió con con estado %d"
#: dnsmasq.c:1312
#: dnsmasq.c:1272
#, fuzzy, c-format
msgid "failed to execute %s: %s"
msgstr "no se pudo ejecutar %s: %s"
#: dnsmasq.c:1367
#: dnsmasq.c:1327
msgid "exiting on receipt of SIGTERM"
msgstr "saliendo al recibir SIGTERM"
#: dnsmasq.c:1395
#: dnsmasq.c:1355
#, fuzzy, c-format
msgid "failed to access %s: %s"
msgstr "no se pudo acceder %s: %s"
#: dnsmasq.c:1425
#: dnsmasq.c:1385
#, c-format
msgid "reading %s"
msgstr "leyendo %s"
#: dnsmasq.c:1436
#: dnsmasq.c:1396
#, fuzzy, c-format
msgid "no servers found in %s, will retry"
msgstr "ningún servidor encontrado en %s, se reintentará"
@@ -1918,7 +1918,7 @@ msgstr "desbordamiento: %d entradas de registro perdidas"
msgid "log failed: %s"
msgstr "registro falló: %s"
#: log.c:472
#: log.c:469
msgid "FAILED to start up"
msgstr "el inicio ha FALLADO"
@@ -2177,36 +2177,45 @@ msgstr ""
msgid "%d addresses %s"
msgstr "dirección IP errónea"
#: inotify.c:46
#: inotify.c:59
#, fuzzy, c-format
msgid "cannot access path %s: %s"
msgstr "no se puede acceder %s: %s"
#: inotify.c:92
#, fuzzy, c-format
msgid "failed to create inotify: %s"
msgstr "no se pudo crear ayudante: %s"
#: inotify.c:60
#, fuzzy, c-format
msgid "cannot cannonicalise resolv-file %s: %s"
msgstr "no se puede abrir o crear archivo de concesión %s: %s"
#: inotify.c:105
#, c-format
msgid "too many symlinks following %s"
msgstr ""
#: inotify.c:72
#: inotify.c:121
#, c-format
msgid "directory %s for resolv-file is missing, cannot poll"
msgstr ""
#: inotify.c:75 inotify.c:112
#: inotify.c:125 inotify.c:162
#, fuzzy, c-format
msgid "failed to create inotify for %s: %s"
msgstr "no se pudo crear un zócalo de escucha: %s"
#: inotify.c:97
#: inotify.c:147
#, fuzzy, c-format
msgid "bad dynamic directory %s: %s"
msgstr "no se puede acceder a directorio %s: %s"
#: inotify.c:197
#: inotify.c:247
#, c-format
msgid "inotify, new or changed file %s"
msgstr ""
#, fuzzy
#~ msgid "cannot cannonicalise resolv-file %s: %s"
#~ msgstr "no se puede abrir o crear archivo de concesión %s: %s"
#~ msgid "no interface with address %s"
#~ msgstr "ninguna interfase con dirección %s"
+48 -43
View File
@@ -1068,34 +1068,34 @@ msgstr ""
msgid "bad command line options: %s"
msgstr ""
#: option.c:4544
#: option.c:4541
#, c-format
msgid "cannot get host-name: %s"
msgstr ""
#: option.c:4572
#: option.c:4569
msgid "only one resolv.conf file allowed in no-poll mode."
msgstr ""
#: option.c:4582
#: option.c:4579
msgid "must have exactly one resolv.conf to read domain from."
msgstr ""
#: option.c:4585 network.c:1507 dhcp.c:777
#: option.c:4582 network.c:1507 dhcp.c:777
#, c-format
msgid "failed to read %s: %s"
msgstr ""
#: option.c:4602
#: option.c:4599
#, c-format
msgid "no search directive found in %s"
msgstr ""
#: option.c:4623
#: option.c:4620
msgid "there must be a default domain when --dhcp-fqdn is set"
msgstr ""
#: option.c:4632
#: option.c:4629
msgid "syntax check OK"
msgstr ""
@@ -1118,11 +1118,11 @@ msgstr ""
msgid "possible DNS-rebind attack detected: %s"
msgstr ""
#: forward.c:1209 forward.c:1785
#: forward.c:1209 forward.c:1815
msgid "Ignoring query from non-local network"
msgstr ""
#: forward.c:2256
#: forward.c:2286
#, c-format
msgid "Maximum number of concurrent DNS queries reached (max: %d)"
msgstr ""
@@ -1278,7 +1278,7 @@ msgstr ""
msgid "unknown interface %s"
msgstr ""
#: dnsmasq.c:354 dnsmasq.c:1037
#: dnsmasq.c:354 dnsmasq.c:997
#, c-format
msgid "DBus error: %s"
msgstr ""
@@ -1377,121 +1377,121 @@ msgstr ""
msgid "DHCP, sockets bound exclusively to interface %s"
msgstr ""
#: dnsmasq.c:808
#: dnsmasq.c:804
msgid "root is "
msgstr ""
#: dnsmasq.c:808
#: dnsmasq.c:804
msgid "enabled"
msgstr ""
#: dnsmasq.c:810
#: dnsmasq.c:806
msgid "secure mode"
msgstr ""
#: dnsmasq.c:813
#: dnsmasq.c:809
#, c-format
msgid "warning: %s inaccessible"
msgstr ""
#: dnsmasq.c:817
#: dnsmasq.c:813
#, c-format
msgid "warning: TFTP directory %s inaccessible"
msgstr ""
#: dnsmasq.c:843
#: dnsmasq.c:839
#, c-format
msgid "restricting maximum simultaneous TFTP transfers to %d"
msgstr ""
#: dnsmasq.c:1039
#: dnsmasq.c:999
msgid "connected to system DBus"
msgstr ""
#: dnsmasq.c:1189
#: dnsmasq.c:1149
#, c-format
msgid "cannot fork into background: %s"
msgstr ""
#: dnsmasq.c:1192
#: dnsmasq.c:1152
#, c-format
msgid "failed to create helper: %s"
msgstr ""
#: dnsmasq.c:1195
#: dnsmasq.c:1155
#, c-format
msgid "setting capabilities failed: %s"
msgstr ""
#: dnsmasq.c:1198
#: dnsmasq.c:1158
#, c-format
msgid "failed to change user-id to %s: %s"
msgstr ""
#: dnsmasq.c:1201
#: dnsmasq.c:1161
#, c-format
msgid "failed to change group-id to %s: %s"
msgstr ""
#: dnsmasq.c:1204
#: dnsmasq.c:1164
#, c-format
msgid "failed to open pidfile %s: %s"
msgstr ""
#: dnsmasq.c:1207
#: dnsmasq.c:1167
#, c-format
msgid "cannot open log %s: %s"
msgstr ""
#: dnsmasq.c:1210
#: dnsmasq.c:1170
#, c-format
msgid "failed to load Lua script: %s"
msgstr ""
#: dnsmasq.c:1213
#: dnsmasq.c:1173
#, c-format
msgid "TFTP directory %s inaccessible: %s"
msgstr ""
#: dnsmasq.c:1216
#: dnsmasq.c:1176
#, c-format
msgid "cannot create timestamp file %s: %s"
msgstr ""
#: dnsmasq.c:1237
#: dnsmasq.c:1197
msgid "now checking DNSSEC signature timestamps"
msgstr ""
#: dnsmasq.c:1304
#: dnsmasq.c:1264
#, c-format
msgid "script process killed by signal %d"
msgstr ""
#: dnsmasq.c:1308
#: dnsmasq.c:1268
#, c-format
msgid "script process exited with status %d"
msgstr ""
#: dnsmasq.c:1312
#: dnsmasq.c:1272
#, c-format
msgid "failed to execute %s: %s"
msgstr ""
#: dnsmasq.c:1367
#: dnsmasq.c:1327
msgid "exiting on receipt of SIGTERM"
msgstr ""
#: dnsmasq.c:1395
#: dnsmasq.c:1355
#, c-format
msgid "failed to access %s: %s"
msgstr ""
#: dnsmasq.c:1425
#: dnsmasq.c:1385
#, c-format
msgid "reading %s"
msgstr ""
#: dnsmasq.c:1436
#: dnsmasq.c:1396
#, c-format
msgid "no servers found in %s, will retry"
msgstr ""
@@ -1846,7 +1846,7 @@ msgstr ""
msgid "log failed: %s"
msgstr ""
#: log.c:472
#: log.c:469
msgid "FAILED to start up"
msgstr ""
@@ -2101,32 +2101,37 @@ msgstr ""
msgid "%d addresses %s"
msgstr ""
#: inotify.c:46
#: inotify.c:59
#, c-format
msgid "cannot access path %s: %s"
msgstr ""
#: inotify.c:92
#, c-format
msgid "failed to create inotify: %s"
msgstr ""
#: inotify.c:60
#: inotify.c:105
#, c-format
msgid "cannot cannonicalise resolv-file %s: %s"
msgid "too many symlinks following %s"
msgstr ""
#: inotify.c:72
#: inotify.c:121
#, c-format
msgid "directory %s for resolv-file is missing, cannot poll"
msgstr ""
#: inotify.c:75 inotify.c:112
#: inotify.c:125 inotify.c:162
#, c-format
msgid "failed to create inotify for %s: %s"
msgstr ""
#: inotify.c:97
#: inotify.c:147
#, c-format
msgid "bad dynamic directory %s: %s"
msgstr ""
#: inotify.c:197
#: inotify.c:247
#, c-format
msgid "inotify, new or changed file %s"
msgstr ""
+54 -45
View File
@@ -1111,34 +1111,34 @@ msgstr "essayez avec -w"
msgid "bad command line options: %s"
msgstr "mauvaises options en ligne de commande : %s."
#: option.c:4544
#: option.c:4541
#, c-format
msgid "cannot get host-name: %s"
msgstr "ne peut pas obtenir le nom de la machine : %s"
#: option.c:4572
#: option.c:4569
msgid "only one resolv.conf file allowed in no-poll mode."
msgstr "seul un fichier resolv.conf est autorisé dans le mode no-poll"
#: option.c:4582
#: option.c:4579
msgid "must have exactly one resolv.conf to read domain from."
msgstr "un fichier resolv.conf (et un seul) est nécessaire pour y récuperer le nom de domaine."
#: option.c:4585 network.c:1507 dhcp.c:777
#: option.c:4582 network.c:1507 dhcp.c:777
#, c-format
msgid "failed to read %s: %s"
msgstr "impossible de lire %s : %s"
#: option.c:4602
#: option.c:4599
#, c-format
msgid "no search directive found in %s"
msgstr "pas de directive de recherche trouvée dans %s"
#: option.c:4623
#: option.c:4620
msgid "there must be a default domain when --dhcp-fqdn is set"
msgstr "un domaine par défaut doit être spécifié lorsque l'option --dhcp-fqdn est utilisée"
#: option.c:4632
#: option.c:4629
msgid "syntax check OK"
msgstr "vérification de syntaxe OK"
@@ -1161,11 +1161,11 @@ msgstr "le serveur de nom %s a refus
msgid "possible DNS-rebind attack detected: %s"
msgstr "détection d'une possible attaque de type DNS-rebind: %s"
#: forward.c:1209 forward.c:1785
#: forward.c:1209 forward.c:1815
msgid "Ignoring query from non-local network"
msgstr ""
#: forward.c:2256
#: forward.c:2286
#, c-format
msgid "Maximum number of concurrent DNS queries reached (max: %d)"
msgstr "Nombre maximum de requêtes DNS concurrentes atteint (maximum : %d)."
@@ -1328,7 +1328,7 @@ msgstr "impossible de trouver la liste des interfaces : %s"
msgid "unknown interface %s"
msgstr "interface %s inconnue"
#: dnsmasq.c:354 dnsmasq.c:1037
#: dnsmasq.c:354 dnsmasq.c:997
#, c-format
msgid "DBus error: %s"
msgstr "Erreur DBus : %s"
@@ -1428,123 +1428,123 @@ msgstr "annonces de routeur IPv6 activ
msgid "DHCP, sockets bound exclusively to interface %s"
msgstr ""
#: dnsmasq.c:808
#: dnsmasq.c:804
msgid "root is "
msgstr "root est"
#
#: dnsmasq.c:808
#: dnsmasq.c:804
msgid "enabled"
msgstr "activé"
#: dnsmasq.c:810
#: dnsmasq.c:806
msgid "secure mode"
msgstr "mode sécurisé"
#: dnsmasq.c:813
#: dnsmasq.c:809
#, c-format
msgid "warning: %s inaccessible"
msgstr ""
#: dnsmasq.c:817
#: dnsmasq.c:813
#, fuzzy, c-format
msgid "warning: TFTP directory %s inaccessible"
msgstr "répertoire TFTP %s inaccessible : %s"
#: dnsmasq.c:843
#: dnsmasq.c:839
#, c-format
msgid "restricting maximum simultaneous TFTP transfers to %d"
msgstr "le nombre maximum de transferts TFTP simultanés sera restreint à %d"
#: dnsmasq.c:1039
#: dnsmasq.c:999
msgid "connected to system DBus"
msgstr "connecté au systeme DBus"
#: dnsmasq.c:1189
#: dnsmasq.c:1149
#, c-format
msgid "cannot fork into background: %s"
msgstr "Ne peut se lancer en tâche de fond : %s"
#: dnsmasq.c:1192
#: dnsmasq.c:1152
#, c-format
msgid "failed to create helper: %s"
msgstr "impossible de créer le 'helper' : %s"
#: dnsmasq.c:1195
#: dnsmasq.c:1155
#, c-format
msgid "setting capabilities failed: %s"
msgstr "impossible de configurer la capacité %s"
#: dnsmasq.c:1198
#: dnsmasq.c:1158
#, c-format
msgid "failed to change user-id to %s: %s"
msgstr "Impossible de changer l'identifiant utilisateur pour %s : %s"
#: dnsmasq.c:1201
#: dnsmasq.c:1161
#, c-format
msgid "failed to change group-id to %s: %s"
msgstr "Impossible de changer l'identifiant de groupe pour %s : %s"
#: dnsmasq.c:1204
#: dnsmasq.c:1164
#, c-format
msgid "failed to open pidfile %s: %s"
msgstr "impossible de lire le fichier de PID %s : %s"
#: dnsmasq.c:1207
#: dnsmasq.c:1167
#, c-format
msgid "cannot open log %s: %s"
msgstr "Ne peut ouvrir le fichier de log %s : %s"
#
#: dnsmasq.c:1210
#: dnsmasq.c:1170
#, c-format
msgid "failed to load Lua script: %s"
msgstr "impossible de charger le script Lua : %s"
#: dnsmasq.c:1213
#: dnsmasq.c:1173
#, c-format
msgid "TFTP directory %s inaccessible: %s"
msgstr "répertoire TFTP %s inaccessible : %s"
#: dnsmasq.c:1216
#: dnsmasq.c:1176
#, fuzzy, c-format
msgid "cannot create timestamp file %s: %s"
msgstr "ne peut ouvrir ou créer le fichiers de baux %s : %s"
#: dnsmasq.c:1237
#: dnsmasq.c:1197
msgid "now checking DNSSEC signature timestamps"
msgstr ""
#: dnsmasq.c:1304
#: dnsmasq.c:1264
#, c-format
msgid "script process killed by signal %d"
msgstr "Le script a été terminé par le signal %d"
#: dnsmasq.c:1308
#: dnsmasq.c:1268
#, c-format
msgid "script process exited with status %d"
msgstr "Le script s'est terminé avec le statut %d"
#: dnsmasq.c:1312
#: dnsmasq.c:1272
#, c-format
msgid "failed to execute %s: %s"
msgstr "impossible d'exécuter à %s : %s"
#: dnsmasq.c:1367
#: dnsmasq.c:1327
msgid "exiting on receipt of SIGTERM"
msgstr "sortie sur réception du signal SIGTERM"
#: dnsmasq.c:1395
#: dnsmasq.c:1355
#, c-format
msgid "failed to access %s: %s"
msgstr "impossible d'accéder à %s : %s"
#: dnsmasq.c:1425
#: dnsmasq.c:1385
#, c-format
msgid "reading %s"
msgstr "Lecture de %s"
#: dnsmasq.c:1436
#: dnsmasq.c:1396
#, c-format
msgid "no servers found in %s, will retry"
msgstr "aucun serveur trouvé dans %s, va réessayer"
@@ -1899,7 +1899,7 @@ msgstr "d
msgid "log failed: %s"
msgstr "trace perdue : %s"
#: log.c:472
#: log.c:469
msgid "FAILED to start up"
msgstr "IMPOSSIBLE de démarrer"
@@ -2155,36 +2155,45 @@ msgstr ""
msgid "%d addresses %s"
msgstr "mauvaise adresse"
#: inotify.c:46
#: inotify.c:59
#, fuzzy, c-format
msgid "cannot access path %s: %s"
msgstr "Ne peut pas lire %s : %s"
#: inotify.c:92
#, fuzzy, c-format
msgid "failed to create inotify: %s"
msgstr "impossible de créer le 'helper' : %s"
#: inotify.c:60
#, fuzzy, c-format
msgid "cannot cannonicalise resolv-file %s: %s"
msgstr "ne peut ouvrir ou créer le fichiers de baux %s : %s"
#: inotify.c:105
#, c-format
msgid "too many symlinks following %s"
msgstr ""
#: inotify.c:72
#: inotify.c:121
#, c-format
msgid "directory %s for resolv-file is missing, cannot poll"
msgstr ""
#: inotify.c:75 inotify.c:112
#: inotify.c:125 inotify.c:162
#, fuzzy, c-format
msgid "failed to create inotify for %s: %s"
msgstr "impossible de créer une socket d'écoute pour %s : %s"
#: inotify.c:97
#: inotify.c:147
#, fuzzy, c-format
msgid "bad dynamic directory %s: %s"
msgstr "Ne peut pas lire le répertoire %s : %s"
#: inotify.c:197
#: inotify.c:247
#, c-format
msgid "inotify, new or changed file %s"
msgstr ""
#, fuzzy
#~ msgid "cannot cannonicalise resolv-file %s: %s"
#~ msgstr "ne peut ouvrir ou créer le fichiers de baux %s : %s"
#~ msgid "Always send frequent router-advertisements"
#~ msgstr "Envoyer des annonces de routeurs fréquentes"
+56 -46
View File
@@ -1263,38 +1263,38 @@ msgid "bad command line options: %s"
msgstr "pilihan baris perintah salah: %s."
# OK
#: option.c:4544
#: option.c:4541
#, c-format
msgid "cannot get host-name: %s"
msgstr "tidak bisa mendapatkan host-name: %s"
# OK
#: option.c:4572
#: option.c:4569
msgid "only one resolv.conf file allowed in no-poll mode."
msgstr "hanya satu file resolv.conf yang diperbolehkan dalam modus no-poll."
# OK
#: option.c:4582
#: option.c:4579
msgid "must have exactly one resolv.conf to read domain from."
msgstr "harus mempunyai tepat satu resolv.conf untuk mendapatkan nama domain."
# OK
#: option.c:4585 network.c:1507 dhcp.c:777
#: option.c:4582 network.c:1507 dhcp.c:777
#, fuzzy, c-format
msgid "failed to read %s: %s"
msgstr "gagal membaca %s: %s"
# OK
#: option.c:4602
#: option.c:4599
#, c-format
msgid "no search directive found in %s"
msgstr "tidak ditemukan direktif search di %s"
#: option.c:4623
#: option.c:4620
msgid "there must be a default domain when --dhcp-fqdn is set"
msgstr ""
#: option.c:4632
#: option.c:4629
msgid "syntax check OK"
msgstr ""
@@ -1319,12 +1319,12 @@ msgstr "nameserver %s menolak melakukan resolusi rekursif"
msgid "possible DNS-rebind attack detected: %s"
msgstr ""
#: forward.c:1209 forward.c:1785
#: forward.c:1209 forward.c:1815
msgid "Ignoring query from non-local network"
msgstr ""
# OK
#: forward.c:2256
#: forward.c:2286
#, fuzzy, c-format
msgid "Maximum number of concurrent DNS queries reached (max: %d)"
msgstr "Sebutkan jumlah maksimum lease DHCP (default %s)."
@@ -1506,7 +1506,7 @@ msgid "unknown interface %s"
msgstr "antarmuka tidak dikenal %s"
# OK
#: dnsmasq.c:354 dnsmasq.c:1037
#: dnsmasq.c:354 dnsmasq.c:997
#, c-format
msgid "DBus error: %s"
msgstr "DBus error: %s"
@@ -1617,135 +1617,135 @@ msgstr ""
msgid "DHCP, sockets bound exclusively to interface %s"
msgstr ""
#: dnsmasq.c:808
#: dnsmasq.c:804
msgid "root is "
msgstr ""
# OK
#: dnsmasq.c:808
#: dnsmasq.c:804
#, fuzzy
msgid "enabled"
msgstr "di disable"
#: dnsmasq.c:810
#: dnsmasq.c:806
msgid "secure mode"
msgstr ""
#: dnsmasq.c:813
#: dnsmasq.c:809
#, c-format
msgid "warning: %s inaccessible"
msgstr ""
#: dnsmasq.c:817
#: dnsmasq.c:813
#, c-format
msgid "warning: TFTP directory %s inaccessible"
msgstr ""
#: dnsmasq.c:843
#: dnsmasq.c:839
#, c-format
msgid "restricting maximum simultaneous TFTP transfers to %d"
msgstr ""
# OK
#: dnsmasq.c:1039
#: dnsmasq.c:999
msgid "connected to system DBus"
msgstr "terhubung ke sistem DBus"
#: dnsmasq.c:1189
#: dnsmasq.c:1149
#, c-format
msgid "cannot fork into background: %s"
msgstr ""
# OK
#: dnsmasq.c:1192
#: dnsmasq.c:1152
#, fuzzy, c-format
msgid "failed to create helper: %s"
msgstr "gagal membaca %s: %s"
#: dnsmasq.c:1195
#: dnsmasq.c:1155
#, c-format
msgid "setting capabilities failed: %s"
msgstr ""
# OK
#: dnsmasq.c:1198
#: dnsmasq.c:1158
#, fuzzy, c-format
msgid "failed to change user-id to %s: %s"
msgstr "gagal memuat nama-nama dari %s: %s"
# OK
#: dnsmasq.c:1201
#: dnsmasq.c:1161
#, fuzzy, c-format
msgid "failed to change group-id to %s: %s"
msgstr "gagal memuat nama-nama dari %s: %s"
# OK
#: dnsmasq.c:1204
#: dnsmasq.c:1164
#, fuzzy, c-format
msgid "failed to open pidfile %s: %s"
msgstr "gagal membaca %s: %s"
# OK
#: dnsmasq.c:1207
#: dnsmasq.c:1167
#, fuzzy, c-format
msgid "cannot open log %s: %s"
msgstr "tidak bisa membuka %s:%s"
# OK
#: dnsmasq.c:1210
#: dnsmasq.c:1170
#, fuzzy, c-format
msgid "failed to load Lua script: %s"
msgstr "gagal memuat %S: %s"
#: dnsmasq.c:1213
#: dnsmasq.c:1173
#, c-format
msgid "TFTP directory %s inaccessible: %s"
msgstr ""
# OK
#: dnsmasq.c:1216
#: dnsmasq.c:1176
#, fuzzy, c-format
msgid "cannot create timestamp file %s: %s"
msgstr "tidak dapat membuka atau membuat file lease: %s"
#: dnsmasq.c:1237
#: dnsmasq.c:1197
msgid "now checking DNSSEC signature timestamps"
msgstr ""
#: dnsmasq.c:1304
#: dnsmasq.c:1264
#, c-format
msgid "script process killed by signal %d"
msgstr ""
#: dnsmasq.c:1308
#: dnsmasq.c:1268
#, c-format
msgid "script process exited with status %d"
msgstr ""
# OK
#: dnsmasq.c:1312
#: dnsmasq.c:1272
#, fuzzy, c-format
msgid "failed to execute %s: %s"
msgstr "gagal mengakses %s: %s"
#: dnsmasq.c:1367
#: dnsmasq.c:1327
msgid "exiting on receipt of SIGTERM"
msgstr "keluar karena menerima SIGTERM"
# OK
#: dnsmasq.c:1395
#: dnsmasq.c:1355
#, fuzzy, c-format
msgid "failed to access %s: %s"
msgstr "gagal mengakses %s: %s"
# OK
#: dnsmasq.c:1425
#: dnsmasq.c:1385
#, c-format
msgid "reading %s"
msgstr "membaca %s"
# OK
#: dnsmasq.c:1436
#: dnsmasq.c:1396
#, fuzzy, c-format
msgid "no servers found in %s, will retry"
msgstr "tidak ditemukan direktif search di %s"
@@ -2146,7 +2146,7 @@ msgid "log failed: %s"
msgstr ""
# OK
#: log.c:472
#: log.c:469
msgid "FAILED to start up"
msgstr "GAGAL untuk memulai"
@@ -2432,39 +2432,49 @@ msgid "%d addresses %s"
msgstr "membaca %s - %d alamat"
# OK
#: inotify.c:46
#: inotify.c:59
#, fuzzy, c-format
msgid "cannot access path %s: %s"
msgstr "tidak bisa membaca %s: %s"
# OK
#: inotify.c:92
#, fuzzy, c-format
msgid "failed to create inotify: %s"
msgstr "gagal membaca %s: %s"
# OK
#: inotify.c:60
#, fuzzy, c-format
msgid "cannot cannonicalise resolv-file %s: %s"
msgstr "tidak dapat membuka atau membuat file lease: %s"
#: inotify.c:105
#, c-format
msgid "too many symlinks following %s"
msgstr ""
#: inotify.c:72
#: inotify.c:121
#, c-format
msgid "directory %s for resolv-file is missing, cannot poll"
msgstr ""
# OK
#: inotify.c:75 inotify.c:112
#: inotify.c:125 inotify.c:162
#, fuzzy, c-format
msgid "failed to create inotify for %s: %s"
msgstr "gagal membuat socket: %s "
# OK
#: inotify.c:97
#: inotify.c:147
#, fuzzy, c-format
msgid "bad dynamic directory %s: %s"
msgstr "tidak bisa membaca %s: %s"
#: inotify.c:197
#: inotify.c:247
#, c-format
msgid "inotify, new or changed file %s"
msgstr ""
# OK
#, fuzzy
#~ msgid "cannot cannonicalise resolv-file %s: %s"
#~ msgstr "tidak dapat membuka atau membuat file lease: %s"
# OK
#~ msgid "duplicate IP address %s in dhcp-config directive."
#~ msgstr "alamat IP kembar %s dalam direktif dhcp-config"
+48 -43
View File
@@ -1068,34 +1068,34 @@ msgstr ""
msgid "bad command line options: %s"
msgstr ""
#: option.c:4544
#: option.c:4541
#, c-format
msgid "cannot get host-name: %s"
msgstr ""
#: option.c:4572
#: option.c:4569
msgid "only one resolv.conf file allowed in no-poll mode."
msgstr ""
#: option.c:4582
#: option.c:4579
msgid "must have exactly one resolv.conf to read domain from."
msgstr ""
#: option.c:4585 network.c:1507 dhcp.c:777
#: option.c:4582 network.c:1507 dhcp.c:777
#, c-format
msgid "failed to read %s: %s"
msgstr ""
#: option.c:4602
#: option.c:4599
#, c-format
msgid "no search directive found in %s"
msgstr ""
#: option.c:4623
#: option.c:4620
msgid "there must be a default domain when --dhcp-fqdn is set"
msgstr ""
#: option.c:4632
#: option.c:4629
msgid "syntax check OK"
msgstr ""
@@ -1118,11 +1118,11 @@ msgstr ""
msgid "possible DNS-rebind attack detected: %s"
msgstr ""
#: forward.c:1209 forward.c:1785
#: forward.c:1209 forward.c:1815
msgid "Ignoring query from non-local network"
msgstr ""
#: forward.c:2256
#: forward.c:2286
#, c-format
msgid "Maximum number of concurrent DNS queries reached (max: %d)"
msgstr ""
@@ -1278,7 +1278,7 @@ msgstr ""
msgid "unknown interface %s"
msgstr ""
#: dnsmasq.c:354 dnsmasq.c:1037
#: dnsmasq.c:354 dnsmasq.c:997
#, c-format
msgid "DBus error: %s"
msgstr ""
@@ -1377,121 +1377,121 @@ msgstr ""
msgid "DHCP, sockets bound exclusively to interface %s"
msgstr ""
#: dnsmasq.c:808
#: dnsmasq.c:804
msgid "root is "
msgstr ""
#: dnsmasq.c:808
#: dnsmasq.c:804
msgid "enabled"
msgstr ""
#: dnsmasq.c:810
#: dnsmasq.c:806
msgid "secure mode"
msgstr ""
#: dnsmasq.c:813
#: dnsmasq.c:809
#, c-format
msgid "warning: %s inaccessible"
msgstr ""
#: dnsmasq.c:817
#: dnsmasq.c:813
#, c-format
msgid "warning: TFTP directory %s inaccessible"
msgstr ""
#: dnsmasq.c:843
#: dnsmasq.c:839
#, c-format
msgid "restricting maximum simultaneous TFTP transfers to %d"
msgstr ""
#: dnsmasq.c:1039
#: dnsmasq.c:999
msgid "connected to system DBus"
msgstr ""
#: dnsmasq.c:1189
#: dnsmasq.c:1149
#, c-format
msgid "cannot fork into background: %s"
msgstr ""
#: dnsmasq.c:1192
#: dnsmasq.c:1152
#, c-format
msgid "failed to create helper: %s"
msgstr ""
#: dnsmasq.c:1195
#: dnsmasq.c:1155
#, c-format
msgid "setting capabilities failed: %s"
msgstr ""
#: dnsmasq.c:1198
#: dnsmasq.c:1158
#, c-format
msgid "failed to change user-id to %s: %s"
msgstr ""
#: dnsmasq.c:1201
#: dnsmasq.c:1161
#, c-format
msgid "failed to change group-id to %s: %s"
msgstr ""
#: dnsmasq.c:1204
#: dnsmasq.c:1164
#, c-format
msgid "failed to open pidfile %s: %s"
msgstr ""
#: dnsmasq.c:1207
#: dnsmasq.c:1167
#, c-format
msgid "cannot open log %s: %s"
msgstr ""
#: dnsmasq.c:1210
#: dnsmasq.c:1170
#, c-format
msgid "failed to load Lua script: %s"
msgstr ""
#: dnsmasq.c:1213
#: dnsmasq.c:1173
#, c-format
msgid "TFTP directory %s inaccessible: %s"
msgstr ""
#: dnsmasq.c:1216
#: dnsmasq.c:1176
#, c-format
msgid "cannot create timestamp file %s: %s"
msgstr ""
#: dnsmasq.c:1237
#: dnsmasq.c:1197
msgid "now checking DNSSEC signature timestamps"
msgstr ""
#: dnsmasq.c:1304
#: dnsmasq.c:1264
#, c-format
msgid "script process killed by signal %d"
msgstr ""
#: dnsmasq.c:1308
#: dnsmasq.c:1268
#, c-format
msgid "script process exited with status %d"
msgstr ""
#: dnsmasq.c:1312
#: dnsmasq.c:1272
#, c-format
msgid "failed to execute %s: %s"
msgstr ""
#: dnsmasq.c:1367
#: dnsmasq.c:1327
msgid "exiting on receipt of SIGTERM"
msgstr ""
#: dnsmasq.c:1395
#: dnsmasq.c:1355
#, c-format
msgid "failed to access %s: %s"
msgstr ""
#: dnsmasq.c:1425
#: dnsmasq.c:1385
#, c-format
msgid "reading %s"
msgstr ""
#: dnsmasq.c:1436
#: dnsmasq.c:1396
#, c-format
msgid "no servers found in %s, will retry"
msgstr ""
@@ -1846,7 +1846,7 @@ msgstr ""
msgid "log failed: %s"
msgstr ""
#: log.c:472
#: log.c:469
msgid "FAILED to start up"
msgstr ""
@@ -2101,32 +2101,37 @@ msgstr ""
msgid "%d addresses %s"
msgstr ""
#: inotify.c:46
#: inotify.c:59
#, c-format
msgid "cannot access path %s: %s"
msgstr ""
#: inotify.c:92
#, c-format
msgid "failed to create inotify: %s"
msgstr ""
#: inotify.c:60
#: inotify.c:105
#, c-format
msgid "cannot cannonicalise resolv-file %s: %s"
msgid "too many symlinks following %s"
msgstr ""
#: inotify.c:72
#: inotify.c:121
#, c-format
msgid "directory %s for resolv-file is missing, cannot poll"
msgstr ""
#: inotify.c:75 inotify.c:112
#: inotify.c:125 inotify.c:162
#, c-format
msgid "failed to create inotify for %s: %s"
msgstr ""
#: inotify.c:97
#: inotify.c:147
#, c-format
msgid "bad dynamic directory %s: %s"
msgstr ""
#: inotify.c:197
#: inotify.c:247
#, c-format
msgid "inotify, new or changed file %s"
msgstr ""
+54 -45
View File
@@ -1121,34 +1121,34 @@ msgstr ""
msgid "bad command line options: %s"
msgstr "dårlige kommandlinje opsjoner: %s."
#: option.c:4544
#: option.c:4541
#, c-format
msgid "cannot get host-name: %s"
msgstr "klarer ikke å få vertsnavn: %s"
#: option.c:4572
#: option.c:4569
msgid "only one resolv.conf file allowed in no-poll mode."
msgstr "kun en resolv.conf fil tillat i no-poll modus."
#: option.c:4582
#: option.c:4579
msgid "must have exactly one resolv.conf to read domain from."
msgstr "må ha nøyaktig en resolv.conf å lese domene fra."
#: option.c:4585 network.c:1507 dhcp.c:777
#: option.c:4582 network.c:1507 dhcp.c:777
#, fuzzy, c-format
msgid "failed to read %s: %s"
msgstr "feilet å lese %s: %s"
#: option.c:4602
#: option.c:4599
#, c-format
msgid "no search directive found in %s"
msgstr "intet søke direktiv funnet i %s"
#: option.c:4623
#: option.c:4620
msgid "there must be a default domain when --dhcp-fqdn is set"
msgstr ""
#: option.c:4632
#: option.c:4629
msgid "syntax check OK"
msgstr ""
@@ -1171,11 +1171,11 @@ msgstr "navnetjener %s nektet
msgid "possible DNS-rebind attack detected: %s"
msgstr ""
#: forward.c:1209 forward.c:1785
#: forward.c:1209 forward.c:1815
msgid "Ignoring query from non-local network"
msgstr ""
#: forward.c:2256
#: forward.c:2286
#, fuzzy, c-format
msgid "Maximum number of concurrent DNS queries reached (max: %d)"
msgstr "Spesifiser maksimum antall DHCP leier (standard er %s)"
@@ -1336,7 +1336,7 @@ msgstr "feilet
msgid "unknown interface %s"
msgstr "ukjent tilknytning (interface) %s"
#: dnsmasq.c:354 dnsmasq.c:1037
#: dnsmasq.c:354 dnsmasq.c:997
#, c-format
msgid "DBus error: %s"
msgstr "DBus feil: %s"
@@ -1436,122 +1436,122 @@ msgstr ""
msgid "DHCP, sockets bound exclusively to interface %s"
msgstr ""
#: dnsmasq.c:808
#: dnsmasq.c:804
msgid "root is "
msgstr ""
#: dnsmasq.c:808
#: dnsmasq.c:804
#, fuzzy
msgid "enabled"
msgstr "deaktivert"
#: dnsmasq.c:810
#: dnsmasq.c:806
msgid "secure mode"
msgstr ""
#: dnsmasq.c:813
#: dnsmasq.c:809
#, c-format
msgid "warning: %s inaccessible"
msgstr ""
#: dnsmasq.c:817
#: dnsmasq.c:813
#, c-format
msgid "warning: TFTP directory %s inaccessible"
msgstr ""
#: dnsmasq.c:843
#: dnsmasq.c:839
#, c-format
msgid "restricting maximum simultaneous TFTP transfers to %d"
msgstr ""
#: dnsmasq.c:1039
#: dnsmasq.c:999
msgid "connected to system DBus"
msgstr "tilkoblet til system DBus"
#: dnsmasq.c:1189
#: dnsmasq.c:1149
#, c-format
msgid "cannot fork into background: %s"
msgstr ""
#: dnsmasq.c:1192
#: dnsmasq.c:1152
#, fuzzy, c-format
msgid "failed to create helper: %s"
msgstr "feilet å lese %s: %s"
#: dnsmasq.c:1195
#: dnsmasq.c:1155
#, c-format
msgid "setting capabilities failed: %s"
msgstr ""
#: dnsmasq.c:1198
#: dnsmasq.c:1158
#, fuzzy, c-format
msgid "failed to change user-id to %s: %s"
msgstr "feilet å laste navn fra %s: %s"
#: dnsmasq.c:1201
#: dnsmasq.c:1161
#, fuzzy, c-format
msgid "failed to change group-id to %s: %s"
msgstr "feilet å laste navn fra %s: %s"
#: dnsmasq.c:1204
#: dnsmasq.c:1164
#, fuzzy, c-format
msgid "failed to open pidfile %s: %s"
msgstr "feilet å lese %s: %s"
#: dnsmasq.c:1207
#: dnsmasq.c:1167
#, fuzzy, c-format
msgid "cannot open log %s: %s"
msgstr "kan ikke åpne %s:%s"
#: dnsmasq.c:1210
#: dnsmasq.c:1170
#, fuzzy, c-format
msgid "failed to load Lua script: %s"
msgstr "feilet å laste %s: %s"
#: dnsmasq.c:1213
#: dnsmasq.c:1173
#, c-format
msgid "TFTP directory %s inaccessible: %s"
msgstr ""
#: dnsmasq.c:1216
#: dnsmasq.c:1176
#, fuzzy, c-format
msgid "cannot create timestamp file %s: %s"
msgstr "kan ikke åpne eller lage leie fil: %s"
#: dnsmasq.c:1237
#: dnsmasq.c:1197
msgid "now checking DNSSEC signature timestamps"
msgstr ""
#: dnsmasq.c:1304
#: dnsmasq.c:1264
#, c-format
msgid "script process killed by signal %d"
msgstr ""
#: dnsmasq.c:1308
#: dnsmasq.c:1268
#, c-format
msgid "script process exited with status %d"
msgstr ""
#: dnsmasq.c:1312
#: dnsmasq.c:1272
#, fuzzy, c-format
msgid "failed to execute %s: %s"
msgstr "feilet å få tilgang til %s: %s"
#: dnsmasq.c:1367
#: dnsmasq.c:1327
msgid "exiting on receipt of SIGTERM"
msgstr "avslutter etter mottak av SIGTERM"
#: dnsmasq.c:1395
#: dnsmasq.c:1355
#, fuzzy, c-format
msgid "failed to access %s: %s"
msgstr "feilet å få tilgang til %s: %s"
#: dnsmasq.c:1425
#: dnsmasq.c:1385
#, c-format
msgid "reading %s"
msgstr "leser %s"
#: dnsmasq.c:1436
#: dnsmasq.c:1396
#, fuzzy, c-format
msgid "no servers found in %s, will retry"
msgstr "intet søke direktiv funnet i %s"
@@ -1906,7 +1906,7 @@ msgstr ""
msgid "log failed: %s"
msgstr ""
#: log.c:472
#: log.c:469
msgid "FAILED to start up"
msgstr "FEILET å starte opp"
@@ -2165,36 +2165,45 @@ msgstr ""
msgid "%d addresses %s"
msgstr "les %s - %d adresser"
#: inotify.c:46
#: inotify.c:59
#, fuzzy, c-format
msgid "cannot access path %s: %s"
msgstr "kan ikke lese %s: %s"
#: inotify.c:92
#, fuzzy, c-format
msgid "failed to create inotify: %s"
msgstr "feilet å lese %s: %s"
#: inotify.c:60
#, fuzzy, c-format
msgid "cannot cannonicalise resolv-file %s: %s"
msgstr "kan ikke åpne eller lage leie fil: %s"
#: inotify.c:105
#, c-format
msgid "too many symlinks following %s"
msgstr ""
#: inotify.c:72
#: inotify.c:121
#, c-format
msgid "directory %s for resolv-file is missing, cannot poll"
msgstr ""
#: inotify.c:75 inotify.c:112
#: inotify.c:125 inotify.c:162
#, fuzzy, c-format
msgid "failed to create inotify for %s: %s"
msgstr "feilet å lage lytte socket: %s"
#: inotify.c:97
#: inotify.c:147
#, fuzzy, c-format
msgid "bad dynamic directory %s: %s"
msgstr "kan ikke lese %s: %s"
#: inotify.c:197
#: inotify.c:247
#, c-format
msgid "inotify, new or changed file %s"
msgstr ""
#, fuzzy
#~ msgid "cannot cannonicalise resolv-file %s: %s"
#~ msgstr "kan ikke åpne eller lage leie fil: %s"
#~ msgid "duplicate IP address %s in dhcp-config directive."
#~ msgstr "dubliserte IP adresser i %s dhcp-config direktiv."
+54 -45
View File
@@ -1082,34 +1082,34 @@ msgstr "spróbuj: -w"
msgid "bad command line options: %s"
msgstr "nieprawidłowa opcja w linii poleceń %s"
#: option.c:4544
#: option.c:4541
#, c-format
msgid "cannot get host-name: %s"
msgstr "nie można pobrać nazwy hosta: %s"
#: option.c:4572
#: option.c:4569
msgid "only one resolv.conf file allowed in no-poll mode."
msgstr "w trybie no-poll można wskazać najwyżej jeden plik resolv.conf."
#: option.c:4582
#: option.c:4579
msgid "must have exactly one resolv.conf to read domain from."
msgstr "musisz mieć dokładnie jeden plik resolv.conf do odczytu domen."
#: option.c:4585 network.c:1507 dhcp.c:777
#: option.c:4582 network.c:1507 dhcp.c:777
#, c-format
msgid "failed to read %s: %s"
msgstr "nie udało się odczytać %s: %s"
#: option.c:4602
#: option.c:4599
#, c-format
msgid "no search directive found in %s"
msgstr "brak wytycznych wyszukiwania w %s"
#: option.c:4623
#: option.c:4620
msgid "there must be a default domain when --dhcp-fqdn is set"
msgstr "w przypadku używania --dhcp-fqdn trzeba wskazać domyślną domenę"
#: option.c:4632
#: option.c:4629
msgid "syntax check OK"
msgstr "składnia sprawdzona, jest prawidłowa"
@@ -1132,11 +1132,11 @@ msgstr "serwer nazw %s odmawia wykonania zapytania rekurencyjnego"
msgid "possible DNS-rebind attack detected: %s"
msgstr "prawdopodobnie wykryto atak DNS-rebind: %s"
#: forward.c:1209 forward.c:1785
#: forward.c:1209 forward.c:1815
msgid "Ignoring query from non-local network"
msgstr "Ignorowanie zapytań z sieci pozalokalnych."
#: forward.c:2256
#: forward.c:2286
#, c-format
msgid "Maximum number of concurrent DNS queries reached (max: %d)"
msgstr "Osiągnięto graniczną ilość jednocześnie obsługiwanych zapytań DNS (maks: %d)"
@@ -1297,7 +1297,7 @@ msgstr "błąd podczas tworzenia listy interfejsów sieciowych: %s"
msgid "unknown interface %s"
msgstr "nieznany interfejs %s"
#: dnsmasq.c:354 dnsmasq.c:1037
#: dnsmasq.c:354 dnsmasq.c:997
#, c-format
msgid "DBus error: %s"
msgstr "błąd DBus: %s"
@@ -1397,121 +1397,121 @@ msgstr "anonsowanie rutera IPv6 włączone"
msgid "DHCP, sockets bound exclusively to interface %s"
msgstr "DHCP, gniazda dowiązane na wyłączność interfejsowi %s"
#: dnsmasq.c:808
#: dnsmasq.c:804
msgid "root is "
msgstr "z głównym katalogiem w "
#: dnsmasq.c:808
#: dnsmasq.c:804
msgid "enabled"
msgstr "włączony"
#: dnsmasq.c:810
#: dnsmasq.c:806
msgid "secure mode"
msgstr "w trybie bezpiecznym"
#: dnsmasq.c:813
#: dnsmasq.c:809
#, c-format
msgid "warning: %s inaccessible"
msgstr ""
#: dnsmasq.c:817
#: dnsmasq.c:813
#, fuzzy, c-format
msgid "warning: TFTP directory %s inaccessible"
msgstr "katalog TFTP %s nie jest dostępny: %s"
#: dnsmasq.c:843
#: dnsmasq.c:839
#, c-format
msgid "restricting maximum simultaneous TFTP transfers to %d"
msgstr "ograniczam ilość jednoczesnych przesłań TFTP do %d"
#: dnsmasq.c:1039
#: dnsmasq.c:999
msgid "connected to system DBus"
msgstr "podłączono do DBus-a"
#: dnsmasq.c:1189
#: dnsmasq.c:1149
#, c-format
msgid "cannot fork into background: %s"
msgstr "nie potrafię przełączyć się do pracy w tle: %s"
#: dnsmasq.c:1192
#: dnsmasq.c:1152
#, c-format
msgid "failed to create helper: %s"
msgstr "nie udało się utworzyć procesu pomocniczego: %s"
#: dnsmasq.c:1195
#: dnsmasq.c:1155
#, c-format
msgid "setting capabilities failed: %s"
msgstr "nie powiodło się ustawianie ograniczeń (capabilities): %s"
#: dnsmasq.c:1198
#: dnsmasq.c:1158
#, c-format
msgid "failed to change user-id to %s: %s"
msgstr "nie udało się zmienić użytkownika procesu na %s: %s"
#: dnsmasq.c:1201
#: dnsmasq.c:1161
#, c-format
msgid "failed to change group-id to %s: %s"
msgstr "nie udało się zmienić grupy procesu na %s: %s"
#: dnsmasq.c:1204
#: dnsmasq.c:1164
#, c-format
msgid "failed to open pidfile %s: %s"
msgstr "nie udało się otworzyć pliku z PID-em %s: %s"
#: dnsmasq.c:1207
#: dnsmasq.c:1167
#, c-format
msgid "cannot open log %s: %s"
msgstr "nie udało się otworzyć logu %s: %s"
#: dnsmasq.c:1210
#: dnsmasq.c:1170
#, c-format
msgid "failed to load Lua script: %s"
msgstr "nie udało się wczytać skryptu Lua: %s"
#: dnsmasq.c:1213
#: dnsmasq.c:1173
#, c-format
msgid "TFTP directory %s inaccessible: %s"
msgstr "katalog TFTP %s nie jest dostępny: %s"
#: dnsmasq.c:1216
#: dnsmasq.c:1176
#, fuzzy, c-format
msgid "cannot create timestamp file %s: %s"
msgstr "nie potrafię otworzyć albo utworzyć pliku dzierżaw %s: %s"
#: dnsmasq.c:1237
#: dnsmasq.c:1197
msgid "now checking DNSSEC signature timestamps"
msgstr "trwa sprawdzanie sygnatur czasowych podpisów DNSSEC"
#: dnsmasq.c:1304
#: dnsmasq.c:1264
#, c-format
msgid "script process killed by signal %d"
msgstr "skrypt został zabity sygnałem %d"
#: dnsmasq.c:1308
#: dnsmasq.c:1268
#, c-format
msgid "script process exited with status %d"
msgstr "skrypt zakończył się z kodem powrotu %d"
#: dnsmasq.c:1312
#: dnsmasq.c:1272
#, c-format
msgid "failed to execute %s: %s"
msgstr "nie udało się uruchomić %s: %s"
#: dnsmasq.c:1367
#: dnsmasq.c:1327
msgid "exiting on receipt of SIGTERM"
msgstr "zakończyłem działanie z powodu odebrania SIGTERM"
#: dnsmasq.c:1395
#: dnsmasq.c:1355
#, c-format
msgid "failed to access %s: %s"
msgstr "brak dostępu do %s: %s"
#: dnsmasq.c:1425
#: dnsmasq.c:1385
#, c-format
msgid "reading %s"
msgstr "czytanie %s"
#: dnsmasq.c:1436
#: dnsmasq.c:1396
#, c-format
msgid "no servers found in %s, will retry"
msgstr "w %s nie znalazłem serwerów, spróbuję ponownie później"
@@ -1866,7 +1866,7 @@ msgstr "przepełnienie: stracono %d wpisów do logów"
msgid "log failed: %s"
msgstr "nie udało się zapisać komunikatów do %s"
#: log.c:472
#: log.c:469
msgid "FAILED to start up"
msgstr "BŁĄD: nie udało się uruchomić dnsmasq-a"
@@ -2121,36 +2121,45 @@ msgstr "uwaga: DIOCR%sADDRS: %s"
msgid "%d addresses %s"
msgstr "%d adresów %s"
#: inotify.c:46
#: inotify.c:59
#, fuzzy, c-format
msgid "cannot access path %s: %s"
msgstr "brak dostępu do %s: %s"
#: inotify.c:92
#, fuzzy, c-format
msgid "failed to create inotify: %s"
msgstr "nie udało się utworzyć procesu pomocniczego: %s"
#: inotify.c:60
#, fuzzy, c-format
msgid "cannot cannonicalise resolv-file %s: %s"
msgstr "nie potrafię otworzyć albo utworzyć pliku dzierżaw %s: %s"
#: inotify.c:105
#, c-format
msgid "too many symlinks following %s"
msgstr ""
#: inotify.c:72
#: inotify.c:121
#, c-format
msgid "directory %s for resolv-file is missing, cannot poll"
msgstr ""
#: inotify.c:75 inotify.c:112
#: inotify.c:125 inotify.c:162
#, fuzzy, c-format
msgid "failed to create inotify for %s: %s"
msgstr "nie udało się otworzyć gniazda %s: %s"
#: inotify.c:97
#: inotify.c:147
#, fuzzy, c-format
msgid "bad dynamic directory %s: %s"
msgstr "brak dostępu do katalogu %s: %s"
#: inotify.c:197
#: inotify.c:247
#, c-format
msgid "inotify, new or changed file %s"
msgstr ""
#, fuzzy
#~ msgid "cannot cannonicalise resolv-file %s: %s"
#~ msgstr "nie potrafię otworzyć albo utworzyć pliku dzierżaw %s: %s"
#~ msgid "Always send frequent router-advertisements"
#~ msgstr "Rozsyłanie wielokrotne anonsów rutera (RA)"
+48 -43
View File
@@ -1068,34 +1068,34 @@ msgstr ""
msgid "bad command line options: %s"
msgstr ""
#: option.c:4544
#: option.c:4541
#, c-format
msgid "cannot get host-name: %s"
msgstr ""
#: option.c:4572
#: option.c:4569
msgid "only one resolv.conf file allowed in no-poll mode."
msgstr ""
#: option.c:4582
#: option.c:4579
msgid "must have exactly one resolv.conf to read domain from."
msgstr ""
#: option.c:4585 network.c:1507 dhcp.c:777
#: option.c:4582 network.c:1507 dhcp.c:777
#, c-format
msgid "failed to read %s: %s"
msgstr ""
#: option.c:4602
#: option.c:4599
#, c-format
msgid "no search directive found in %s"
msgstr ""
#: option.c:4623
#: option.c:4620
msgid "there must be a default domain when --dhcp-fqdn is set"
msgstr ""
#: option.c:4632
#: option.c:4629
msgid "syntax check OK"
msgstr ""
@@ -1118,11 +1118,11 @@ msgstr ""
msgid "possible DNS-rebind attack detected: %s"
msgstr ""
#: forward.c:1209 forward.c:1785
#: forward.c:1209 forward.c:1815
msgid "Ignoring query from non-local network"
msgstr ""
#: forward.c:2256
#: forward.c:2286
#, c-format
msgid "Maximum number of concurrent DNS queries reached (max: %d)"
msgstr ""
@@ -1278,7 +1278,7 @@ msgstr ""
msgid "unknown interface %s"
msgstr ""
#: dnsmasq.c:354 dnsmasq.c:1037
#: dnsmasq.c:354 dnsmasq.c:997
#, c-format
msgid "DBus error: %s"
msgstr ""
@@ -1377,121 +1377,121 @@ msgstr ""
msgid "DHCP, sockets bound exclusively to interface %s"
msgstr ""
#: dnsmasq.c:808
#: dnsmasq.c:804
msgid "root is "
msgstr ""
#: dnsmasq.c:808
#: dnsmasq.c:804
msgid "enabled"
msgstr ""
#: dnsmasq.c:810
#: dnsmasq.c:806
msgid "secure mode"
msgstr ""
#: dnsmasq.c:813
#: dnsmasq.c:809
#, c-format
msgid "warning: %s inaccessible"
msgstr ""
#: dnsmasq.c:817
#: dnsmasq.c:813
#, c-format
msgid "warning: TFTP directory %s inaccessible"
msgstr ""
#: dnsmasq.c:843
#: dnsmasq.c:839
#, c-format
msgid "restricting maximum simultaneous TFTP transfers to %d"
msgstr ""
#: dnsmasq.c:1039
#: dnsmasq.c:999
msgid "connected to system DBus"
msgstr ""
#: dnsmasq.c:1189
#: dnsmasq.c:1149
#, c-format
msgid "cannot fork into background: %s"
msgstr ""
#: dnsmasq.c:1192
#: dnsmasq.c:1152
#, c-format
msgid "failed to create helper: %s"
msgstr ""
#: dnsmasq.c:1195
#: dnsmasq.c:1155
#, c-format
msgid "setting capabilities failed: %s"
msgstr ""
#: dnsmasq.c:1198
#: dnsmasq.c:1158
#, c-format
msgid "failed to change user-id to %s: %s"
msgstr ""
#: dnsmasq.c:1201
#: dnsmasq.c:1161
#, c-format
msgid "failed to change group-id to %s: %s"
msgstr ""
#: dnsmasq.c:1204
#: dnsmasq.c:1164
#, c-format
msgid "failed to open pidfile %s: %s"
msgstr ""
#: dnsmasq.c:1207
#: dnsmasq.c:1167
#, c-format
msgid "cannot open log %s: %s"
msgstr ""
#: dnsmasq.c:1210
#: dnsmasq.c:1170
#, c-format
msgid "failed to load Lua script: %s"
msgstr ""
#: dnsmasq.c:1213
#: dnsmasq.c:1173
#, c-format
msgid "TFTP directory %s inaccessible: %s"
msgstr ""
#: dnsmasq.c:1216
#: dnsmasq.c:1176
#, c-format
msgid "cannot create timestamp file %s: %s"
msgstr ""
#: dnsmasq.c:1237
#: dnsmasq.c:1197
msgid "now checking DNSSEC signature timestamps"
msgstr ""
#: dnsmasq.c:1304
#: dnsmasq.c:1264
#, c-format
msgid "script process killed by signal %d"
msgstr ""
#: dnsmasq.c:1308
#: dnsmasq.c:1268
#, c-format
msgid "script process exited with status %d"
msgstr ""
#: dnsmasq.c:1312
#: dnsmasq.c:1272
#, c-format
msgid "failed to execute %s: %s"
msgstr ""
#: dnsmasq.c:1367
#: dnsmasq.c:1327
msgid "exiting on receipt of SIGTERM"
msgstr ""
#: dnsmasq.c:1395
#: dnsmasq.c:1355
#, c-format
msgid "failed to access %s: %s"
msgstr ""
#: dnsmasq.c:1425
#: dnsmasq.c:1385
#, c-format
msgid "reading %s"
msgstr ""
#: dnsmasq.c:1436
#: dnsmasq.c:1396
#, c-format
msgid "no servers found in %s, will retry"
msgstr ""
@@ -1846,7 +1846,7 @@ msgstr ""
msgid "log failed: %s"
msgstr ""
#: log.c:472
#: log.c:469
msgid "FAILED to start up"
msgstr ""
@@ -2101,32 +2101,37 @@ msgstr ""
msgid "%d addresses %s"
msgstr ""
#: inotify.c:46
#: inotify.c:59
#, c-format
msgid "cannot access path %s: %s"
msgstr ""
#: inotify.c:92
#, c-format
msgid "failed to create inotify: %s"
msgstr ""
#: inotify.c:60
#: inotify.c:105
#, c-format
msgid "cannot cannonicalise resolv-file %s: %s"
msgid "too many symlinks following %s"
msgstr ""
#: inotify.c:72
#: inotify.c:121
#, c-format
msgid "directory %s for resolv-file is missing, cannot poll"
msgstr ""
#: inotify.c:75 inotify.c:112
#: inotify.c:125 inotify.c:162
#, c-format
msgid "failed to create inotify for %s: %s"
msgstr ""
#: inotify.c:97
#: inotify.c:147
#, c-format
msgid "bad dynamic directory %s: %s"
msgstr ""
#: inotify.c:197
#: inotify.c:247
#, c-format
msgid "inotify, new or changed file %s"
msgstr ""
+54 -45
View File
@@ -1119,34 +1119,34 @@ msgstr ""
msgid "bad command line options: %s"
msgstr "opţiuni în linie de comandă invalide: %s."
#: option.c:4544
#: option.c:4541
#, c-format
msgid "cannot get host-name: %s"
msgstr "nu pot citi numele maşinii: %s"
#: option.c:4572
#: option.c:4569
msgid "only one resolv.conf file allowed in no-poll mode."
msgstr "se permite un singur fişier resolv.conf în modul no-poll"
#: option.c:4582
#: option.c:4579
msgid "must have exactly one resolv.conf to read domain from."
msgstr "am nevoie de un singur resolv.conf din care să citesc numele domeniului."
#: option.c:4585 network.c:1507 dhcp.c:777
#: option.c:4582 network.c:1507 dhcp.c:777
#, fuzzy, c-format
msgid "failed to read %s: %s"
msgstr "nu pot citi %s: %s"
#: option.c:4602
#: option.c:4599
#, c-format
msgid "no search directive found in %s"
msgstr "nu s-a găsit nici un criteriu de căutare în %s"
#: option.c:4623
#: option.c:4620
msgid "there must be a default domain when --dhcp-fqdn is set"
msgstr ""
#: option.c:4632
#: option.c:4629
msgid "syntax check OK"
msgstr ""
@@ -1169,11 +1169,11 @@ msgstr "serverul DNS %s refuză interogările recursive"
msgid "possible DNS-rebind attack detected: %s"
msgstr ""
#: forward.c:1209 forward.c:1785
#: forward.c:1209 forward.c:1815
msgid "Ignoring query from non-local network"
msgstr ""
#: forward.c:2256
#: forward.c:2286
#, fuzzy, c-format
msgid "Maximum number of concurrent DNS queries reached (max: %d)"
msgstr "Specifică numărul maxim de împrumuturi DHCP (implicit %s)."
@@ -1334,7 +1334,7 @@ msgstr "enumerarea interfeţelor a eşuat: %s"
msgid "unknown interface %s"
msgstr "interfaţă necunoscută %s"
#: dnsmasq.c:354 dnsmasq.c:1037
#: dnsmasq.c:354 dnsmasq.c:997
#, c-format
msgid "DBus error: %s"
msgstr "eroare DBus: %s"
@@ -1435,124 +1435,124 @@ msgstr ""
msgid "DHCP, sockets bound exclusively to interface %s"
msgstr ""
#: dnsmasq.c:808
#: dnsmasq.c:804
msgid "root is "
msgstr ""
#: dnsmasq.c:808
#: dnsmasq.c:804
#, fuzzy
msgid "enabled"
msgstr "dezactivat"
#: dnsmasq.c:810
#: dnsmasq.c:806
msgid "secure mode"
msgstr ""
#: dnsmasq.c:813
#: dnsmasq.c:809
#, c-format
msgid "warning: %s inaccessible"
msgstr ""
#: dnsmasq.c:817
#: dnsmasq.c:813
#, c-format
msgid "warning: TFTP directory %s inaccessible"
msgstr ""
#: dnsmasq.c:843
#: dnsmasq.c:839
#, c-format
msgid "restricting maximum simultaneous TFTP transfers to %d"
msgstr ""
#: dnsmasq.c:1039
#: dnsmasq.c:999
msgid "connected to system DBus"
msgstr "magistrala sistem Dbus conectată"
#: dnsmasq.c:1189
#: dnsmasq.c:1149
#, c-format
msgid "cannot fork into background: %s"
msgstr ""
#: dnsmasq.c:1192
#: dnsmasq.c:1152
#, fuzzy, c-format
msgid "failed to create helper: %s"
msgstr "nu pot citi %s: %s"
#: dnsmasq.c:1195
#: dnsmasq.c:1155
#, c-format
msgid "setting capabilities failed: %s"
msgstr ""
# for compatibility purposes the letters â, ă, ş, ţ and î can be written as their look-alike correspondent.
#: dnsmasq.c:1198
#: dnsmasq.c:1158
#, fuzzy, c-format
msgid "failed to change user-id to %s: %s"
msgstr "încărcarea numelor din %s: %s a eşuat"
# for compatibility purposes the letters â, ă, ş, ţ and î can be written as their look-alike correspondent.
#: dnsmasq.c:1201
#: dnsmasq.c:1161
#, fuzzy, c-format
msgid "failed to change group-id to %s: %s"
msgstr "încărcarea numelor din %s: %s a eşuat"
#: dnsmasq.c:1204
#: dnsmasq.c:1164
#, fuzzy, c-format
msgid "failed to open pidfile %s: %s"
msgstr "nu pot citi %s: %s"
#: dnsmasq.c:1207
#: dnsmasq.c:1167
#, fuzzy, c-format
msgid "cannot open log %s: %s"
msgstr "nu pot deschide %s:%s"
#: dnsmasq.c:1210
#: dnsmasq.c:1170
#, fuzzy, c-format
msgid "failed to load Lua script: %s"
msgstr "nu pot încărca %s: %s"
#: dnsmasq.c:1213
#: dnsmasq.c:1173
#, c-format
msgid "TFTP directory %s inaccessible: %s"
msgstr ""
#: dnsmasq.c:1216
#: dnsmasq.c:1176
#, fuzzy, c-format
msgid "cannot create timestamp file %s: %s"
msgstr "nu pot creea sau deschide fişierul cu împrumuturi: %s"
#: dnsmasq.c:1237
#: dnsmasq.c:1197
msgid "now checking DNSSEC signature timestamps"
msgstr ""
#: dnsmasq.c:1304
#: dnsmasq.c:1264
#, c-format
msgid "script process killed by signal %d"
msgstr ""
#: dnsmasq.c:1308
#: dnsmasq.c:1268
#, c-format
msgid "script process exited with status %d"
msgstr ""
#: dnsmasq.c:1312
#: dnsmasq.c:1272
#, fuzzy, c-format
msgid "failed to execute %s: %s"
msgstr "accesarea serverului %s a eşuat: %s"
#: dnsmasq.c:1367
#: dnsmasq.c:1327
msgid "exiting on receipt of SIGTERM"
msgstr "am primit SIGTERM, am terminat"
#: dnsmasq.c:1395
#: dnsmasq.c:1355
#, fuzzy, c-format
msgid "failed to access %s: %s"
msgstr "accesarea serverului %s a eşuat: %s"
#: dnsmasq.c:1425
#: dnsmasq.c:1385
#, c-format
msgid "reading %s"
msgstr "citesc %s"
#: dnsmasq.c:1436
#: dnsmasq.c:1396
#, fuzzy, c-format
msgid "no servers found in %s, will retry"
msgstr "nu s-a găsit nici un criteriu de căutare în %s"
@@ -1907,7 +1907,7 @@ msgstr ""
msgid "log failed: %s"
msgstr ""
#: log.c:472
#: log.c:469
msgid "FAILED to start up"
msgstr "pornirea A EŞUAT"
@@ -2166,36 +2166,45 @@ msgstr ""
msgid "%d addresses %s"
msgstr "citesc %s - %d adrese"
#: inotify.c:46
#: inotify.c:59
#, fuzzy, c-format
msgid "cannot access path %s: %s"
msgstr "nu pot citi %s: %s"
#: inotify.c:92
#, fuzzy, c-format
msgid "failed to create inotify: %s"
msgstr "nu pot citi %s: %s"
#: inotify.c:60
#, fuzzy, c-format
msgid "cannot cannonicalise resolv-file %s: %s"
msgstr "nu pot creea sau deschide fişierul cu împrumuturi: %s"
#: inotify.c:105
#, c-format
msgid "too many symlinks following %s"
msgstr ""
#: inotify.c:72
#: inotify.c:121
#, c-format
msgid "directory %s for resolv-file is missing, cannot poll"
msgstr ""
#: inotify.c:75 inotify.c:112
#: inotify.c:125 inotify.c:162
#, fuzzy, c-format
msgid "failed to create inotify for %s: %s"
msgstr "creearea socket-ului de ascultare a eşuat: %s"
#: inotify.c:97
#: inotify.c:147
#, fuzzy, c-format
msgid "bad dynamic directory %s: %s"
msgstr "nu pot citi %s: %s"
#: inotify.c:197
#: inotify.c:247
#, c-format
msgid "inotify, new or changed file %s"
msgstr ""
#, fuzzy
#~ msgid "cannot cannonicalise resolv-file %s: %s"
#~ msgstr "nu pot creea sau deschide fişierul cu împrumuturi: %s"
#~ msgid "duplicate IP address %s in dhcp-config directive."
#~ msgstr "adresă IP duplicat %s în declaraţia dhcp-config."
+8 -11
View File
@@ -749,8 +749,7 @@ char *dbus_init(void)
}
void set_dbus_listeners(int *maxfdp,
fd_set *rset, fd_set *wset, fd_set *eset)
void set_dbus_listeners(void)
{
struct watch *w;
@@ -760,19 +759,17 @@ void set_dbus_listeners(int *maxfdp,
unsigned int flags = dbus_watch_get_flags(w->watch);
int fd = dbus_watch_get_unix_fd(w->watch);
bump_maxfd(fd, maxfdp);
if (flags & DBUS_WATCH_READABLE)
FD_SET(fd, rset);
poll_listen(fd, POLLIN);
if (flags & DBUS_WATCH_WRITABLE)
FD_SET(fd, wset);
poll_listen(fd, POLLOUT);
FD_SET(fd, eset);
poll_listen(fd, POLLERR);
}
}
void check_dbus_listeners(fd_set *rset, fd_set *wset, fd_set *eset)
void check_dbus_listeners()
{
DBusConnection *connection = (DBusConnection *)daemon->dbus;
struct watch *w;
@@ -783,13 +780,13 @@ void check_dbus_listeners(fd_set *rset, fd_set *wset, fd_set *eset)
unsigned int flags = 0;
int fd = dbus_watch_get_unix_fd(w->watch);
if (FD_ISSET(fd, rset))
if (poll_check(fd, POLLIN))
flags |= DBUS_WATCH_READABLE;
if (FD_ISSET(fd, wset))
if (poll_check(fd, POLLOUT))
flags |= DBUS_WATCH_WRITABLE;
if (FD_ISSET(fd, eset))
if (poll_check(fd, POLLERR))
flags |= DBUS_WATCH_ERROR;
if (flags != 0)
+65 -132
View File
@@ -24,8 +24,8 @@ struct daemon *daemon;
static volatile pid_t pid = 0;
static volatile int pipewrite;
static int set_dns_listeners(time_t now, fd_set *set, int *maxfdp);
static void check_dns_listeners(fd_set *set, time_t now);
static int set_dns_listeners(time_t now);
static void check_dns_listeners(time_t now);
static void sig_handler(int sig);
static void async_event(int pipe, time_t now);
static void fatal_event(struct event_desc *ev, char *msg);
@@ -799,10 +799,6 @@ int main (int argc, char **argv)
if (option_bool(OPT_TFTP))
{
struct tftp_prefix *p;
#ifdef FD_SETSIZE
if (FD_SETSIZE < (unsigned)max_fd)
max_fd = FD_SETSIZE;
#endif
my_syslog(MS_TFTP | LOG_INFO, "TFTP %s%s %s",
daemon->tftp_prefix ? _("root is ") : _("enabled"),
@@ -862,88 +858,58 @@ int main (int argc, char **argv)
while (1)
{
int maxfd = -1;
struct timeval t, *tp = NULL;
fd_set rset, wset, eset;
int t, timeout = -1;
FD_ZERO(&rset);
FD_ZERO(&wset);
FD_ZERO(&eset);
poll_reset();
/* if we are out of resources, find how long we have to wait
for some to come free, we'll loop around then and restart
listening for queries */
if ((t.tv_sec = set_dns_listeners(now, &rset, &maxfd)) != 0)
{
t.tv_usec = 0;
tp = &t;
}
if ((t = set_dns_listeners(now)) != 0)
timeout = t * 1000;
/* Whilst polling for the dbus, or doing a tftp transfer, wake every quarter second */
if (daemon->tftp_trans ||
(option_bool(OPT_DBUS) && !daemon->dbus))
{
t.tv_sec = 0;
t.tv_usec = 250000;
tp = &t;
}
timeout = 250;
/* Wake every second whilst waiting for DAD to complete */
else if (is_dad_listeners())
{
t.tv_sec = 1;
t.tv_usec = 0;
tp = &t;
}
timeout = 1000;
#ifdef HAVE_DBUS
set_dbus_listeners(&maxfd, &rset, &wset, &eset);
set_dbus_listeners();
#endif
#ifdef HAVE_DHCP
if (daemon->dhcp || daemon->relay4)
{
FD_SET(daemon->dhcpfd, &rset);
bump_maxfd(daemon->dhcpfd, &maxfd);
poll_listen(daemon->dhcpfd, POLLIN);
if (daemon->pxefd != -1)
{
FD_SET(daemon->pxefd, &rset);
bump_maxfd(daemon->pxefd, &maxfd);
}
poll_listen(daemon->pxefd, POLLIN);
}
#endif
#ifdef HAVE_DHCP6
if (daemon->doing_dhcp6 || daemon->relay6)
{
FD_SET(daemon->dhcp6fd, &rset);
bump_maxfd(daemon->dhcp6fd, &maxfd);
}
poll_listen(daemon->dhcp6fd, POLLIN);
if (daemon->doing_ra)
{
FD_SET(daemon->icmp6fd, &rset);
bump_maxfd(daemon->icmp6fd, &maxfd);
}
poll_listen(daemon->icmp6fd, POLLIN);
#endif
#ifdef HAVE_INOTIFY
if (daemon->inotifyfd != -1)
{
FD_SET(daemon->inotifyfd, &rset);
bump_maxfd(daemon->inotifyfd, &maxfd);
}
poll_listen(daemon->inotifyfd, POLLIN);
#endif
#if defined(HAVE_LINUX_NETWORK)
FD_SET(daemon->netlinkfd, &rset);
bump_maxfd(daemon->netlinkfd, &maxfd);
poll_listen(daemon->netlinkfd, POLLIN);
#elif defined(HAVE_BSD_NETWORK)
FD_SET(daemon->routefd, &rset);
bump_maxfd(daemon->routefd, &maxfd);
poll_listen(daemon->routefd, POLLIN);
#endif
FD_SET(piperead, &rset);
bump_maxfd(piperead, &maxfd);
poll_listen(piperead, POLLIN);
#ifdef HAVE_DHCP
# ifdef HAVE_SCRIPT
@@ -954,10 +920,7 @@ int main (int argc, char **argv)
# endif
if (!helper_buf_empty())
{
FD_SET(daemon->helperfd, &wset);
bump_maxfd(daemon->helperfd, &maxfd);
}
poll_listen(daemon->helperfd, POLLOUT);
# else
/* need this for other side-effects */
while (do_script_run(now));
@@ -971,17 +934,14 @@ int main (int argc, char **argv)
/* must do this just before select(), when we know no
more calls to my_syslog() can occur */
set_log_writer(&wset, &maxfd);
set_log_writer();
if (do_poll(timeout) < 0)
continue;
if (select(maxfd+1, &rset, &wset, &eset, tp) < 0)
{
/* otherwise undefined after error */
FD_ZERO(&rset); FD_ZERO(&wset); FD_ZERO(&eset);
}
now = dnsmasq_time();
check_log_writer(&wset);
check_log_writer(0);
/* prime. */
enumerate_interfaces(1);
@@ -997,15 +957,15 @@ int main (int argc, char **argv)
}
#if defined(HAVE_LINUX_NETWORK)
if (FD_ISSET(daemon->netlinkfd, &rset))
if (poll_check(daemon->netlinkfd, POLLIN))
netlink_multicast();
#elif defined(HAVE_BSD_NETWORK)
if (FD_ISSET(daemon->routefd, &rset))
if (poll_check(daemon->routefd, POLLIN))
route_sock();
#endif
#ifdef HAVE_INOTIFY
if (daemon->inotifyfd != -1 && FD_ISSET(daemon->inotifyfd, &rset) && inotify_check(now))
if (daemon->inotifyfd != -1 && poll_check(daemon->inotifyfd, POLLIN) && inotify_check(now))
{
if (daemon->port != 0 && !option_bool(OPT_NO_POLL))
poll_resolv(1, 1, now);
@@ -1025,7 +985,7 @@ int main (int argc, char **argv)
}
#endif
if (FD_ISSET(piperead, &rset))
if (poll_check(piperead, POLLIN))
async_event(piperead, now);
#ifdef HAVE_DBUS
@@ -1038,34 +998,34 @@ int main (int argc, char **argv)
if (daemon->dbus)
my_syslog(LOG_INFO, _("connected to system DBus"));
}
check_dbus_listeners(&rset, &wset, &eset);
check_dbus_listeners();
#endif
check_dns_listeners(&rset, now);
check_dns_listeners(now);
#ifdef HAVE_TFTP
check_tftp_listeners(&rset, now);
check_tftp_listeners(now);
#endif
#ifdef HAVE_DHCP
if (daemon->dhcp || daemon->relay4)
{
if (FD_ISSET(daemon->dhcpfd, &rset))
if (poll_check(daemon->dhcpfd, POLLIN))
dhcp_packet(now, 0);
if (daemon->pxefd != -1 && FD_ISSET(daemon->pxefd, &rset))
if (daemon->pxefd != -1 && poll_check(daemon->pxefd, POLLIN))
dhcp_packet(now, 1);
}
#ifdef HAVE_DHCP6
if ((daemon->doing_dhcp6 || daemon->relay6) && FD_ISSET(daemon->dhcp6fd, &rset))
if ((daemon->doing_dhcp6 || daemon->relay6) && poll_check(daemon->dhcp6fd, POLLIN))
dhcp6_packet(now);
if (daemon->doing_ra && FD_ISSET(daemon->icmp6fd, &rset))
if (daemon->doing_ra && poll_check(daemon->icmp6fd, POLLIN))
icmp6_packet(now);
#endif
# ifdef HAVE_SCRIPT
if (daemon->helperfd != -1 && FD_ISSET(daemon->helperfd, &wset))
if (daemon->helperfd != -1 && poll_check(daemon->helperfd, POLLIN))
helper_write();
# endif
#endif
@@ -1470,7 +1430,7 @@ void clear_cache_and_reload(time_t now)
#endif
}
static int set_dns_listeners(time_t now, fd_set *set, int *maxfdp)
static int set_dns_listeners(time_t now)
{
struct serverfd *serverfdp;
struct listener *listener;
@@ -1482,8 +1442,7 @@ static int set_dns_listeners(time_t now, fd_set *set, int *maxfdp)
for (transfer = daemon->tftp_trans; transfer; transfer = transfer->next)
{
tftp++;
FD_SET(transfer->sockfd, set);
bump_maxfd(transfer->sockfd, maxfdp);
poll_listen(transfer->sockfd, POLLIN);
}
#endif
@@ -1492,45 +1451,32 @@ static int set_dns_listeners(time_t now, fd_set *set, int *maxfdp)
get_new_frec(now, &wait, 0);
for (serverfdp = daemon->sfds; serverfdp; serverfdp = serverfdp->next)
{
FD_SET(serverfdp->fd, set);
bump_maxfd(serverfdp->fd, maxfdp);
}
poll_listen(serverfdp->fd, POLLIN);
if (daemon->port != 0 && !daemon->osport)
for (i = 0; i < RANDOM_SOCKS; i++)
if (daemon->randomsocks[i].refcount != 0)
{
FD_SET(daemon->randomsocks[i].fd, set);
bump_maxfd(daemon->randomsocks[i].fd, maxfdp);
}
poll_listen(daemon->randomsocks[i].fd, POLLIN);
for (listener = daemon->listeners; listener; listener = listener->next)
{
/* only listen for queries if we have resources */
if (listener->fd != -1 && wait == 0)
{
FD_SET(listener->fd, set);
bump_maxfd(listener->fd, maxfdp);
}
poll_listen(listener->fd, POLLIN);
/* death of a child goes through the select loop, so
we don't need to explicitly arrange to wake up here */
if (listener->tcpfd != -1)
for (i = 0; i < MAX_PROCS; i++)
if (daemon->tcp_pids[i] == 0)
{
FD_SET(listener->tcpfd, set);
bump_maxfd(listener->tcpfd, maxfdp);
poll_listen(listener->tcpfd, POLLIN);
break;
}
#ifdef HAVE_TFTP
if (tftp <= daemon->tftp_max && listener->tftpfd != -1)
{
FD_SET(listener->tftpfd, set);
bump_maxfd(listener->tftpfd, maxfdp);
}
poll_listen(listener->tftpfd, POLLIN);
#endif
}
@@ -1538,33 +1484,33 @@ static int set_dns_listeners(time_t now, fd_set *set, int *maxfdp)
return wait;
}
static void check_dns_listeners(fd_set *set, time_t now)
static void check_dns_listeners(time_t now)
{
struct serverfd *serverfdp;
struct listener *listener;
int i;
for (serverfdp = daemon->sfds; serverfdp; serverfdp = serverfdp->next)
if (FD_ISSET(serverfdp->fd, set))
if (poll_check(serverfdp->fd, POLLIN))
reply_query(serverfdp->fd, serverfdp->source_addr.sa.sa_family, now);
if (daemon->port != 0 && !daemon->osport)
for (i = 0; i < RANDOM_SOCKS; i++)
if (daemon->randomsocks[i].refcount != 0 &&
FD_ISSET(daemon->randomsocks[i].fd, set))
poll_check(daemon->randomsocks[i].fd, POLLIN))
reply_query(daemon->randomsocks[i].fd, daemon->randomsocks[i].family, now);
for (listener = daemon->listeners; listener; listener = listener->next)
{
if (listener->fd != -1 && FD_ISSET(listener->fd, set))
if (listener->fd != -1 && poll_check(listener->fd, POLLIN))
receive_query(listener, now);
#ifdef HAVE_TFTP
if (listener->tftpfd != -1 && FD_ISSET(listener->tftpfd, set))
if (listener->tftpfd != -1 && poll_check(listener->tftpfd, POLLIN))
tftp_request(listener, now);
#endif
if (listener->tcpfd != -1 && FD_ISSET(listener->tcpfd, set))
if (listener->tcpfd != -1 && poll_check(listener->tcpfd, POLLIN))
{
int confd, client_ok = 1;
struct irec *iface = NULL;
@@ -1805,54 +1751,41 @@ int icmp_ping(struct in_addr addr)
for (now = start = dnsmasq_time(), timeout_count = 0;
(difftime(now, start) < (float)PING_WAIT) && (timeout_count < PING_WAIT * 4);)
{
struct timeval tv;
fd_set rset, wset;
struct sockaddr_in faddr;
int maxfd = fd;
socklen_t len = sizeof(faddr);
tv.tv_usec = 250000;
tv.tv_sec = 0;
FD_ZERO(&rset);
FD_ZERO(&wset);
FD_SET(fd, &rset);
set_dns_listeners(now, &rset, &maxfd);
set_log_writer(&wset, &maxfd);
poll_reset();
poll_listen(fd, POLLIN);
set_dns_listeners(now);
set_log_writer();
#ifdef HAVE_DHCP6
if (daemon->doing_ra)
{
FD_SET(daemon->icmp6fd, &rset);
bump_maxfd(daemon->icmp6fd, &maxfd);
}
poll_listen(daemon->icmp6fd, POLLIN);
#endif
rc = select(maxfd+1, &rset, &wset, NULL, &tv);
rc = do_poll(250);
if (rc < 0)
{
FD_ZERO(&rset);
FD_ZERO(&wset);
}
continue;
else if (rc == 0)
timeout_count++;
now = dnsmasq_time();
check_log_writer(&wset);
check_dns_listeners(&rset, now);
check_log_writer(0);
check_dns_listeners(now);
#ifdef HAVE_DHCP6
if (daemon->doing_ra && FD_ISSET(daemon->icmp6fd, &rset))
if (daemon->doing_ra && poll_check(daemon->icmp6fd, POLLIN))
icmp6_packet(now);
#endif
#ifdef HAVE_TFTP
check_tftp_listeners(&rset, now);
check_tftp_listeners(now);
#endif
if (FD_ISSET(fd, &rset) &&
if (poll_check(fd, POLLIN) &&
recvfrom(fd, &packet, sizeof(packet), 0,
(struct sockaddr *)&faddr, &len) == sizeof(packet) &&
saddr.sin_addr.s_addr == faddr.sin_addr.s_addr &&
+13 -7
View File
@@ -82,7 +82,7 @@ typedef unsigned long long u64;
#if defined(HAVE_SOLARIS_NETWORK)
# include <sys/sockio.h>
#endif
#include <sys/select.h>
#include <sys/poll.h>
#include <sys/wait.h>
#include <sys/time.h>
#include <sys/un.h>
@@ -1191,7 +1191,6 @@ int memcmp_masked(unsigned char *a, unsigned char *b, int len,
unsigned int mask);
int expand_buf(struct iovec *iov, size_t size);
char *print_mac(char *buff, unsigned char *mac, int len);
void bump_maxfd(int fd, int *max);
int read_write(int fd, unsigned char *packet, int size, int rw);
int wildcard_match(const char* wildcard, const char* match);
@@ -1202,8 +1201,8 @@ void die(char *message, char *arg1, int exit_code);
int log_start(struct passwd *ent_pw, int errfd);
int log_reopen(char *log_file);
void my_syslog(int priority, const char *format, ...);
void set_log_writer(fd_set *set, int *maxfdp);
void check_log_writer(fd_set *set);
void set_log_writer(void);
void check_log_writer(int force);
void flush_log(void);
/* option.c */
@@ -1366,8 +1365,8 @@ int iface_enumerate(int family, void *parm, int (callback)());
/* dbus.c */
#ifdef HAVE_DBUS
char *dbus_init(void);
void check_dbus_listeners(fd_set *rset, fd_set *wset, fd_set *eset);
void set_dbus_listeners(int *maxfdp, fd_set *rset, fd_set *wset, fd_set *eset);
void check_dbus_listeners(void);
void set_dbus_listeners(void);
# ifdef HAVE_DHCP
void emit_dbus_signal(int action, struct dhcp_lease *lease, char *hostname);
# endif
@@ -1394,7 +1393,7 @@ int helper_buf_empty(void);
/* tftp.c */
#ifdef HAVE_TFTP
void tftp_request(struct listener *listen, time_t now);
void check_tftp_listeners(fd_set *rset, time_t now);
void check_tftp_listeners(time_t now);
int do_tftp_script_run(void);
#endif
@@ -1511,3 +1510,10 @@ void inotify_dnsmasq_init();
int inotify_check(time_t now);
void set_dynamic_inotify(int flag, int total_size, struct crec **rhash, int revhashsz);
#endif
/* poll.c */
void poll_reset(void);
int poll_check(int fd, short event);
void poll_listen(int fd, short event);
int do_poll(int timeout);
+2 -2
View File
@@ -1887,7 +1887,7 @@ unsigned char *tcp_request(int confd, time_t now,
dst_addr_4, netmask, now, &ad_question, &do_bit);
/* Do this by steam now we're not in the select() loop */
check_log_writer(NULL);
check_log_writer(1);
if (m == 0)
{
@@ -2108,7 +2108,7 @@ unsigned char *tcp_request(int confd, time_t now,
}
}
check_log_writer(NULL);
check_log_writer(1);
*length = htons(m);
+2 -3
View File
@@ -42,14 +42,13 @@ static char *inotify_buffer;
Return value is malloc'ed */
static char *my_readlink(char *path)
{
ssize_t rc;
size_t size = 64;
ssize_t rc, size = 64;
char *buf;
while (1)
{
buf = safe_malloc(size);
rc = readlink(path, buf, size);
rc = readlink(path, buf, (size_t)size);
if (rc == -1)
{
+4 -7
View File
@@ -421,18 +421,15 @@ void my_syslog(int priority, const char *format, ...)
}
}
void set_log_writer(fd_set *set, int *maxfdp)
void set_log_writer(void)
{
if (entries && log_fd != -1 && connection_good)
{
FD_SET(log_fd, set);
bump_maxfd(log_fd, maxfdp);
}
poll_listen(log_fd, POLLOUT);
}
void check_log_writer(fd_set *set)
void check_log_writer(int force)
{
if (log_fd != -1 && (!set || FD_ISSET(log_fd, set)))
if (log_fd != -1 && (force || poll_check(log_fd, POLLOUT)))
log_write();
}
+125
View File
@@ -0,0 +1,125 @@
/* dnsmasq is Copyright (c) 2000-2015 Simon Kelley
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 dated June, 1991, or
(at your option) version 3 dated 29 June, 2007.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "dnsmasq.h"
/* Wrapper for poll(). Allocates and extends array of struct pollfds,
keeps them in fd order so that we can set and test conditions on
fd using a simple but efficient binary chop. */
/* poll_reset()
poll_listen(fd, event)
.
.
poll_listen(fd, event);
hits = do_poll(timeout);
if (poll_check(fd, event)
.
.
if (poll_check(fd, event)
.
.
event is OR of POLLIN, POLLOUT, POLLERR, etc
*/
static struct pollfd *pollfds = NULL;
static nfds_t nfds, arrsize = 0;
/* Binary search. Returns either the pollfd with fd, or
if the fd doesn't match, or return equals nfds, the entry
to the left of which a new record should be inserted. */
static nfds_t fd_search(int fd)
{
nfds_t left, right, mid;
if ((right = nfds) == 0)
return 0;
left = 0;
while (1)
{
if (right == left + 1)
return (pollfds[left].fd >= fd) ? left : right;
mid = (left + right)/2;
if (pollfds[mid].fd > fd)
right = mid;
else
left = mid;
}
}
void poll_reset(void)
{
nfds = 0;
}
int do_poll(int timeout)
{
return poll(pollfds, nfds, timeout);
}
int poll_check(int fd, short event)
{
nfds_t i = fd_search(fd);
if (i < nfds && pollfds[i].fd == fd)
return pollfds[i].revents & event;
return 0;
}
void poll_listen(int fd, short event)
{
nfds_t i = fd_search(fd);
if (i < nfds && pollfds[i].fd == fd)
pollfds[i].events |= event;
else
{
if (arrsize != nfds)
memmove(&pollfds[i+1], &pollfds[i], (nfds - i) * sizeof(struct pollfd));
else
{
/* Array too small, extend. */
struct pollfd *new;
arrsize = (arrsize == 0) ? 64 : arrsize * 2;
if (!(new = whine_malloc(arrsize * sizeof(struct pollfd))))
return;
if (pollfds)
{
memcpy(new, pollfds, i * sizeof(struct pollfd));
memcpy(&new[i+1], &pollfds[i], (nfds - i) * sizeof(struct pollfd));
free(pollfds);
}
pollfds = new;
}
pollfds[i].fd = fd;
pollfds[i].events = event;
nfds++;
}
}
+2 -2
View File
@@ -502,7 +502,7 @@ static struct tftp_file *check_tftp_fileperm(ssize_t *len, char *prefix)
return NULL;
}
void check_tftp_listeners(fd_set *rset, time_t now)
void check_tftp_listeners(time_t now)
{
struct tftp_transfer *transfer, *tmp, **up;
ssize_t len;
@@ -518,7 +518,7 @@ void check_tftp_listeners(fd_set *rset, time_t now)
prettyprint_addr(&transfer->peer, daemon->addrbuff);
if (FD_ISSET(transfer->sockfd, rset))
if (poll_check(transfer->sockfd, POLLIN))
{
/* we overwrote the buffer... */
daemon->srv_save = NULL;
-6
View File
@@ -570,12 +570,6 @@ char *print_mac(char *buff, unsigned char *mac, int len)
return buff;
}
void bump_maxfd(int fd, int *max)
{
if (fd > *max)
*max = fd;
}
/* rc is return from sendto and friends.
Return 1 if we should retry.
Set errno to zero if we succeeded. */