<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>dopefish.de &#187; Me</title>
	<atom:link href="http://www.dopefish.de/archives/category/me/feed" rel="self" type="application/rss+xml" />
	<link>http://www.dopefish.de</link>
	<description>Headquaters of the evil genius</description>
	<lastBuildDate>Mon, 23 Jan 2012 13:34:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Playing around with DD-WRT</title>
		<link>http://www.dopefish.de/archives/1088</link>
		<comments>http://www.dopefish.de/archives/1088#comments</comments>
		<pubDate>Sat, 24 Dec 2011 15:45:44 +0000</pubDate>
		<dc:creator>dopefish</dc:creator>
				<category><![CDATA[Me]]></category>
		<category><![CDATA[access point]]></category>
		<category><![CDATA[asus]]></category>
		<category><![CDATA[dd-wrt]]></category>
		<category><![CDATA[IDS]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[wifi]]></category>
		<category><![CDATA[wlan]]></category>

		<guid isPermaLink="false">http://www.dopefish.de/?p=1088</guid>
		<description><![CDATA[I&#8217;m currently playing around with my two WL-330GE Access points from asus (see an older posting). Since that posting I was a bit creative using the existing ethernet cabling and ports in the apartment to be able to retire the WiFi bridge without having any cable going through the apartment.
So I decided to use the two access [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m currently playing around with my two <a href="http://www.asus.com/Networks/Wireless_Routers/WL330gE/" target="_blank">WL-330GE Access points</a> from asus (see an <a title="Wireless bridge &amp; dd-wrt" href="http://www.dopefish.de/archives/814" target="_blank">older posting</a>). Since that posting I was a bit creative using the existing ethernet cabling and ports in the apartment to be able to retire the WiFi bridge without having any cable going through the apartment.</p>
<p>So I decided to use the two access points for something more useful. I&#8217;m playing around with <a href="http://www.dd-wrt.com/site/index" target="_blank">dd-wrt</a> to build configurations to use them as WiFi probes (for an IDS), or as Rouge Access Points (for demonstration purposes and to test wireless IDS solutions).  I might compile my own dd-wrt version for the rouge version, there are a few things I miss to build a truly evil device.</p>
<p>I like the size of the devices (very compact) and that you can power them with 5V (you can run them off any USB port, right now the one here is hooked up to the USB port of a printer intended for cameras) the only thing missing to make them perfect would be Power-over-Ethernet and maybe a GSM interface to upload data online.</p>
<p>Fun having a cheap and small device like this with Wifi and ethernet running linux. Provides lots of possibilities and fun.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dopefish.de/archives/1088/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to make a wonderful cookie dessert in a skillet</title>
		<link>http://www.dopefish.de/archives/1082</link>
		<comments>http://www.dopefish.de/archives/1082#comments</comments>
		<pubDate>Mon, 12 Dec 2011 19:09:30 +0000</pubDate>
		<dc:creator>dopefish</dc:creator>
				<category><![CDATA[Me]]></category>
		<category><![CDATA[Photography]]></category>
		<category><![CDATA[cookie]]></category>
		<category><![CDATA[photography]]></category>
		<category><![CDATA[skillet]]></category>

		<guid isPermaLink="false">http://www.dopefish.de/?p=1082</guid>
		<description><![CDATA[A few weeks ago I stumbled across this recipe for making a cookie in a skillet http://www.sophistimom.com/one-pan-skillet-cookie and shared it with a few people because I though it looked cool. My wonderful wife then put &#8220;skillet&#8221; on our shopping list because she knows I can&#8217;t resist cookies, and yesterday we tried out the recipe. It was easy and [...]]]></description>
			<content:encoded><![CDATA[<p>A few weeks ago I stumbled across this recipe for making a cookie in a skillet <a href="http://www.sophistimom.com/one-pan-skillet-cookie/">http://www.sophistimom.com/one-pan-skillet-cookie</a> and shared it with a few people because I though it looked cool. My wonderful wife then put &#8220;skillet&#8221; on our shopping list because she knows I can&#8217;t resist cookies, and yesterday we tried out the recipe. It was easy and tasted wonderful <img src='http://www.dopefish.de/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Below are some pics of the treat.</p>

<div class="ngg-albumoverview">		

	<!-- List of galleries -->
		
	<div class="ngg-album-dopefish">
		<div class="ngg-album-dopefishbox">
			<div class="ngg-album-link">
				<a class="Link" href="http://www.dopefish.de/pictures-bilder/skilletcookie">
					<img class="Thumb" alt="Skillet Cookie" src="http://www.dopefish.de/wp-content/gallery/skilletcookie/thumbs/thumbs_dsc_1810.jpg"/>
				</a>
			</div>
		</div>
	</div>
	<div class="ngg-album-dopefishdescription">
	<h4><a class="ngg-album-dopefishdesc" title="Skillet Cookie" href="http://www.dopefish.de/pictures-bilder/skilletcookie" >Skillet Cookie</a></h4>
		<p><strong>10</strong> Photos</p>
		</div>

 	 	
	<!-- Pagination -->
 	<div class="ngg-clear"></div>
</div>


]]></content:encoded>
			<wfw:commentRss>http://www.dopefish.de/archives/1082/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Yellowstone and Grand Teton Parks</title>
		<link>http://www.dopefish.de/archives/1059</link>
		<comments>http://www.dopefish.de/archives/1059#comments</comments>
		<pubDate>Mon, 03 Oct 2011 21:41:33 +0000</pubDate>
		<dc:creator>dopefish</dc:creator>
				<category><![CDATA[Me]]></category>
		<category><![CDATA[Photography]]></category>
		<category><![CDATA[Grand Teton]]></category>
		<category><![CDATA[photography]]></category>
		<category><![CDATA[Yellowstone]]></category>

		<guid isPermaLink="false">http://www.dopefish.de/?p=1059</guid>
		<description><![CDATA[A few weeks ago we traveled a bit west and visited the Yellowstone and Grand Teton National Parks, I&#8217;ve finally gotten around to sorting through the pictures and uploading a few (well, actually a lot). 
I didn&#8217;t get around to editing and stitching the panorama photos together yet, or doing anything interesting with the GPS [...]]]></description>
			<content:encoded><![CDATA[<p>A few weeks ago we traveled a bit west and visited the Yellowstone and Grand Teton National Parks, I&#8217;ve finally gotten around to sorting through the pictures and uploading a few (well, actually a lot). </p>

<div class="ngg-albumoverview">		

	<!-- List of galleries -->
		
	<div class="ngg-album-dopefish">
		<div class="ngg-album-dopefishbox">
			<div class="ngg-album-link">
				<a class="Link" href="http://www.dopefish.de/pictures-bilder/yellowstone-and-grand-teton-national-parks">
					<img class="Thumb" alt="Yellowstone and Grand Teton" src="http://www.dopefish.de/wp-content/gallery/yellowstone/thumbs/thumbs_dsc_1695.jpg"/>
				</a>
			</div>
		</div>
	</div>
	<div class="ngg-album-dopefishdescription">
	<h4><a class="ngg-album-dopefishdesc" title="Yellowstone and Grand Teton" href="http://www.dopefish.de/pictures-bilder/yellowstone-and-grand-teton-national-parks" >Yellowstone and Grand Teton</a></h4>
		<p><strong>190</strong> Photos</p>
		</div>

 	 	
	<!-- Pagination -->
 	<div class="ngg-clear"></div>
</div>


<p>I didn&#8217;t get around to editing and stitching the panorama photos together yet, or doing anything interesting with the GPS data of our hikes yet. If I get that done I&#8217;ll probably update this posting.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dopefish.de/archives/1059/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>rcon.c sorcecode (for linux)</title>
		<link>http://www.dopefish.de/archives/1052</link>
		<comments>http://www.dopefish.de/archives/1052#comments</comments>
		<pubDate>Tue, 27 Sep 2011 20:39:44 +0000</pubDate>
		<dc:creator>dopefish</dc:creator>
				<category><![CDATA[Me]]></category>

		<guid isPermaLink="false">http://www.dopefish.de/?p=1052</guid>
		<description><![CDATA[Searching for a linux command line rcon tool can be a bit of a pain: dead links, outdated versions not working anymore, stuff written in php &#8230;. yeah. The only version I could find was stuck in a cache of an old webpage. So here is my mirror of the http://www.asyserver.com/~cstrike/rcon.c file that currently gives [...]]]></description>
			<content:encoded><![CDATA[<p>Searching for a linux command line rcon tool can be a bit of a pain: dead links, outdated versions not working anymore, stuff written in php &#8230;. yeah. The only version I could find was stuck in a cache of an old webpage. So here is my mirror of the http://www.asyserver.com/~cstrike/rcon.c file that currently gives you a &#8220;404, File not found&#8221; error. Hopefully this will help anyone trying to find a working version via google and is frustrated with the results. Download, compile, happiness ensured.</p>
<p><a href="http://www.dopefish.de/files/rcon.c">http://www.dopefish.de/files/rcon.c</a></p>

<div class="my_syntax_box"><span class="my_syntax_selecall"><a href="javascript:;" onclick="selectCode(this); return false;">Select All</a> </span><span class="my_syntax_Bar">Code:</span><div class="my_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
</pre></td><td class="code"><pre class="c" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">/*
# This is a simple linux command line utility to execute rcon commands
# Just change the YOUR_PASSWORD_HERE to your rcon password (unless
# you want to enter it every time) and possibly change the default
# IP address from 127.0.0.1 (localhost)
#
# once downloaded on your linux system, compile it with:
#
#   gcc -o rcon rcon.c
#
# note, it should work on non-linux too, but may require changing the 
# socket stuff (i.e. windows will definitely need to add the winsock
# initialization line)
#
# written by [ASY]Zyrain
#
*/</span>
<span style="color: #339933;">#include &lt;stdio.h&gt;</span>
<span style="color: #339933;">#include &lt;stdlib.h&gt;</span>
<span style="color: #339933;">#include &lt;sys/socket.h&gt;</span>
<span style="color: #339933;">#include &lt;sys/types.h&gt;</span>
<span style="color: #339933;">#include &lt;netinet/in.h&gt;</span>
<span style="color: #339933;">#include &lt;arpa/inet.h&gt;</span>
<span style="color: #339933;">#include &lt;errno.h&gt;</span>
<span style="color: #339933;">#include &lt;string.h&gt;</span>
&nbsp;
<span style="color: #339933;">#define DEBUG 0</span>
&nbsp;
<span style="color: #339933;">#define SERVERDATA_EXECCOMMAND 2</span>
<span style="color: #339933;">#define SERVERDATA_AUTH 3</span>
<span style="color: #339933;">#define SERVERDATA_RESPONSE_VALUE 0</span>
<span style="color: #339933;">#define SERVERDATA_AUTH_RESPONSE 2</span>
&nbsp;
<span style="color: #993333;">int</span> send_rcon<span style="color: #009900;">&#40;</span><span style="color: #993333;">int</span> sock<span style="color: #339933;">,</span> <span style="color: #993333;">int</span> id<span style="color: #339933;">,</span> <span style="color: #993333;">int</span> command<span style="color: #339933;">,</span> <span style="color: #993333;">char</span> <span style="color: #339933;">*</span>string1<span style="color: #339933;">,</span> <span style="color: #993333;">char</span> <span style="color: #339933;">*</span>string2<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #993333;">int</span> size<span style="color: #339933;">,</span> ret<span style="color: #339933;">;</span>
  size <span style="color: #339933;">=</span> <span style="color: #0000dd;">10</span><span style="color: #339933;">+</span><span style="color: #000066;">strlen</span><span style="color: #009900;">&#40;</span>string1<span style="color: #009900;">&#41;</span><span style="color: #339933;">+</span><span style="color: #000066;">strlen</span><span style="color: #009900;">&#40;</span>string2<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
  ret <span style="color: #339933;">=</span> send<span style="color: #009900;">&#40;</span>sock<span style="color: #339933;">,&amp;</span>size<span style="color: #339933;">,</span><span style="color: #993333;">sizeof</span><span style="color: #009900;">&#40;</span><span style="color: #993333;">int</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span><span style="color: #0000dd;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span>ret <span style="color: #339933;">==</span> <span style="color: #339933;">-</span><span style="color: #0000dd;">1</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #000066;">perror</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;send() failed:&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">return</span> <span style="color: #339933;">-</span><span style="color: #0000dd;">1</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
  ret <span style="color: #339933;">=</span> send<span style="color: #009900;">&#40;</span>sock<span style="color: #339933;">,&amp;</span>id<span style="color: #339933;">,</span><span style="color: #993333;">sizeof</span><span style="color: #009900;">&#40;</span><span style="color: #993333;">int</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span><span style="color: #0000dd;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span>ret <span style="color: #339933;">==</span> <span style="color: #339933;">-</span><span style="color: #0000dd;">1</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #000066;">perror</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;send() failed:&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">return</span> <span style="color: #339933;">-</span><span style="color: #0000dd;">1</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
  ret <span style="color: #339933;">=</span> send<span style="color: #009900;">&#40;</span>sock<span style="color: #339933;">,&amp;</span>command<span style="color: #339933;">,</span><span style="color: #993333;">sizeof</span><span style="color: #009900;">&#40;</span><span style="color: #993333;">int</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span><span style="color: #0000dd;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span>ret <span style="color: #339933;">==</span> <span style="color: #339933;">-</span><span style="color: #0000dd;">1</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #000066;">perror</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;send() failed:&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">return</span> <span style="color: #339933;">-</span><span style="color: #0000dd;">1</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
  ret <span style="color: #339933;">=</span> send<span style="color: #009900;">&#40;</span>sock<span style="color: #339933;">,</span>string1<span style="color: #339933;">,</span><span style="color: #000066;">strlen</span><span style="color: #009900;">&#40;</span>string1<span style="color: #009900;">&#41;</span><span style="color: #339933;">+</span><span style="color: #0000dd;">1</span><span style="color: #339933;">,</span><span style="color: #0000dd;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span>ret <span style="color: #339933;">==</span> <span style="color: #339933;">-</span><span style="color: #0000dd;">1</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #000066;">perror</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;send() failed:&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">return</span> <span style="color: #339933;">-</span><span style="color: #0000dd;">1</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
  ret <span style="color: #339933;">=</span> send<span style="color: #009900;">&#40;</span>sock<span style="color: #339933;">,</span>string2<span style="color: #339933;">,</span><span style="color: #000066;">strlen</span><span style="color: #009900;">&#40;</span>string2<span style="color: #009900;">&#41;</span><span style="color: #339933;">+</span><span style="color: #0000dd;">1</span><span style="color: #339933;">,</span><span style="color: #0000dd;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span>ret <span style="color: #339933;">==</span> <span style="color: #339933;">-</span><span style="color: #0000dd;">1</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #000066;">perror</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;send() failed:&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">return</span> <span style="color: #339933;">-</span><span style="color: #0000dd;">1</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
  <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span>DEBUG<span style="color: #009900;">&#41;</span> <span style="color: #000066;">printf</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;Sent %d bytes<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">,</span>size<span style="color: #339933;">+</span><span style="color: #0000dd;">4</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #b1b100;">return</span> <span style="color: #0000dd;">0</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #993333;">int</span> recv_rcon<span style="color: #009900;">&#40;</span><span style="color: #993333;">int</span> sock<span style="color: #339933;">,</span> <span style="color: #993333;">int</span> timeout<span style="color: #339933;">,</span> <span style="color: #993333;">int</span> <span style="color: #339933;">*</span>id<span style="color: #339933;">,</span> <span style="color: #993333;">int</span> <span style="color: #339933;">*</span>command<span style="color: #339933;">,</span> <span style="color: #993333;">char</span> <span style="color: #339933;">*</span>string1<span style="color: #339933;">,</span>
	      <span style="color: #993333;">char</span> <span style="color: #339933;">*</span>string2<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #993333;">struct</span> timeval tv<span style="color: #339933;">;</span>
  fd_set readfds<span style="color: #339933;">;</span>
  <span style="color: #993333;">int</span> size<span style="color: #339933;">;</span>
  <span style="color: #993333;">char</span> <span style="color: #339933;">*</span>ptr<span style="color: #339933;">;</span>
  <span style="color: #993333;">int</span> ret<span style="color: #339933;">;</span>
  <span style="color: #993333;">char</span> buf<span style="color: #009900;">&#91;</span><span style="color: #0000dd;">8192</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
&nbsp;
  size<span style="color: #339933;">=</span><span style="color: #208080;">0xDEADBEEF</span><span style="color: #339933;">;</span>
  <span style="color: #339933;">*</span>id<span style="color: #339933;">=</span><span style="color: #208080;">0xDEADBEEF</span><span style="color: #339933;">;</span>
  <span style="color: #339933;">*</span>command<span style="color: #339933;">=</span><span style="color: #208080;">0xDEADBEEF</span><span style="color: #339933;">;</span>
  string1<span style="color: #009900;">&#91;</span><span style="color: #0000dd;">0</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=</span><span style="color: #0000dd;">0</span><span style="color: #339933;">;</span>
  string2<span style="color: #009900;">&#91;</span><span style="color: #0000dd;">0</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=</span><span style="color: #0000dd;">0</span><span style="color: #339933;">;</span>
&nbsp;
  tv.<span style="color: #202020;">tv_sec</span> <span style="color: #339933;">=</span> timeout<span style="color: #339933;">;</span>
  tv.<span style="color: #202020;">tv_usec</span> <span style="color: #339933;">=</span> <span style="color: #0000dd;">0</span><span style="color: #339933;">;</span>
&nbsp;
  FD_ZERO<span style="color: #009900;">&#40;</span><span style="color: #339933;">&amp;</span>readfds<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  FD_SET<span style="color: #009900;">&#40;</span>sock<span style="color: #339933;">,</span> <span style="color: #339933;">&amp;</span>readfds<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
  <span style="color: #808080; font-style: italic;">/* don't care about writefds and exceptfds: */</span>
  select<span style="color: #009900;">&#40;</span>sock<span style="color: #339933;">+</span><span style="color: #0000dd;">1</span><span style="color: #339933;">,</span> <span style="color: #339933;">&amp;</span>readfds<span style="color: #339933;">,</span> NULL<span style="color: #339933;">,</span> NULL<span style="color: #339933;">,</span> <span style="color: #339933;">&amp;</span>tv<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
  <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span>FD_ISSET<span style="color: #009900;">&#40;</span>sock<span style="color: #339933;">,</span> <span style="color: #339933;">&amp;</span>readfds<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span>DEBUG<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> 
      <span style="color: #000066;">printf</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;recv timeout<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
    <span style="color: #b1b100;">return</span> <span style="color: #339933;">-</span><span style="color: #0000dd;">1</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// timeout</span>
  <span style="color: #009900;">&#125;</span>
  <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span>DEBUG<span style="color: #009900;">&#41;</span> <span style="color: #000066;">printf</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;Got a response<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  ret <span style="color: #339933;">=</span> recv<span style="color: #009900;">&#40;</span>sock<span style="color: #339933;">,</span> <span style="color: #339933;">&amp;</span>size<span style="color: #339933;">,</span> <span style="color: #993333;">sizeof</span><span style="color: #009900;">&#40;</span><span style="color: #993333;">int</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #0000dd;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span>ret <span style="color: #339933;">==</span> <span style="color: #339933;">-</span><span style="color: #0000dd;">1</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #000066;">perror</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;recv() failed:&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">return</span> <span style="color: #339933;">-</span><span style="color: #0000dd;">1</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
  <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span>size<span style="color: #339933;">&lt;</span><span style="color: #0000dd;">10</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">||</span> <span style="color: #009900;">&#40;</span>size<span style="color: #339933;">&gt;</span><span style="color: #0000dd;">8192</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #000066;">printf</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;Illegal size %d<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">,</span>size<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #000066;">exit</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">-</span><span style="color: #0000dd;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
  ret <span style="color: #339933;">=</span> recv<span style="color: #009900;">&#40;</span>sock<span style="color: #339933;">,</span> id<span style="color: #339933;">,</span> <span style="color: #993333;">sizeof</span><span style="color: #009900;">&#40;</span><span style="color: #993333;">int</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span><span style="color: #0000dd;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span>ret <span style="color: #339933;">==</span> <span style="color: #339933;">-</span><span style="color: #0000dd;">1</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #000066;">perror</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;recv() failed:&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">return</span> <span style="color: #339933;">-</span><span style="color: #0000dd;">1</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
  size<span style="color: #339933;">-=</span>ret<span style="color: #339933;">;</span>
  ret <span style="color: #339933;">=</span> recv<span style="color: #009900;">&#40;</span>sock<span style="color: #339933;">,</span> command<span style="color: #339933;">,</span> <span style="color: #993333;">sizeof</span><span style="color: #009900;">&#40;</span><span style="color: #993333;">int</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span><span style="color: #0000dd;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span>ret <span style="color: #339933;">==</span> <span style="color: #339933;">-</span><span style="color: #0000dd;">1</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #000066;">perror</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;recv() failed:&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">return</span> <span style="color: #339933;">-</span><span style="color: #0000dd;">1</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
  size<span style="color: #339933;">-=</span>ret<span style="color: #339933;">;</span>
&nbsp;
  ptr <span style="color: #339933;">=</span> buf<span style="color: #339933;">;</span>
  <span style="color: #b1b100;">while</span><span style="color: #009900;">&#40;</span>size<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    ret <span style="color: #339933;">=</span> recv<span style="color: #009900;">&#40;</span>sock<span style="color: #339933;">,</span> ptr<span style="color: #339933;">,</span> size<span style="color: #339933;">,</span> <span style="color: #0000dd;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span>ret <span style="color: #339933;">==</span> <span style="color: #339933;">-</span><span style="color: #0000dd;">1</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
      <span style="color: #000066;">perror</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;recv() failed:&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      <span style="color: #b1b100;">return</span> <span style="color: #339933;">-</span><span style="color: #0000dd;">1</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
    size <span style="color: #339933;">-=</span> ret<span style="color: #339933;">;</span> 
    ptr <span style="color: #339933;">+=</span> ret<span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
  buf<span style="color: #009900;">&#91;</span><span style="color: #0000dd;">8190</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000dd;">0</span><span style="color: #339933;">;</span>
  buf<span style="color: #009900;">&#91;</span><span style="color: #0000dd;">8191</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000dd;">0</span><span style="color: #339933;">;</span>
&nbsp;
  <span style="color: #000066;">strncpy</span><span style="color: #009900;">&#40;</span>string1<span style="color: #339933;">,</span> buf<span style="color: #339933;">,</span> <span style="color: #0000dd;">4095</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  string1<span style="color: #009900;">&#91;</span><span style="color: #0000dd;">4095</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000dd;">0</span><span style="color: #339933;">;</span>
  <span style="color: #000066;">strncpy</span><span style="color: #009900;">&#40;</span>string2<span style="color: #339933;">,</span> buf<span style="color: #339933;">+</span><span style="color: #000066;">strlen</span><span style="color: #009900;">&#40;</span>string1<span style="color: #009900;">&#41;</span><span style="color: #339933;">+</span><span style="color: #0000dd;">1</span><span style="color: #339933;">,</span> <span style="color: #0000dd;">4095</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
  <span style="color: #b1b100;">return</span> <span style="color: #0000dd;">0</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/* This is set to 1 when we've been authorized */</span>
<span style="color: #993333;">int</span> auth <span style="color: #339933;">=</span> <span style="color: #0000dd;">0</span><span style="color: #339933;">;</span>
<span style="color: #993333;">char</span> string1<span style="color: #009900;">&#91;</span><span style="color: #0000dd;">4096</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
<span style="color: #993333;">char</span> string2<span style="color: #009900;">&#91;</span><span style="color: #0000dd;">4096</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #993333;">int</span> process_response<span style="color: #009900;">&#40;</span><span style="color: #993333;">int</span> sock<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #993333;">int</span> ret<span style="color: #339933;">;</span>
  <span style="color: #993333;">int</span> id<span style="color: #339933;">;</span>
  <span style="color: #993333;">int</span> command<span style="color: #339933;">;</span>
&nbsp;
  ret<span style="color: #339933;">=</span>recv_rcon<span style="color: #009900;">&#40;</span>sock<span style="color: #339933;">,</span> <span style="color: #0000dd;">1</span><span style="color: #339933;">,</span> <span style="color: #339933;">&amp;</span>id<span style="color: #339933;">,</span> <span style="color: #339933;">&amp;</span>command<span style="color: #339933;">,</span> string1<span style="color: #339933;">,</span> string2<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span>DEBUG<span style="color: #009900;">&#41;</span> <span style="color: #000066;">printf</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;Received = %d : id=%d, command=%d, s1=%s, s2=%s<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">,</span>
		   ret<span style="color: #339933;">,</span> id<span style="color: #339933;">,</span> command<span style="color: #339933;">,</span> string1<span style="color: #339933;">,</span> string2<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span>ret<span style="color: #339933;">==-</span><span style="color: #0000dd;">1</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #b1b100;">return</span> <span style="color: #339933;">-</span><span style="color: #0000dd;">1</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
&nbsp;
  <span style="color: #b1b100;">switch</span><span style="color: #009900;">&#40;</span>command<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #b1b100;">case</span> SERVERDATA_AUTH_RESPONSE<span style="color: #339933;">:</span>
    <span style="color: #b1b100;">switch</span><span style="color: #009900;">&#40;</span>id<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #b1b100;">case</span> <span style="color: #0000dd;">20</span><span style="color: #339933;">:</span> 
      auth <span style="color: #339933;">=</span> <span style="color: #0000dd;">1</span><span style="color: #339933;">;</span>
      <span style="color: #000000; font-weight: bold;">break</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">case</span> <span style="color: #339933;">-</span><span style="color: #0000dd;">1</span><span style="color: #339933;">:</span>
      <span style="color: #000066;">printf</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;Password Refused<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      <span style="color: #b1b100;">return</span> <span style="color: #339933;">-</span><span style="color: #0000dd;">1</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">default</span><span style="color: #339933;">:</span>
      <span style="color: #000066;">printf</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;Bad Auth Response ID = %d<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">,</span>id<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      <span style="color: #000066;">exit</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">-</span><span style="color: #0000dd;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
    <span style="color: #000000; font-weight: bold;">break</span><span style="color: #339933;">;</span>
  <span style="color: #b1b100;">case</span> SERVERDATA_RESPONSE_VALUE<span style="color: #339933;">:</span>
    <span style="color: #000066;">printf</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;%s&quot;</span><span style="color: #339933;">,</span>string1<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #000000; font-weight: bold;">break</span><span style="color: #339933;">;</span>
  <span style="color: #b1b100;">default</span><span style="color: #339933;">:</span>
    <span style="color: #000066;">printf</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;Unexpected command: %d&quot;</span><span style="color: #339933;">,</span>command<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #000000; font-weight: bold;">break</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #993333;">int</span> main<span style="color: #009900;">&#40;</span><span style="color: #993333;">int</span> argc<span style="color: #339933;">,</span> <span style="color: #993333;">char</span> <span style="color: #339933;">**</span>argv<span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
  <span style="color: #993333;">struct</span> sockaddr_in a<span style="color: #339933;">;</span>
  <span style="color: #993333;">int</span> sock<span style="color: #339933;">;</span>
  <span style="color: #993333;">int</span> ret<span style="color: #339933;">,</span> i<span style="color: #339933;">;</span>
  <span style="color: #993333;">char</span> password<span style="color: #009900;">&#91;</span><span style="color: #0000dd;">512</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=</span><span style="color: #ff0000;">&quot;YOUR_PASSWORD_HERE&quot;</span><span style="color: #339933;">;</span>
  <span style="color: #993333;">short</span> port <span style="color: #339933;">=</span> <span style="color: #0000dd;">27015</span><span style="color: #339933;">;</span>
  <span style="color: #993333;">char</span> address<span style="color: #009900;">&#91;</span><span style="color: #0000dd;">512</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;127.0.0.1&quot;</span><span style="color: #339933;">;</span>
&nbsp;
  <span style="color: #993333;">int</span> arg<span style="color: #339933;">;</span>
&nbsp;
  auth <span style="color: #339933;">=</span> <span style="color: #0000dd;">0</span><span style="color: #339933;">;</span>
&nbsp;
  <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span>argc<span style="color: #339933;">&lt;</span><span style="color: #0000dd;">2</span><span style="color: #009900;">&#41;</span>
    <span style="color: #009900;">&#123;</span>
      <span style="color: #000066;">printf</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;Syntax: rcon [-P<span style="color: #000099; font-weight: bold;">\&quot;</span>rcon_password<span style="color: #000099; font-weight: bold;">\&quot;</span>] [-a127.0.0.1] [-p27015] command<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      <span style="color: #b1b100;">return</span> <span style="color: #0000dd;">0</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
&nbsp;
  <span style="color: #b1b100;">for</span><span style="color: #009900;">&#40;</span>arg <span style="color: #339933;">=</span> <span style="color: #0000dd;">1</span><span style="color: #339933;">;</span>arg<span style="color: #339933;">&lt;</span>argc<span style="color: #339933;">;</span>arg<span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span>argv<span style="color: #009900;">&#91;</span>arg<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000dd;">0</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">!=</span> <span style="color: #ff0000;">'-'</span><span style="color: #009900;">&#41;</span>
      <span style="color: #000000; font-weight: bold;">break</span><span style="color: #339933;">;</span> <span style="color: #808080; font-style: italic;">/* done with args */</span>
    <span style="color: #b1b100;">switch</span><span style="color: #009900;">&#40;</span>argv<span style="color: #009900;">&#91;</span>arg<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000dd;">1</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #b1b100;">case</span> <span style="color: #ff0000;">'a'</span><span style="color: #339933;">:</span>
      <span style="color: #000066;">strncpy</span><span style="color: #009900;">&#40;</span>address<span style="color: #339933;">,</span> argv<span style="color: #009900;">&#91;</span>arg<span style="color: #009900;">&#93;</span><span style="color: #339933;">+</span><span style="color: #0000dd;">2</span><span style="color: #339933;">,</span> <span style="color: #0000dd;">512</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      <span style="color: #000000; font-weight: bold;">break</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">case</span> <span style="color: #ff0000;">'p'</span><span style="color: #339933;">:</span>
      port <span style="color: #339933;">=</span> <span style="color: #000066;">atoi</span><span style="color: #009900;">&#40;</span>argv<span style="color: #009900;">&#91;</span>arg<span style="color: #009900;">&#93;</span><span style="color: #339933;">+</span><span style="color: #0000dd;">2</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      <span style="color: #000000; font-weight: bold;">break</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">case</span> <span style="color: #ff0000;">'P'</span><span style="color: #339933;">:</span>
      <span style="color: #000066;">strncpy</span><span style="color: #009900;">&#40;</span>password<span style="color: #339933;">,</span> argv<span style="color: #009900;">&#91;</span>arg<span style="color: #009900;">&#93;</span><span style="color: #339933;">+</span><span style="color: #0000dd;">2</span><span style="color: #339933;">,</span> <span style="color: #0000dd;">512</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      <span style="color: #000000; font-weight: bold;">break</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">default</span><span style="color: #339933;">:</span>
      <span style="color: #000066;">fprintf</span><span style="color: #009900;">&#40;</span>stderr<span style="color: #339933;">,</span> <span style="color: #ff0000;">&quot;Unknown option -%c<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">,</span>argv<span style="color: #009900;">&#91;</span>arg<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000dd;">1</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      <span style="color: #b1b100;">return</span> <span style="color: #0000dd;">0</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
  <span style="color: #009900;">&#125;</span>
&nbsp;
  a.<span style="color: #202020;">sin_family</span> <span style="color: #339933;">=</span> AF_INET<span style="color: #339933;">;</span>
  a.<span style="color: #202020;">sin_addr</span>.<span style="color: #202020;">s_addr</span> <span style="color: #339933;">=</span> inet_addr<span style="color: #009900;">&#40;</span>address<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  a.<span style="color: #202020;">sin_port</span> <span style="color: #339933;">=</span> htons<span style="color: #009900;">&#40;</span>port<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
  sock <span style="color: #339933;">=</span> socket<span style="color: #009900;">&#40;</span>AF_INET<span style="color: #339933;">,</span> SOCK_STREAM<span style="color: #339933;">,</span><span style="color: #0000dd;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// TCP socket</span>
&nbsp;
  ret <span style="color: #339933;">=</span> <span style="color: #0000dd;">0</span><span style="color: #339933;">;</span>
  ret <span style="color: #339933;">=</span> connect<span style="color: #009900;">&#40;</span>sock<span style="color: #339933;">,</span><span style="color: #009900;">&#40;</span><span style="color: #993333;">struct</span> sockaddr <span style="color: #339933;">*</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">&amp;</span>a<span style="color: #339933;">,</span><span style="color: #993333;">sizeof</span><span style="color: #009900;">&#40;</span>a<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
  <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span>ret <span style="color: #339933;">==</span> <span style="color: #339933;">-</span><span style="color: #0000dd;">1</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #000066;">perror</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;connect() failed.&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">return</span> <span style="color: #339933;">-</span><span style="color: #0000dd;">1</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span>DEBUG<span style="color: #009900;">&#41;</span> <span style="color: #000066;">printf</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;Connected to Server<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
&nbsp;
  <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span>DEBUG<span style="color: #009900;">&#41;</span> <span style="color: #000066;">printf</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;Sending RCON Password<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  ret<span style="color: #339933;">=</span>send_rcon<span style="color: #009900;">&#40;</span>sock<span style="color: #339933;">,</span> <span style="color: #0000dd;">20</span><span style="color: #339933;">,</span> SERVERDATA_AUTH<span style="color: #339933;">,</span> password<span style="color: #339933;">,</span> <span style="color: #ff0000;">&quot;&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
  <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span>ret <span style="color: #339933;">==</span> <span style="color: #339933;">-</span><span style="color: #0000dd;">1</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #000066;">perror</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;Sending password&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">return</span> <span style="color: #339933;">-</span><span style="color: #0000dd;">1</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
&nbsp;
  <span style="color: #b1b100;">while</span><span style="color: #009900;">&#40;</span>auth<span style="color: #339933;">==</span><span style="color: #0000dd;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span>process_response<span style="color: #009900;">&#40;</span>sock<span style="color: #009900;">&#41;</span><span style="color: #339933;">==-</span><span style="color: #0000dd;">1</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
      <span style="color: #000066;">printf</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;Couldn't Authenticate<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      <span style="color: #000066;">exit</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">-</span><span style="color: #0000dd;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
  <span style="color: #009900;">&#125;</span>
&nbsp;
  <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span>DEBUG<span style="color: #009900;">&#41;</span> <span style="color: #000066;">printf</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;Password Accepted<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #808080; font-style: italic;">/* Now we're authorized, send command */</span>
&nbsp;
  <span style="color: #808080; font-style: italic;">/* built command */</span>
  ret <span style="color: #339933;">=</span> <span style="color: #0000dd;">0</span><span style="color: #339933;">;</span>
  <span style="color: #b1b100;">while</span><span style="color: #009900;">&#40;</span>arg <span style="color: #339933;">&lt;</span> argc<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000066;">strlen</span><span style="color: #009900;">&#40;</span>argv<span style="color: #009900;">&#91;</span>arg<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">+</span> ret <span style="color: #339933;">&lt;</span> <span style="color: #0000dd;">4096</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
      <span style="color: #000066;">strcpy</span><span style="color: #009900;">&#40;</span>string1<span style="color: #339933;">+</span>ret<span style="color: #339933;">,</span> argv<span style="color: #009900;">&#91;</span>arg<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      ret <span style="color: #339933;">+=</span> <span style="color: #000066;">strlen</span><span style="color: #009900;">&#40;</span>argv<span style="color: #009900;">&#91;</span>arg<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      string1<span style="color: #009900;">&#91;</span>ret<span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #ff0000;">' '</span><span style="color: #339933;">;</span>
      ret<span style="color: #339933;">++;</span>
      arg<span style="color: #339933;">++;</span>
    <span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
      <span style="color: #000066;">fprintf</span><span style="color: #009900;">&#40;</span>stderr<span style="color: #339933;">,</span> <span style="color: #ff0000;">&quot;cmd too long to send<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      <span style="color: #b1b100;">return</span> <span style="color: #339933;">-</span><span style="color: #0000dd;">1</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
  <span style="color: #009900;">&#125;</span>
  <span style="color: #666666; font-style: italic;">//  string1[ret] = '\n';</span>
  <span style="color: #666666; font-style: italic;">//ret++;</span>
  ret<span style="color: #339933;">--;</span>
  string1<span style="color: #009900;">&#91;</span>ret<span style="color: #009900;">&#93;</span><span style="color: #339933;">=</span><span style="color: #0000dd;">0</span><span style="color: #339933;">;</span>
&nbsp;
  <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span>DEBUG<span style="color: #009900;">&#41;</span> <span style="color: #000066;">printf</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;Sending Command: <span style="color: #000099; font-weight: bold;">\&quot;</span>%s<span style="color: #000099; font-weight: bold;">\&quot;</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">,</span> string1<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
  ret<span style="color: #339933;">=</span>send_rcon<span style="color: #009900;">&#40;</span>sock<span style="color: #339933;">,</span> <span style="color: #0000dd;">20</span><span style="color: #339933;">,</span> SERVERDATA_EXECCOMMAND<span style="color: #339933;">,</span> string1<span style="color: #339933;">,</span> <span style="color: #ff0000;">&quot;&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
  <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span>ret <span style="color: #339933;">==</span> <span style="color: #339933;">-</span><span style="color: #0000dd;">1</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #000066;">perror</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;cmd send&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">return</span> <span style="color: #339933;">-</span><span style="color: #0000dd;">1</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
&nbsp;
  <span style="color: #666666; font-style: italic;">// process responses until a timeout</span>
  <span style="color: #b1b100;">while</span><span style="color: #009900;">&#40;</span>process_response<span style="color: #009900;">&#40;</span>sock<span style="color: #009900;">&#41;</span> <span style="color: #339933;">!=</span> <span style="color: #339933;">-</span><span style="color: #0000dd;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
  <span style="color: #b1b100;">return</span> <span style="color: #0000dd;">0</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.dopefish.de/archives/1052/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>win7 system restore &#8230; aaarrrrgggh</title>
		<link>http://www.dopefish.de/archives/1032</link>
		<comments>http://www.dopefish.de/archives/1032#comments</comments>
		<pubDate>Thu, 28 Jul 2011 22:49:40 +0000</pubDate>
		<dc:creator>dopefish</dc:creator>
				<category><![CDATA[Me]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[junctions]]></category>
		<category><![CDATA[system restore]]></category>
		<category><![CDATA[user directory]]></category>
		<category><![CDATA[win7]]></category>

		<guid isPermaLink="false">http://www.dopefish.de/?p=1032</guid>
		<description><![CDATA[Warning: this is mainly me just ranting about Microsoft stupidity and a warning for anyone using junctions.
About a month or two ago I built myself a new PC (old one was dying) and installed Win7 on it.  Since I was previously still on WinXP there were a few things to get used to, but all [...]]]></description>
			<content:encoded><![CDATA[<p>Warning: this is mainly me just ranting about Microsoft stupidity and a warning for anyone using junctions.</p>
<p>About a month or two ago I built myself a new PC (old one was dying) and installed Win7 on it.  Since I was previously still on WinXP there were a few things to get used to, but all in all I enjoyed the update. There were of course some strange Windows pitfalls involved, moving your users directory to a different drive really isn&#8217;t straightforward, but works if you use junctions to link the directories.</p>
<p>Since Virtualbox drops the guests in a subfolder of the users directory I decided to move my users directory to one of the larger mechanical disks in my system, to keep the windows drive (a SSD disk) with plenty of space.</p>
<p>Now fast forward to yesterday, where some software I installed decided to clear out most of my Start-&gt;All Programs folder, leaving me with lots of installed softawre, and no Start Menu links. After trying some stuff out I finally caved in and used System Restore to get my Start Menu working again. System Restore actually worked fine, I got my Start Menu back &#8230; unfortunately it also corrupted my profile, and while googling to find out how to fix it I found a whole lot of people with the same problem.</p>
<p>Junction + User directory + System Restore = corrupt user, non repairable. Hello Microsoft, this is all original system software, no 3rd party stuff, breaking my user is totally uncool.</p>
<p>So after trying all kinds of crazy tips I found I gave up and followed the <a href="http://windows.microsoft.com/en-us/windows7/Fix-a-corrupted-user-profile" target="_blank">official instructions</a> (a.k.a. You are fucked, haha bye bye user registry). And right now I am copying stuff from my old profile to my new one and setting up all the software that had stored stuff in the registry. This time my Profile stays on C: without any junctions, it&#8217;s easier to repair Virtualbox if it breaks over the images being in a non-standard path than worrying about windows corrupting my whole profile if I touch System Restore.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dopefish.de/archives/1032/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>St. Anthony Falls, Minneapolis</title>
		<link>http://www.dopefish.de/archives/1003</link>
		<comments>http://www.dopefish.de/archives/1003#comments</comments>
		<pubDate>Fri, 03 Jun 2011 22:24:23 +0000</pubDate>
		<dc:creator>dopefish</dc:creator>
				<category><![CDATA[Me]]></category>
		<category><![CDATA[Photography]]></category>
		<category><![CDATA[minneapolis]]></category>
		<category><![CDATA[photography]]></category>

		<guid isPermaLink="false">http://www.dopefish.de/?p=1003</guid>
		<description><![CDATA[Monday we headed over to St. Anthony Falls here in Minneapolis (Mississippi river). There is a Heritage Trail around the falls that gives you a nice view of the falls and surroundings.
]]></description>
			<content:encoded><![CDATA[<p>Monday we headed over to St. Anthony Falls here in Minneapolis (Mississippi river). There is a Heritage Trail around the falls that gives you a nice view of the falls and surroundings.</p>

<div class="ngg-albumoverview">		

	<!-- List of galleries -->
		
	<div class="ngg-album-dopefish">
		<div class="ngg-album-dopefishbox">
			<div class="ngg-album-link">
				<a class="Link" href="http://www.dopefish.de/pictures-bilder/minneapolis-falls">
					<img class="Thumb" alt="Minneapolis Falls" src="http://www.dopefish.de/wp-content/gallery/minneapolis-falls/thumbs/thumbs_dsc_0651.jpg"/>
				</a>
			</div>
		</div>
	</div>
	<div class="ngg-album-dopefishdescription">
	<h4><a class="ngg-album-dopefishdesc" title="Minneapolis Falls" href="http://www.dopefish.de/pictures-bilder/minneapolis-falls" >Minneapolis Falls</a></h4>
		<p><strong>29</strong> Photos</p>
		</div>

 	 	
	<!-- Pagination -->
 	<div class="ngg-clear"></div>
</div>


]]></content:encoded>
			<wfw:commentRss>http://www.dopefish.de/archives/1003/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Where to find real bread in Twin Cities</title>
		<link>http://www.dopefish.de/archives/988</link>
		<comments>http://www.dopefish.de/archives/988#comments</comments>
		<pubDate>Fri, 03 Jun 2011 20:10:04 +0000</pubDate>
		<dc:creator>dopefish</dc:creator>
				<category><![CDATA[Me]]></category>
		<category><![CDATA[bread]]></category>
		<category><![CDATA[breadsmith]]></category>
		<category><![CDATA[minneapolis]]></category>
		<category><![CDATA[St. Paul]]></category>
		<category><![CDATA[twin cities]]></category>

		<guid isPermaLink="false">http://www.dopefish.de/?p=988</guid>
		<description><![CDATA[Anyone from Europe will tell you that what Americans generally consider &#8220;bread&#8221; is more like a loaf of bland nothingness with the consistency of a sponge that can be mushed together into something resembling playdough. To be fair, it is okay if you get some multigrain bread and toast it to give it some firmness and [...]]]></description>
			<content:encoded><![CDATA[<p>Anyone from Europe will tell you that what Americans generally consider &#8220;bread&#8221; is more like a loaf of bland nothingness with the consistency of a sponge that can be mushed together into something resembling playdough. To be fair, it is okay if you get some multigrain bread and toast it to give it some firmness and make sandwiches, but other than that &#8230;.</p>
<p>Artisan bread is a step up and brings a bit more taste and firmness. It can be found at various stores, we generally get some from Cub or Trader Joes. But the best bread we have found till now is at a local  &#8221;<a href="http://www.breadsmith.com" target="_blank">breadsmith</a>&#8221; here in Minneapolis / St. Paul. They truely sell <strong>real</strong> bread. Yaaaay. So if there is a breadsmith near you, drop in and have a look, might be you find bread like you have never tasted before.</p>
<div style="text-align: center;">
<a href="http://www.dopefish.de/wp-content/gallery/various/dsc_0739.jpg" title="" class="lightview" rel="gallery[singlepic581]" >
	<img class="ngg-singlepic" src="http://www.dopefish.de/wp-content/gallery/cache/581__300x220_dsc_0739.jpg" alt="dsc_0739" title="dsc_0739" />
</a>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.dopefish.de/archives/988/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to easily add colored text output in bash scripts</title>
		<link>http://www.dopefish.de/archives/969</link>
		<comments>http://www.dopefish.de/archives/969#comments</comments>
		<pubDate>Tue, 31 May 2011 22:29:36 +0000</pubDate>
		<dc:creator>dopefish</dc:creator>
				<category><![CDATA[Internet Stuff]]></category>
		<category><![CDATA[Me]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[color]]></category>
		<category><![CDATA[scripting]]></category>

		<guid isPermaLink="false">http://www.dopefish.de/?p=969</guid>
		<description><![CDATA[Here is small snippet that can give your shell scripts some nice output: colortext.sh As with the debug.sh script, just download it to the same directory as your own script and add it with

Select All Code:. colortext.sh

It contains one simple function called text with the syntax text &#60;color&#62; &#8220;text to be output&#8221;. Color can be red, [...]]]></description>
			<content:encoded><![CDATA[<p>Here is small snippet that can give your shell scripts some nice output: <a href="http://www.dopefish.de/files/colortext.sh" target="_blank">colortext.sh</a> As with the <a href="http://www.dopefish.de/archives/873" target="_blank">debug.sh</a> script, just download it to the same directory as your own script and add it with</p>

<div class="my_syntax_box"><span class="my_syntax_selecall"><a href="javascript:;" onclick="selectCode(this); return false;">Select All</a> </span><span class="my_syntax_Bar">Code:</span><div class="my_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">. colortext.sh</pre></div></div></div>

<p>It contains one simple function called <span style="color: #0000ff;">text</span> with the syntax <span style="color: #0000ff;">text &lt;color&gt; &#8220;text to be output&#8221;</span>. Color can be red, green, yellow, blue or grey. The function does not automatically add a linebreak to the putput, so pop a <span style="color: #0000ff;">\n</span> in there if you need it. I prefer using it together with printf for clean and easy color output.</p>
<p>Here are some examples of how the function can be used, and below the corresponding output:</p>

<div class="my_syntax_box"><span class="my_syntax_selecall"><a href="javascript:;" onclick="selectCode(this); return false;">Select All</a> </span><span class="my_syntax_Bar">Code:</span><div class="my_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">. colortext.sh
&nbsp;
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;normal text&quot;</span>
text blue <span style="color: #ff0000;">&quot;blue text, &quot;</span>
text yellow <span style="color: #ff0000;">&quot;yellow text<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Using it together with echo</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #660033;">-n</span> <span style="color: #ff0000;">&quot;Status of script: [&quot;</span>;text <span style="color: #c20cb9; font-weight: bold;">red</span> <span style="color: #ff0000;">&quot;ERROR&quot;</span>;<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;]&quot;</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># more elegant usage with printf</span>
<span style="color: #7a0874; font-weight: bold;">printf</span> <span style="color: #ff0000;">&quot;Status of script: [%s]<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span> $<span style="color: #7a0874; font-weight: bold;">&#40;</span>text green <span style="color: #ff0000;">&quot;OK&quot;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span></pre></div></div></div>

<p>Output:</p>
<blockquote><p>normal text<br />
<span style="color: #0000ff;">blue text</span>, <span style="color: #808000;">yellow text<br />
</span> Status of script: [<span style="color: #ff0000;">ERROR</span>]<br />
Status of script: [<span style="color: #339966;">OK</span>]</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.dopefish.de/archives/969/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to get Teamspeak 3 running on a current Linux</title>
		<link>http://www.dopefish.de/archives/944</link>
		<comments>http://www.dopefish.de/archives/944#comments</comments>
		<pubDate>Tue, 24 May 2011 04:18:04 +0000</pubDate>
		<dc:creator>dopefish</dc:creator>
				<category><![CDATA[Internet Stuff]]></category>
		<category><![CDATA[Me]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[teamspeak 3]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.dopefish.de/?p=944</guid>
		<description><![CDATA[Teamspeak is know for lagging a bit behind with development.
The last few days I have been upgrading my servers to current distributions, today the Voice servers were on the list to get Debian 6 / Ubuntu 11.04. And again I ran into problems with Teamspeak, turns out they won&#8217;t work with libmysqlclient 16 libraries and [...]]]></description>
			<content:encoded><![CDATA[<p>Teamspeak is know for lagging a bit behind with development.</p>
<p>The last few days I have been upgrading my servers to current distributions, today the Voice servers were on the list to get Debian 6 / Ubuntu 11.04. And again I ran into problems with Teamspeak, turns out they won&#8217;t work with libmysqlclient 16 libraries and require the good old 15 version (which isn&#8217;t available out-of-the-box in the latest Debian and Ubuntu release).</p>
<p>So anybody running into the same problem (do a <span style="color: #3366ff;"><em>ldd libts3db_mysql.so</em></span> to check), can hop on over to <a href="http://packages.debian.org/lenny/libmysqlclient15off">http://packages.debian.org/lenny/libmysqlclient15off</a> and download the package for your architecture and install it with <span style="color: #3366ff;"><em>dpkg -i &lt;filename&gt;</em></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dopefish.de/archives/944/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Moving to the USA</title>
		<link>http://www.dopefish.de/archives/732</link>
		<comments>http://www.dopefish.de/archives/732#comments</comments>
		<pubDate>Mon, 24 Jan 2011 20:54:07 +0000</pubDate>
		<dc:creator>dopefish</dc:creator>
				<category><![CDATA[Me]]></category>
		<category><![CDATA[moving]]></category>

		<guid isPermaLink="false">http://www.dopefish.de/?p=732</guid>
		<description><![CDATA[I haven&#8217;t posted here for a while. One of the reasons is that I started posting more day-to-day stuff on facebook, but the main reason was that the last few months my wife and I have been busy organizing stuff. She got a job offer over here, so December and January we were busy getting [...]]]></description>
			<content:encoded><![CDATA[<p>I haven&#8217;t posted here for a while. One of the reasons is that I started posting more day-to-day stuff on facebook, but the main reason was that the last few months my wife and I have been busy organizing stuff. She got a job offer over here, so December and January we were busy getting everything organized to move from Germany to USA. In December we flew over for a week to get an apartment rented, buy a car, set up a bank account, insurance, &#8230; all the fun stuff you go through when moving to a new place. Let it be said, that christmas time is not the advised time to organize such stuff :-p<br/><br />
Steffi flew in on the 15th, and I came over a week later. And now our new home is in (the cold) Twin Cities <img src='http://www.dopefish.de/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  Our internet conenction isn&#8217;t going to be installed till Feb 1st (along with phone and TV), so I don&#8217;t have much to do except for cleaning the appartment, assembling furniture (IKEA is just around the corner) and shopping &#8230; and of course keeping an eye out for interresting jobs here. I&#8217;ll keep you all posted on how things are going here, If the sun ever comes out I&#8217;ll go out to shoot some photos.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dopefish.de/archives/732/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Served from: www.dopefish.de @ 2012-02-08 10:37:47 by W3 Total Cache -->
