<div dir="ltr">The packet filters for those ports had been setup previously</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Dec 12, 2013 at 11:14 AM, Stefan Bisitz <span dir="ltr"><<a href="mailto:st.bisitz@ostfalia.de" target="_blank">st.bisitz@ostfalia.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Should be port 5663 for the LON-CAPA network communication?!<br>
<br>
Stefan Bisitz<br>
<br>
<br>
Am 12.12.2013 17:09 schrieb Ken Hoegeman:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid"><div><div class="h5">
Ok,  I set up a separate packet filter (port 80) on the firewall for<br>
this server only and configured it to set the source IP to 66.51.156.71.<br>
<br>
I am still getting these log messages.  Can you check your logs again to<br>
make sure my firewall is forwarding on the correct IP address now?<br>
<br>
Thanks<br>
<br>
Ken<br>
<br>
Thu Dec 12 11:03:31 2013 (1396): <font color="blue">WARNING: LWP get:<br>
403 Forbidden: /home/httpd/html/res/acadiau/<u></u>aaleksejevs/Assignment<br>
6.page</font><br>
<br>
Thu Dec 12 11:03:32 2013 (1396): <font color="blue">WARNING: LWP get:<br>
403 Forbidden: /home/httpd/html/res/msu/hegg/<u></u>PDI520 membrane<br>
potential_Auto_Cleaned_Up.<u></u>problem.meta</font><br>
<br>
Thu Dec 12 11:03:32 2013 (1399): <font color="blue">WARNING: LWP get:<br>
403 Forbidden: /home/httpd/html/res/msu/hegg/<u></u>PDI520 membrane<br>
potential_Auto_Cleaned_Up.<u></u>problem</font><br>
<br>
Thu Dec 12 11:03:33 2013 (1399): <font color="blue">WARNING: LWP get:<br>
403 Forbidden: /home/httpd/html/res/msu/hegg/<u></u>PDI520 membrane<br>
potential_Auto_Cleaned_Up.<u></u>problem</font><br>
<br>
Thu Dec 12 11:03:36 2013 (1394): <font color="blue">WARNING: LWP get:<br>
403 Forbidden:<br>
/home/httpd/html/res/msu/msu-<u></u>domainconfig/domlogo/msu.gif</<u></u>font><br>
<br>
Thu Dec 12 11:03:37 2013 (1394): <font color="blue">WARNING: LWP get:<br>
403 Forbidden: /home/httpd/html/res/msu/hegg/<u></u>Calc 1 - pills/Cat -<br>
acetaminophen.problem.meta</<u></u>font><br>
<br>
Thu Dec 12 11:03:37 2013 (1393): <font color="blue">WARNING: LWP get:<br>
403 Forbidden: /home/httpd/html/res/msu/hegg/<u></u>Calc 1 - pills/Cat -<br>
acetaminophen.problem</font><br>
<br>
Thu Dec 12 11:03:37 2013 (1393): <font color="blue">WARNING: LWP get:<br>
403 Forbidden: /home/httpd/html/res/msu/hegg/<u></u>Calc 1 - pills/Cat -<br>
acetaminophen.problem</font><br>
<br>
Thu Dec 12 11:03:38 2013 (1394): <font color="blue">WARNING: LWP get:<br>
403 Forbidden: /home/httpd/html/res/msu/hegg/<u></u>Calc 1 - pills/Dog -<br>
Adderall.problem.meta</font><br>
<br>
Thu Dec 12 11:03:38 2013 (1395): <font color="blue">WARNING: LWP get:<br>
403 Forbidden: /home/httpd/html/res/msu/hegg/<u></u>Calc 1 - pills/Dog -<br>
Adderall.problem</font><br>
<br>
Thu Dec 12 11:03:38 2013 (1395): <font color="blue">WARNING: LWP get:<br>
403 Forbidden: /home/httpd/html/res/msu/hegg/<u></u>Calc 1 - pills/Dog -<br>
Adderall.problem</font><br>
<br>
Thu Dec 12 11:03:43 2013 (1397): <font color="blue">WARNING: LWP get:<br>
403 Forbidden: /home/httpd/html/res/msu/hegg/<u></u>Calc 1 - pills/Dog -<br>
Adderall.problem</font><br>
<br>
Thu Dec 12 11:03:43 2013 (1397): <font color="blue">WARNING: LWP get:<br>
403 Forbidden: /home/httpd/html/res/msu/hegg/<u></u>Calc 1 - pills/Dog -<br>
Adderall.problem</font><br>
<br>
<br>
<br>
On Thu, Dec 12, 2013 at 9:22 AM, Stuart Raeburn <<a href="mailto:raeburn@msu.edu" target="_blank">raeburn@msu.edu</a><br></div></div><div class="im">
<mailto:<a href="mailto:raeburn@msu.edu" target="_blank">raeburn@msu.edu</a>>> wrote:<br>
<br>
    Hi,<br>
<br>
    You are seeing 403 (Forbidden) responses when attempting to<br>
    replicate resources from other servers in the LON-CAPA network<br>
    because of a mismatch between the IP address advertised by the LWP<br>
    request originating from your server, and the IP address resolved<br>
    from the hostname for your LON-CAPA server provided in the<br>
    authoritative list of LON-CAPA member servers.<br>
<br></div>
    Your server is: <a href="http://lhsalc.lhsa.com" target="_blank">lhsalc.lhsa.com</a> <<a href="http://lhsalc.lhsa.com" target="_blank">http://lhsalc.lhsa.com</a>> which<div class="im"><br>
    resolves to: 66.51.156.71<br>
<br>
    However, the requests originating from your server are identified as<br>
    originating from your firewall.<br>
<br>
    Reverse look-up for 66.51.156.76 reports that this IP is a pointer<br></div>
    to: <a href="http://firewall.lhsa.com" target="_blank">firewall.lhsa.com</a> <<a href="http://firewall.lhsa.com" target="_blank">http://firewall.lhsa.com</a>><div class="im"><br>
<br>
    The Apache error log files on the remote server contain entries such as:<br>
<br></div>
    [error] access to /raw/msu/msu-domainconfig/__<u></u>domlogo/msu.gif failed<div class="im"><br>
    for 66.51.156.76, reason: Unable to find a host for 66.51.156.76<br>
<br></div>
    The handler routine in /home/httpd/lib/perl/Apache/<a href="http://lo__nracc.pm" target="_blank">lo<u></u>__nracc.pm</a><br>
    <<a href="http://lonracc.pm" target="_blank">http://lonracc.pm</a>> on the MSU side which limits access to URLs<div class="im"><br>
    beginning /raw/ to only those servers known to belong to the<br>
    LON-CAPA network is returning a FORBIDDEN (403 return code) from the<br>
    following code:<br>
<br></div>
    my $reqhost = $r->get_remote_host(REMOTE___<u></u>NOLOOKUP);<br>
    my @hostids= &Apache::lonnet::get_hosts___<u></u>from_ip($reqhost);<div class="im"><br>
<br>
    This occurs in cases where $reqhost is not the IP address of a known<br>
    LON-CAPA server.<br>
<br>
    In this case, $reqhost -- from<br></div>
    $r->get_remote_host(REMOTE___<u></u>NOLOOKUP) -- is 66.51.156.76, which<div class="im"><br>
    does not correspond to a known server, since 66.51.156.71 is the<br>
    expected IP for (which resolves to: <a href="http://lhsalc.lhsa.com" target="_blank">lhsalc.lhsa.com</a><br></div>
    <<a href="http://lhsalc.lhsa.com" target="_blank">http://lhsalc.lhsa.com</a>>), hence the message "Unable to find a host".<div class="im"><br>
<br>
<br>
    Stuart Raeburn<br>
    LON-CAPA Academic Consortium<br>
<br>
<br>
<br>
    Quoting Ken Hoegeman <<a href="mailto:ken.hoegeman@gmail.com" target="_blank">ken.hoegeman@gmail.com</a><br></div>
    <mailto:<a href="mailto:ken.hoegeman@gmail.com" target="_blank">ken.hoegeman@gmail.com</a><u></u>>>:<div class="im"><br>
<br>
        When browsing published resources I get file not found messages<br>
        and my<br>
        lonnet.log is full f these lines:<br>
<br>
        The folder structure is there on our server, just non of the files<br>
<br>
        Any suggestions would be appreciated.<br>
<br>
        Thanks<br>
<br>
        Ken Hoegeman<br>
<br>
        Wed Dec 11 14:35:05 2013 (22753): Trying to reconnect lonc for<br>
        msul1 (<br></div>
        <a href="http://s10.lite.msu.edu" target="_blank">s10.lite.msu.edu</a> <<a href="http://s10.lite.msu.edu" target="_blank">http://s10.lite.msu.edu</a>>)<div class="im"><br>
<br>
        Wed Dec 11 14:35:11 2013 (22743): <font color="blue">WARNING:<br>
        LWP get: 403<br>
        Forbidden:<br></div>
        /home/httpd/html/res/msu/msu-_<u></u>_domainconfig/domlogo/msu.gif<<u></u>/__font><div class="im"><br>
<br>
        Wed Dec 11 14:35:13 2013 (22744): <font color="blue">WARNING:<br>
        LWP get: 403<br>
        Forbidden:<br></div>
        /home/httpd/html/res/msu/msu-_<u></u>_domainconfig/domlogo/msu.gif<<u></u>/__font><div class="im"><br>
<br>
        Wed Dec 11 14:35:15 2013 (22745): <font color="blue">WARNING:<br>
        LWP get: 403<br>
        Forbidden:<br></div>
        /home/httpd/html/res/msu/msu-_<u></u>_domainconfig/domlogo/msu.gif<<u></u>/__font><div class="im"><br>
<br>
        Wed Dec 11 14:35:16 2013 (22746): <font color="blue">WARNING:<br>
        LWP get: 403<br>
        Forbidden:<br></div>
        /home/httpd/html/res/msu/msu-_<u></u>_domainconfig/domlogo/msu.gif<<u></u>/__font><div class="im"><br>
<br>
        Wed Dec 11 14:35:17 2013 (22746): <font color="blue">WARNING:<br>
        LWP get: 403<br>
        Forbidden:<br></div>
        /home/httpd/html/res/sc/__<u></u>gblanpied/courses/chemistry/__<u></u>thedump_chemistry.sequence.__<u></u>meta</font><div class="im"><br>
<br>
        Wed Dec 11 14:35:17 2013 (22745): <font color="blue">WARNING:<br>
        LWP get: 403<br>
        Forbidden:<br></div>
        /home/httpd/html/res/sc/__<u></u>gblanpied/courses/chemistry/__<u></u>thedump_chemistry.sequence.__<u></u>meta</font><div class="im"><br>
<br>
        Wed Dec 11 14:35:17 2013 (22746): <font color="blue">WARNING:<br>
        LWP get: 403<br>
        Forbidden:<br></div>
        /home/httpd/html/res/msu/__<u></u>ciskepau/CHEMISTRY/chap6/__<u></u>bondtype2.problem.meta</font><div class="im"><br>
<br>
        Wed Dec 11 14:35:18 2013 (22745): <font color="blue">WARNING:<br>
        LWP get: 403<br>
        Forbidden:<br></div>
        /home/httpd/html/res/msu/__<u></u>ciskepau/CHEMISTRY/chap6/__<u></u>bondtype2.problem.meta</font><div class="im"><br>
<br>
        Wed Dec 11 14:35:18 2013 (22745): <font color="blue">WARNING:<br>
        LWP get: 403<br>
        Forbidden:<br></div>
        /home/httpd/html/res/sfu/__<u></u>batchelo/chem111/problems/__<u></u>lecture/set4/E.N.pairs.__<u></u>problem.meta</font><div class="im"><br>
<br>
        Wed Dec 11 14:35:19 2013 (22745): <font color="blue">WARNING:<br>
        LWP get: 403<br>
        Forbidden:<br></div>
        /home/httpd/html/res/sfu/__<u></u>batchelo/chem111/problems/__<u></u>lecture/set4/molecular.geom.I.<u></u>__problem.meta</font><div class="im"><br>
<br>
        Wed Dec 11 14:35:19 2013 (22746): <font color="blue">WARNING:<br>
        LWP get: 403<br>
        Forbidden:<br></div>
        /home/httpd/html/res/sfu/__<u></u>batchelo/chem111/problems/__<u></u>lecture/set4/E.N.pairs.__<u></u>problem.meta</font><div class="im"><br>
<br>
        Wed Dec 11 14:35:19 2013 (22745): <font color="blue">WARNING:<br>
        LWP get: 403<br>
        Forbidden:<br></div>
        /home/httpd/html/res/msu/__<u></u>ciskepau/CHEMISTRY/chap6/__<u></u>ionformula.problem.meta</font><div class="im"><br>
<br>
        Wed Dec 11 14:35:19 2013 (22746): <font color="blue">WARNING:<br>
        LWP get: 403<br>
        Forbidden:<br></div>
        /home/httpd/html/res/msu/__<u></u>ciskepau/CHEMISTRY/chap6/__<u></u>ionformula.problem.meta</font><div class="im"><br>
<br>
        Wed Dec 11 14:35:20 2013 (22745): <font color="blue">WARNING:<br>
        LWP get: 403<br>
        Forbidden:<br></div>
        /home/httpd/html/res/sfu/__<u></u>batchelo/chem111/problems/__<u></u>lecture/set4/bond.__<u></u>classification.problem.meta</_<u></u>_font><div class="im"><br>
<br>
        Wed Dec 11 14:35:20 2013 (22746): <font color="blue">WARNING:<br>
        LWP get: 403<br>
        Forbidden:<br></div>
        /home/httpd/html/res/sfu/__<u></u>batchelo/chem111/problems/__<u></u>lecture/set4/bond.__<u></u>classification.problem.meta</_<u></u>_font><div class="im"><br>
<br>
        Wed Dec 11 14:35:20 2013 (22745): <font color="blue">WARNING:<br>
        LWP get: 403<br>
        Forbidden:<br></div>
        /home/httpd/html/res/sfu/__<u></u>batchelo/chem111/problems/__<u></u>lecture/set4/molecular.geom.__<u></u>II.problem.meta</font><div class="im"><br>
<br>
        Wed Dec 11 14:35:20 2013 (22746): <font color="blue">WARNING:<br>
        LWP get: 403<br>
        Forbidden:<br></div>
        /home/httpd/html/res/sfu/__<u></u>batchelo/chem111/problems/__<u></u>lecture/set4/molecular.geom.__<u></u>II.problem.meta</font><br>
<br>
<br>
    ______________________________<u></u>___________________<br>
    LON-CAPA-admin mailing list<br>
    LON-CAPA-admin@mail.lon-capa._<u></u>_org<br>
    <mailto:<a href="mailto:LON-CAPA-admin@mail.lon-capa.org" target="_blank">LON-CAPA-admin@mail.<u></u>lon-capa.org</a>><br>
    <a href="http://mail.lon-capa.org/__mailman/listinfo/lon-capa-__admin" target="_blank">http://mail.lon-capa.org/__<u></u>mailman/listinfo/lon-capa-__<u></u>admin</a><br>
    <<a href="http://mail.lon-capa.org/mailman/listinfo/lon-capa-admin" target="_blank">http://mail.lon-capa.org/<u></u>mailman/listinfo/lon-capa-<u></u>admin</a>><div class="im"><br>
<br>
<br>
<br>
<br>
______________________________<u></u>_________________<br>
LON-CAPA-admin mailing list<br>
<a href="mailto:LON-CAPA-admin@mail.lon-capa.org" target="_blank">LON-CAPA-admin@mail.lon-capa.<u></u>org</a><br>
<a href="http://mail.lon-capa.org/mailman/listinfo/lon-capa-admin" target="_blank">http://mail.lon-capa.org/<u></u>mailman/listinfo/lon-capa-<u></u>admin</a><br>
<br>
</div></blockquote><div class="HOEnZb"><div class="h5">
______________________________<u></u>_________________<br>
LON-CAPA-admin mailing list<br>
<a href="mailto:LON-CAPA-admin@mail.lon-capa.org" target="_blank">LON-CAPA-admin@mail.lon-capa.<u></u>org</a><br>
<a href="http://mail.lon-capa.org/mailman/listinfo/lon-capa-admin" target="_blank">http://mail.lon-capa.org/<u></u>mailman/listinfo/lon-capa-<u></u>admin</a><br>
</div></div></blockquote></div><br></div>