<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.swganh.org/index.php?action=history&amp;feed=atom&amp;title=SWG_Packet_Footer</id>
		<title>SWG Packet Footer - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.swganh.org/index.php?action=history&amp;feed=atom&amp;title=SWG_Packet_Footer"/>
		<link rel="alternate" type="text/html" href="http://wiki.swganh.org/index.php?title=SWG_Packet_Footer&amp;action=history"/>
		<updated>2026-04-10T23:16:25Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.26.4</generator>

	<entry>
		<id>http://wiki.swganh.org/index.php?title=SWG_Packet_Footer&amp;diff=2307&amp;oldid=prev</id>
		<title>Snow at 07:30, 21 December 2006</title>
		<link rel="alternate" type="text/html" href="http://wiki.swganh.org/index.php?title=SWG_Packet_Footer&amp;diff=2307&amp;oldid=prev"/>
				<updated>2006-12-21T07:30:18Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=Packet Footers=&lt;br /&gt;
&lt;br /&gt;
Every packet in SWG, regardless wether it is just SOE Protocol, just an SWG Packet, or a combination of the both, has a footer.&lt;br /&gt;
&lt;br /&gt;
The footer's format is as follows:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[Compression Flag: 1 byte][CRC value:2 bytes]&lt;br /&gt;
total of 3 bytes&lt;br /&gt;
[CompFlag][CRC1][CRC2]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The checksum algorithm used is a seeded CRC32 checksum of all the data in a packet EXCEPT the crc value located in the footer&lt;br /&gt;
(so that includes the compression flag). The CRC is calculated after the compression and then encryption are both applied.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The compression used is a default level ZLIB compression applied on the data BETWEEN the SOE opcode(part of the SOE Protocol) and the footer. So far no record has been made of a compressed packet that is NOT inside the SOE Protocol. If the packet is compressed, the Compression Flag (CompFlag) is a 1. Uncompressed packets have a Compression Flag (CompFlag) of 0.&lt;/div&gt;</summary>
		<author><name>Snow</name></author>	</entry>

	</feed>