summaryrefslogtreecommitdiff
path: root/source4/lib/socket/interface.c
AgeCommit message (Collapse)AuthorFilesLines
2011-10-16s4-interfaces: allow pure ipv6 to workMatthieu Patou1-1/+2
This is the complementary part of patch abe5afc580dcaaab70f136904d98fa83bfae7b6e for samba4.
2011-09-12s4:lib/socket/interface.c - "ifaces" strictly needs to be initialisedMatthias Dieter Wallnöfer1-1/+1
Please consider a failing "get_interfaces" call and the "talloc_free()" operation on a possible uninitialised "ifaces" on line 326. https://bugzilla.samba.org/show_bug.cgi?id=8397 Reviewed-by: Jelmer Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Mon Sep 12 23:49:12 CEST 2011 on sn-devel-104
2011-07-10s4:lib/socket: iface_list_wildcard() should only return "::" if we have ipv6 ↵Stefan Metzmacher1-1/+13
interfaces If glibc has IPv6 support, but it's not enabled in the running kernel we should not try to listen on "::". metze
2011-06-08s4-interface: raise the debug level for interface discoveryAndrew Tridgell1-3/+3
2011-06-07s4-ipv6: fixed iface_list_same_net() for IPv6Andrew Tridgell1-3/+15
2011-06-07s4-ipv6: fix iface_list_best_ip() for IPv6Andrew Tridgell1-1/+23
return an interface with the same address family as the target
2011-06-06s4-ipv6: enable IPv6 by defaultAndrew Tridgell1-2/+2
it now passes all tests
2011-06-06s4-ipv6: allow ipv6 to be enabled/disabled in smb.confAndrew Tridgell1-11/+20
this adds the parametric option ipv6:enable=true/false It defaults to false for now, until the remaining issues with testing of ipv6 are resolved
2011-06-06s4-ipv6: added ipv4 functions to interface codeAndrew Tridgell1-0/+32
this adds iface_list_first_v4() and iface_list_n_is_v4(). The NBT server will use these to allow it to listen only for IPv4 addresses.
2011-06-06s4-ipv6: fixed a warningAndrew Tridgell1-1/+1
2011-06-06s4-ipv6: allow IPv6 addresses in our interfaces listAndrew Tridgell1-5/+0
2011-06-06s4-ipv6: added iface_list_wildcard()Andrew Tridgell1-0/+28
this returns a list of wildcard address to listen on, when we don't have 'bind interfaces only' set. It is a list, not a single address, we need to listen separately for the IPv6 "::" address from the IPv4 0.0.0.0 address. This also takes account of the loadparm "socket address" option
2011-05-08s4-interfaces: keep interfaces in the order they were declaredAndrew Tridgell1-1/+5
the spoolss notify test depends on the interfaces order Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Sun May 8 13:57:58 CEST 2011 on sn-devel-104
2011-05-08s4-interfaces Rename interfaces code so not to conflict with source3/Andrew Bartlett1-16/+16
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-05-08s4-lib/socket Samba4 is not IPv6 compatibleAndrew Bartlett1-0/+5
Don't add IPv6 interfaces until we actually support them. I'll soon have IPv6 service at home, and then I'll make it my buisness to sort this out once and for all. Andrew Bartlett
2011-05-08s4-lib merge get_interfaces() from Samba3 to Samba4Andrew Bartlett1-79/+165
2010-10-23s4 socket: increase the debuglevel to make add interface debug messages less ↵Kai Blin1-1/+1
verbose
2010-03-26libutil: moved the networking defines to util_net.hAndrew Tridgell1-0/+1
These were causing thousands of warnings on solaris8
2008-10-24Remove unused include param/param.h.Jelmer Vernooij1-1/+0
2008-10-23Use common net utility code (address and sockaddr manipulation).Jelmer Vernooij1-1/+1
2008-10-23Rename same_net to same_net_v4 for consistency with Samba 3.Jelmer Vernooij1-3/+3
2008-10-11Fix include paths to new location of libutil.Jelmer Vernooij1-1/+1
2007-12-21r26406: Make a copy to prevent modification of the loadparm configuration.Jelmer Vernooij1-2/+9
(This used to be commit c0f2775fd8bd88aad3497d59a7857d7a8a0978c5)
2007-12-21r26402: Require a talloc context in libnetif.Jelmer Vernooij1-10/+11
(This used to be commit a35e51871bbf1ab33fc316fa59e597b722769c50)
2007-12-21r26401: Don't cache interfaces context in libnetif.Jelmer Vernooij1-49/+24
(This used to be commit 9f975417cc66bfd4589da38bfd23731dbe0e6153)
2007-12-21r26383: Make interfaces argument explicit.Jelmer Vernooij1-15/+20
(This used to be commit 89008ae18d37e8bc5bb7c70ac3e2128134264f9f)
2007-12-21r26325: Remove use of global_loadparm in netif.Jelmer Vernooij1-13/+13
(This used to be commit e452cb28594f23add7c00247ed39e8323aea78a6)
2007-12-21r26313: Fix more uses of static loadparm.Jelmer Vernooij1-9/+8
(This used to be commit 6fd0d9d3b75546d08c24c513e05b1843d5777608)
2007-12-21r25624: Remove ipv4_addr hack. Only causes 4 extra includes of ↵Jelmer Vernooij1-26/+19
system/network.h because we stripped down includes. (This used to be commit 262c1c23a61f1f4fae13e0a61179fe98b682cecf)
2007-10-10r25522: Convert to standard bool types.Jelmer Vernooij1-9/+9
(This used to be commit 5e814287ba475e12f8cc934fdd09b199dcdfdb86)
2007-10-10r25398: Parse loadparm context to all lp_*() functions.Jelmer Vernooij1-1/+1
(This used to be commit 3fcc960839c6e5ca4de2c3c042f12f369ac5f238)
2007-10-10r25043: Avoid allocation on with NULL parent.Jelmer Vernooij1-2/+3
(This used to be commit 3f30cd5688a532a2d6c4d970c2bc759efa2a1b04)
2007-10-10r25026: Move param/param.h out of includes.hJelmer Vernooij1-0/+1
(This used to be commit abe8349f9b4387961ff3665d8c589d61cd2edf31)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell1-3/+2
There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10r17930: Merge noinclude branch:Jelmer Vernooij1-1/+1
* Move dlinklist.h, smb.h to subsystem-specific directories * Clean up ads.h and move what is left of it to dsdb/ (only place where it's used) (This used to be commit f7afa1cb77f3cfa7020b57de12e6003db7cfcc42)
2007-10-10r17586: merge lib/netif into lib/socket and use -lnsl -lsocket on theStefan Metzmacher1-0/+354
configure check for the interfaces. should fix the build on some old sun boxes metze (This used to be commit f20e251bfd9f1eb7ce5c00739631b1625a2aa467)