euglug.org

[작성자:] admin

  • [Eug-lug] iptables



    John SechrestMon Oct 31 11:52:52 PST 2005

    I think you should not be doing this with IP tables, but doing
    this with an apache redirect statement. It will behave much better
    in generall.
    
    
    
    Jim Beard <beard at counterclaim.com> writes:
    
     % I do want to go from an http request to an https.  Sending an http 
     % redirect is the only way to accomplish this?
     % 
     % On Oct 31, 2005, at 11:36 AM, larry price wrote:
     % 
     % > what's listening on port 443?
     % >
     % > if you are trying to forward an https response to an http browser
     % > request you will confuse the browser since it's not expecting to
     % > negotiate an encrypted session. You need to either use  a proxy that
     % > can handle the https connection or use an http redirect to send the
     % > browser request to the https port.
     % >
     % > If you specifically need to forward https over port 80 (to deal with
     % > someone's (idiotic) firewall setup) you could try doing
     % > https://example.com:80/some/path/
     % >
     % > you would have to do some configuration on the server end.
     % >
     % > On 10/31/05, Jim Beard <beard at counterclaim.com> wrote:
     % >> Howdy Folks,
     % >>
     % >>         I have a question about port forwarding with iptables.
     % >>
     % >> I want to forward port 80 to port 443 on the same machine.  I added 
     % >> the
     % >> following entries to iptables:
     % >>
     % >> iptables -t nat -A PREROUTING -p tcp [-i eth0] --dport 80 -j DNAT --to
     % >> <external ip>:443
     % >>
     % >> iptables -A FORWARD -p tcp [-i eth0] --dport 443 -j ACCEPT
     % >>
     % >> The behavior I experience, is that when I try to reach port 80 on the
     % >> external ip from an external network, instead of forwarding my
     % >> connection, the web browser prompts me to download something.
     % >> Sometimes it is the name of the first folder in the path, sometimes 
     % >> the
     % >> name is a random string of characters, like "v8bdpmp2".  The files
     % >> created if I save are listed as 1k in size.
     % >>
     % >> Anyone have any advice?  It seems like it should work.  I don't have
     % >> any other rules set up in my nat table or on the forward list...
     % >>
     % >>
     % >> Jim Beard
     % >> counterclaim, Inc
     % >> http://www.counterclaim.com
     % >> http://openefm.sourceforge.net
     % >> (800) 264-8145
     % >>
     % >> _______________________________________________
     % >> EUGLUG mailing list
     % >> euglug at euglug.org
     % >> http://www.euglug.org/mailman/listinfo/euglug
     % >>
     % >
     % >
     % > --
     % > http://Zoneverte.org -- information explained
     % > Do you know what your IT infrastructure does?
     % > _______________________________________________
     % > EUGLUG mailing list
     % > euglug at euglug.org
     % > http://www.euglug.org/mailman/listinfo/euglug
     % >
     % >
     % Jim Beard
     % counterclaim, Inc
     % http://www.counterclaim.com
     % http://openefm.sourceforge.net
     % (800) 264-8145
     % 
     % _______________________________________________
     % EUGLUG mailing list
     % euglug at euglug.org
     % http://www.euglug.org/mailman/listinfo/euglug
    
    -----
    John Sechrest          .         Helping people use
                            .           computers and the Internet
                              .            more effectively
                                 .                      
                                     .       Internet: sechrest at peak.org
                                          .   
                                                  . http://www.peak.org/~sechrest
    
  • [Eug-lug] iptables



    Jim BeardMon Oct 31 11:46:27 PST 2005

    I do want to go from an http request to an https.  Sending an http 
    redirect is the only way to accomplish this?
    
    On Oct 31, 2005, at 11:36 AM, larry price wrote:
    
    > what's listening on port 443?
    >
    > if you are trying to forward an https response to an http browser
    > request you will confuse the browser since it's not expecting to
    > negotiate an encrypted session. You need to either use  a proxy that
    > can handle the https connection or use an http redirect to send the
    > browser request to the https port.
    >
    > If you specifically need to forward https over port 80 (to deal with
    > someone's (idiotic) firewall setup) you could try doing
    > https://example.com:80/some/path/
    >
    > you would have to do some configuration on the server end.
    >
    > On 10/31/05, Jim Beard <beard at counterclaim.com> wrote:
    >> Howdy Folks,
    >>
    >>         I have a question about port forwarding with iptables.
    >>
    >> I want to forward port 80 to port 443 on the same machine.  I added 
    >> the
    >> following entries to iptables:
    >>
    >> iptables -t nat -A PREROUTING -p tcp [-i eth0] --dport 80 -j DNAT --to
    >> <external ip>:443
    >>
    >> iptables -A FORWARD -p tcp [-i eth0] --dport 443 -j ACCEPT
    >>
    >> The behavior I experience, is that when I try to reach port 80 on the
    >> external ip from an external network, instead of forwarding my
    >> connection, the web browser prompts me to download something.
    >> Sometimes it is the name of the first folder in the path, sometimes 
    >> the
    >> name is a random string of characters, like "v8bdpmp2".  The files
    >> created if I save are listed as 1k in size.
    >>
    >> Anyone have any advice?  It seems like it should work.  I don't have
    >> any other rules set up in my nat table or on the forward list...
    >>
    >>
    >> Jim Beard
    >> counterclaim, Inc
    >> http://www.counterclaim.com
    >> http://openefm.sourceforge.net
    >> (800) 264-8145
    >>
    >> _______________________________________________
    >> EUGLUG mailing list
    >> euglug at euglug.org
    >> http://www.euglug.org/mailman/listinfo/euglug
    >>
    >
    >
    > --
    > http://Zoneverte.org -- information explained
    > Do you know what your IT infrastructure does?
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    >
    >
    Jim Beard
    counterclaim, Inc
    http://www.counterclaim.com
    http://openefm.sourceforge.net
    (800) 264-8145
    
    
  • [Eug-lug] iptables



    larry priceMon Oct 31 11:36:40 PST 2005

    what's listening on port 443?
    
    if you are trying to forward an https response to an http browser
    request you will confuse the browser since it's not expecting to
    negotiate an encrypted session. You need to either use  a proxy that
    can handle the https connection or use an http redirect to send the
    browser request to the https port.
    
    If you specifically need to forward https over port 80 (to deal with
    someone's (idiotic) firewall setup) you could try doing
    https://example.com:80/some/path/
    
    you would have to do some configuration on the server end.
    
    On 10/31/05, Jim Beard <beard at counterclaim.com> wrote:
    > Howdy Folks,
    >
    >         I have a question about port forwarding with iptables.
    >
    > I want to forward port 80 to port 443 on the same machine.  I added the
    > following entries to iptables:
    >
    > iptables -t nat -A PREROUTING -p tcp [-i eth0] --dport 80 -j DNAT --to
    > <external ip>:443
    >
    > iptables -A FORWARD -p tcp [-i eth0] --dport 443 -j ACCEPT
    >
    > The behavior I experience, is that when I try to reach port 80 on the
    > external ip from an external network, instead of forwarding my
    > connection, the web browser prompts me to download something.
    > Sometimes it is the name of the first folder in the path, sometimes the
    > name is a random string of characters, like "v8bdpmp2".  The files
    > created if I save are listed as 1k in size.
    >
    > Anyone have any advice?  It seems like it should work.  I don't have
    > any other rules set up in my nat table or on the forward list...
    >
    >
    > Jim Beard
    > counterclaim, Inc
    > http://www.counterclaim.com
    > http://openefm.sourceforge.net
    > (800) 264-8145
    >
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    >
    
    
    --
    http://Zoneverte.org -- information explained
    Do you know what your IT infrastructure does?
    
  • [Eug-lug] iptables



    Jim BeardMon Oct 31 10:53:54 PST 2005

    Howdy Folks,
    
    	I have a question about port forwarding with iptables.
    
    I want to forward port 80 to port 443 on the same machine.  I added the 
    following entries to iptables:
    
    iptables -t nat -A PREROUTING -p tcp [-i eth0] --dport 80 -j DNAT --to 
    <external ip>:443
    
    iptables -A FORWARD -p tcp [-i eth0] --dport 443 -j ACCEPT
    
    The behavior I experience, is that when I try to reach port 80 on the 
    external ip from an external network, instead of forwarding my 
    connection, the web browser prompts me to download something.  
    Sometimes it is the name of the first folder in the path, sometimes the 
    name is a random string of characters, like "v8bdpmp2".  The files 
    created if I save are listed as 1k in size.
    
    Anyone have any advice?  It seems like it should work.  I don't have 
    any other rules set up in my nat table or on the forward list...
    
    
    Jim Beard
    counterclaim, Inc
    http://www.counterclaim.com
    http://openefm.sourceforge.net
    (800) 264-8145
    
    
  • [Eug-lug] Reminder: Presentation this Saturday



    Darren HayesMon Oct 31 09:17:53 PST 2005

    ----- Original Message ----- 
    From: "Bob Miller" <kbob at jogger-egg.com>
    To: <euglug at euglug.org>
    Sent: Monday, October 31, 2005 8:03 AM
    Subject: [Eug-lug] Reminder: Presentation this Saturday
    
    >> Title: The Drupal Content Management System
    >> Speaker: John Sechrest
    >> Time: Saturday, November 5th, 1:00 PM
    >> Place: EWEB Board Room, 500 E. 4th Ave.
    
    
    > Keep in mind traffic will likely be heavy in the area.
    > UO vs. Cal game at Autzen begins at 3:30pm
    
    Oops. That should be 12:30 PST. So traffic shouldn't be very bad.
    
    And apologies for the VMware Player post. I now see someone beat me to it.
    
    
  • [Eug-lug] Reminder: Presentation this Saturday



    Darren HayesMon Oct 31 09:09:23 PST 2005

    Keep in mind traffic will likely be heavy in the area.
    UO vs Cal game at Autzen begins at 3:30pm
    
    ----- Original Message ----- 
    From: "Bob Miller" <kbob at jogger-egg.com>
    To: <euglug at euglug.org>
    Sent: Monday, October 31, 2005 8:03 AM
    Subject: [Eug-lug] Reminder: Presentation this Saturday
    
    
    Remember, this Saturday John Sechrest is coming down from Corvallis to
    talk about Drupal.  Don't miss it...
    
    ----------------------------------------------------------------------------
    --
    Title: The Drupal Content Management System
    Speaker: John Sechrest
    Time: Saturday, November 5th, 1:00 PM
    Place: EWEB Board Room, 500 E. 4th Ave.
    
    
    
  • [Eug-lug] VMware Player



    Darren HayesMon Oct 31 08:59:01 PST 2005

    http://www.vmware.com/products/player/
    
    See comparison page. Although some limitations looks like a good starting
    point for those learning about running VM's on a workstation.
    
    BTW the list server just rejected by post when I had "Free VMware Player" as
    subject line ;-)
    
    
    
  • [Eug-lug] Reminder: Presentation this Saturday



    Bob MillerMon Oct 31 08:03:22 PST 2005

    Remember, this Saturday John Sechrest is coming down from Corvallis to
    talk about Drupal.  Don't miss it...
    
    ------------------------------------------------------------------------------
    Title: The Drupal Content Management System
    Speaker: John Sechrest
    Time: Saturday, November 5th, 1:00 PM
    Place: EWEB Board Room, 500 E. 4th Ave.
    
    As you work on activities and businesses, the website that you have
    needs to mirror/reflect the ongoing activity of the group. The more
    that the website is a model for the activity, the more effective the
    web site will be.
    
    Over the last 4 years there has been an explosion of Content
    Management Systems (CMS) for web sites. A Content Management System
    allows groups of people to use web pages to edit and manage a web
    site. There are dozens and dozens of different types of CMS
    packages. Enough to generate websites that compare them like:
    
         http://www.opensourcecms.com
         http://www.cmsmatrix.org
    
    Over the last six months, several sites have needed help with web
    services. This talk will go over several of the features that make a
    good content management system and will talk about some of the ways
    that Drupal can be extended.
    
    Drupal is the CMS that currently runs the Corvallis LUG website at 
    
         http://www.lug.corvallis.or.us
    
    Come learn more about how Drupal does what it does.      
    
    After the talk, we will adjourn to the Steelhead Brewery for drinks
    and discussion.
    
    
    
    
    -- 
    Bob Miller                              K<bob>
                                            kbob at jogger-egg.com
    
  • [Eug-lug] Oracle to offer free database



    T. Joseph CARTERSat Oct 29 18:44:45 PDT 2005

    I should point out that single CPU limitation is really unfair even for a
    free product in this day and age.  SMP is no longer the realm of the
    overpriced server.  Midrange desktops now feature dual core processors.
    
    In fact, I suspect as it becomes cheaper and cheaper to make them, we will
    start to see more and more functions moving to dedicated processors.  That
    trend has already begun.  The internals of the computer are beginning to
    look more like a network than the data and address busses of decades past.
    
    -- 
    "We are what we repeatedly do.  Excellence, therefore, is not an act,
    but a habit."
    	-- Aristotle
    
  • [Eug-lug] Oracle to offer free database



    Darren HayesSat Oct 29 13:53:51 PDT 2005

    The database heavyweight on Tuesday is expected to announce the beta release
    of Oracle 10g Express Edition (Oracle Database XE), which will be generally
    available by the end of the year. It is targeted at students, small
    organizations and software vendors that could embed the Oracle database with
    an application. The latest edition is the same as other databases in
    Oracle's lineup but is limited in usage. It can only run servers with one
    processor, with 4GB of disk memory and 1GB of memory. The Express Edition
    database can be distributed with other products. It will be available
    through Oracle's developer network and include a Web-based administration
    console development tools.
    
    Separately, Oracle commented on what intends to do with InnoDB, a storage
    engine for the MySQL database that Oracle acquired earlier this month.
    Oracle intends to extend a contract with MySQL where the InnoDB storage
    engine is packaged with MySQL.
    
    Full article at:
    
    http://news.com.com/Oracle+to+offer+free+database/2100-1012_3-5920796.html