summaryrefslogtreecommitdiff
path: root/source4/dns_server/dns_server.c
AgeCommit message (Collapse)AuthorFilesLines
2012-09-23s4:dns_server - introduce the wildcard binding featureMatthias Dieter Wallnöfer1-10/+28
We need the wildcard binding feature otherwise we might get bound to a private interface in case of multiple interfaces and no "interfaces" parameter in smb.conf. Code taken from source4/ldap_server/ldap_server.c Signed-off-by: Kai Blin <kai@samba.org> Autobuild-User(master): Kai Blin <kai@samba.org> Autobuild-Date(master): Sun Sep 23 23:44:03 CEST 2012 on sn-devel-104
2012-09-12dns_server: Remove parameter 'dns recursive queries' and base this on 'dns ↵Andrew Bartlett1-2/+3
forwarder' This simplifies a very common configuration. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-09-07s4 dns: Make debug output less noisyKai Blin1-1/+1
Autobuild-User(master): Kai Blin <kai@samba.org> Autobuild-Date(master): Fri Sep 7 00:31:56 CEST 2012 on sn-devel-104
2012-09-05s4 dns: Verify incoming TSIG signaturesKai Blin1-0/+8
2012-09-05s4 dns: Handle GSS-TSIG signature creationKai Blin1-0/+12
2012-09-05s4 dns: Revert erroneous push from wrong branchKai Blin1-23/+0
I've pushed the wrong branch for this, sorry about that. Autobuild-User(master): Kai Blin <kai@samba.org> Autobuild-Date(master): Wed Sep 5 14:10:54 CEST 2012 on sn-devel-104
2012-09-05more tsig_verify stuffKai Blin1-1/+1
2012-09-05drop meKai Blin1-0/+3
2012-09-05s4 dns: Verify incoming TSIG signaturesKai Blin1-1/+7
2012-09-05s4 dns: Handle GSS-TSIG signaturesKai Blin1-0/+14
2012-08-31s4 dns: Store TKEYs in a ringbufferKai Blin1-0/+27
This stops us from potentially being DoSed by tons of TKEYs Autobuild-User(master): Kai Blin <kai@samba.org> Autobuild-Date(master): Fri Aug 31 22:46:01 CEST 2012 on sn-devel-104
2012-08-31s4 dns: Negotiate GSSAPI-based TKEYsKai Blin1-0/+18
Autobuild-User(master): Kai Blin <kai@samba.org> Autobuild-Date(master): Fri Aug 31 10:38:35 CEST 2012 on sn-devel-104
2012-06-15lib/param: Create a seperate server role for "active directory domain ↵Andrew Bartlett1-1/+1
controller" This will allow us to detect from the smb.conf if this is a Samba4 AD DC which will allow smarter handling of (for example) accidentially starting smbd rather than samba. To cope with upgrades from existing Samba4 installs, 'domain controller' is a synonym of 'active directory domain controller' and new parameters 'classic primary domain controller' and 'classic backup domain controller' are added. Andrew Bartlett
2012-05-30s4-dns: Remove sync dns_processVolker Lendecke1-24/+0
Signed-off-by: Kai Blin <kai@samba.org>
2012-05-30s4-dns: Make the TCP dns server asyncVolker Lendecke1-21/+39
Signed-off-by: Kai Blin <kai@samba.org>
2012-05-30s4-dns: Make the UDP dns server asyncVolker Lendecke1-18/+38
Signed-off-by: Kai Blin <kai@samba.org>
2012-05-30s4-dns: Make dns_process_send asynVolker Lendecke1-78/+136
Signed-off-by: Kai Blin <kai@samba.org>
2012-05-30s4-dns: Fix an unlikely potential memleakVolker Lendecke1-2/+4
If state was alloc'ed to NULL, in_packet to != NULL and out_packet to NULL, we leak in_packet. Signed-off-by: Kai Blin <kai@samba.org>
2012-05-08s4 dns: unify error handling when bailing outKai Blin1-12/+11
Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Tue May 8 15:48:25 CEST 2012 on sn-devel-104
2012-04-29dns server: move very verbose debug to higher level 2 -> 8Matthieu Patou1-4/+4
2012-03-27s4 dns: Check smb.conf if we should allow recursionKai Blin1-2/+3
2012-03-27s4 dns: Allow changing the dns operation flags in handlersKai Blin1-5/+15
2012-03-06s4 dns: Fix TCP handling in the DNS serverKai Blin1-13/+13
Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Tue Mar 6 21:17:19 CET 2012 on sn-devel-104
2011-12-17s4 dns: Update prerequisite checking conforming to RFCKai Blin1-1/+1
2011-12-17s4 dns: Fix some typos in comments and a whitespaceKai Blin1-3/+3
2011-11-17s4 dns: Reduce test output noise by upping log level for dns_name_packet loggingKai Blin1-3/+6
Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Thu Nov 17 20:10:05 CET 2011 on sn-devel-104
2011-11-04s4 dns: the opcode is called OPCODE_UPDATE in the RFC, not OPCODE_REGISTERKai Blin1-1/+1
2011-08-25s4-dns: when searching all partitions the NULL basedn is OKAndrew Tridgell1-8/+1
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-06-20libcli/util Rename common map_nt_error_from_unix to avoid duplicate symbolAndrew Bartlett1-2/+2
The two error tables need to be combined, but for now seperate the names. (As the common parts of the tree now use the _common function, errmap_unix.c must be included in the s3 autoconf build). Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Jun 20 08:12:03 CEST 2011 on sn-devel-104
2011-06-06s4-ipv6: update callers to load_interface_list()Andrew Tridgell1-1/+1
2011-05-08s4-interfaces Rename interfaces code so not to conflict with source3/Andrew Bartlett1-4/+4
The iface_count, iface_n_bcast, and load_interfaces functions conflicted with functions of the same name in source3, so the source4 functions were renamed. Hopefully we can actually wrap one around the other in future. Andrew Bartlett
2011-03-19source4/: Fix prototypes for all functions in various subsystems.Jelmer Vernooij1-0/+2
2010-11-15s4-server: make server sockets a child of the task contextAndrew Tridgell1-1/+2
We previously allocated sockets as direct children of the event context. That led to crashes if a service called task_server_terminate(), as it left the socket open and handling events for a dead protocol. Making them a child of the task allows the task to terminate and take all its sockets with it. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-30s4-smbd: don't initialise process models more than onceAndrew Tridgell1-1/+1
this also removes the event_context parameter from process model initialisation. It isn't needed, and is confusing when a process model init can be called from more than one place, possibly with different event contexts. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-23s4:dns_server - fix counter typesMatthias Dieter Wallnöfer1-2/+1
2010-10-23s4 dns: Switch to WERRORKai Blin1-9/+5
2010-10-23s4 dns: Split up the code into multiple files for easier developmentKai Blin1-371/+0
2010-10-23s4 dns: More work on updatesKai Blin1-1/+25
2010-10-23s4 dns: Map between NTSTATUS and dns error codesKai Blin1-1/+35
2010-10-23s4 dns: Better error handling when parsing invalid or unknown recordsKai Blin1-7/+35
2010-10-23s4 dns: start handling update requests, return correct error codesKai Blin1-23/+55
2010-10-23s4 dns: Handle CNAME recordsKai Blin1-0/+15
2010-10-23s4 dns: Parse srv and soa recordsStefan Metzmacher1-0/+39
Signed-off-by: Kai Blin <kai@samba.org>
2010-10-23s4 dns: Look up all names in the ldb database.Kai Blin1-10/+125
2010-10-23s4 dns: Look up records in the ldb databaseKai Blin1-21/+155
2010-10-23s4 dns: Reply to a name request with an A record.Kai Blin1-17/+116
The first real answer to a DNS request. Still uses hardcoded reply.
2010-10-23ndr dns: Add simple parserKai Blin1-1/+17
2010-10-23s4 dns: Add a boilerplate DNS server implementationKai Blin1-0/+522