Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Port forwarding in privoxy

  1. #1
    Join Date
    May 2010
    Beans
    48

    Port forwarding in privoxy

    So all I want is to forward the https traffic to http, is this possible?

  2. #2
    Join Date
    Nov 2008
    Location
    Boston MetroWest
    Beans
    16,326

    Re: Port forwarding in privoxy

    No. HTTPS traffic requires a specific handshake between the client and server, and all the packets are encrypted.

    Having read your earlier posting, I'll just mention that there are efforts to enable Squid to handle SSL traffic, but they require you to generate a certificate for the proxy server and install it on all the client workstations. You can use iptables to block or permit connections to remote HTTPS sites by IP address.
    If you ask for help, do not abandon your request. Please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

  3. #3
    Join Date
    May 2010
    Beans
    48

    Re: Port forwarding in privoxy

    can't I just deny all HTTPS acces? Tried with iptables, didn't work

  4. #4
    Join Date
    Apr 2006
    Location
    Montana
    Beans
    Hidden!
    Distro
    Kubuntu Development Release

    Re: Port forwarding in privoxy

    Quote Originally Posted by axy_david View Post
    can't I just deny all HTTPS acces? Tried with iptables, didn't work
    iptables will block all https traffic. What rule did you use ?

    Code:
    sudo iptables -A OUTPUT -p tcp --dport https -j DROP
    There are two mistakes one can make along the road to truth...not going all the way, and not starting.
    --Prince Gautama Siddharta

    #ubuntuforums web interface

  5. #5
    Join Date
    Jun 2010
    Location
    ~
    Beans
    Hidden!

    Re: Port forwarding in privoxy

    .
    Last edited by emiller12345; January 28th, 2013 at 07:00 PM.
    CADWEB Advance Toolkit Utility: http://cad.webatu.com/
    Homesite: http://digitalmagican.comze.com/

  6. #6
    Join Date
    May 2010
    Beans
    48

    Re: Port forwarding in privoxy

    Quote Originally Posted by bodhi.zazen View Post
    iptables will block all https traffic. What rule did you use ?

    Code:
    sudo iptables -A OUTPUT -p tcp --dport https -j DROP
    Tried your suggestion, nothing... it doesn't work.

  7. #7
    Join Date
    May 2010
    Beans
    48

    Re: Port forwarding in privoxy

    Quote Originally Posted by SeijiSensei View Post
    No. HTTPS traffic requires a specific handshake between the client and server, and all the packets are encrypted.

    Having read your earlier posting, I'll just mention that there are efforts to enable Squid to handle SSL traffic, but they require you to generate a certificate for the proxy server and install it on all the client workstations. You can use iptables to block or permit connections to remote HTTPS sites by IP address.
    it seems that I am unnable to block https traffic using iptables, however I can open specific ports
    Can I block https communication with squid, since I don't really understand squid.

  8. #8
    Join Date
    Nov 2010
    Location
    India
    Beans
    Hidden!

    Re: Port forwarding in privoxy

    I am not sure but you can block the URL with some matching words . this URL can help you.

    http://sarg.sourceforge.net/sxcontrol.php
    Dont miss anything even it is small. one small pin is enough to bring down a man.


  9. #9
    Join Date
    Apr 2006
    Location
    Montana
    Beans
    Hidden!
    Distro
    Kubuntu Development Release

    Re: Port forwarding in privoxy

    Quote Originally Posted by axy_david View Post
    Tried your suggestion, nothing... it doesn't work.
    If it is not working you need to post all your rules. With iptables, the order of the rules is important.
    There are two mistakes one can make along the road to truth...not going all the way, and not starting.
    --Prince Gautama Siddharta

    #ubuntuforums web interface

  10. #10
    Join Date
    May 2010
    Beans
    48

    Re: Port forwarding in privoxy

    Quote Originally Posted by raja.genupula View Post
    I am not sure but you can block the URL with some matching words . this URL can help you.

    http://sarg.sourceforge.net/sxcontrol.php
    I just realised Im not using squid

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •