summaryrefslogtreecommitdiff
path: root/source4/lib/socket_wrapper
AgeCommit message (Collapse)AuthorFilesLines
2008-06-10Revert "Add configure test for vdeplug library."Stefan Metzmacher1-7/+0
This reverts commit 89590d7dfe0735093a4a5b66eeed9276df043ac9. We don't need this yet and currently config.m4 is also used by samba3 which bail out with the check in it, as it doesn't know about the SMB_EXT_LIB() macro metze (This used to be commit bd0ec1754e6e187d421a718410ecd7c21922aa8b)
2008-06-10Fix initialization warnings.Jeremy Allison1-1/+1
Jeremy. (cherry picked from commit 832c093830cb3978641be3d87670fa900105da25) (This used to be commit 3a4198b1181d6b97804afebbb91dac5a8242f615)
2008-06-10Some C++ warningsStefan Metzmacher1-2/+2
(partialy cherry picked from commit 5ab82d4f574f2a2e2761e9e414c66a70aeffb05d) metze (This used to be commit 4933cd49ac81454cbd4b0fc33d888585a9437b9d)
2008-06-10socket_wrapper: truncate packets to a 1500 byte payloadStefan Metzmacher1-0/+8
Truncate sendto(), recvfrom(), send() and recv() to 1500 bytes so that're getting a correctly formatted pcap file and the result look more like real network traffic. metze (This used to be commit 5b01206f1bb2e62c08bda34b45904ec4f83ac5de)
2008-05-18Use variables for source directory in remaining subsystems.Jelmer Vernooij1-1/+1
(This used to be commit 6b6b2196a8a8d9e741f5c399185ded7a16938da0)
2008-04-08Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3Jelmer Vernooij1-2/+0
Conflicts: source/auth/credentials/config.mk source/auth/gensec/config.mk source/build/smb_build/makefile.pm source/heimdal_build/config.mk source/lib/events/config.mk source/lib/nss_wrapper/config.mk source/lib/policy/config.mk source/lib/registry/config.mk source/lib/socket_wrapper/config.mk source/lib/tdb/config.mk source/lib/tls/config.mk source/lib/util/config.mk source/libcli/config.mk source/libcli/ldap/config.mk source/libnet/config.mk source/librpc/config.mk source/param/config.mk source/rpc_server/config.mk source/scripting/ejs/config.mk source/smbd/process_model.mk (This used to be commit 760378e0294dd0cd4523a83448328478632d7e3d)
2008-04-02Reduce the number of installed headers.Jelmer Vernooij1-2/+0
(This used to be commit 2243e24024f09ff9c9c7d0eb735c3b39c9d84424)
2008-03-28Merge v4.0-testJelmer Vernooij2-40/+41
(This used to be commit 977dbdeaf363c8905ed9fd0570eba4be80582833)
2008-03-18socket_wrapper: use LIBREPLACE_NETWORK because EXT_SOCKET and EXT_NSL ↵Stefan Metzmacher1-1/+1
doesn't exist anymore metze (This used to be commit 1dd8e3775686badfd35dca23d291af93d8cf5695)
2008-03-17socket_wrapper: make pcap code more portableStefan Metzmacher1-39/+40
Now the pcap support works on x86_64. metze (This used to be commit 61a87bed61ef661d98131239976be95c6a8b4d96)
2008-03-04Fix some paths.Jelmer Vernooij1-1/+1
(This used to be commit bb16e51e60df296fa7b89eeeba6b80908099dda6)
2008-03-03Move object file lists to the Makefile.Jelmer Vernooij1-1/+2
(This used to be commit a7e6d2a1832db388fdafa1279f84c9a8bbfc87d6)
2008-02-29Move public header accumulation out of the perl code.Jelmer Vernooij1-1/+2
Never install generated prototype files. It's easier to break the API when using them and they're not easily readable for 3rd party users. Conflicts: source/auth/config.mk source/auth/credentials/config.mk source/auth/gensec/config.mk source/build/smb_build/config_mk.pm source/build/smb_build/main.pl source/build/smb_build/makefile.pm source/dsdb/config.mk source/lib/charset/config.mk source/lib/tdr/config.mk source/lib/util/config.mk source/libcli/config.mk source/libcli/ldap/config.mk source/librpc/config.mk source/param/config.mk source/rpc_server/config.mk source/torture/config.mk (This used to be commit 6c659689ed4081f1d7a6253c538c7f01784197ba)
2008-02-26Move public header accumulation out of the perl code.Jelmer Vernooij1-1/+2
(This used to be commit 89f7c74924965071981bbe7e05ff69847b0a3a03)
2008-02-19Factor out IP marshalling into separate function.Jelmer Vernooij1-36/+43
(This used to be commit 2548c2a1e7dab8abc00f8f49374a08cc0b427552)
2008-02-19Add configure test for vdeplug library.Jelmer Vernooij1-0/+7
(This used to be commit 89590d7dfe0735093a4a5b66eeed9276df043ac9)
2008-01-21build: Demote a bunch of libraries to subsystems. This makes packaging ↵Jelmer Vernooij1-4/+1
easier and should also make it easier to migrate to a new build system. (This used to be commit 77b400764e3dadfa05407343af649ad9298cc085)
2007-12-21r25783: socket_wrapper: don't include "includes.h"Stefan Metzmacher1-12/+5
metze (This used to be commit 47f865165e772540334dcbcf80cfc1999b0132fa)
2007-10-10r25028: Fix more warnings.Jelmer Vernooij2-1/+3
(This used to be commit 3aa7ee4a0d8837471deeaa1c5a1f4a0d2a14aa6e)
2007-10-10r25027: Fix more warnings.Jelmer Vernooij1-2/+2
(This used to be commit 5085c53fcfade614e83d21fc2c1a5bc43bb2a729)
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-10r23420: try to make the IBM checker happyStefan Metzmacher1-3/+8
metze (This used to be commit 96f1a0dfaa18a432fca4b5432d929d8daed0abb1)
2007-10-10r22367: prepare merge to samba3Stefan Metzmacher1-0/+4
metze (This used to be commit 8da55d6a64925f55f313c928d0441ff607ab3c07)
2007-10-10r22236: Update to Heimdal's socket_wrapper, which supports IPv6.Andrew Bartlett1-161/+391
To make this pass, I needed to add support for 6 and 17 as valid protocol values to socket(). Andrew Bartlett (This used to be commit 2254e61a1e5b29a64c5a24aac029ace193057e24)
2007-10-10r21729: Some more testsJelmer Vernooij2-6/+29
(This used to be commit d2baa8218cf504d6631d610f9fd393ad8c61574c)
2007-10-10r21707: Finally merge my (long-living) perlselftest branch.Jelmer Vernooij1-3/+3
This changes the main selftest code to be in perl rather than in shell script. The selftest script is now no longer a black box but a regular executable that takes --help. This adds the following features: * "make test TESTS=foo" will run only the tests that match the regex "foo" * ability to deal with expected failures. the suite will not warn about tests that fail and are known to fail, but will warn about other failing tests and tests that are succeeding tests but incorrectly marked as failing. * ability to print a summary with all failures at the end of the run It also opens up the way to the following features, which I hope to implement later: * "environments", for example having a complete domains with DCs and domain members in a testenvironment * only set up smbd if necessary (not when running LOCAL tests, for example) * different mktestsetup scripts per target. except for the mktestsetup script, we can use the same infrastructure for samba 3 or windows. (This used to be commit 38f867880beb40c691e9713f854426031310629c)
2007-10-10r21671: Add initial simple tests for socket wrapperJelmer Vernooij3-1/+84
(This used to be commit 872e2ad541478597191ca9e31872d5c8e2bbb832)
2007-10-10r19409: Pull in <sys/time.h> for struct timeval for non samba build (don'tLove Hörnquist Åstrand1-0/+1
depend on namespace pollution) (This used to be commit 5052d2d10693e67f1b7c6c71277c8d1bc9c8b612)
2007-10-10r19367: Solaris needs <sys/filio.h> for FIONREAD.Love Hörnquist Åstrand1-0/+1
(This used to be commit e2866ce78851a84c937408c0781fcc1e7107f663)
2007-10-10r19178: fix the standalone build of socket_wrapper by not usingStefan Metzmacher1-9/+34
samba's DLIST_ macros metze (This used to be commit 82abc39b559ccae832dd749495ebcfdffc2e5755)
2007-10-10r19176: Also require <fcntl.h> and <sys/ioctl.h> for non samba builds.Love Hörnquist Åstrand1-0/+2
(This used to be commit fe621c1ab277407fb62ad7bced829815b6625f22)
2007-10-10r19175: If not in _SAMBA_BUILD_, define _PUBLIC_ to nothing.Love Hörnquist Åstrand1-0/+2
(This used to be commit 8c2585f0cfb7ae229de066965a732904545f0869)
2007-10-10r19171: change the socket wrapper license toStefan Metzmacher2-36/+72
what heimdal uses... metze (This used to be commit 9f8809a16ef837f5cdf07ed2e383893d035e96d6)
2007-10-10r19136: No conflict, after "svn up" it applied correctly", merge 19126 from 3_0Volker Lendecke1-4/+7
(This used to be commit 042a22b6dd34bb147cf4f8cc10f98d4cda3ccd55)
2007-10-10r19097: add support for SUCKET_WRAPPER_PCAP_FILEStefan Metzmacher1-14/+306
we may need to rework the code to use something like PUSH_U32() into a data blob instead of the structs for the header layout. metze (This used to be commit 990dfc98e42a1c2369e77aa5cc2139680f4b16af)
2007-10-10r19084: make socket_wrapper more portable (standalone) and not use uintX_tStefan Metzmacher1-5/+5
metze (This used to be commit 7e89a0a28263e36ef7410122f987edf369154651)
2007-10-10r19082: add the source vs. destination address and tcp logicStefan Metzmacher1-0/+242
for SOCKET_WRAPPER_PCAP_FILE support. metze (This used to be commit 20945409b89be094c958f5f43c8c158f223f7911)
2007-10-10r18992: prepare SOCKET_WRAPPER_PCAP_FILE supportStefan Metzmacher1-29/+83
metze (This used to be commit 400098416c1a4d7ae51b86eced51bffd6134296a)
2007-10-10r18947: overload listen() and ioctl() in socket_wrapperStefan Metzmacher2-0/+42
metze (This used to be commit dfaccdca1b6954cd61828749d7b000f804f3b066)
2007-10-10r18918: - bail out with unsupported option to socket()Stefan Metzmacher1-18/+53
- don't reuse portnumbers in the autobind code - use if (!...) return; logic instead of if (...) { do everything } return for swrap_close metze (This used to be commit 68a65aa4490c12ca70db335f928f3ac507902337)
2007-10-10r18917: having 255 virtual interfaces available in socket wrapper means weAndrew Tridgell1-3/+5
stat() 240 files that don't exist on every broadcast. That's a bit excessive! reduce max virtual interfaces to 16 (This used to be commit 3c4100027c7d3806a2021cb4d70ec6adf9dd2dc6)
2007-10-10r18661: C++ warningsVolker Lendecke1-2/+2
(This used to be commit 771d30ca0c9d108b800bcfe33069f38dc4382662)
2007-10-10r18593: try to get the same socket_wrapper file building in samba3 and samba4Stefan Metzmacher1-3/+22
this is preparation of adding libreplace to samba3 later. metze (This used to be commit 26228e4b2e8debd84caebe84bb34bfbbf2ad405c)
2007-10-10r18586: fixed a potential fd and memory leak in the socket_wrapper codeAndrew Tridgell1-3/+14
(This used to be commit 6d53f2f5bc3a008f957be9e32df6830e1e29e8ed)
2007-10-10r18428: add my copyrightStefan Metzmacher1-1/+2
metze (This used to be commit d222fab2b5fcd44ad7825e605a9febbe9d211e7a)
2007-10-10r18427: set sin_port correctly on autobound socketStefan Metzmacher1-2/+4
metze (This used to be commit d373890fb26f3a593bacdb374f10d4279822b97d)
2007-10-10r18426: use 'family' consistantly instead of mixing 'domain' and 'family'Stefan Metzmacher2-17/+14
metze (This used to be commit 224f26602ac78dbdabd4602bce42e31141102f6c)
2007-10-10r18424: there's no need to allocate a wrapped socket for unix sockets,Stefan Metzmacher1-21/+16
also this makes sure the socket file isn't unlinked if using socket wrapper. metze (This used to be commit 7670e9ae6e8e64ddb3c7d99b3d44048519629225)
2007-10-10r18423: record accept, connect and close events in socket wrapperStefan Metzmacher1-1/+30
metze (This used to be commit 7f29471f0b6b9158da52522984a6ab3f8ace4f42)
2007-10-10r18417: overload send() and recv() by socket wrapperStefan Metzmacher2-3/+75
and add a dummy swrap_dump_packet() function which can later dump the packet content, so that a script can then generate a capture file for wireshark metze (This used to be commit d05cab5c626b5960448f206e8c17b89edbf78733)