No trans proxy for apt-get application

Discussion in 'Technical' started by gabrix, Jan 31, 2007.

  1. gabrix

    gabrix New Member

    I'm using squid and iptables redirection to squid listening port for transparent proxy.How can i avoid apt-get get proxied ?it is because it slows installation,i have heard packages may suffer by being proxied and i also noticed myself sometimes installation doesn't finish because of a problem (?proxy?).Is any option i can use in the apt-get.conf file ?What for iptables ?
     
  2. martinfst

    martinfst Member Moderator

    You should set an exception rule in iptables, but I'm not sure if you can do so. apt-get usually runs on port 80 :confused:
     
  3. gabrix

    gabrix New Member

    An iptables explicit match like --uid-owner , --pid-owner or --sid-owner was my idea what do you think ?I did this in the past like with tor owner debian-tor but apt-get it is owned by root.So.How many applications do i have owned by root?Not the browser ... i can't think of anyother application owned by root,so the owner match might be a solution !
     

Share This Page