tag:blogger.com,1999:blog-13886281651623602992024-02-08T08:40:30.833+01:00Daniel Kovacs - CCNP Network Automation SpecialistMy blog about several parts of IT, mostly about Linux and networking stuff.Danielhttp://www.blogger.com/profile/02019504154477147981noreply@blogger.comBlogger40125tag:blogger.com,1999:blog-1388628165162360299.post-33983105535800392052017-01-14T20:26:00.001+01:002017-01-14T20:27:13.994+01:00HTTP Status 404 - /ccmadmin/showHome.do<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div style="background-color: white; font-family: arial, helvetica, sans-serif; font-size: 14.96px; padding: 5px 15px;">
If you are working with CUCM, and you meet this error after restart/boot:</div>
<div style="background-color: white; color: #316984; font-family: arial, helvetica, sans-serif; font-size: 14.96px; padding: 5px 15px;">
<b><br /></b></div>
<div style="background-color: white; color: #316984; font-family: arial, helvetica, sans-serif; font-size: 14.96px; padding: 5px 15px;">
<b>type: </b>Status report</div>
<div style="background-color: white; color: #316984; font-family: arial, helvetica, sans-serif; font-size: 14.96px; padding: 5px 15px;">
<b>message: </b>/ccmadmin/showHome.do</div>
<div style="background-color: white; color: #316984; font-family: arial, helvetica, sans-serif; font-size: 14.96px; padding: 5px 15px;">
<b>description: </b>The requested resource is not available.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIYAIuPCEnxxPNdOTet6YEXfqaUbJcITztfZeCSMgx-Zqsd-Drgx0ggUJp3SwikSToacr7AXiaM1AXSVHjmKDwKHt8iER24sy6lgBj9H-WlMXW3EIWdIPBpSkdGBOiPZfwXLRCx_cTdqE/s1600/cisco_slow_error.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="198" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIYAIuPCEnxxPNdOTet6YEXfqaUbJcITztfZeCSMgx-Zqsd-Drgx0ggUJp3SwikSToacr7AXiaM1AXSVHjmKDwKHt8iER24sy6lgBj9H-WlMXW3EIWdIPBpSkdGBOiPZfwXLRCx_cTdqE/s400/cisco_slow_error.png" width="400" /></a></div>
<br />
Most probably it just means, that the server is not fast enough.. just wait for a little more. Probably Cisco Tomcat can start up much more faster then the other services, so it fails to proxy properly.Danielhttp://www.blogger.com/profile/02019504154477147981noreply@blogger.com2tag:blogger.com,1999:blog-1388628165162360299.post-60626540038189870022015-03-03T13:03:00.001+01:002015-03-03T13:04:14.908+01:00Apache 2.2 mod-authnz-external UNIX user auth howto with pwauth<br />
This howto is for Debian linux, and for Apache version 2.2. Directories and installation types may differ on other distributions.<br />
<br />
1. Install apache module (it will also install pwauth as a dependency)<br />
<br />
<i><span style="color: #274e13;">apt-get install libapache2-mod-authnz-external</span></i><br />
<br />
2.Enable apache2 module<br />
<br />
<i><span style="color: #274e13;">a2enmod authnz_external</span></i><br />
<br />
3.Check if module is loaded:<br />
<br />
<span style="color: #274e13;"><i>apache2ctl -M | grep authnz_external</i></span><br />
<br />
should see:<br />
<br />
<i><span style="color: #274e13;"> authnz_external_module (shared)</span></i><br />
<br />
4. Set up vhost:<br />
<br />
4.1: In the selected directory:<br />
<div style="text-align: left;">
<pre class="prettyprint"><span class="typ"> </span></pre>
<pre class="prettyprint"><span style="color: #274e13;"><span class="typ">AuthType</span><span class="pln"> </span><span class="typ">Basic</span><span class="pln">
</span><span class="typ">AuthName</span><span class="pln"> </span><span class="typ">Your</span><span class="pun">-</span><span class="typ">Site</span><span class="pun">-</span><span class="typ">Name</span><span class="pln">
</span><span class="typ">AuthBasicProvider</span><span class="pln"> external</span><span class="typ">AuthExternal</span><span class="pln"> pwauth</span><span class="kwd">require</span><span class="pln"> valid</span><span class="pun">-</span><span class="pln">user</span></span></pre>
</div>
<pre class="prettyprint"><span class="pln">
</span></pre>
<br />
4.2: In the beginning of the vhost file:<br />
<br />
<pre class="prettyprint"><span style="color: #274e13;"><span class="typ">AddExternalAuth</span><span class="pln"> pwauth </span><span class="pun">/usr/sbin/pwauth</span><span class="pln">
</span><span class="typ">SetExternalAuthMethod</span><span class="pln"> pwauth pipe</span></span></pre>
<br />
<br />
<b>Possible problems:</b><br />
<br />
<span style="color: red;">Invalid AuthExternal keyword (pwauth)</span><br />
<br />
You have no pwauth installation or you pwauth is not in the /usr/sbin directory, search it!<br />
<br />
<br />
<span style="color: red;"> Action 'configtest' failed.<br />The Apache error log may have more information.<br /> failed!</span><br />
<br />
You have misspelled some command in the configuration file, check it!Danielhttp://www.blogger.com/profile/02019504154477147981noreply@blogger.com0tag:blogger.com,1999:blog-1388628165162360299.post-92219350021684641102015-02-11T00:09:00.000+01:002015-02-11T00:10:11.223+01:00Cisco IOU with web interfaceWhat is IOU? IOU stands for IOS on Unix, special versions of IOS, which can be run as x86 services. These IOS versions are very light weight, they need less memory and CPU than GNS3 (or dynamips).<br />
<br />
I had some problems during the installation of Cisco IOU, so I will show you how to do that easily. We will use IOU with a web interface (iou-web).<br />
<br />
1. First of all, you will need a 32bit version of debian (or ubuntu, gentoo, whatever linux). If they are 32bit systems, your life will be better, trust me.<br />
<br />
2. Then download the iou-web interface files from <a href="http://public.routereflector.com/iou-web/apt/">here</a>. Download the latest .deb file and install it:<br />
<br />
<span style="color: #274e13;">sudo dpkg -i <iou-web_version> </span><br />
<br />
If it needs some dependencies, type:<br />
<br />
<span style="color: #274e13;">sudo apt-get install -f<br />sudo dpkg -i <iou-web_version> </span><br />
<br />
If everything is OK, the iou-web files are installed in /opt/iou.<br />
<br />
So now you have the web interface working. Lets install the IOU! (For the IOU files, please use <a href="http://lmgtfy.com/?q=Cisco+IOU+download+torrent+piratebay">google</a>!)<br />
<br />
3. Install 'libcrypto' library:<br />
<br />
<span style="color: #274e13;">sudo apt-get install libssl1.0.0<br />sudo apt-get install libssl0.9.8</span> <br />
<br />
4. You will need libcrypto.so.4, but it is not installable, so you will hack it a little: create a symlink:<br />
<br />
<span style="color: #274e13;">sudo ln -s /lib/libcrypto.so.1.0.1e /usr/lib/libcrypto.so.4</span><br />
<br />
5. You will need to install the license, you will find some information in the downloads.<br />
<br />
6. Navigate to the web interface in your browser and choose 'Manage' menu, then 'manage IOSes'. Here you van upload the .bin files. After uploading them, you can create your own lab in the 'Laboratories' menu with the 'Add new lab' button.<br />
<br />
References:<br />
<br />
http://www.routereflector.com/cisco/cisco-iou-web-interface/<br />
http://ciscoiseasy.blogspot.hu/2014/07/iou-forbidden-fruit.html<br />
<br />
<br />
<br />Danielhttp://www.blogger.com/profile/02019504154477147981noreply@blogger.com0tag:blogger.com,1999:blog-1388628165162360299.post-49559974295106281422014-11-26T21:57:00.000+01:002014-11-26T21:57:32.134+01:00Debug Cisco Tunnels: GRE<br />
We will debug GRE tunnels which were set in the previous post. There are two routers, basic interface configuration on Serial1/0 ports and a Tunnel interface on each router.<br />
<br />
<b>R1#</b><i>debug tunnel</i><br />
When everything is good:<br />
<br />
<b>R1#</b><i>ping 192.168.1.2</i><br />
<br />
Type escape sequence to abort.<br />
Sending 5, 100-byte ICMP Echos to 192.168.1.2, timeout is 2 seconds:<br />
!!!!!<br />
Success rate is 100 percent (5/5), round-trip min/avg/max = 12/21/36 ms<br />
<b>R1#</b><br />
Tunnel0: <span style="background-color: lime;">GRE/IP encapsulated 200.0.0.1->200.0.0.2</span> (linktype=7, len=124)<br />
Tunnel0 count tx, adding 0 encap bytes<br />
Tunnel0: GRE/IP to classify 200.0.0.2->200.0.0.1 (tbl=0,"Default" len=124 ttl=254 tos=0x0)<br />
Tunnel0: GRE/IP to classify 200.0.0.2->200.0.0.1 (tbl=0,"Default" len=124 ttl=254 tos=0x0)<br />
Tunnel0: GRE/IP (PS) to decaps 200.0.0.2->200.0.0.1 (tbl=0,"default" len=124 ttl=254)<br />
Tunnel0: <span style="background-color: lime;">GRE decapsulated IP packet</span> (linktype=7, len=100)<br />
Tunnel0: <span style="background-color: lime;">GRE/IP encapsulated 200.0.0.1->200.0.0.2</span> (linktype=7, len=124)<br />
Tunnel0 count tx, adding 0 encap bytes<br />
Tunnel0: GRE/IP to classify 200.0.0.2->200.0.0.1 (tbl=0,"Default" len=124 ttl=254 tos=0x0)<br />
Tunnel0: GRE/IP to classify 200.0.0.2->200.0.0.1 (tbl=0,"Default" len=124 ttl=254 tos=0x0)<br />
Tunnel0: GRE/IP<br />
<b>R1#</b> (PS) to decaps 200.0.0.2->200.0.0.1 (tbl=0,"default" len=124 ttl=254)<br />
Tunnel0: <span style="background-color: lime;">GRE decapsulated IP packet</span> (linktype=7, len=100)<br />
Tunnel0: <span style="background-color: lime;">GRE/IP encapsulated 200.0.0.1->200.0.0.2</span> (linktype=7, len=124)<br />
Tunnel0 count tx, adding 0 encap bytes<br />
Tunnel0: GRE/IP to classify 200.0.0.2->200.0.0.1 (tbl=0,"Default" len=124 ttl=254 tos=0x0)<br />
Tunnel0: GRE/IP to classify 200.0.0.2->200.0.0.1 (tbl=0,"Default" len=124 ttl=254 tos=0x0)<br />
Tunnel0: GRE/IP (PS) to decaps 200.0.0.2->200.0.0.1 (tbl=0,"default" len=124 ttl=254)<br />
Tunnel0: <span style="background-color: lime;">GRE decapsulated IP packet </span>(linktype=7, len=100)<br />
Tunnel0: <span style="background-color: lime;">GRE/IP encapsulated 200.0.0.1->200.0.0.2</span> (linktype=7, len=124)<br />
Tunnel0 count tx, adding 0 encap bytes<br />
Tunnel0: GRE/IP to classify 200.0.0.2->200.0.0.1 (tbl=0,"Default" len=124 ttl=254 tos=0x0)<br />
<br />
<b>R1#</b>Tunnel0: GRE/IP to classify 200.0.0.2->200.0.0.1 (tbl=0,"Default" len=124 ttl=254 tos=0x0)<br />
Tunnel0: GRE/IP (PS) to decaps 200.0.0.2->200.0.0.1 (tbl=0,"default" len=124 ttl=254)<br />
Tunnel0:<span style="background-color: lime;"> GRE decapsulated IP packet</span> (linktype=7, len=100)<br />
Tunnel0: <span style="background-color: lime;">GRE/IP encapsulated 200.0.0.1->200.0.0.2</span> (linktype=7, len=124)<br />
Tunnel0 count tx, adding 0 encap bytes<br />
Tunnel0: GRE/IP to classify 200.0.0.2->200.0.0.1 (tbl=0,"Default" len=124 ttl=254 tos=0x0)<br />
Tunnel0: GRE/IP to classify 200.0.0.2->200.0.0.1 (tbl=0,"Default" len=124 ttl=254 tos=0x0)<br />
Tunnel0: GRE/IP (PS) to decaps 200.0.0.2->200.0.0.1 (tbl=0,"default" len=124 ttl=254)<br />
Tunnel0: <span style="background-color: lime;">GRE decapsulated IP packet </span>(linktype=7, len=100)<br />
<br />
<h4>
What we see here:</h4>
We sent 5 packets to R2, R1 encapsulated 5 packets, and decapsulated 5 packets. Obviously, the decapsulated packets are the reply packets from R2.<br />
<br />
<br />
<h3>
Wrong tunnel destination</h3>
With debug tunnel command, we will see after configuration change:<br />
<br />
R1(config-if)#tunnel destination 200.0.0.3<br />
FIBtunnel: Tu0: cli request terminated early: no<br />
FIBtunnel: Tu0: cli request generated fib update: IPv4 punt change no, IPv6 punt change no, mode change no<br />
FIBtunnel: Tu0: GRE/IP (0) punt ipv4: no (lc no), ipv6 no (lc no) [BEFORE]<br />
FIBtunnel: Tu0: GRE/IP (0) punt ipv4: no (lc no), ipv6 no (lc no) [AFTER]<br />
FIBtunnel: Tu0: stacking IP 0.0.0.0 to Default:200.0.0.3<br />
<br />
<br />
<b>R1#</b><i>ping 192.168.1.2</i><br />
<br />
Type escape sequence to abort.<br />
Sending 5, 100-byte ICMP Echos to 192.168.1.2, timeout is 2 seconds:<br />
<br />
Tunnel0: GRE/IP encapsulated 200.0.0.1->200.0.0.3 (linktype=7, len=124)<br />
Tunnel0 count tx, adding 0 encap bytes.<br />
Tunnel0: GRE/IP encapsulated 200.0.0.1->200.0.0.3 (linktype=7, len=124)<br />
Tunnel0 count tx, adding 0 encap bytes.<br />
Tunnel0: GRE/IP encapsulated 200.0.0.1->200.0.0.3 (linktype=7, len=124)<br />
Tunnel0 count tx, adding 0 encap bytes.<br />
Tunnel0: GRE/IP encapsulated 200.0.0.1->200.0.0.3 (linktype=7, len=124)<br />
Tunnel0 count tx, adding 0 encap bytes.<br />
Tunnel0: GRE/IP encapsulated 200.0.0.1->200.0.0.3 (linktype=7, len=124)<br />
Tunnel0 count tx, adding 0 encap bytes.<br />
Success rate is 0 percent (0/5)<br />
<br />
Packets are encapsulated and sent, but no response from the other side.<br />
<br />
<br />
<br />Danielhttp://www.blogger.com/profile/02019504154477147981noreply@blogger.com0tag:blogger.com,1999:blog-1388628165162360299.post-8317057537568698912014-11-05T20:29:00.000+01:002014-11-05T20:30:47.140+01:00Point-to-Point Frame Relay with Cisco router as Frame Relay Switch<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
In this tutorial, I will show you, how to use a Cisco router as a frame relay switch. It can be usefull if you study for your CCNA or CCNP exam and you need a frame relay switch, <span class="prop prop_content type_text freetext">although</span> you can use GNS3's Frame Relay switch, it can be a little buggy.<br />
<br />
The topology used:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhB5HpL9WKEnFqlN8u3_6oHC1t1kOxYYX_PG_SfHz3g0u0ML2Hh8dq52Jk8jefL6LC7Q0oyEnUkWsw8H11dbta4CUaQT_S-EIGqqNgZsbKAZj4dYjOVg5RlWU2Tn3Cisu6hPV8Vt64pu3M/s1600/cisco+fr+sw2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhB5HpL9WKEnFqlN8u3_6oHC1t1kOxYYX_PG_SfHz3g0u0ML2Hh8dq52Jk8jefL6LC7Q0oyEnUkWsw8H11dbta4CUaQT_S-EIGqqNgZsbKAZj4dYjOVg5RlWU2Tn3Cisu6hPV8Vt64pu3M/s1600/cisco+fr+sw2.png" height="345" width="400" /></a></div>
FRSW is the Frame Relay switch, which is connected to London, Budapest and Baltimore. <br />
<br />
PVCs:<br />
P2P 102 London Baltimore<br />
P2P 201 Baltimore London<br />
P2P 103 London Budapest<br />
P2P 301 Budapest London<br />
<br />
<h3>
Step1</h3>
In this step we will enable Frame Relay switching on router FRSW, then we create the appropriate DLCIs.<br />
<i><br /></i>
<i>FRSW(config)#frame-relay switching</i><br />
<br />
On the serial interface 1/0, 1/1, 1/3 configure frame-relay:<br />
<i><br /></i>
<i>FRSW(config)#int serial 1/0<br />FRSW(config-if)#encapsulation frame-relay<br />FRSW(config-if)#frame-relay lmi-type cisco<br />FRSW(config-if)#clock rate 64000<br />FRSW(config-if)#frame-relay intf-type dce <br />FRSW(config-if)#no shutdown</i><br />
<br />
<i>FRSW(config)#int serial 1/1<br />FRSW(config-if)#encapsulation frame-relay<br />FRSW(config-if)#frame-relay lmi-type cisco<br />FRSW(config-if)#clock rate 64000<br />FRSW(config-if)#frame-relay intf-type dce <br />FRSW(config-if)#no shutdown</i><br />
<br />
<i>FRSW(config)#int serial 1/3<br />FRSW(config-if)#encapsulation frame-relay<br />FRSW(config-if)#frame-relay lmi-type cisco<br />FRSW(config-if)#clock rate 64000<br />FRSW(config-if)#frame-relay intf-type dce <br />FRSW(config-if)#no shutdown</i><br />
<br />
Then create the routes on each interfaces, the command is:<br />
<br />
frame-relay route INDLCI interface OUTINTERFACE OUTDLCI<br />
<br />
so..<br />
<i><br /></i>
<i>FRSW(config)#int serial 1/0<br />FRSW(config-if)#frame-relay route 103 interface s1/1 301<br />FRSW(config-if)#frame-relay route 102 interface s1/3 201</i><br />
<i><br /></i>
<i>FRSW(config)#int serial 1/1<br />FRSW(config-if)#frame-relay route 301 interface serial 1/0 103</i><br />
<i>FRSW(config)#int ser1/3<br />FRSW(config-if)#frame-relay route 201 interface serial 1/0 102</i><br />
<br />
<h3>
Step2: Configure Nodes</h3>
<h4>
London: </h4>
<i>London(config)#int ser1/0<br />London(config-if)#encapsulation frame-relay <br />London(config-if)#no sh</i><br />
<i><br />London(config)#int ser1/0.103 point-to-point <br />London(config-subif)#ip addr 192.168.3.1 255.255.255.0</i><br />
<i>London(config-subif)#frame-relay interface-dlci 103<br />London(config-subif)#no sh</i><br />
<br />
<i>London(config)#int ser1/0.102 point-to-point <br />London(config-subif)#ip addr 192.168.1.1 255.255.255.0</i><br />
<i>London(config-subif)#frame-relay interface-dlci 102<br />London(config-subif)#no sh</i><br />
<h4>
Budapest:</h4>
<i>Budapest(config)#int ser1/0<br />Budapest(config-if)#encapsulation frame-relay <br />Budapest(config-if)#no sh</i><br />
<i><br /></i>
<i>Budapest(config)#int ser1/0.301 point-to-point <br />Budapest(config-subif)#ip addr 192.168.3.2 255.255.255.0</i><br />
<i>Budapest(config-subif)#frame-relay interface-dlci 301</i><br />
<i>Budapest(config-subif)#no sh</i><br />
<br />
<br />
<br />
<h4>
Baltimore</h4>
<i>Baltimore(config)#int ser1/0<br />Baltimore(config-if)#encapsulation frame-relay <br />Baltimore(config-if)#no sh</i><br />
<i><br /></i>
<i>Baltimore(config)#int ser1/0.201 point-to-point </i><br />
<i>Baltimore(config-subif)#ip addr 192.168.1.2 255.255.255.0</i><br />
<i>Baltimore(config-subif)#frame-relay interface-dlci 201</i><br />
<i>Baltimore(config-subif)#no sh</i><br />
<br />
<h3>
Step3: Test</h3>
Ping London from Baltimore:<br />
<br />
Baltimore#ping 192.168.1.1<br />
Type escape sequence to abort.<br />
Sending 5, 100-byte ICMP Echos to 192.168.1.1, timeout is 2 seconds:<br />
!!!!!<br />
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/6/8 ms<br />
<br />
Ping London from Budapest:<br />
<br />
Budapest#ping 192.168.3.1<br />
Type escape sequence to abort.<br />
Sending 5, 100-byte ICMP Echos to 192.168.3.1, timeout is 2 seconds:<br />
!!!!!<br />
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/4/4 ms<br />
<br />
<br />
<h3>
Step4: Set up routing</h3>
<h4>
Budapest:</h4>
<i>Budapest(config)#ip route 0.0.0.0 0.0.0.0 192.168.3.1</i><br />
<h4>
Baltimore:</h4>
<i>Baltimore(config)#ip route 0.0.0.0 0.0.0.0 192.168.2.1</i><br />
<h4>
</h4>
<br />
<br />
<br />
<br />Danielhttp://www.blogger.com/profile/02019504154477147981noreply@blogger.com0tag:blogger.com,1999:blog-1388628165162360299.post-27752291846954224032014-10-12T13:07:00.000+02:002014-10-12T13:12:29.028+02:00Debug Cisco Tunnels: Basic Configuration<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8_iniE0DUmH_sZB53pEg4EVeU8lH2z5r9kYxQP6qu4hyphenhypheneQfrCvvcmJ2FaCHzWgRjvZ8QnfbpGf9IXGtvHJIrslInSLWvUzs3V29klHO_ceKVV8nTuHRqSiQuRVU5ALndMc4Mjlltyk8Y/s1600/tunnelpng2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8_iniE0DUmH_sZB53pEg4EVeU8lH2z5r9kYxQP6qu4hyphenhypheneQfrCvvcmJ2FaCHzWgRjvZ8QnfbpGf9IXGtvHJIrslInSLWvUzs3V29klHO_ceKVV8nTuHRqSiQuRVU5ALndMc4Mjlltyk8Y/s1600/tunnelpng2.png" height="133" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiH5T5HP7S0rVlwkUHA4wNkPrgW1T05yvAaWPRJYwyp8ln4RptTaawHS05PlohrmwqLZWLNc0BPDC3G951rdrbzNgS-r-PfIinbRXnb1w8scW5an232HUgKp2mNgGjnXk_C39s-biTtCac/s1600/tunnel.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><br /></a></div>
Tunnels are part of both CCNA and CCNP exams, so it is important to know them, and to know, what to do when they don't want to work. Here I collect the basic configurations for the tunnels which we will debug. I will not explain the configuration, if you need further explanation, please visit www.cisco.com and read the official manuals. <br />
<br />
<h3>
Basic Configuration</h3>
<h4>
R1</h4>
hostname R1 <br />
<br />
interface Serial1/0<br />
description LinkToR2<br />
ip address 200.0.0.1 255.255.255.252<br />
serial restart-delay 0<br />
no sh <br />
<br />
line con 0<br />
logging synchronous <br />
<br />
<br />
<br />
<h4>
R2</h4>
hostname R2 <br />
<br />
interface Serial1/0<br />
description LinkToR1<br />
ip address 200.0.0.2 255.255.255.252<br />
serial restart-delay 0<br />
no sh <br />
<br />
line con 0<br />
logging synchronous<br />
<br />
<h4>
</h4>
<h3>
GRE</h3>
<h4>
R1</h4>
interface Tunnel0<br />
description Tunnel<br />
ip address 192.168.1.1 255.255.255.0<br />
tunnel source Serial1/0<br />
tunnel destination 200.0.0.2<br />
<br />
<h4>
R2 </h4>
interface Tunnel0<br />
description Tunnel<br />
ip address 192.168.1.2 255.255.255.0<br />
tunnel source Serial1/0<br />
tunnel destination 200.0.0.1<br />
<br />
Verification:<br />
<br />
show logging <br />
%LINEPROTO-5-UPDOWN: Line protocol on Interface Tunnel0, changed state to down %LINEPROTO-5-UPDOWN: Line protocol on Interface Tunnel0, <span style="background-color: lime;">changed state to up</span> <br />
<h4>
<span style="font-weight: normal;"><b>R1#</b><i>show ip interface brief | include Tunnel0</i><br />Tunnel0 192.168.1.1 YES manual up <span style="background-color: lime;">up </span></span></h4>
<h4>
<span style="font-weight: normal;"><b>R2#</b><i>show ip interface brief | include Tunnel0</i><br />Tunnel0 192.168.1.2 YES manual up <span style="background-color: lime;">up</span></span></h4>
<h4>
<span style="font-weight: normal;"><b>R1#</b><i>ping 192.168.1.2</i><br /><br />Type escape sequence to abort.<br />Sending 5, 100-byte ICMP Echos to 192.168.1.2, timeout is 2 seconds:<br />!!!!!<br /><span style="background-color: lime;">Success rate is 100 percent (5/5)</span>, round-trip min/avg/max = 16/19/20 ms</span></h4>
<b>R2#</b><i>ping 192.168.1.1</i><br />
<br />
Type escape sequence to abort.<br />
Sending 5, 100-byte ICMP Echos to 192.168.1.1, timeout is 2 seconds:<br />
!!!!!<br />
<span style="background-color: lime;">Success rate is 100 percent (5/5)</span>, round-trip min/avg/max = 12/18/20 ms<br />
<h4>
</h4>
<h3>
IPsec</h3>
<h4>
R1</h4>
ip access-list extended IPSEC<br />
permit gre host 200.0.0.1 host 200.0.0.2<br />
<br />
crypto isakmp policy 1<br />
encr 3des<br />
hash md5<br />
authentication pre-share<br />
group 5<br />
crypto isakmp key secretpassw0rd address 200.0.0.2 <br />
<br />
crypto ipsec transform-set TRANSFORM esp-3des esp-md5-hmac<br />
<br />
crypto map MAP 10 ipsec-isakmp<br />
set peer 200.0.0.2<br />
set transform-set TRANSFORM<br />
match address IPSEC<br />
<br />
interface Serial 1/0<br />
crypto map MAP<br />
<br />
interface Tun0<br />
crypto map MAP <br />
<h4>
R2</h4>
ip access-list extended IPSEC<br />
permit gre host 200.0.0.2 host 200.0.0.1<br />
<br />
crypto isakmp policy 1<br />
encr 3des<br />
hash md5<br />
authentication pre-share<br />
group 5<br />
crypto isakmp key secretpassw0rd address 200.0.0.1 <br />
<br />
crypto ipsec transform-set TRANSFORM esp-3des esp-md5-hmac<br />
<br />
crypto map MAP 10 ipsec-isakmp<br />
set peer 200.0.0.1<br />
set transform-set TRANSFORM<br />
match address IPSEC<br />
<br />
interface Serial 1/0<br />
crypto map MAP<br />
<br />
interface Tun0<br />
crypto map MAP<br />
<br />
<br />
Verification:<br />
%CRYPTO-6-ISAKMP_ON_OFF: <span style="background-color: lime;">ISAKMP is ON</span><br />
<br />
<span style="background-color: white;"><b>R1#</b><i>ping 192.168.1.2</i><br /><br />Type escape sequence to abort.<br />Sending 5, 100-byte ICMP Echos to 192.168.1.2, timeout is 2 seconds:<br />!!!!!<br /><span style="background-color: lime;">Success rate is 100 percent</span> (5/5), round-trip min/avg/max = 20/21/28 ms</span><br />
<h4>
<span style="font-weight: normal;"><b>R2#</b><i>ping 192.168.1.1</i><br /><br />Type escape sequence to abort.<br />Sending 5, 100-byte ICMP Echos to 192.168.1.1, timeout is 2 seconds:<br />!!!!!<br /><span style="background-color: lime;">Success rate is 100 percent</span> (5/5), round-trip min/avg/max = 12/24/52 ms</span></h4>
( Before checking the counters, it could be a good idea to reset them: <i>clear ip access-list counters</i> ) <br />
<br />
<b>R2#</b><i>sh ip access-lists</i><br />
Extended IP access list IPSEC<br />
10 permit gre host 200.0.0.2 host 200.0.0.1 <span style="background-color: lime;">(15 matches)</span><br />
<br />
<b>R1#</b><i>sh ip access-lists</i><br />
Extended IP access list IPSEC<br />
10 permit gre host 200.0.0.1 host 200.0.0.2 <span style="background-color: lime;">(15 matches)</span><br />
<br />
<br />
<br />
So you just got a working IPsec over GRE tunnel, in the next posts, they will be unfunctional, so we have to repair them.<br />
<h4>
</h4>
<h4>
</h4>
<br />Danielhttp://www.blogger.com/profile/02019504154477147981noreply@blogger.com0tag:blogger.com,1999:blog-1388628165162360299.post-42912980960595517212014-08-12T12:14:00.002+02:002014-08-12T12:14:56.867+02:00During CCNP study<div class="separator" style="clear: both; text-align: center;">
<a href="http://cdn.meme.li/instances/500x/45049057.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://cdn.meme.li/instances/500x/45049057.jpg" height="213" width="320" /></a></div>
<br />Danielhttp://www.blogger.com/profile/02019504154477147981noreply@blogger.com0tag:blogger.com,1999:blog-1388628165162360299.post-51384689866344333782014-05-14T17:06:00.001+02:002014-05-14T17:06:03.134+02:00VOIP Kodekek sávszélesség-igénye<span style="color: #262626; font-family: arial, sans-serif; font-size: 13px; line-height: 16px;">Sávszélesség-igény egyszerű kiszámítása:</span><br />
<span style="color: #262626; font-family: arial, sans-serif; font-size: 13px; line-height: 16px;"><br /></span>
<span style="color: #262626; font-family: arial, sans-serif; font-size: 13px; line-height: 16px;"><br /></span>
<span style="color: #262626; font-family: arial, sans-serif; font-size: 13px; line-height: 16px;">( </span><span style="color: #262626; font-family: arial, sans-serif; font-size: 13px; line-height: 16px;">(kódoló sebessége)+(1000/időhossz csomagolás)*(RTP(12bájt)+IP(20bájt)+UDP(8bájt) overhead)*8 </span><span style="color: #262626; font-family: arial, sans-serif; font-size: 13px; line-height: 16px;">)/1000</span><br />
<span style="color: #262626; font-family: arial, sans-serif; font-size: 13px; line-height: 16px;"><br /></span>
<span style="color: #262626; font-family: arial, sans-serif; font-size: 13px; line-height: 16px;"><br /></span>
<span style="color: #262626; font-family: arial, sans-serif; font-size: 13px; line-height: 16px;">Példa:</span><br />
<span style="color: #262626; font-family: arial, sans-serif; font-size: 13px; line-height: 16px;"><br /></span>
<span style="color: #262626; font-family: arial, sans-serif; font-size: 13px; line-height: 16px;">GSM (13 kbit/sec), 20ms: 28.625 kbit/sec</span><br style="color: #262626; font-family: arial, sans-serif; font-size: 13px; line-height: 16px;" /><span style="color: #262626; font-family: arial, sans-serif; font-size: 13px; line-height: 16px;">GSM (</span><span style="color: #262626; font-family: arial, sans-serif; font-size: 13px; line-height: 16px;">13 kbit/sec</span><span style="color: #262626; font-family: arial, sans-serif; font-size: 13px; line-height: 16px;">), 60ms: 18.208 kbit/sec</span><br />
<span style="color: #262626; font-family: arial, sans-serif; font-size: 13px; line-height: 16px;">PCM, (64kbit/sec), 20 ms: 79,625 kbit/sec</span><br style="color: #262626; font-family: arial, sans-serif; font-size: 13px; line-height: 16px;" /><span style="color: #262626; font-family: arial, sans-serif; font-size: 13px; line-height: 16px;">PCM, </span><span style="color: #262626; font-family: arial, sans-serif; font-size: 13px; line-height: 16px;">(64kbit/sec), </span><span style="color: #262626; font-family: arial, sans-serif; font-size: 13px; line-height: 16px;">60 ms: 69,208 kbit/sec</span><br />
<span style="color: #262626; font-family: arial, sans-serif; font-size: 13px; line-height: 16px;">G.721 (ADPCM) (32kbit/sec), 20 ms: 47.625 kbit/sec</span><br style="color: #262626; font-family: arial, sans-serif; font-size: 13px; line-height: 16px;" /><span style="color: #262626; font-family: arial, sans-serif; font-size: 13px; line-height: 16px;">G.721 (ADPCM) </span><span style="color: #262626; font-family: arial, sans-serif; font-size: 13px; line-height: 16px;">(32kbit/sec)</span><span style="color: #262626; font-family: arial, sans-serif; font-size: 13px; line-height: 16px;">, 60 ms: 37.208 kbit/sec</span>Danielhttp://www.blogger.com/profile/02019504154477147981noreply@blogger.com0tag:blogger.com,1999:blog-1388628165162360299.post-15926407905605834262013-08-07T13:59:00.002+02:002013-08-07T15:45:48.741+02:00NATDet Log Parser<br />
<br />
I wrote a NATDet log parser to collect data from log files. It is written in PHP, so you need to install command-line php to run it. By default, it uses PGSQL, but with a small work you can rewrite it to use mysql.<br />
<br />
You can download it from SourceForge, the Database is ready to get data from NMap, so I'll update the script later to use that.<br />
<br />
<a href="https://sourceforge.net/projects/natdetlogparser/">Link to download</a>Danielhttp://www.blogger.com/profile/02019504154477147981noreply@blogger.com0tag:blogger.com,1999:blog-1388628165162360299.post-68124199222889988692013-08-07T11:06:00.002+02:002013-08-07T11:09:00.111+02:00Install NATdetI haven't found any tutorials about installing NATDet yet, so I just made one, it's very simple. Here is the official NATDet site: <a href="http://elceef.itsec.pl/natdet/">http://elceef.itsec.pl/natdet/</a> , there is a little documentation about it.<br />
<br />
<h3>
So, how to install: </h3>
<br />
1. You need to install some packages:<br />
<ul>
<li>pcap</li>
<li>bison</li>
</ul>
<br />
2. Install tcpdump<br />
<div>
<a href="http://www.tcpdump.org/">http://www.tcpdump.org/</a><br />
<br />
3. Install ncurses</div>
<div>
<ul>
<li>Download it: <a href="http://ftp.gnu.org/pub/gnu/ncurses/">http://ftp.gnu.org/pub/gnu/ncurses/</a> </li>
<li>Install: <a href="http://www.linuxfromscratch.org/lfs/view/development/chapter06/ncurses.html">http://www.linuxfromscratch.org/lfs/view/development/chapter06/ncurses.html</a> </li>
</ul>
</div>
<div>
<br />
4. Download and install NATDet</div>
<div>
Download: <a href="http://elceef.itsec.pl/natdet/">http://elceef.itsec.pl/natd</a><a href="http://elceef.itsec.pl/natdet/">et/</a> </div>
<div>
Install:<br />
<br />
<span style="color: blue;">./configure
<br />make<br />make install </span><br />
<span style="color: blue;"><br /></span></div>
<h3>
How to use it:</h3>
<div>
<br /></div>
<div>
First, you should set your network interface to promisc mode, if you want it to be automated, set it:</div>
<div>
/etc/network/interfaces</div>
<div>
<br /></div>
<div>
<div>
auto eth1</div>
<div>
iface eth1 inet manual</div>
<div>
up ifconfig eth1 promisc up</div>
<div>
down ifconfig eth1 promisc down</div>
</div>
<div>
<br /></div>
<div>
Then:<br />
<br /></div>
<div>
<span style="color: blue;">/etc/init.d/networking restart && ifup eth0 && ifup eth1</span></div>
<div>
<br /></div>
<div>
Now, your network interface reads every packages, so you can start using natdet:</div>
<div>
<br /></div>
<div>
As shown in the readme:<br />
<br /></div>
<span style="color: blue;">natdet -v -i eth0 'RULES'</span><br />
<div>
<br /></div>
<div>
-v : verbose</div>
<div>
-vv : more verbose</div>
<div>
-i : set interface</div>
<div>
-l : set log file</div>
<div>
-d : run in background</div>
<div>
<br /></div>
<div>
- RULES : You can set up rules like in tcpdump</div>
<div>
<br /></div>
<div>
And now, just wait, it needs some time to find users who use NAT.</div>
Danielhttp://www.blogger.com/profile/02019504154477147981noreply@blogger.com0tag:blogger.com,1999:blog-1388628165162360299.post-38574793845319107042013-07-15T19:24:00.004+02:002013-08-07T11:08:42.557+02:00Postfix behind Iptables masquerade (NAT)<div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><br /></span>
<span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">I've been working on a mail server behind iptables masquerade for some days, and it just didn't work, but I found the solution, it may help you.</span><br />
<span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><br /></span>
<span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">If you use SMTP server behind NAT, and you get the following errors:</span></div>
<ul>
<li>mail postfix/smtp[7854]: warning: host gmail-smtp-in.l.google.com[173.194.70.26]:25 greeted me with my own hostname mail.example.com</li>
<li>mail for gmail.com loops back to myself</li>
</ul>
<div>
you should check your iptables configuration. A proper port-forward config:<br />
<br /></div>
<pre style="background-color: white; font-size: 12px; padding: 0px; white-space: pre-wrap !important;"></pre>
<pre style="background-color: white; font-size: 12px; padding: 0px; white-space: pre-wrap !important;"></pre>
<div dir="ltr" style="margin-bottom: 0pt; margin-top: 0pt;">
<span style="color: #b45f06; font-family: Arial;"><span style="font-size: 15px; line-height: 17px; white-space: pre-wrap;"><i>iptables -A INPUT -p tcp -s 0/0 --sport 1024:65535 -d PUBLICIP --dport 25 -m state --state NEW,ESTABLISHED -j ACCEPT
iptables -t nat -A PREROUTING -p tcp --dport 25 -i eth0 -j DNAT --to MAILSERVERPRIVATEIP:25</i></span></span><br />
<span style="color: #b45f06; font-family: Arial;"><span style="font-size: 15px; line-height: 17px; white-space: pre-wrap;"><i><br /></i></span></span>
<span style="color: #b45f06; font-family: Arial;"><span style="font-size: 15px; line-height: 17px; white-space: pre-wrap;"><i>(Only forward packets from port 25 to your mail server's private IP port 25, if it comes from the outside.)</i></span></span></div>
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><br /></span>
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">You can test it on your mail server by telnetting to a foreign smtp server for example:</span><br />
<br />
<span style="font-family: Arial;"><span style="font-size: 15px; white-space: pre-wrap;"><i>telnet smtp.gmail.com 25</i></span></span><br />
<span style="font-family: Arial;"><span style="font-size: 15px; white-space: pre-wrap;"><br /></span></span>
<span style="font-family: Arial;"><span style="font-size: 15px; white-space: pre-wrap;">It should show:</span></span><br />
<span style="font-family: Arial;"><span style="font-size: 15px; white-space: pre-wrap;"><br /></span></span>
<span style="font-family: Arial; font-size: 15px; white-space: pre-wrap;"><span style="color: #6aa84f;">Trying 173.194.70.108...</span></span><br />
<span style="color: #6aa84f; font-family: Arial;"><span style="font-size: 15px; white-space: pre-wrap;">Connected to gmail-smtp-msa.l.google.com.</span></span><br />
<span style="color: #6aa84f; font-family: Arial;"><span style="font-size: 15px; white-space: pre-wrap;">Escape character is '^]'.</span></span><br />
<span style="color: #6aa84f; font-family: Arial;"><span style="font-size: 15px; white-space: pre-wrap;">220 mx.google.com ESMTP r54sm45040303eev.8 - gsmtp</span></span><br />
<span style="font-family: Arial;"><span style="font-size: 15px; white-space: pre-wrap;"><br /></span></span>
<span style="font-family: Arial;"><span style="font-size: 15px; white-space: pre-wrap;">If you see </span></span><br />
<span style="font-family: Arial;"><span style="font-size: 15px; white-space: pre-wrap;"></span></span>
<span style="font-family: Arial;"><span style="font-size: 15px; white-space: pre-wrap;"><br /></span></span><br />
<span style="font-family: Arial; font-size: 15px; white-space: pre-wrap;"><span style="color: red;">220- mail.yourdomain.com gsmtp</span></span><br />
<span style="font-family: Arial; font-size: 15px; white-space: pre-wrap;"><br /></span>
<span style="font-family: Arial; font-size: 15px; white-space: pre-wrap;">you config is not good yet.</span>Danielhttp://www.blogger.com/profile/02019504154477147981noreply@blogger.com1tag:blogger.com,1999:blog-1388628165162360299.post-75670581155133209122013-04-10T18:45:00.000+02:002013-04-10T18:46:41.689+02:00Cisco router Telnet DebugOn most of Cisco routers, debug informations via telnet is not enabled, so you will not see any debug information when connected via telnet.<br />
<br />
To enable it, you need to enable virtual terminal first:<br />
<span style="color: blue;"><i>Router#</i> terminal monitor</span><br />
<br />
Next, you have to enable debugging on virtual monitor:<br />
<br />
In privileged mode:<br />
<span style="color: blue;"><i>Router# </i>undebug all</span><br />
<div>
<br /></div>
<div>
In configuration mode:</div>
<div>
<i style="color: blue;">Router(config)# </i><span style="color: blue;">logging monitor debugging</span></div>
<span style="color: blue;"><i>Router(config)# </i>logging on</span><br />
<span style="color: blue;"><br /></span>
<br />
<div>
To disable it:</div>
<div>
<br /></div>
<div>
In privileged mode:<br />
<span style="color: blue;"><i>Router# </i>undebug all</span><br />
<span style="color: blue;"><i>Router#</i> terminal no monitor</span><br />
<br />
<div>
In configuration mode:</div>
<div>
<i style="color: blue;">Router(config)# </i><span style="color: blue;">no</span><i style="color: blue;"> </i><span style="color: blue;">logging monitor</span></div>
<br /></div>
Danielhttp://www.blogger.com/profile/02019504154477147981noreply@blogger.com0Budapest, Hungary47.497912 19.04023499999993947.1545075 18.394787999999938 47.8413165 19.68568199999994tag:blogger.com,1999:blog-1388628165162360299.post-68954222007952869182013-01-31T13:01:00.002+01:002013-01-31T13:01:39.696+01:00Counter Strike: GO Classic Competitive ,MapGroup not found'How to solve: ,,Mapgroup not found" error in CS:GO Classic Competitive:<br />
<br />
1.<br />
cd steam/csgo/csgo<br />
nano gamemodes_server.txt<br />
<br />
2.<br />
You should find a commented line, starting with a 2:<br />
2//some comment<br />
<br />
3.<br />
Delete 2 before the commetn:<br />
//some comment<br />
<br />
4.<br />
Restart server<br />
<br />
Now it should work, it's a bug, valve somehow left a ,,2" before the line, and because of that, the server thinks, that its the end-of-file, so the map groups are not loaded.<br />
<br />
<br />
<br />Danielhttp://www.blogger.com/profile/02019504154477147981noreply@blogger.com1tag:blogger.com,1999:blog-1388628165162360299.post-4169962229321295932013-01-18T16:26:00.003+01:002013-01-24T12:39:07.254+01:00Windows Server 2008 R2 RDP Port ChangeYou need to do 3 steps to enable and change RDP Port in Windows Server 2008, 2008R2, 2012. You need to do this, if you have more servers at the same IP address, behind a router.<br />
<br />
1st step: Enable RDP in System settings. You can go there by right clicking on Computer -> Propreties. Choose Advanced System Settings from the left side menu.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGWIkBePsaeD651myK7IDUlBWUaMfzrspgM5g3M_FE-fTh9LuR24EJHPzXIi-STLlcVFuSyqcQmfq3WcpUX5yGbSDAA9N6wuMse3ezsAIrKsmdJN5weBvcFvJmhNQupO4odG4SqvxEAHc/s1600/rdp-enable.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="300" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGWIkBePsaeD651myK7IDUlBWUaMfzrspgM5g3M_FE-fTh9LuR24EJHPzXIi-STLlcVFuSyqcQmfq3WcpUX5yGbSDAA9N6wuMse3ezsAIrKsmdJN5weBvcFvJmhNQupO4odG4SqvxEAHc/s400/rdp-enable.png" width="400" /></a></div>
<br />
<div class="separator" style="clear: both;">
2nd Step: Change RDP Port: Open the registry editor (regedit: open cmd -> regedit.exe). Select <i>HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TerminalServer\WinStations\RDP-Tcp\PortNumber . </i>Change to decimal mode, and change the port number, then click ok.</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkX8r3j6iovcRST5E-D3Hmuu96FKkeqpeR8Cg6N96USEYaUXaYRrwpmsf5eACfJZNODHzLkitdyQtEcCi6JQatljfA8GNL20hOtPd3A6_F922co14vhyuSL06JBrTYPEcqU8-6vW1Gy3k/s1600/rdp-port.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="300" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkX8r3j6iovcRST5E-D3Hmuu96FKkeqpeR8Cg6N96USEYaUXaYRrwpmsf5eACfJZNODHzLkitdyQtEcCi6JQatljfA8GNL20hOtPd3A6_F922co14vhyuSL06JBrTYPEcqU8-6vW1Gy3k/s400/rdp-port.png" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
3rd Step: Enable the new Port in the Firewall settings. Open Server Manager, Select Firewall Settings in the left menu, right click on Inbound Rouls -> New. Choose TCP, set Port number, and name it.</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9EA7Y5h3x2HOXOOb1NWteuRq2QgvVPeOt2HNjqKwkUU0lm__voC4xBkMM4rOHmBADUHguwzhgMKW1q5Bclm1TTvwEFQtWBEwY53-nywpDg_WXiiZ1yAJKPX_vUx2KtP9RwWq41HwgzO0/s1600/tcp_friewal.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="300" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9EA7Y5h3x2HOXOOb1NWteuRq2QgvVPeOt2HNjqKwkUU0lm__voC4xBkMM4rOHmBADUHguwzhgMKW1q5Bclm1TTvwEFQtWBEwY53-nywpDg_WXiiZ1yAJKPX_vUx2KtP9RwWq41HwgzO0/s400/tcp_friewal.png" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Thats all. After this you should restart your server, then everything should work fine. Default port for RDP is 3389 (TCP). Enjoy.</div>
<br />
<br />
<div>
<br /></div>
<div>
<br /></div>
Danielhttp://www.blogger.com/profile/02019504154477147981noreply@blogger.com0tag:blogger.com,1999:blog-1388628165162360299.post-77770504992045404102012-12-01T18:40:00.000+01:002013-01-24T12:38:49.309+01:00ISPConfig + NginX + PHP-FPM + multiple PHP versionsThis article is about setting up multiple PHP versions with PHP-FPM with nginx. Basically, its a note for myself, but maybe you can also use it. When this article was written, the stable PHP version was 5.4.9, so I will use that here.<br />
<br />
It's a testing configuration, there might be security bugs, so don't use it in production!<br />
<br />
This article is based on Ondřej Šimek's <a href="http://ondrejsimek.com/blog/running-multiple-php-versions-is-so-easy-with-fastcgi/">article</a>.<br />
<br />
So first of all, we need the actual PHP stable version, download it, unzip it, and copy it to /usr/local/src. After PHP 5.4.0, you don't need to patch. (if you need previous version, use Ondřej Šimek's tutorial for patching)<br />
<br />
<span style="color: blue;">wget http://www.php.net/get/php-5.4.9.tar.gz/from/a/mirror<br />tar xjf php-5.4.9.tar.gz</span><br />
<span style="color: blue;">mkdir /usr/local/src/php</span><br />
<span style="color: blue;">mkdir /usr/local/src/php/5.4.9</span><br />
<span style="color: blue;">mv php-5.4.9 /usr/local/src/5.4.9</span><br />
<br />
Next, we need to run ./configure, and compile it. I like to install php separately to /opt/php/5.4.9<br />
<br />
<span style="color: blue;">mkdir /opt/php</span><br />
<span style="color: blue;">mkdir /opt/php/5.4.9</span><br />
<br />
So run ./configure with the choosen options. You need at least these:<br />
--prefix=/opt/php/5.4.9<br />
--enable-fpm<br />
(--enable-fastcgi)<br />
--without-pear<br />
<br />
<span style="color: blue;">./configure --prefix=/opt/php/5.4.9 --enable-fpm --without-pear</span><br />
<br />
You may or may not need to use --enable-fastcgi, it depends on the php-version, as I can remember, since 5.3.0 you don't need to use, because it's a must-have option.<br />
<br />
After running configure, run:<br />
<br />
<span style="color: blue;">make & make install</span><br />
<br />
It will create some files in /opt/php/5.4.9. You may need to copy the recommended php.ini from the source folder:<br />
<br />
<span style="color: blue;">cp /usr/local/src/php-ini-production /opt/php/5.4.9</span><br />
<br />
Now, you need to change some configurations in the inis:<br />
<br />
<span style="color: blue;">nano /opt/php/5.4.9/etc/php-fpm</span><br />
<br />
ISPConfig uses listen port 9000, so you need to change it, to for example: 9001. You may want to set up logging, you can find several lines and settings about logging, its not hard to find.<br />
<br />
Now, you can start php-fpm:<br />
<br />
<span style="color: blue;">./opt/php/5.4.9/sbin/php-fpm</span><br />
<br />
Next, go to your admin panel (ISPConfig), go to System, and additional PHP versions (only available in ISPConfig 3.0.5!). Create a new php version:<br />
<br />
<span style="color: red;">FastCGI settings:</span><br />
<span style="color: red;">Binary: /opt/php/5.4.9/bin</span><br />
<span style="color: red;">PHP.ini directory: /opt/php/5.4.9</span><br />
<span style="color: red;"><br /></span>
<span style="color: red;">PHP-FPM settings:</span><br />
<span style="color: red;">init-script: /opt/php/5.4.9/etc</span><br />
<span style="color: red;">PHP.ini directory: /opt/php/5.4.9/</span><br />
<span style="color: red;">POOL directory: /opt/php/5.4.9</span><br />
<br />
Save it, then go to websites, and change PHP-version where you need. It will throw a ,,Bad Gateway" error, because you didn't edit the nginx settings:<br />
<br />
<span style="color: blue;">cd /etc/nginx/sites-available</span><br />
<span style="color: blue;">nano yoursite.vhost</span><br />
<br />
Then change the listen port to the port you defined earlier.<br />
<br />
<span style="color: red;">fastcgi_pass 127.0.0.1:9001</span><br />
<br />
At the and: reload nginx and hurray.<br />
<br />
<span style="color: blue;">/etc/init.d/nginx reload</span><br />
<br />
<span style="color: magenta;">HURRAY</span><br />
<span style="color: magenta;"><br /></span>
Now, I have to figure out how to automatise the port change in the .vhost files..<span style="color: magenta;"> </span><br />
<br />
<br />
<br />
<br />Danielhttp://www.blogger.com/profile/02019504154477147981noreply@blogger.com0tag:blogger.com,1999:blog-1388628165162360299.post-48948344291448479502012-10-14T21:51:00.002+02:002013-01-24T12:38:28.078+01:00Több COD4 szerver egy szerver fájljaibólIgen. A COD4-nek nem szükséges, hogy szerverenként felmásoljuk a szerverre a játék fájljait, így rengeteg helyet spórolhatunk meg. Egyszerüen elég, ha elhitetjük vele, hogy ott vannak a fájlok, ahol ő azt keresni fogja. Erre tökéleset megoldás a <a href="http://en.wikipedia.org/wiki/Symbolic_link">symlink </a>-ek használata.<br />
<div>
<br /></div>
<div>
Tehát a következőképpen kell használni:</div>
<div>
<br /></div>
ln -s target_path link_path<br />
<div>
<br /></div>
<div>
Tehát, tegyük fel, hogy szeretnénk 4 szervert, ehhez a következő mappa struktúrát vegyük fel:</div>
<div>
<br /></div>
<div>
cod4:</div>
<div>
-bin</div>
<div>
-28960</div>
<div>
-28961</div>
<div>
-28962</div>
<div>
-28963</div>
<div>
<br /></div>
<div>
A bin mappába másoljuk a gyári fájlokat, amik a dvd-n találhatóak ( main, mods stb.. ), majd töltsük le a legújabb (1.7) linux-os indítót ( lnxded ), ezt csomagoljuk ki, és másoljuk be mind a 4 mappába ( 28960 - 28963 ). </div>
<div>
<br /></div>
<div>
Ezután hozzuk létre a symlinkeket:</div>
<div>
<br /></div>
ln -s /cod4/vin/main main<br />
<div>
ln -s /cod4/bin/Mods Mods</div>
<div>
.</div>
<div>
.</div>
<div>
.</div>
<div>
Ezt szépen végig játszuk az összes mappával.</div>
<div>
<br /></div>
<div>
Ezután már csak létre kell hozni szerverenként a config fájlokat, illetve csinálhatunk egy indító fájlt. És már indíthatjuk is:</div>
<div>
<br /></div>
<div>
<span style="background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px;">screen -S cod4 ./cod4_lnxded +set sv_pure 1 +set net_port 28960 +set dedicated 2 +set sv_punkbuster 1 +exec server.cfg +map_rotate</span></div>
<div>
<span style="background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px;"><br /></span></div>
<div>
<span style="background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px;">screen -S cod4 ./cod4_lnxded +set sv_pure 1 +set net_port 28961 +set dedicated 2 +set sv_punkbuster 1 +exec server.cfg +map_rotate</span></div>
<div>
<span style="background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px;"><br /></span></div>
<div>
<span style="background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px;">screen -S cod4 ./cod4_lnxded +set sv_pure 1 +set net_port 28962 +set dedicated 2 +set sv_punkbuster 1 +exec server.cfg +map_rotate</span></div>
<div>
<span style="background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px;"><br /></span></div>
<div>
<span style="background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px;">screen -S cod4 ./cod4_lnxded +set sv_pure 1 +set net_port 28963 +set dedicated 2 +set sv_punkbuster 1 +exec server.cfg +map_rotate</span></div>
Danielhttp://www.blogger.com/profile/02019504154477147981noreply@blogger.com0tag:blogger.com,1999:blog-1388628165162360299.post-27026813435571884042012-10-13T23:21:00.002+02:002013-01-24T12:38:03.386+01:00Call of Duty 4 szerver LinuxonA szerver elkészítéséhez szükségünk van a játék dvd-n található fájlokra, pontosabban a setup/main mappára. Első lépésként töltsük fel a szerverre (például winscp -vel), ez eltarthat egy ideig a hálózati kapcsolatunk sebességétől függően.<br />
<br />
Telepítés:<br />
<br />
A cod4 előnye, hogy ha több szervert szeretnénk futtatni, azt megtehetjük <a href="http://kovacsdaniel.blogspot.hu/2012/10/tobb-cod4-szerver-egy-szerver-fajljaibol.html">,,osztott"</a> erőforrásokkal, tehát csak egy main könyvtárra lesz szükségünk, ez nagy segítség, hiszen 1-1 szerver akár 4-5 GB helyet is foglalna.<br />
<br />
( Ha több szervert szeretnél egyszerre érdemes <a href="http://kovacsdaniel.blogspot.hu/2012/10/tobb-cod4-szerver-egy-szerver-fajljaibol.html">EZT </a>is elolvasnod! )<br />
<br />
Feltöltés után hozzunk létre egy könyvtárat, például a usr mappában, de akár saját usert is hozzárendelhetünk a /home -ban. Biztonsági okokból ajánlott nem root-ként futtatni a szervereket.<br />
<br />
mkdir /usr/local/games/cod4<br />
<br />
Másoljuk át a fájlokat!<br />
<br />
Töltsük le a legfrissebb (1.7) binárisokat pl. <a href="http://www.shrapnet.com/downloads/cod4-linux-server-06282008.tar.bz2">innen</a>. (cod4 lnxded 1.7)<br />
<br />
wget http://www.shrapnet.com/downloads/cod4-linux-server-06282008.tar.bz2<br />
<br />
Ezután tömörítsük ki:<br />
<br />
tar -jxvf cod4-linux-server-06282008.tar.bz2<br />
<div>
<br /></div>
<div>
Ha minden jól megy, a következő fájlokat találjuk kicsomagolás után:</div>
<div>
<br /></div>
cod4_lnxded<br />
cod4_lnxded-bin<br />
libgcc_s.so.1<br />
libstdc + +. so.6<br />
README.linux<br />
pbsetup.run<br />
<div>
<br /></div>
<div>
Ezzel lényegében el is készültünk, most már csak konfigurálni kell.</div>
<div>
<br /></div>
<div>
Konfigurálás:</div>
<div>
<br /></div>
<div>
Ha szeretnénk, hogy a szerver fusson kijelentkezés után is, telepítsük a screen-t:</div>
<div>
<br /></div>
apt-get install screen<br />
<div>
<br /></div>
<div>
A screen egy ügyes kis program, röviden: képes több terminált emulálni:</div>
<div>
ctrl+a+c = új terminál<br />
ctrl+a+n = következő terminál</div>
<div>
További lehetőségek: man screen</div>
<div>
<br /></div>
<div>
Igény esetén létrehozhatunk egy indító fájlt, így indításkor csak le kell futtatnunk:</div>
<div>
<br /></div>
<div>
echo > cod4_starter.sh</div>
<div>
nano cod4_starter.sh</div>
<div>
<br /></div>
<div>
A következőket másoljuk bele:</div>
<div>
<br /></div>
screen -S cod4 ./cod4_lnxded +set sv_pure 1 +set net_port 28960 +set dedicated 2 +set sv_punkbuster 1 +exec server.cfg +map_rotate<br />
<div>
<br /></div>
<div>
röviden:</div>
<div>
<br /></div>
<div>
sv_pure 1 : a szerver ellenőrzi, hogy a játékosok fájljai nem ,,sérültek".</div>
<div>
net_port : port, ahol elérheted</div>
<div>
dedicated 2 :dedikált netes szerver</div>
<div>
sv_punkbuster : engedélyezed a pb-t</div>
<div>
exec: mindenféle fájlt megynittathatsz vele, pl configot is</div>
<div>
<br /></div>
<div>
A következő portokat érdemes felnyitni:</div>
<div>
<br /></div>
UDP 20800<br />
UDP 20810<br />
UDP 28960<br />
<div>
<br /></div>
<div>
A server.cfg fájlodat pedig ügyesen feltöltheted mindenféle csilivili beállítással, erre rengeteg generátor létezik, egyszerüen keress rá guglin: "cod4 server.cfg generator".</div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br />
<div>
<br />
<div>
<br /></div>
<div>
<br /></div>
</div>
</div>
Danielhttp://www.blogger.com/profile/02019504154477147981noreply@blogger.com1tag:blogger.com,1999:blog-1388628165162360299.post-52859865400165754432012-10-12T10:19:00.000+02:002013-01-24T12:37:40.038+01:00STEAMCMD Segmentation faultIf you use SteamCMD on Hardened Gentoo, you need some additional security configuration otherwise it will throw:<br />
<br />
<span style="color: red;">./steam.sh: line 67: 22525 Segmentation fault ${DEBUGGER}</span><br />
<div>
<span style="color: red;">"${STEAMROOT}"/${PLATFORM}/${STEAMEXE} "$@"</span></div>
<div>
<span style="color: red;"><br /></span></div>
<div>
It throws because of PaX. <a href="http://www.gentoo.org/proj/en/hardened/pax-quickstart.xml">PaX</a> is a security layer of hardened gentoo, which helps to prevent some attacks. We will user paxctl, For more informations:</div>
<div>
<br /></div>
<div>
<span style="color: blue;">man paxctl</span></div>
<div>
<br /></div>
<div>
So first, go to steamcmd (usually it's in /ga/me/folder/steam/linux32)</div>
<div>
<br /></div>
<div>
<span style="color: blue;">cd </span>/ga/me/folder/<span style="color: red;">steam/linux32</span></div>
<div>
<br /></div>
<div>
You can check pax flags:</div>
<div>
<br /></div>
<div>
<span style="color: blue;">paxctl -v steamcmd</span></div>
<div>
<br /></div>
<div>
<div>
PaX control v0.7</div>
<div>
Copyright 2004,2005,2006,2007,2009,2010,2011,2012 PaX Team <pageexec@freemail.hu></div>
</div>
<div>
<br /></div>
<div>
Then you need to set up some flags:</div>
<div>
<pre style="font-family: monospace, 'Courier New'; font-size: 0.9em; overflow: auto; padding: 0.5em;">-x: disable RANDEXEC
-e: disable EMUTRMA</pre>
<pre style="font-family: monospace, 'Courier New'; font-size: 0.9em; overflow: auto; padding: 0.5em;"><span style="color: blue;">paxctl -ex steamcmd</span></pre>
<pre style="font-family: monospace, 'Courier New'; font-size: 0.9em; overflow: auto; padding: 0.5em;">Then check flags:</pre>
<pre style="font-family: monospace, 'Courier New'; font-size: 0.9em; overflow: auto; padding: 0.5em;"><span style="color: blue;">paxctl -v steamcmd</span></pre>
<blockquote class="tr_bq">
<span style="font-family: monospace, Courier New;"><span style="font-size: 14px;">PaX control v0.7</span></span><br />
<blockquote>
<span style="font-family: monospace, Courier New;"><span style="font-size: 14px;">Copyright 2004,2005,2006,2007,2009,2010,2011,2012 PaX Team </span></span><span style="font-family: monospace, 'Courier New'; font-size: 14px;"><pageexec@freemail.hu></span> </blockquote>
</blockquote>
<blockquote class="tr_bq">
<blockquote>
<span style="font-family: monospace, 'Courier New'; font-size: 14px;">- PaX flags: -------x-e-- [steamcmd]</span><br />
<blockquote>
<span style="font-family: monospace, Courier New;"><span style="font-size: 14px;"> RANDEXEC is disabled</span></span><span style="font-family: monospace, Courier New;"><span style="font-size: 14px;"> EMUTRAMP is disabled</span></span></blockquote>
</blockquote>
</blockquote>
</div>
<div>
<br />
<br />
<span style="color: red;">Update:</span><br />
<span style="color: red;">Keep in mind: If you update steam, you have to do this again! (The updater will download a new steamcmd, so there will be no PaX headers!)</span></div>
Danielhttp://www.blogger.com/profile/02019504154477147981noreply@blogger.com0tag:blogger.com,1999:blog-1388628165162360299.post-45857022199189756812012-09-30T14:04:00.002+02:002013-01-24T12:37:18.691+01:00Gentoo: Apache does not interpreting PHPIf you use Gentoo/CentOS with Apache2 and PHP, and PHP is not interpreted, you should do the followings:<br />
<br />
Open Apache2's configurations:<br />
nano /etc/conf.d/apache2<br />
<br />
Change the line:<br />
APACHE2_OPTS="-D DEFAULT_VHOST -D INFO -D SSL -D SSL_DEFAULT_VHOST -D <span style="color: red;">LANGUAGE -D PHP5</span> -D USERDIR"<br />
<br />
After changing the line, don't forget to restart Apache:<br />
/etc/init.d/apache2 restart<br />
<br />
Now it should work!Danielhttp://www.blogger.com/profile/02019504154477147981noreply@blogger.com0tag:blogger.com,1999:blog-1388628165162360299.post-90075872743937682132012-08-26T22:11:00.002+02:002012-09-11T14:54:53.865+02:00Counter Strike: Global Offensive szerver készítés linuxonA következő cikkben bemutatom, hogy hogyan lehet Counter Strike: GO szervert telepíteni Linuxra. Első lépésként, ha még nem tettük volna meg, telepítsük a SteamCMD-t. A SteamCMD telepítéséről <a href="http://kovacsdaniel.blogspot.hu/2012/08/steamcmd-letoltese-es-beallitasa-linuxon.html">itt </a>olvashatsz.<br />
<br />
<h3>
Telepítés:</h3>
<br />
Adjuk meg a telepítési útvonalat, például:<br />
<span style="color: blue;">force_install_dir ./cs_go/</span><br />
<br />
<i>Némelyik Linux disztribúción hibásan működik, ha a telepítési útvonalban nagy betűket használunk, erre figyeljünk oda!</i><br />
<br />
Adjuk meg, hogy melyik játékot szeretnénk telepíteni, ez CS:GO esetében <i>740</i>-es kód:<br />
<span style="color: blue;">app_update 740 validate</span><br />
<br />
Ezután, ha a játék még nincs telepítve, akkor letölti a szükséges fájlokat, ha telepítve van, akkor megpróbálja frissíteni a játékot. Ha használjuk a <i>validate</i> kulcsszót, ellenőrzi a fájlok konzisztenciáját. (Később ezzel a paranccsal tudjuk frissíteni a szervert! Az útvonal megadása ez esetben is kötelező!)<br />
<br />
Váltsunk a cs_go mappába:<br />
<span style="color: blue;">cd cs_go</span><br />
<div>
<br /></div>
<div>
<h3>
Beállítások:</h3>
</div>
<div>
A <i>csgo</i> mappán belül találjuk a beállításokat tartalmazó .txt kiterjesztésű fájlokat, itt főként a játékmenetet befolyásoló beállítások vannak.<br />
<br />
A <i>csgo/cfg</i> mappán belül kell elhelyezni a <i>server.cfg</i> nevű fájlt, alap esetben nem hozza létre, ezt nekünk kell megtenni: ( Ha nem tesszük meg, semmi gond, az alap beállításokat fogja használni! ).<br />
<br />
<span style="color: blue;">cd csgo/cfg</span><br />
<span style="color: blue;">echo > server.cfg</span><br />
<br />
Ide másoljuk be a következőket:<br />
<br />
<span style="color: blue;">hostname "Counter-Strike: Global Offensive Dedicated Server" // a szervered neve</span></div>
<div>
<span style="color: blue;">rcon_password "yourrconpassword" //rcon jelszó</span></div>
<div>
<span style="color: blue;">sv_password "" //szerver jelszó</span><br />
Ezeken felül további beállításokat is használhatsz:</div>
<div>
<br /></div>
<div>
<span style="color: blue;">mp_freezetime 5 //Vásárlási idő</span></div>
<div>
<span style="color: blue;">mp_join_grace_time 15 //Mennyi ideig lehet még csatlakozni kezdés után</span></div>
<div>
<span style="color: blue;">mp_match_end_restart 0 // Meccs végi pálya restart </span></div>
<div>
<span style="color: blue;">sv_cheats 0 //Csalás kikapcsolása</span></div>
<div>
<span style="color: blue;">sv_lan 0 //LAN mód kikapcsolása</span></div>
<div>
<br /></div>
<div>
A következő bot beállítások a szerver alap beállításai:</div>
<div>
<br /></div>
<div>
<span style="color: blue;">bot_difficulty 1 </span></div>
<div>
<span style="color: blue;">bot_chatter "off" </span></div>
<div>
<span style="color: blue;">bot_join_after_player 1</span></div>
<div>
<span style="color: blue;">bot_quota 10 </span></div>
<div>
<span style="color: blue;">bot_quota_mode "fill"</span></div>
<div>
<br /></div>
<div>
A következő beállításokkal bannolhatunk játékosokat a szerverről:</div>
<div>
<br /></div>
<div>
<span style="color: blue;">writeid </span></div>
<div>
<span style="color: blue;">writeip </span></div>
<div>
<span style="color: blue;">exec banned_user.cfg </span></div>
<div>
<span style="color: blue;">exec banned_ip.cfg</span><br />
<br />
<br />
A csgo/config appán belül pedig a szerverrel kapcsolatos beállítások, például itt állíthatjuk be a szervert nevét, jelszavát.<br />
<br />
<br />
<h3>
Indítás</h3>
<br />
<div>
Az indításhoz lépjünk be a steam/cs_go mappába:<br />
<span style="color: blue;">cd steam/cs_go</span><br />
<br />
A játék 4 féle játékmódot támogat, ezek alapján a következőképpen lehet elindítani a szervert:<br />
<br />
<br />
Classic Casual:</div>
<div>
<span style="color: blue;">./srcds -game csgo -console -usercon +game_type 0 +game_mode 0 +mapgroup mg_bomb +map de_dust</span><br />
<br />
Classic Competitive:</div>
<div>
<span style="color: blue;">./srcds -game csgo -console -usercon +game_type 0 +game_mode 1 +mapgroup mg_bomb +map de_dust </span><br />
<br />
Arms Race:</div>
<div>
<span style="color: blue;">./srcds -game csgo -console -usercon +game_type 1 +game_mode 0 +mapgroup mg_armsrace +map ar_shoots</span><br />
<br />
Demolition:</div>
<div>
<span style="color: blue;">./srcds -game csgo -console -usercon +game_type 1 +game_mode 1 +mapgroup mg_demolition +map de_lake</span></div>
<br />
<br />
<br />
<h3>
Egyéb</h3>
<div>
Igény esetén lehet saját MOTD-t beállítani:<br />
csgo mappában<br />
<br />
<span style="color: blue;">echo > motd.txt</span><br />
<br />
ide írhatunk be pl. egy weblap címét, melyet böngésző-szerűen fog megjeleníteni<br />
<br />
A játék admin oldali része, illetve beállításai szinte megegyeznek a Counter Strike: Source beállításaival.<br />
<br />
<br />
<b><i>A tutorial az eredeti Steam-es <a href="https://developer.valvesoftware.com/wiki/Counter-Strike:_Global_Offensive_Dedicated_Servers">ajánlás </a>alapján készült.</i></b></div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
Danielhttp://www.blogger.com/profile/02019504154477147981noreply@blogger.com0tag:blogger.com,1999:blog-1388628165162360299.post-69676764997099289272012-08-26T22:05:00.002+02:002012-10-12T10:20:17.400+02:00SteamCMD letöltése és beállítása linuxonAz új Steam-es játékok telepítéséhez már nem tudjuk a HLDSUpdateTool -t használni, az új eszköz a SteamCMD lett. Telepítése roppant egyszerű, néhány lépés az egész:<br />
<div>
<br />
<br /></div>
<div>
Első lépésként töltsük le a becsomagolt telepítőt, majd csomagoljuk ki:</div>
wget <a href="http://blog.counter-strike.net/wp-content/uploads//2012/04/steamcmd.tar.gz">http://blog.counter-strike.net/wp-content/uploads//2012/04/steamcmd.tar.gz</a><br />
tar xvfz steamcmd.tar.gz <br />
<div>
<br /></div>
<div>
Indítsuk el a telepítőt:</div>
<div>
./linux32/steamcmd<br />
<br />
Indítás után pedig a következő paranccsal tudunk belépni:</div>
STEAMEXE=steamcmd ./steam.sh<br />
<div>
<br /></div>
<div>
Indítás után a már meglévő Steam felhasználónevünkkel és jelszavunkkal be kell lépni, ezt a következő formában tudjuk megtenni:</div>
<div>
<pre class="de1" style="background-color: #d8d7d6; background-image: none; border-bottom-color: white; border-bottom-style: none; border-bottom-width: 0px; border-left-style: none !important; border-right-color: white; border-right-style: none; border-right-width: 0px; border-top-color: white; border-top-style: none; border-top-width: 0px; color: #262626; font-size: 13px; line-height: 1.2em; overflow: auto; padding: 0px; vertical-align: top;">login <username> <password></pre>
<div>
<br /></div>
</div>
<div>
Ha belépéskor hibát jelezne, akkor az email-ben kapott SteamGuard kódot is írjuk utána:</div>
login <username> <password> <steam guard code><br />
<div>
<br /></div>
<div>
Sikeres bejelentkezés után már telepíthetjük is a kiválasztott játékokat!<br />
<br />
Ha Hardened Gentoo -t használunk, még kell néhány biztonsági <a href="http://kovacsdaniel.blogspot.hu/2012/10/steamcmd-segmentation-fault.html">beállítás</a>.</div>
<br />
<div>
<br /></div>
<div>
<br /></div>
Danielhttp://www.blogger.com/profile/02019504154477147981noreply@blogger.com0tag:blogger.com,1999:blog-1388628165162360299.post-32028432152108413772012-08-01T20:35:00.000+02:002012-08-01T20:42:58.849+02:00Asterisk telepítés Debian-ra<h3>
Asterisk:</h3>
<div>
<br /></div>
Az Asterisk egy ingyenes, open-source kommunikációs szoftver, főként Linux operációs rendszerekre. További információ található a hivatalos <a href="http://www.asterisk.org/home">oldalon</a>.<br />
<br />
<h3>
Az Asterisk-et kétféle módon telepíthetjük:</h3>
<div>
<br /></div>
1. Telepítjük a csomagkezelő által felajánlott verziót. A csomagkezelő <a href="http://packages.debian.org/squeeze/asterisk">oldalán</a> találhatunk információkat az éppen aktuális verzióról. A cikk írásakor a támogatott verzió az 1.6 volt, mely már egy kicsit elavultnak tekinthető, de ha valaki most ismerkedik a rendszerrel, annak tökéletes lehet, hiszen nem megy el idő a telepítési bajlódással. A telepítési fázisok itt érhetőek el.<br />
<br />
2. Letöltjük a forráskódot és lefordítjuk a gépünkön. Ez egy kicsit több időt vesz igénybe, de éles rendszernél mindenképpen ajánlott kiválaszthatjuk, hogy milyen csomagokat (pl. codec-eket, és egyéb szolgáltatásokat) szeretnénk telepíteni, így csökkentve az erőforrás használatot. <a href="http://kovacsdaniel.blogspot.hu/2012/08/asterisk-telepites-forrasbol.html">A telepítési fázisok itt érhetőek el.</a><br />
<br />
Érdemes megemlíteni, hogy létezik egy FreePBX nevű eszköz, melyet egy telepített Asterisk-es rendszerhez kell kötnünk. Ez egy remek eszköz a rendszer monitorozására, illetve menedzselésére. <a href="http://kovacsdaniel.blogspot.hu/2012/08/freepbx-telepites-debian-ra.html">A FreePBX telepítésére itt olvashatsz bővebben.</a><br />
<br />
<br />
<br />Danielhttp://www.blogger.com/profile/02019504154477147981noreply@blogger.com0tag:blogger.com,1999:blog-1388628165162360299.post-12581575082980870142012-08-01T20:32:00.001+02:002012-08-01T23:49:47.098+02:00FreePBX telepítés Debian-raA <a href="http://www.freepbx.org/">FreePBX </a>nem más, mint egy GUI az Asterisk vezérléséhez. Ha gyakran kell állítani a rendszeren, érdemes használni, hiszen nem kell a <i>.conf</i> fájlokban turkálni. Emellett elég sok adatot képes megjeleníteni a rendszerről: felhasználók, terhelés, elérhető frissítések, stb. .<br />
<br />
A telepítése roppant egyszerű, szükséges hozzá PHP5, és MySQL. Állítólag a PHP5.4-et nem igazán kedveli, nekem nem volt vele problémám.<br />
<br />
<h3>
Letöltés/előkészítés:</h3>
<div>
<br /></div>
Telepítsük a PHP-t, és MySQL-t:<br />
<br />
<b>apt-get install php5-mysql libapache2-mod-php5 mysql-server php-db php5-gd php-pear</b><br />
<br />
<div>
Váltsunk a tmp mappába:<br />
<b>cd /tmp</b><br />
<br />
Töltsük le az épp használatos verziót, jelenleg ezek közül lehet ávlasztnai:<br />
<i>A 2.9-es csak 1.8 ig támogatja az Asterisket!</i><br />
<br />
<b>wget http://mirror.freepbx.org/freepbx-2.9.0.tar.gz</b><br />
<b>wget http://mirror.freepbx.org/freepbx-2.10.0.tar.gz</b><br />
<br />
Váltsunk az src mappába, csomagoljuk ki, és lépjünk bele:<br />
<br />
<b>cd /usr/src</b><br />
<b>tar xvfz /tmp/freepbx-2.10.0.tar.gz </b></div>
<div>
<b>cd freepbx-2.10.0</b></div>
<div>
<br />
Készítsük elő a MYSQL adatbázisokat:<br />
<div>
<br />
<b>mysql -u root -p<br />create database asterisk;<br />create database asteriskcdrdb;</b><br />
<br />
<b>GRANT ALL PRIVILEGES ON asterisk.* TO asteriskuser@localhost IDENTIFIED BY 'amp109';<br />GRANT ALL PRIVILEGES ON asteriskcdrdb.* TO asteriskuser@localhost IDENTIFIED BY 'amp109'; flush privileges; </b></div>
<div>
<b>quit</b><br />
<br />
Töltsük be a szükséges SQL táblákat:</div>
<div>
<br />
<b>mysql -u root -p asterisk < SQL/newinstall.sql </b></div>
<div>
<b>mysql -u root -p asteriskcdrdb < SQL/cdr_mysql_table.sql</b></div>
<br />
Szükséges felhasználó létrehozása</div>
<div>
<br /></div>
<b>groupadd asterisk<br />
useradd -c "PBX asterisk" -d /var/lib/asterisk -g asterisk asterisk<br />
passwd asterisk</b><br />
<div>
<br /></div>
<div>
Ha még nem lennének meg a könyvtárak, akkor hozzuk létre:</div>
<div>
<br /></div>
<div>
<b>mkdir /var/run/asterisk<br />chown asterisk:asterisk /var/run/asterisk</b><br />
<div>
<br /></div>
<div>
Adjuk hozzá az asterisk usert a www-data csoporthoz:</div>
<div>
<br /></div>
<div>
<b>nano /etc/group</b></div>
<div>
<b>www-data:x:33:asterisk</b></div>
<div>
<b>(f2-vel tudsz menteni és bezárni)</b></div>
<div>
<br /></div>
<div>
<b>nano /etc/apache2/apache2.conf</b></div>
<div>
(ctrl+w- vel tudsz keresni)</div>
<div>
<br /></div>
<div>
Most be kell állítani, hogy az Apache az asterisk user nevében fusson:</div>
<div>
Cseréld le a következő sorokat:</div>
<div>
User www-data</div>
<div>
Group www-data</div>
<div>
erre:</div>
<div>
User asterisk</div>
<div>
Group asterisk</div>
<div>
<br /></div>
<div>
(Lehet, hogy a User és Group után valami $-os szöveg van, azt törölheted, de a legegyszerűbb ha simán kommenteled(#).</div>
<div>
<br /></div>
<div>
<b>chown -R asterisk /var/lib/php5</b><br />
<br />
Változtassuk meg a php.ini beállításait, kicsit ki kell bővíteni:<br />
<br />
<b>
nano /etc/php5/apache2/php.ini</b><br />
upload_max_filesize = 32M<br />
max_execution_time = 120<br />
max_input_time = 120<br />
<br />
<pre style="background-color: white; font-size: 1.1em; overflow: auto;"><code style="font-size: 1.1em;">
</code></pre>
<div>
Fontos, hogy a telepítés megkezdése előtt mindenképpen készítsünk biztonsági mentést a modules.conf fájlról!<br />
<br />
<b>cp /etc/asterisk/modules.conf ~/asterisk-modules.conf</b><br />
<br />
<br />
<h3>
Telepítő elindítása:</h3>
</div>
<div>
<br /></div>
<b>./install_amp</b><br />
A telepítő menet közben meg fog kérdezni néhány dolgot, a többségét hagyhatjuk alapbeállításon, egyedül az IP címet érdemes megváltoztatni, illetve a telepítés helyét. A telepítés helyénél figyeljünk arra, hogy a /var/www/mappanev helyre kerüljön, ha ezen belül egy almappába kerül, akkor még szöszölni kell vele.</div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<span style="color: red;">Bug:</span></div>
<div>
<span style="color: red;">Előfordul, hogy Asterisk telepítésénél a ,,make sample" módot választjuk, ekkor legenerálja a sok .config fájlt, amire szükségünk lesz, és default beállításokkal szolgál. Viszont ezen verzió telepítője szépen kihagy néhány fájlt, ezért pl.: FreePBX nem képes csatlakozni Asterisk-hez (Asterisk nem képes feldolgozni a manager.conf fájlt). A FreePBX-es problémát a következő képpen tudjuk megoldani:</span></div>
<div>
<span style="color: red;"><br /></span></div>
<div>
<span style="color: red;">nano /etc/asterisk/manager.conf</span></div>
<div>
<span style="color: red;"><br /></span></div>
<div>
<span style="color: red;">A fájl végén látunk két include-ot (# az elején). Ezeket a fájlokat elfelejti létrehozni, ezért vagy hozzuk létre, vagy ;-vel kommentezzük ki. A fájlok tartalma nem létfontosságú, csak a szeparálhatóság végett fontos.</span><br />
<span style="color: red;"><br /></span><br />
<span style="color: red;">nano /etc/asterisk/sip.conf</span>
<br />
<span style="color: red;"><br /></span><br />
<span style="color: red;">A fájl végéhez adjuk hozzá:</span><br />
<span style="color: red;">#include sip_additional.conf</span><br />
<span style="color: red;"><br /></span><br />
Ha minden jól ment, akkor kész a GUI, valami ilyesmit kéne kapni:<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiarG7gmp3U7efeDhEQWBB1PV0grg_B0lrr3wPGYWvgLCvThMoNuQx-piJyDfMquNNK3etY3B01x5YLN7n6Ncv5urnBj3Z5Vz44-82EpRdzDG9tbjuxWt87ZmJySE6jkOoQfP6s8ywc_4s/s1600/kesz.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="640" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiarG7gmp3U7efeDhEQWBB1PV0grg_B0lrr3wPGYWvgLCvThMoNuQx-piJyDfMquNNK3etY3B01x5YLN7n6Ncv5urnBj3Z5Vz44-82EpRdzDG9tbjuxWt87ZmJySE6jkOoQfP6s8ywc_4s/s640/kesz.jpg" width="563" /></a></div>
<span style="color: red;"><br /></span><br />
<div>
<br /></div>
<div>
<br /></div>
</div>
</div>Danielhttp://www.blogger.com/profile/02019504154477147981noreply@blogger.com0tag:blogger.com,1999:blog-1388628165162360299.post-12051698465841174542012-08-01T13:28:00.000+02:002012-08-01T23:50:14.607+02:00Asterisk telepítés: forrásból<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://w4.allcom.hu/files/2010/05/asterisk_logo.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" height="177" src="http://w4.allcom.hu/files/2010/05/asterisk_logo.png" width="320" /></a></div>
<br />
<br />
A következő cikkben az Asterisk telepítését járjuk végig, ebben a telepítésben a hivatalos oldalon található forrásokból fogunk fordítani. Nem csak az Asterisk-et, hanem a hozzá tartozó kiegészítőket is. Elsőként töltsük le az Asterisk <a href="http://www.asterisk.org/downloads">oldaláról </a>a szükséges fájlokat.<br />
<br />
<h3>
Letöltések:</h3>
<u>Asterisk forrás</u><br />
<i>Mindenképpen szükséges letölteni.</i><br />
<i><br /></i><u>DAHDI Linux / DAHDI Tools </u><br />
<i>(Digium/Asterisk Hardware Device Interface), Digium és néhány más gyártó által készített, főleg PCI-os kártyák vezérléséhez használt interfész, ezt akkor telepítsük, ha tervezünk ilyen kártyát használni (pl.: <a href="http://www.digiumcards.com/digium_cards_combos.html">FXO</a>: összeköti a rendszert a PSTN (telefonos) hálózattal. Régebben Zaptel néven futott. A complete verziót töltsük le, így egyben megkapjuk a DAHDI Linux és DAHDI Tools fáljait.</i><br />
<br />
<u>LibPRI </u><br />
<i>Open -source könyvtár, segítségével kapcsolódhatunk ISDN hálózatra, ileltve használhatjuk az ISDN-PRI és ISDN-BRI <a href="http://en.wikipedia.org/wiki/Primary_Rate_Interface">protokollokat</a>.</i><br />
<br />
<u>LibSS7 </u><br />
<i>Az <a href="http://en.wikipedia.org/wiki/Signalling_System_7">SS7 </a> protokoll használatát teszi lehetővé.</i><br />
<br />
Ezeket az eszközöket nem árt ha telepítjük, többnyire használni is fogjuk őket. A telepítésükkor szükséges a sorrendet betartani:<br />
LibPRI -> DAHDI Linux/ DAHDI Tools -> LibSS7-> Asterisk<br />
<br />
<h3>
Telepítés:</h3>
Elsőként telepítenünk kell néhány csomagot (előfordulhat, hogy már telepítve van némelyik, ez esetben haladjunk tovább), ezek a következők lesznek:<br />
<br />
bison<br />
ncurses-dev<br />
libssl-dev<br />
libnewt-dev<br />
zlib1g-dev<br />
<a href="http://wiki.debian.org/initramfs-tools">initramfs-tools</a> <br />
cvs<br />
procps<br />
<br />
Ezeket a szokásos csomagkezelővel telepíthetjük a következő formában:<br />
<br />
<b>apt-get install csomagnev</b><br />
<br />
A /usr/src mappában hozzunk létre egy asterisk nevű mappát:<br />
<br />
<b>mkdir /usr/src/asterisk</b><br />
<br />
Majd a letöltött forrásokat csomagoljuk ki. A mappanevek a verziószámok változásával változnak, így a verziókat nem írom ki.<br />
<br />
Most egyesével telepítjük a kiegészítő csomagokat:<br />
1. LibPRI:<br />
<b>cd /usr/src/asterisk/libpri</b><br />
<b>make</b><br />
<b>make install</b><br />
<b>cd ..</b><br />
<br />
2. DAHDI Linux<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjn0l7r4ZqoiRSMJ6_aGXpobk857QDGv_5sArQEnxDdutv3Ywy3M-tVGBlYdJ8NA1G7NR__Jx_bL3QSZig2TStbfZZuqCOxKEeR86s3n3E26sKsEhUJtrlIrSdAhhgpQJyzA9I7OutIfi0/s1600/dahdi.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" height="101" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjn0l7r4ZqoiRSMJ6_aGXpobk857QDGv_5sArQEnxDdutv3Ywy3M-tVGBlYdJ8NA1G7NR__Jx_bL3QSZig2TStbfZZuqCOxKEeR86s3n3E26sKsEhUJtrlIrSdAhhgpQJyzA9I7OutIfi0/s320/dahdi.jpg" width="320" /></a></div>
<b>cd /usr/src/asterisk/DAHDI</b><br />
<b>make</b><br />
<b>make install</b><br />
<b>make config</b><br />
<b>cd ..</b><br />
<br />
3.LibSS7<br />
<b>cd /usr/src/asterisk/LibSS7</b><br />
<b>make</b><br />
<b>make install</b><br />
<b>cd ..</b><br />
<br />
Most jön az Asterisk telepítése:<br />
A telepítés elkezdése előtt bizonyosodjunk meg róla, hogy van c++ fordító telepítve, ha nincs:<br />
<br />
<b>apt-get install g++</b><br />
<br />
Az Asterisk alap beállításként SQLite3 adatbázist használ, ezt is telepíteni kell:<br />
<br />
<b>apt-get install sqlite3 libsqlite3-dev</b>
<br />
<br />
<b>cd /usr/src/asterisk/asterisk</b><br />
<b>make clean</b><br />
<b>./configure --disable-xmldoc</b><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEZx6PHKh4nOukAqKd1xDahHgOt6Nvo_JEvbAKiQD4xmWkoZoyPKjXPwVv-fA7OL99FsJSPNBSpsl2PeH4Ff91udUtXKVkUzOHQH2bJfQGvIX7qEW-gcjEghdCqvKJwpAx_irGdJgkoOk/s1600/make+install.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEZx6PHKh4nOukAqKd1xDahHgOt6Nvo_JEvbAKiQD4xmWkoZoyPKjXPwVv-fA7OL99FsJSPNBSpsl2PeH4Ff91udUtXKVkUzOHQH2bJfQGvIX7qEW-gcjEghdCqvKJwpAx_irGdJgkoOk/s320/make+install.jpg" width="303" /></a></div>
Ez eltart egy kis ideig, ha bármilyen hiba keletkezne, a végén kiírja, így javíthatjuk a hibákat. Ha sikeresen lefutott, igény szerint kiadhatjuk a<br />
<br />
<b>make menuselect</b><br />
<br />
parancsot, ezzel egy GUI-s felületet kapunk, itt tudunk beállítani pl.: addonokat, különböző codec-eket és további kiegészítőket. Végül:<br />
<br />
<b>make install</b><br />
<br />
<br />
<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinFcQc8jQ8EdvoIP-FI4V6JOWcOJ2bhV1D1FkL_cFlnfgL7B_tFCvXGPbZ9O0o6nyZDyRkYKvoiqnV4cVLa8eBMo5nPQgXPVBvHSeqh4BfylMjuRQ_sWb7n3XTA27jJtE5caH2JkiMLus/s1600/end.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="268" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinFcQc8jQ8EdvoIP-FI4V6JOWcOJ2bhV1D1FkL_cFlnfgL7B_tFCvXGPbZ9O0o6nyZDyRkYKvoiqnV4cVLa8eBMo5nPQgXPVBvHSeqh4BfylMjuRQ_sWb7n3XTA27jJtE5caH2JkiMLus/s320/end.jpg" width="320" /></a><br />
<br />
A telepítés végén felajánlja, hogy készít sample fájlokat, ez főként akkor jó, amikor még barátkozunk a rendszerrel, ha szeretnénk ilyenekete:<br />
<br />
<br />
<b>make samples</b><br />
<br />
Igény esetén dokumentációt is telepíti, de ehhez szükség van doxygen-re:<br />
<br />
<b>make progdocs</b><br />
<br />
<br />
<br />
<br />
A programról röviden:<br />
Le lehet kérni a parancsokat:<br />
<br />
<b>asterisk -h</b><br />
<br />
Csatlakozás a helyi szervehez:<br />
<b>asterisk -r</b> (CLI -n keresztül tudunk parancsokat adni neki).<br />
<br />
<br />
<div>
<span style="color: red;">Bug!!</span></div>
<div>
<span style="color: red;">Előfordul, hogy Asterisk telepítésénél a ,,make sample" módot választjuk, ekkor legenerálja a sok .config fájlt, amire szükségünk lesz, és default beállításokkal szolgál. Viszont ezen verzió telepítője szépen kihagy néhány fájlt, ezért pl.: FreePBX nem képes csatlakozni Asterisk-hez (Asterisk nem képes feldolgozni a manager.conf fájlt). A FreePBX-es problémát a következő képpen tudjuk megoldani:</span></div>
<div>
<span style="color: red;"><br /></span></div>
<div>
<span style="color: red;">nano /etc/asterisk/manager.conf</span></div>
<div>
<span style="color: red;"><br /></span></div>
<div>
<span style="color: red;">A fájl végén látunk két include-ot (# az elején). Ezeket a fájlokat elfelejti létrehozni, ezért vagy hozzuk létre, vagy ;-vel kommentezzük ki. A fájlok tartalma nem létfontosságú, csak a szeparálhatóság végett fontos.</span></div>
<br />
<br />
<span style="color: red;"><br class="Apple-interchange-newline" />nano /etc/asterisk/sip.conf</span><br />
<span style="color: red;"><br /></span><br />
<span style="color: red;">A fájl végéhez adjuk hozzá:</span><br />
<span style="color: red;">#include sip_additional.conf</span><br />
<br />
<br />
<br />Danielhttp://www.blogger.com/profile/02019504154477147981noreply@blogger.com0tag:blogger.com,1999:blog-1388628165162360299.post-2425756271174446722012-07-22T22:04:00.001+02:002012-07-23T00:09:51.659+02:00PunkBuster Telepítés/Frissítés Linuxon (Debian)<br />
<div style="color: #3a3a3a; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; margin-bottom: 20px; padding: 0px;">
Ez a cikk a kezdő játékszerver üzemeltetőknek szól. Szinte az összes játéknál elengedhetetlen, hogy a szerveren a legfrissebb PunkBuster fusson, ennek hiányában nagy mértékben csökkenhet a játékélmény, és csak fikázzák a klassz szerverünket. A PunkBuster telepítéséhez, és frissítéséhez szintén nincs szükség nagy Linux-os szakértelemre, a cikket végigkísérve sikeresen végrehajthatjátok.</div>
<div style="color: #3a3a3a; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; margin-bottom: 20px; padding: 0px;">
<span id="more-106" style="margin: 0px; padding: 0px;"></span></div>
<div style="color: #3a3a3a; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; margin-bottom: 20px; padding: 0px;">
<strong style="margin: 0px; padding: 0px;">Telepítés</strong></div>
<div style="color: #3a3a3a; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; margin-bottom: 20px; padding: 0px;">
Első lépésként hozzunk létre egy mappát, majd másoljuk be a<em style="margin: 0px; padding: 0px;"> pbsetup.run</em> nevű fájlt, amelyet <a href="http://websec.evenbalance.com/downloader/download.php?file=5" style="color: #006acd; margin: 0px; padding: 0px; text-decoration: none;">innen</a> tudunk letölteni. A letöltött fájlt valahogy juttassuk el a szerverre (pl.: FTP).</div>
<div style="color: #3a3a3a; font-family: Arial, sans-serif; font-size: 12px; margin: 0px; padding: 0px;">
<div class="syntaxhighlighter nogutter bash" id="highlighter_520168" style="background-color: white !important; font-size: 1em !important; margin: 1em 0px !important; overflow-x: auto !important; overflow-y: hidden !important; padding: 0px; position: relative !important; width: 600px;">
<table border="0" cellpadding="0" cellspacing="0" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-collapse: collapse; border-spacing: 0px; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: 600px;"><tbody style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<tr style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><td class="code" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: 600px;"><div class="container" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<div class="line number1 index0 alt2" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em 0px 0em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="bash functions" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(255, 20, 147) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">mkdir</code> <code class="bash plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">/usr/local/games/pb</code></div>
</div>
</td></tr>
</tbody></table>
</div>
</div>
<div style="color: #3a3a3a; font-family: Arial, sans-serif; font-size: 12px; margin: 0px; padding: 0px;">
<div class="syntaxhighlighter nogutter bash" id="highlighter_363267" style="background-color: white !important; font-size: 1em !important; margin: 1em 0px !important; overflow-x: auto !important; overflow-y: hidden !important; padding: 0px; position: relative !important; width: 600px;">
<table border="0" cellpadding="0" cellspacing="0" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-collapse: collapse; border-spacing: 0px; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: 600px;"><tbody style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<tr style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><td class="code" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: 600px;"><div class="container" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<div class="line number1 index0 alt2" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em 0px 0em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="bash functions" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(255, 20, 147) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">cd</code> <code class="bash plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">/usr/local/games/pb</code></div>
</div>
</td></tr>
</tbody></table>
</div>
</div>
<div style="color: #3a3a3a; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; margin-bottom: 20px; padding: 0px;">
Tegyük a letöltött fájlt futtathatóvá:</div>
<div style="color: #3a3a3a; font-family: Arial, sans-serif; font-size: 12px; margin: 0px; padding: 0px;">
<div class="syntaxhighlighter nogutter bash" id="highlighter_18064" style="background-color: white !important; font-size: 1em !important; margin: 1em 0px !important; overflow-x: auto !important; overflow-y: hidden !important; padding: 0px; position: relative !important; width: 600px;">
<table border="0" cellpadding="0" cellspacing="0" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-collapse: collapse; border-spacing: 0px; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: 600px;"><tbody style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<tr style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><td class="code" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: 600px;"><div class="container" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<div class="line number1 index0 alt2" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em 0px 0em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="bash functions" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(255, 20, 147) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">chmod</code> <code class="bash plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">+x pbsetup.run</code></div>
</div>
</td></tr>
</tbody></table>
</div>
</div>
<div style="color: #3a3a3a; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; margin-bottom: 20px; padding: 0px;">
<strong style="margin: 0px; padding: 0px;">Beállítás</strong></div>
<div style="color: #3a3a3a; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; margin-bottom: 20px; padding: 0px;">
A pbsetup.run indításával tudunk hozzáadni, törölni játékokat, illetve a szervereken frissíteni a PunkBustert, az <em style="margin: 0px; padding: 0px;">-ag</em> kapcsolóval válaszhatjuk ki a játék nevét (add-game), és az <em style="margin: 0px; padding: 0px;">-ap</em>kapcsolóval az elérését (add-path). A játék neve legyen pl.: bf2 ( Battlefield 2), az elérése legyen: /usr/local/games/bf2.</div>
<div style="color: #3a3a3a; font-family: Arial, sans-serif; font-size: 12px; margin: 0px; padding: 0px;">
<div class="syntaxhighlighter nogutter bash" id="highlighter_252888" style="background-color: white !important; font-size: 1em !important; margin: 1em 0px !important; overflow-x: auto !important; overflow-y: hidden !important; padding: 0px; position: relative !important; width: 600px;">
<table border="0" cellpadding="0" cellspacing="0" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-collapse: collapse; border-spacing: 0px; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: 600px;"><tbody style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<tr style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><td class="code" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: 600px;"><div class="container" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<div class="line number1 index0 alt2" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em 0px 0em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="bash plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">.</code><code class="bash plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">/pbsetup</code><code class="bash plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">.run -ag bf2 -ap </code><code class="bash plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">/usr/local/games/bf2</code></div>
</div>
</td></tr>
</tbody></table>
</div>
</div>
<div style="color: #3a3a3a; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; margin-bottom: 20px; padding: 0px;">
Ezen sor ismétlésével adhatunk hozzá további játékokat is. A -u kapcsolóval egyszerre frissíthetjük az összes szervert, a PunkBuster ezután elméletileg frissíti magát, gyakorlatilag nem biztos, ezért érdemes néha kiadni a parancsot, hogy mindenképpen frissüljön.</div>
<div style="color: #3a3a3a; font-family: Arial, sans-serif; font-size: 12px; margin: 0px; padding: 0px;">
<div class="syntaxhighlighter nogutter bash" id="highlighter_796593" style="background-color: white !important; font-size: 1em !important; margin: 1em 0px !important; overflow-x: auto !important; overflow-y: hidden !important; padding: 0px; position: relative !important; width: 600px;">
<table border="0" cellpadding="0" cellspacing="0" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-collapse: collapse; border-spacing: 0px; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: 600px;"><tbody style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<tr style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><td class="code" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: 600px;"><div class="container" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<div class="line number1 index0 alt2" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em 0px 0em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="bash plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">.</code><code class="bash plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">/pbsetup</code><code class="bash plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">.run -u</code></div>
</div>
</td></tr>
</tbody></table>
</div>
</div>
<div style="color: #3a3a3a; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; margin-bottom: 20px; padding: 0px;">
<strong style="margin: 0px; padding: 0px;">További</strong></div>
<div style="color: #3a3a3a; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; margin-bottom: 20px; padding: 0px;">
A -l kapcsolóval kilistázhatjuk a telepített játékokat, és a verziókat.</div>
<div style="color: #3a3a3a; font-family: Arial, sans-serif; font-size: 12px; margin: 0px; padding: 0px;">
<div class="syntaxhighlighter nogutter bash" id="highlighter_692424" style="background-color: white !important; font-size: 1em !important; margin: 1em 0px !important; overflow-x: auto !important; overflow-y: hidden !important; padding: 0px; position: relative !important; width: 600px;">
<table border="0" cellpadding="0" cellspacing="0" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-collapse: collapse; border-spacing: 0px; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: 600px;"><tbody style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<tr style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><td class="code" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: 600px;"><div class="container" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<div class="line number1 index0 alt2" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em 0px 0em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="bash plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">.</code><code class="bash plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">/pbsetup</code><code class="bash plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">.run -l</code></div>
</div>
</td></tr>
</tbody></table>
</div>
</div>Danielhttp://www.blogger.com/profile/02019504154477147981noreply@blogger.com0