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

<channel>
	<title>Jelajah Karsa Prima - IGOS Center Makassar &#187; network</title>
	<atom:link href="http://www.jelajah.web.id/tag/network/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jelajah.web.id</link>
	<description>Support on Opensource</description>
	<lastBuildDate>Wed, 26 May 2010 03:08:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Nge-patch Kernel 2.6 untuk T-Proxy</title>
		<link>http://www.jelajah.web.id/2008/10/nge-patch-kernel-26-untuk-t-proxy/</link>
		<comments>http://www.jelajah.web.id/2008/10/nge-patch-kernel-26-untuk-t-proxy/#comments</comments>
		<pubDate>Wed, 01 Oct 2008 15:32:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[BLOG]]></category>
		<category><![CDATA[network]]></category>

		<guid isPermaLink="false">http://dunialinux.wordpress.com/?p=64</guid>
		<description><![CDATA[Ini adalah Patch Transparent Proxing untuk Linux kernel 2.6. Versi terakhir dapat ditemukan di http://www.balabit.com/download/files/tproxy/ Apa sih arti arti 'proxy'? -------------------------------- Proxy adalah program yang menyerupai server, menerima permintaan dari klien lalu meneruskan permintaan tadi ke server sebenarnya yang diinginkan pengguna dan mengirim kembali hasilnya begitu diterima. Proxy membaca dan mengartikan protokol aplikasi dan menolak [...]]]></description>
			<content:encoded><![CDATA[<p>Ini adalah Patch Transparent Proxing untuk Linux kernel 2.6.<br />
Versi terakhir dapat ditemukan di</p>
<p>http://www.balabit.com/download/files/tproxy/</p>
<p>Apa sih arti arti 'proxy'?<br />
--------------------------------</p>
<p>   Proxy adalah program yang menyerupai server, menerima permintaan dari klien lalu meneruskan permintaan tadi ke server sebenarnya yang diinginkan pengguna dan mengirim kembali hasilnya begitu diterima.<br />
   Proxy membaca dan mengartikan protokol aplikasi dan menolak lalulintas yang tidak diinginkan. Seperti kebanyakan serangan pada protokol aplikasi, tidak menginjinkan pelanggaran pada protokol biasanya melindungi terhadap serangan.<br />
<span id="more-64"></span><br />
What is transparent proxying?<br />
-----------------------------<br />
Untuk menyederhanakan tugas managemen klien yang berada dibelakang firewall proxy<br />
firewalls, teknik 'transparent proxying' perlu dipikirkan.<br />
Transparent proxy berarti keberadaan proxy tidak kelihatan oleh user. Transparent Proxy sendiri  membutuhkan dukungan kernel.</p>
<p>We have a 'REDIRECT' target, isn't that enough?<br />
----------------------------------------------</p>
<p>   Real transparent proxying requires the following three features from<br />
   the IP stack of the computer it is running on:<br />
    1. Redirect sessions destined to the outer network to a local process<br />
       using a packet filter rule.<br />
    2. Make it possible for a process to listen to connections on a<br />
       foreign address.<br />
    3. Make it possible for a process to initiate a connection with a<br />
       foreign address as a source.</p>
<p>   Item #1 is usually provided by packet filtering packages like<br />
   Netfilter/IPTables, IPFilter. (yes, this is the REDIRECT target)</p>
<p>   All three were provided in Linux kernels 2.2.x, but support for this<br />
   was removed.</p>
<p>How to install it?<br />
------------------</p>
<p>   Download the latest tproxy-kernel-*.tar.bz2 tarball<br />
   for your kernel (from v2.6.24),  with the tproxy-iptables-*.patch file.</p>
<p>   Patch your kernel using:</p>
<p>      cd /usr/src/linux<br />
      cat /00*.patch | patch -p1</p>
<p>   then enable tproxy support, `socket' and `TPROXY' modules<br />
   (with optional conntrack support if you need SNAT), compile your kernel<br />
   and  modules.</p>
<p>   The required modules are automatically loaded if the iptables commands<br />
   are used.</p>
<p>   The IPtables patches:</p>
<p>      cd /usr/src/iptables-1.4.X<br />
      cat /tproxy-iptables*.patch | patch -p1</p>
<p>   then compile it on the usual way:</p>
<p>      ./autogen.sh<br />
      ./configure &amp;&amp; make &amp;&amp; make install</p>
<p>   Squid-3 has official support of TProxy v4.1:</p>
<p>   checkout the source code of squid-3 as in</p>
<p>http://wiki.squid-cache.org/Squid3VCS</p>
<p>   then compile it:</p>
<p>      cd ~/source/squid<br />
      ./bootstrap.sh<br />
      ./configure --enable-linux-netfilter &amp;&amp; make &amp;&amp; make install</p>
<p>   Of course you might need to change the path in the examples above.</p>
<p>How to start using it?<br />
----------------------</p>
<p>   This implementation of transparent proxying works by marking packets and<br />
   changing the route based on packet mark. The foreign address bind and tproxy<br />
   redirection is enabled via a new socket option, IP_TRANSPARENT, without it<br />
   neither the bind nor the tproxy target works.</p>
<p>   Now let's see what happens when a proxy tries to use the required tproxy<br />
   features I outlined earlier.</p>
<p>   1. Redirection</p>
<p>     This is easy, as this was already supported by iptables. Redirection is<br />
     equivalent with the following nat rule:</p>
<p>       iptables -t nat -A PREROUTING -j DNAT --to-dest  --to-port</p>
<p>            is one the IP address of the interface where the packet<br />
                     entered the IP stack<br />
          is the port where the proxy was bound to</p>
<p>     To indicate that this is not simple NAT rule, a separate target, 'TPROXY'<br />
     was created:</p>
<p>       iptables -t mangle -A PREROUTING -p tcp --dport 80 -j TPROXY --on-port   \<br />
              --tproxy-mark 0x1/0x1</p>
<p>     The local IP address is determined automatically, but can be overridden<br />
     by the --on-ip parameter.</p>
<p>     The marked sockets has to be routed locally:</p>
<p>        ip rule add fwmark 1 lookup 100<br />
        ip route add local 0.0.0.0/0 dev lo table 100</p>
<p>   2. Listening for connections on a foreign address</p>
<p>     There are protocols which use more than a single TCP channel for<br />
     communication. The best example is FTP which uses a command channel for<br />
     sending commands, and a data channel to transfer the body of files. The<br />
     secondary channel can be established in both active and passive mode,<br />
     active meaning the server connects back to the client, passive meaning<br />
     the client connects to the server on another port.</p>
<p>     Let's see the passive case, when the client establishes a connection to<br />
     the address returned in the response of the PASV FTP command.</p>
<p>     As the presence of the proxy is transparent to the client, the target<br />
     IP address of the secondary channel (e.g. the address in the PASV<br />
     response) is the server (and not the firewall) and this connection must<br />
     also be handled by the proxy.</p>
<p>     The first solution that comes to mind is to add a a TPROXY rule<br />
     automatically (e.g. to redirect a connection destined to a given server<br />
     on a given port to a local process), however it is not feasible, adding<br />
     rules on the fly should not be required as it would mess the<br />
     administrator's own rules, the NAT translation should be done<br />
     implicitly without touching the user rulebase.</p>
<p>     To do this on a Linux 2.2 kernel it was enough to call bind() on a<br />
     socket with a foreign IP address, and if a new connection to the given<br />
     foreign IP was routed through the firewall the connection was<br />
     intercepted. This solution however distracted the core network kernel<br />
     hackers and removed this feature. This implementation is similar to<br />
     the old behaviour although it works a bit differently:</p>
<p>       * the proxy sets the IP_TRANSPARENT socket option on the listening<br />
         socket<br />
       * the proxy then binds to the foreign address<br />
       * the proxy accepts incoming connections</p>
<p>     It requires additional iptables rules with the socket module of the<br />
     tproxy patches:</p>
<p>        iptables -t mangle -N DIVERT<br />
        iptables -t mangle -A PREROUTING -p tcpo -m socket -j DIVERT<br />
        iptables -t mangle -A DIVERT -j MARK --set-xmark 0x1/0xffffffff<br />
        iptables -t mangle -A DIVERT -j ACCEPT</p>
<p>    the best if the second rule is before using the TPROXY target.</p>
<p>   3. Initiating connections with a foreign address as a source</p>
<p>     Similarly to the case outlined above, it is sometimes necessary to be<br />
     able to initiate a connection with a foreign IP address as a source.<br />
     Imagine the active FTP case when the FTP client listens for connections<br />
     with source address equal to the server. Another example: a webserver<br />
     in your DMZ which does access control based on client IP address. If<br />
     the proxy could not initiate connections with foreign IP address, the<br />
     webserver would see the inner IP address of the firewall itself.</p>
<p>     In Linux 2.2 this was accomplished by bind()-ing to a foreign address<br />
     prior calling connect(), and it worked. In this tproxy patch it is done<br />
     somewhat similar to the case 2 outlined above.</p>
<p>       * the proxy calls setsockopt with IP_TRANSPARENT</p>
<p>       * the proxy bind to a foreign address</p>
<p>       * the tproxy calls connect()</p>
<p>     The iptables rules with the socket match are also required here.</p>
<p>How to use it?<br />
--------------</p>
<p>    The following use-case assumes a transparent proxy listening on port<br />
    50080 and any ip address (0.0.0.0).</p>
<p>    First, set up the routing rules with iproute2:</p>
<p>      ip rule add fwmark 1 lookup 100<br />
      ip route add local 0.0.0.0/0 dev lo table 100</p>
<p>    Or, if you want to use packet marking for anything else, the least<br />
    significant bit is enough for transparent proxying.</p>
<p>      ip rule add fwmark 0x1/0x1 lookup 100<br />
      ip route add local 0.0.0.0/0 dev lo table 100</p>
<p>    Note that this latter example is only working with newer versions of<br />
    iproute2.</p>
<p>    For supporting foreign address bind, the socket match is required with<br />
    packet marking:</p>
<p>      iptables -t mangle -N DIVERT<br />
      iptables -t mangle -A PREROUTING -p tcp -m socket -j DIVERT</p>
<p>      # DIVERT chain: mark packets and accept<br />
      iptables -t mangle -A DIVERT -j MARK --set-mark 1<br />
      iptables -t mangle -A DIVERT -j ACCEPT</p>
<p>    The last rule is for diverting traffic to the proxy:</p>
<p>      iptables -t mangle -A PREROUTING -p tcp --dport 80 -j TPROXY \<br />
              --tproxy-mark 0x1/0x1 --on-port 50080</p>
<p>    If it is a Squid-3 proxy, in /etc/squid/squid.conf the following<br />
    rule is necessary for transparent proxying:</p>
<p>      http_port 50080 tproxy transparent</p>
<p>    Then set up the ACL rules according to your local policy.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jelajah.web.id/2008/10/nge-patch-kernel-26-untuk-t-proxy/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to use Network Manager to dial-out 3,5G network</title>
		<link>http://www.jelajah.web.id/2008/09/how-to-use-network-manager-to-dial-out-35g-network/</link>
		<comments>http://www.jelajah.web.id/2008/09/how-to-use-network-manager-to-dial-out-35g-network/#comments</comments>
		<pubDate>Sun, 21 Sep 2008 17:58:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[BLOG]]></category>
		<category><![CDATA[3g]]></category>
		<category><![CDATA[hspda]]></category>
		<category><![CDATA[indosatm2]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[telkomsel flash]]></category>

		<guid isPermaLink="false">http://dunialinux.wordpress.com/?p=14</guid>
		<description><![CDATA[Selama ini kita menggunakan tool Network Manager untuk melakukan koneksi ke jaringan kabel maupun wireless. Pada kesempatan ini, saya akan membahas bagaimana menggunakan Network Manager untuk melakukan koneksi ke jaringan HSDPA ataupun UMTS. Yang perlu diperhatikan, pertama adalah pastikan anda memiliki modem HSPDA . Bukan modem bawaan komputer atau laptop anda. Kedua, pastikan memiliki account [...]]]></description>
			<content:encoded><![CDATA[<p>Selama ini kita menggunakan tool Network Manager untuk melakukan koneksi ke jaringan kabel maupun wireless. Pada kesempatan ini, saya akan membahas bagaimana menggunakan Network Manager untuk melakukan koneksi ke jaringan HSDPA ataupun UMTS.<br />
<span id="more-14"></span><br />
Yang perlu diperhatikan, pertama adalah pastikan anda memiliki modem HSPDA <img src='http://www.jelajah.web.id/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> . Bukan modem bawaan komputer atau laptop anda. Kedua, pastikan memiliki account IndosatM2 atau Telkomsel Flash atau kartu Mentari atau IM3.</p>
<p>Saat ini, sy menggunakan <a href="http://www.ubuntume.com/">Ubuntu ME 8.04.1</a>, Sierra AirCard 875 dan <a href="http://www.gnome.org/projects/NetworkManager/">NM versi 0.6.6</a></p>
<p>Yuk, mulai...</p>
<p>1. Klik pada applet Network Manager yg ada pada systray, lalu pilih Manual Configuration.<br />
2. Unlock, lalu pilih Point to Point Connection. klok ganda atau klik Properties.<br />
<a href="http://dunialinux.files.wordpress.com/2008/09/network-manager.jpg"><img class="alignnone size-full wp-image-24" title="network-manager" src="http://dunialinux.files.wordpress.com/2008/09/network-manager.jpg" alt="" width="321" height="293" /></a><br />
3. Check pada Enable This Connection, lalu pilih GPRS/UMTS pada menu drop down Connection Type.<br />
<a href="http://dunialinux.files.wordpress.com/2008/09/ppp0_11.jpg"><img class="alignnone size-full wp-image-25" title="ppp0_11" src="http://dunialinux.files.wordpress.com/2008/09/ppp0_11.jpg" alt="" width="288" height="271" /></a><br />
4. Ketikkan APN provider pada Access Point Name. misalnya flash, Indosatm2, indosatgprs.<br />
5. Pada tab General, masukkan user-id dan password account yang anda miliki.<br />
6. Pada tab Modem, masukkan identitas modem yg bisa diketahui dengan cara :</p>
<p><pre><code> $ sudo wvdialconf
.....
Found a modem on /dev/ttyUSB0.
Modem configuration written to /etc/wvdial.conf.
ttyUSB0: Speed 9600; init &quot;ATQ0 V1 E1 S0=0 &amp;amp;C1 &amp;amp;D2 +FCLASS=0&quot;
</code></pre></p>
<p><a href="http://dunialinux.files.wordpress.com/2008/09/ppp0_21.jpg"><img class="alignnone size-full wp-image-26" title="ppp0_21" src="http://dunialinux.files.wordpress.com/2008/09/ppp0_21.jpg" alt="" width="308" height="290" /></a></p>
<p>7. Pada tab Options, biasanya dua pililhan teratas yang di check list. Setelah itu klik OK.</p>
<p><a href="http://dunialinux.files.wordpress.com/2008/09/ppp0_31.jpg"><img class="alignnone size-medium wp-image-27" title="ppp0_31" src="http://dunialinux.files.wordpress.com/2008/09/ppp0_31.jpg?w=300" alt="" width="300" height="282" /></a></p>
<p>8. Alt-F2 &gt;&gt; gksu gedit /etc/chatscripts/ppp0<br />
Edit &gt;&gt; *99***1#<br />
menjadi &gt;&gt; *99#<br />
Save, lalu keluar.<br />
9. Alt-F2 &gt;&gt; gksu gedit /etc/ppp/peers/ppp0<br />
Tambahkan &gt;&gt; <code>connect &quot;/usr/sbin/chat -v -f /etc/chatscripts/ppp0&quot;</code>     #pada baris paling atas<br />
Save, lalu keluar.<br />
<del datetime="00">10. buka terminal, lalu<br />
<pre><code>$ &lt;del datetime=&quot;00&quot;&gt;sudo su&lt;/del&gt;&lt;/del&gt;
&lt;del datetime=&quot;00&quot;&gt;# echo “username_anda * password_anda” &amp;gt;&amp;gt; /etc/ppp/pap-secrets
# echo “username_anda * password_anda” &amp;gt;&amp;gt; /etc/ppp/chap-secrets&lt;/del&gt;
&lt;del datetime=&quot;00&quot;&gt;# exi&lt;/del&gt;t</code></pre></p>
<p>11. Sebelum memulai koneksi, coba restart GDM dengan menekan Ctrl+Alt+Backspace. Re-Login. Untuk mulai koneksi, klik applet Network Manager -- Dial Up Connections -- connect to ...</p>
<p>Silahkan bandingkan proses koneksinya dengan menggunakan Wvdial... Selamat berbroadband!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jelajah.web.id/2008/09/how-to-use-network-manager-to-dial-out-35g-network/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
	</channel>
</rss>
