<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:D="DAV:" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:dssi="http://schemas.microsoft.com/office/2006/digsig" xmlns:dsss="http://schemas.microsoft.com/office/2006/digsig-setup" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:ppda="http://www.passport.com/NameSpace.xsd" xmlns:pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:Repl="http://schemas.microsoft.com/repl/" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:rtc="http://microsoft.com/officenet/conferencing" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" xmlns:spwp="http://microsoft.com/sharepoint/webpartpages" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:st="&#1;" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:Z="urn:schemas-microsoft-com:"><head><META content="text/html; charset=iso-8859-2" http-equiv="Content-Type">
<meta content="text/html; charset=iso-8859-2" http-equiv=Content-Type><meta content="Microsoft Word 12 (filtered medium)" name=Generator><style><!--
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.apple-style-span
        {mso-style-name:apple-style-span;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><BODY>
<DIV><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Köszönöm, így sokkal jobban értem, meg így már értelme is van.<o:p></o:p></span></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:#999999'>István Ketler<br></span></b><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:#999999'>Team Leader&nbsp;</span><span style='color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:8.0pt;font-family:"Arial","sans-serif";color:#999999'>Lufthansa Systems Hungaria Kft. <br>Airline Management Solutions <br>- Schedule &amp; Revenue Management <br>- Business Intelligence &amp; Database Solutions<br>Neumann János u. 1/e<br>1117 Budapest<br>Hungary <o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:8.0pt;font-family:"Arial","sans-serif";color:#999999'>Tel: +36 1 887-2815 <br>Fax: +36 1 887-2977<br>Mobile: +36 30 600-4936 </span><span style='color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:8.0pt;font-family:"Arial","sans-serif";color:#999999'>Room: Infopark E, Room LH1-31 </span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Arial","sans-serif";color:#999999'>e-mail: <a href="mailto:istvan.ketler@lhsystems.com">istvan.ketler@lhsystems.com</a> <br>Internet: <a href="http://www.lhsystems.hu/">www.LHsystems.hu</a></span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p></div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><div></div></div></DIV>
<DIV>
<P CLASS="MsoNormal" STYLE="MARGIN: 0cm 0cm 0pt"></P>
<P CLASS="MsoNormal" STYLE="MARGIN: 0cm 0cm 0pt"></P>
<P CLASS="MsoNormal" STYLE="MARGIN: 0cm 0cm 0pt">&nbsp;</P>
<P CLASS="MsoNormal" STYLE="MARGIN: 0cm 0cm 0pt"><SPAN STYLE="FONT-SIZE: 8pt; COLOR: gray; FONT-FAMILY: Arial">Sitz der Gesellschaft / Corporate Headquarters: </SPAN><SPAN LANG="EN-GB" STYLE="FONT-SIZE: 8pt; COLOR: gray; FONT-FAMILY: Arial; mso-ansi-language: EN-GB">Lufthansa Systems Hungaria Kft, Budapest, Fövarosi Birosag 01-09-463417<BR></SPAN><SPAN STYLE="FONT-SIZE: 8pt; COLOR: gray; FONT-FAMILY: Arial">Geschaeftsfuehrung / Management Board: Monika Houck</SPAN></P>
<P CLASS="MsoNormal" STYLE="MARGIN: 0cm 0cm 0pt"><BR></P>
<P CLASS="MsoNormal" STYLE="MARGIN: 0cm 0cm 0pt"><div class=WordSection1><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> javalist-bounces@lists.javaforum.hu [mailto:javalist-bounces@lists.javaforum.hu] <b>On Behalf Of </b>Peter Verhas<br><b>Sent:</b> Friday, September 23, 2011 8:46 AM<br><b>To:</b> Java lista<br><b>Subject:</b> Re: [Javalist] [spam] Re: [spam] Re: CGI variable<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Ezt a proxy fejlécet (x-forwarded-for) abban az esetben szokás használni, amikor a proxy nem a &quot;kliens&quot; oldalon van, hanem a szolgáltatási, szerver oldalon. Tehát ne az ADSL kis syslink routerére tessenek gondolni, ami valóban nem fogja a belső 192.168.x.x IP címeket belerakni a header-be (senkinek semmi köze hozzá). Sokkal inkább egy olyan proxy amelyik a szolgáltatási hálózat (mondjuk a CNN saját hálózatának a határán) kapcsolódik az internetre, és proxy-zza a bejövő kéréseket. Tipikusan nem minden kérést ugyan oda, hanem tartalom, session egyéb szerint terhelés elosztva (load balance). Ebben az esetben, mivel a proxy is a szolgáltató gépe, az alkalmazás számíthat rá, hogy a header-be berakja a távoli kliens IP címét, ha pedig az már belerakott valamit, akkor azt kikukázza.<o:p></o:p></p><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal>Amit a&nbsp;<a href="http://hu.wikipedia.org/wiki/X-Forwarded-For">http://hu.wikipedia.org/wiki/X-Forwarded-For</a>&nbsp;oldal leír, mint tipikus használat, szerintem nem jellemző. Legalábbis soha nem láttam még olyat.<o:p></o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal>Gondolom a listán sokaknak triviális amit leírtam, de azt éreztem, a levélváltásokból, hogy nem mindenkinek.<o:p></o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p><div><div><div><div><p class=MsoNormal><span class=apple-style-span><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif";color:#888888'>--</span></span><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif";color:#888888'><br><span class=apple-style-span>Verhás Péter</span><br><span class=apple-style-span><a href="mailto:peter@verhas.com">peter@verhas.com</a></span><br><span class=apple-style-span>+36(30)9306805</span><br><span class=apple-style-span>skype: verhas</span></span><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif";color:black'><o:p></o:p></span></p></div></div><p class=MsoNormal><span style='font-family:"Helvetica","sans-serif"'><o:p>&nbsp;</o:p></span></p></div><p class=MsoNormal style='margin-bottom:12.0pt'><o:p>&nbsp;</o:p></p></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><div><div><p class=MsoNormal>On 2011.09.22., at 20:22, Auth Gábor wrote:<o:p></o:p></p></div><p class=MsoNormal><br><br><o:p></o:p></p><div><p class=MsoNormal>Hi,<br><br><br><o:p></o:p></p><p class=MsoNormal>Még soha nem kellett ilyet csinálnom, de most már érdekel. Mi van a nem<o:p></o:p></p><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal>publikus IP címekkel, meg a címfordítással? A proxy a belső címet kiadja<o:p></o:p></p></blockquote><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal>ebben a header-ben? Meg olyan topológiát is el tudok képzelni, ahol a<o:p></o:p></p></blockquote><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal>proxy is a gateway mögött van a munkaállomások között, és csak neki fordít<o:p></o:p></p></blockquote><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal>címet a gateway (ez akkor is lehet, ha dmz-ben van, sőt dmz-ben más<o:p></o:p></p></blockquote><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal>címtartomány alatt lehet látható a host mint a nyílt térben).<o:p></o:p></p></blockquote><p class=MsoNormal><br>&nbsp;Ez így van. A proxy kiadhatja a belső címet is akár, de általában nem <br>szokta. Nyilván nem ad semmi biztosat ez a lehetőség, én statisztikára <br>használom, hogy a kliens IP címe szerint le tudjam kérdezni, hogy melyik <br>országról van szó (ezt is a hostname-ből).<br><br><br><o:p></o:p></p><p class=MsoNormal>Másrészt mi van akkor, ha a proxy-ra tényleg más országot mond, mint a<o:p></o:p></p><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal>gépre? Akkor ezt most szabad, vagy nem? Kell egyáltalán ellenőrizni?<o:p></o:p></p></blockquote><p class=MsoNormal><br>&nbsp;Aki ellenőrzésre akarja használni, azt pillanatok alatt át lehet vágni egy <br>ilyen fejléccel, szóval a rossz emberek ellen nem véd. :)<br>-- <br><a href="http://www.javaforum.hu">http://www.javaforum.hu</a> -=- <a href="http://www.enaplo.hu">http://www.enaplo.hu</a><br>Auth Gábor -=- <a href="http://www.javaforum.hu/web/10/authgabor">http://www.javaforum.hu/web/10/authgabor</a><br>_______________________________________________<br>Javalist mailing list<br><a href="mailto:Javalist@lists.javaforum.hu">Javalist@lists.javaforum.hu</a><br>http://lists.javaforum.hu/mailman/listinfo/javalist<o:p></o:p></p></div></div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div></div></P></DIV></BODY></HTML>