<feed xmlns='http://www.w3.org/2005/Atom'>
<title>~steering/inspircd++.git/src/dns.cpp, branch v2.0.10</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>https://cgit.space/~steering/inspircd++.git/atom/src/dns.cpp?h=v2.0.10</id>
<link rel='self' href='https://cgit.space/~steering/inspircd++.git/atom/src/dns.cpp?h=v2.0.10'/>
<link rel='alternate' type='text/html' href='https://cgit.space/~steering/inspircd++.git/'/>
<updated>2012-10-12T20:31:38Z</updated>
<entry>
<title>Windows: In-depth cleanup (see details)</title>
<updated>2012-10-12T20:31:38Z</updated>
<author>
<name>ChrisTX</name>
</author>
<published>2012-10-12T20:31:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit.space/~steering/inspircd++.git/commit/?id=5b9682275e384635a1fd9f7320cf4d9a604a43b4'/>
<id>urn:sha1:5b9682275e384635a1fd9f7320cf4d9a604a43b4</id>
<content type='text'>
-Fix x64 builds for Windows. Now all configurations compile.
-Remove the non-working rebase stuff.
-Remove the Windows fork hack and instead use FreeConsole() to emulate the behavior. This directly allows us to compile with ASLR, which is turned on now.
-Remove the old IPC mechanism for the removed GUI. This is not needed anymore as the GUI wasn't ever supported on anything newer than 1.2
-Remove the WIN32/WINDOWS macros. _WIN32 is supported on all x86-based VC++ targets, so that's what we need.
-Enable optimizations for release builds.
-De-duplicate printf_c(), it was previously copy-pasted into colors.h for configure
-Add the VC++ specific bad files in .gitignore
-Disable PID writing on Windows. This is only making sense for *nix builds.
-Replace the CPU usage retrieval with an algorithm analogous to the *nix behavior. Also supports separated now/total values. (Tested with a dummy busy loop - seems working)
-Removed certain unused functions and variables
-Remove stdint defines from the windows wrapper
-Remove CRT debug alloc. This is a bad idea as it would define a macro to replace free which breaks builds.
-Re-evaluated the warnings list, commented it.
-Moved inspircd_config/_version to include/ to match *nix
-Removed the creation of inspircd_se_config, as it isn't used at all.
-Made non-git builds show as "r0" instead of "r" (thanks to @SaberUK for pointing this out)
-Fixed up m_spanningtree's project paths. Now all configurations (debug/release x86/x64) have been tested and build properly.
-Moved FindDNS out of the wrapper and matched its log behavior with *nix. (It's pointless having it in the wrapper after the recent slimming down)
-Replaced random/srandom wrappers with a mechanism that tries to use Windows' Random API first is no SSL module is loaded.
-Removed more old junk from support for compilers older than VC++ 2010 (we don't have project files for these, so compiling them would be hard anyways)
-Removed the unused ClearConsole()
-Removed unused includes from the wrapper. Also, do not include psapi.h here if we don't link psapi.lib. This should be done where appropriate.
-Made inet_aton an inline function for increased performance
-C4800, performance warning about bool forcing, resolved at all occurrences.
-C4701, uninitialized variable 'cached', resolved at all occurrences.
-dlerror() was migrated out of the wrapper for more thread safety (no global buffer being shared) and increased performance.
-Removed the wrong CRT debug flags. This drains a lot of performance.
-Removed the clock_gettime/gettimeofday wrappers
-Replaced all TCHAR/ANSI mix-ups of functions with the correct respective function.
-Added a block of C4355 for &lt; VS2012
-Update project files for c870714
</content>
</entry>
<entry>
<title>Fix more undefined behavior caused by referencing the returned buffer by std::string::c_str() when the object is temporary</title>
<updated>2012-09-30T01:04:07Z</updated>
<author>
<name>attilamolnar</name>
</author>
<published>2012-09-29T23:10:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit.space/~steering/inspircd++.git/commit/?id=02859be56d43bcece02aab350e02bc95ed1bf446'/>
<id>urn:sha1:02859be56d43bcece02aab350e02bc95ed1bf446</id>
<content type='text'>
See 83c7cc45daf6fb1f8c36f15297a4657e45a34e88
</content>
</entry>
<entry>
<title>Replace copyright headers with headers granting specific authors copyright</title>
<updated>2012-04-19T18:58:29Z</updated>
<author>
<name>Robby-</name>
</author>
<published>2012-04-19T18:58:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit.space/~steering/inspircd++.git/commit/?id=46a39046196f55b52336e19662bb7bac85b731ac'/>
<id>urn:sha1:46a39046196f55b52336e19662bb7bac85b731ac</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed infinite loop cauesd by invalid dns packets</title>
<updated>2012-03-28T01:39:50Z</updated>
<author>
<name>Adam</name>
</author>
<published>2012-03-28T01:39:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit.space/~steering/inspircd++.git/commit/?id=58c893e834ff20495d007709220881a3ff13f423'/>
<id>urn:sha1:58c893e834ff20495d007709220881a3ff13f423</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed out of bounds memory access from malformed DNS queries that have an invalid length label. Introduced in a6a07de0daa353bcd29056a4535a9c4784c113c8.</title>
<updated>2012-03-26T08:59:13Z</updated>
<author>
<name>Adam</name>
</author>
<published>2012-03-26T08:59:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit.space/~steering/inspircd++.git/commit/?id=ed28c1ba666b39581adb860bf51cdde43c84cc89'/>
<id>urn:sha1:ed28c1ba666b39581adb860bf51cdde43c84cc89</id>
<content type='text'>
</content>
</entry>
<entry>
<title>dns: cleanup ResultIsReady() prototype</title>
<updated>2012-03-20T23:41:46Z</updated>
<author>
<name>William Pitcock</name>
</author>
<published>2012-03-20T23:41:09Z</published>
<link rel='alternate' type='text/html' href='https://cgit.space/~steering/inspircd++.git/commit/?id=eac05f8d05ce2e3878ac4a51675b11e64831adac'/>
<id>urn:sha1:eac05f8d05ce2e3878ac4a51675b11e64831adac</id>
<content type='text'>
</content>
</entry>
<entry>
<title>dns: more hardening</title>
<updated>2012-03-20T23:38:13Z</updated>
<author>
<name>William Pitcock</name>
</author>
<published>2012-03-20T23:38:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit.space/~steering/inspircd++.git/commit/?id=84ab0478f9dd7f7f8dc92aa1edaf6b71fe28035b'/>
<id>urn:sha1:84ab0478f9dd7f7f8dc92aa1edaf6b71fe28035b</id>
<content type='text'>
- don't trust rr.rdlength
- don't accept replies we know are impossible for AAAA/A records
- don't try to process record types we do not know about specifically
  (this behaviour just leads to disaster)
</content>
</entry>
<entry>
<title>dns: reject messages with lengths larger than DNSHeader with prejudice</title>
<updated>2012-03-20T23:31:14Z</updated>
<author>
<name>William Pitcock</name>
</author>
<published>2012-03-20T23:31:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit.space/~steering/inspircd++.git/commit/?id=9aa28f3730fb3dd69c1e06f78bb2bbc43d36c684'/>
<id>urn:sha1:9aa28f3730fb3dd69c1e06f78bb2bbc43d36c684</id>
<content type='text'>
This also includes when decompressing name entries.
</content>
</entry>
<entry>
<title>dns: iterators which are integer should always be unsigned, else an integer underflow is possible.</title>
<updated>2012-03-20T22:48:45Z</updated>
<author>
<name>William Pitcock</name>
</author>
<published>2012-03-20T22:48:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit.space/~steering/inspircd++.git/commit/?id=a6a07de0daa353bcd29056a4535a9c4784c113c8'/>
<id>urn:sha1:a6a07de0daa353bcd29056a4535a9c4784c113c8</id>
<content type='text'>
Signed-off-by: William Pitcock &lt;nenolod@dereferenced.org&gt;
</content>
</entry>
<entry>
<title>Define comparator for irc::sockets::sockaddrs</title>
<updated>2010-04-27T00:08:43Z</updated>
<author>
<name>Daniel De Graaf</name>
</author>
<published>2010-04-27T00:08:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit.space/~steering/inspircd++.git/commit/?id=dc203f9f201e5a49677d3982f0b6c7d8610cc484'/>
<id>urn:sha1:dc203f9f201e5a49677d3982f0b6c7d8610cc484</id>
<content type='text'>
This only compares IP/port, which ignores IPv6 flow information and
scope ID, which aren't important in testing for equality.
</content>
</entry>
</feed>
