[00:29] *** dj_goku_ has quit IRC (Ping timeout: 272 seconds)
[00:32] *** dj_goku has joined #arpnetworks
[01:03] *** toddf has quit IRC (Ping timeout: 276 seconds)
[01:07] *** toddf has joined #arpnetworks
[01:07] *** ChanServ sets mode: +o toddf
[04:51] *** awyeah_ has joined #arpnetworks
[04:52] *** awyeah has quit IRC (Ping timeout: 252 seconds)
[04:52] *** awyeah_ is now known as awyeah
[04:53] *** dwarren has quit IRC (Ping timeout: 252 seconds)
[04:56] *** dwarren has joined #arpnetworks
[08:37] <mercutio> mnathani: you may want to try just using a http proxy
[08:37] <mercutio> if you do multiple installs it'll easily cache the bulk of files, and won't waste bandwidth doing heaps of updates of packages you don't use.
[09:48] *** hive-mind has quit IRC (Ping timeout: 265 seconds)
[09:56] *** hive-mind has joined #arpnetworks
[11:06] <mnathani> mercutio: would squid be the best option for the http proxy?
[11:07] <brycec> I've used apt-cacher-ng in the past. It's targeted with Apt (Debian, Ubuntu, etc) obviously, but also supports/caches Yum/rpms
[11:08] <mercutio> mnathani: squid is an easy option
[11:08] <brycec> (In my environments, I was supporting both)
[11:08] <mercutio> i use trafficserver myself, but trafficserver uses raw partitions, whereas squid can just use disk space as it requires.
[11:09] <mnathani> does apt-cacher-ng run as server code on an another box, or is it client software?
[11:09] <mercutio> i transparently proxy anyone who uses dhcp :/
[11:09] <brycec> (acng for that matter also just uses the filesystem like normal)
[11:09] <brycec> mnathani: It's a proxy server
[11:09] <mercutio> apt-cacher-ng may work fine, never tried it.
[11:09] <brycec> just set the CentOS boxes to use ip.address:3142 as a proxy
[11:10] <brycec> Never tried transparent proxying with it though.
[11:10] <mercutio> i set explicit proxies in places too.
[11:10] <mercutio> well it's useful if you download some archive in one place then want it in anothe rplace
[11:10] <mercutio> you can just download it again and it'll go uber fast, rather than having to scp it
[11:10] <mnathani> does transparent proxying dhcp users require a specific dhcp option to be used?
[11:11] <mercutio> nope
[11:11] <plett> It wouldn't be transparent if the client had to be configured to do it
[11:11] <brycec> (but does require a specific network setup)
[11:11] <mercutio> it just means you transparently proxy whatever range of ip's you're giving out over dhcp
[11:12] <mnathani> what 'server' or 'router' takes care of the transparent proxy or deciding what IPs to proxy
[11:12] <brycec> The router/gateway would
[11:12] <mercutio> i have a linux box that does that, and runs the dhcp server and acts as gateway for nat
[11:12] <mercutio> it's used as a desktop too though
[11:13] <mnathani> does it have 2 physical NICs?
[11:13] <brycec> Most likely by a pf or iptables rule that redirects all connections from a given range of IP's to a port on the proxy, whether that be the same system or a separate server.
[11:13] <mercutio> if you're running dhcp then you can just run dhcp server on linux box easily.
[11:13] <plett> I use apt-cacher-ng, but only for Debian apt repos, I've never tried it with yum clients
[11:13] <mercutio> mnathani: nah only one
[11:13] <mercutio> well it's got infiniband and ethernet
[11:13] <mercutio> so yeah it goes in and out the same interface.
[11:14] <mnathani> separate Vlans?
[11:14] <mercutio> nope
[11:17] <mnathani> infiniband for storage?
[11:18] <mercutio> well ip over infiniband, and i use it from my windows box.
[11:18] <mercutio> for remote files, and for proxy :/
[11:18] <mercutio> i have proxy on ssd hah
[11:18] <mercutio> it still doesn't seem to really go faster than 30 megabytes/sec often
[11:19] <mercutio> lots of small files don't relaly get speed up that quickly.
[11:20] <mercutio> but even over wireless it tends to go more than 10mb/sec
[11:23] <mercutio> i think it's cos there's a mix of cached/uncached..
[11:26] <mercutio> i'm updating ubuntu on my chromebook atm.  it's bloody slow at installing updates.
[11:36] *** medum has quit IRC (Ping timeout: 245 seconds)
[11:38] *** medum has joined #arpnetworks
[13:35] <mnathani_> mercutio: will the  proxy work even if different machines request files from different mirrors?
[13:36] <mnathani_> to cache the content I mean
[13:44] <brycec> acng handles that transparently. Traditional proxying will not.
[13:44] <BryceBot> That's what she said!!
[13:44] <brycec> BryceBot: no
[13:44] <BryceBot> Oh, okay... I'm sorry. 'acng handles that transparently. Traditional proxying will not.'
[13:49] <mercutio> mnathani_: nope
[13:49] <mercutio> mnathani_: not unless you have a rewrite rule
[13:49] <mercutio> i set everything to the same mirrors
[13:50] <brycec> That's a bear to do with CentOS since it defaults to using mirrorlists. Either I edit every repo file on each machine, or I set the proxy=
[13:50] <brycec> (And I went with proxy, obviously)
[13:51] <mercutio> brycec: does that thing you use do rewrite?
[13:51] <brycec> 13:43:55         brycec | acng handles that transparently. Traditional proxying will not.
[13:51] <mercutio> ahh
[13:51] <brycec> It has a text list of mirrors, and all requests matching that list go into a general "centos" folder (or "debian", etc)
[13:52] <brycec> (and yeah, that's part of the default config too)
[13:52] <mercutio> how does it handle missing files on mirrors etc?
[13:52] <mercutio> that being much less of an issue now days than it used to be
[13:52] <brycec> No idea
[13:53] <mercutio> with debian i used to repeat entries for when that happens
[13:53] <BryceBot> That's what she said!!
[13:53] <mercutio> i haven't been doing so recently though
[13:54] <brycec> from what I can tell, the client would have to retry from a different mirror. The only thing "rewritten" is where the cached data gets stored and pulled from, it doesn't affect the url fetched (mirror used)
[14:10] <mercutio> oh
[15:30] *** relrod has quit IRC (Quit: ZNC - http://znc.in)
[15:31] *** relrod_ has joined #arpnetworks
[15:32] *** relrod_ is now known as relrod
[19:44] *** _Zodiac has joined #arpnetworks
[19:44] *** _Zodiac has left 
[21:41] *** carvite has quit IRC (Remote host closed the connection)
[22:48] <mercutio> https://twitter.com/hashtag/facebookdown
[22:51] *** carvite has joined #arpnetworks
[22:57] *** carvite has quit IRC (Ping timeout: 264 seconds)
[23:04] *** carvite has joined #arpnetworks
[23:14] *** dj_goku has quit IRC (Read error: Connection reset by peer)
[23:20] *** dj_goku has joined #arpnetworks
[23:20] *** dj_goku has quit IRC (Changing host)
[23:20] *** dj_goku has joined #arpnetworks