<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <!-- lftransstatus=1 --> <!-- if you want the source of this file then use ftp not http. The file contains ssi and you will see the wrong code if you use http --> <HTML> <HEAD> <META http-equiv="Content-Type" content= "text/html; charset=iso-8859-1"> <LINK rel="StyleSheet" href="../../common/style_issue.css" type= "text/css"> <TITLE>LinuxFocus Magazine, September/October 2003</TITLE> </HEAD> <!-- lftransstatus=1 --> <BODY bgcolor="#ffffff" text="#000000"> <!-- just change the language in the next line. French would e.g be lfheader_issueindex-fr.txt --> <!--#include virtual="../../common/headers/lfheader_issueindex-en.txt" --> <!-- start content --> <CENTER> <H1>Welcome to the LinuxFocus September/October 2003 issue</H1> </CENTER> <table bgcolor="#FF5555"> <tr><td> Mozilla and netscape-7 users: Watch out! When you download a page for translation and you use File->Save page as..., then select in the dialog box "Files of type: Html only" and not "Files of type: complete". Using "complete" modifies the page source code!. If you have some kind of translation page where people can get the articles then please add this note to warn people. </td></tr> </table> <P> <b>Note:</b> This page uses Server Side Includes. If you want to download it and translate it then use <a href="ftp://main.linuxfocus.org/pub/lf/English/September2003/index.shtml">ftp://main.linuxfocus.org/pub/lf/English/September2003/index.shtml</a>. Do not try to download it via http://.... You would get an already server side expanded file and you don't want that. </P> <P> <a href="../../common/images/coverSeptember2003_big.jpg"><img src="../../common/images/coverSeptember2003.png" alt="reading Linuxfocus" align="right" width="400" height="300"></a> Editorial goes here. <br> </P> <BR clear="all"> <HR width="65%" noshade size="1"> <!-- content --> <CENTER> <H2>LinuxFocus.org Articles</H2> </CENTER> <H4>Graphics</H4> <UL> <LI type="circle"> <img src="../../common/images/frame_tux.gif" alt="[translated]" align="middle"> <a href="article307.shtml"> Going 3D with Blender: A toy train </A> , by Katja Socher<BR> <p class="clbox">Please use the file <a href="article307.meta.shtml">article307.meta.shtml</a> for any translation work.</p> <BR> In this article you learn how to use the C-API that comes with MySQL. </LI> </UL> <H4>Software Development</H4> <UL> <LI type="circle"> <img src="../../common/images/frame_tux.gif" alt="[translated]" align="middle"> <a href="article304.shtml"> The MySQL C API </A> , by Özcan Güngör <BR> <p class="clbox">Please use the file <a href="article304.meta.shtml">article304.meta.shtml</a> for any translation work.</p> <BR> In this article you learn how to use the C-API that comes with MySQL. </LI> </UL> <H4>Applications</H4> <UL> <LI type="circle"> <img src="../../common/images/frame_tux.gif" alt="[translated]" align="middle"> <a href="article306.shtml"> Linux on the desktop: A computer for Mom </A> , by Guido Socher <BR> <p class="clbox">Please use the file <a href="article306.meta.shtml">article306.meta.shtml</a> for any translation work.</p> <BR> My Mom belongs to a generation which grew up without computers. She uses now Linux on the desktop and loves it. </LI> </UL> <TABLE cellspacing="3" cellpadding="3" border="0" summary="sidebar" width="40%" align="RIGHT"> <!-- LG sidebar --> <TR> <TD> <TABLE cellspacing="2" cellpadding="0" border="0" align= "center" bgcolor="#BEBEBE" width="100%" summary="sidebar"> <TR> <TD> <TABLE cellspacing="2" cellpadding="2" border="0" bgcolor="#FFFFFF" width="100%" summary= "sidebar second part"> <TR> <TD bgcolor="#113366"><FONT color="#FFFFFF"> <!-- TABLE HEAD --> <B><A href="http://www.linuxgazette.com"><FONT color="#ffffff">Articles at Linux Gazette</FONT></A></B> <!-- END TABLE HEAD --> </FONT> </TD> </TR> <TR> <TD><!-- TABLE BODY --> <A href="http://www.linuxgazette.com"><img src="../../common/images/linuxgazette_button.png" width="140" height="29" alt="[]"></a><br> <SMALL> <!--#include virtual="../../common/src/lg/lg_03.0910.html" --> </SMALL> <!-- END TABLE BODY --> </TD> </TR> </TABLE> </TD> </TR> </TABLE> <!-- end LG sidebar --> </TD> </TR> </TABLE> <a name="tip"> </a> <H4>The LinuxFocus Tip</H4> You don't need nessus or other scanners to check all open ports on an ordinary computer without firewall. It is enough to just run "netstat -a". The output will look similar to the one below and you can see imediately in the colum "Local Address" which ports are available for connections: <pre> netstat -a Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 *:login *:* LISTEN tcp 0 0 *:shell *:* LISTEN tcp 0 0 *:pop2 *:* LISTEN tcp 0 0 *:pop3 *:* LISTEN tcp 0 0 *:imap2 *:* LISTEN tcp 0 0 *:www *:* LISTEN tcp 0 0 *:domain *:* LISTEN ...printout continues here... </pre> You can even go one step further and check which program opens a port with the command socklist (normally part of a package called procinfo): <pre> socklist type port inode uid pid fd name tcp 513 1007 0 448 5 xinetd tcp 514 1006 0 448 4 xinetd tcp 6000 1133 0 680 0 X tcp 80 1076 0 643 16 httpd ...printout continues here... </pre> netstat works on any Unix system but socklist is a Linux specific feature. <BR> <!-- end content --> <!-- start of footer --> <BR clear="all"> <CENTER> <HR width="95%" noshade size="1"> </CENTER> <P class="foot">© 2003 LinuxFocus<BR> <A href="../../common/lfteam.html">Click here to get to the LinuxFocus contact persons list</A></P> <!-- vim: set sw=2 ts=2 et textwidth=78: --> </BODY> </HTML>