[00:09] hey guys [02:59] can usb ethernet have usage for installing with mini.iso [03:00] I was looking at the codes and notice the mimics [03:01] * soulseeker jerks arm for the mimics [03:01] * soulseeker spins arm [03:02] * soulseeker wiggle wiggle [06:10] Good morning === Wryhder is now known as Lucas_Gray [13:39] hi [13:39] So I had an issue yesterday where the ubuntu dist updater tool was cancelled and then wanted me to upgrade before starting the upgrade afterwards. [13:40] I was able to fix this: Just replace the codename of distribution to update to with the codename of old distribution [13:40] in /etc/apt/sources.list [13:42] phobosoph: did it allow you to start the process again? [13:43] yes [13:43] it is running right now, looks good [13:43] great [13:44] I am using the KVM console instead SSH to keep connection during upgrade [13:45] phobosoph: do-release-upgrade should do the job - no need to do it the debian way [14:31] hi! [14:32] hello [14:34] I am looking to set up a gateway server with 2 nics. i am using iptables to pass the traffic from my internal network out to the world as is, but i want to set up reverse proxy for some servers. I want these servers to handle their own ssl and such, and just want the gateway to proxy all traffic for the servers FQDN to the server's internal ip. once that is up i want to be able to set up alarms based on traffic volume and maybe do some stuff [14:34] after. I thought squid was the right fit but it insists on being a caching server that handles the ssl and such for each server... [14:34] is there a project that's better suited to what i'm trying to do than squid? [14:38] catbadger: for a reverse proxy thing, I'd look at nginx or haproxy, both are really nice [14:38] catbadger: if you want to terminate SSL/TLS on the backends, haproxy might be better suited for the job [14:39] that sounds about right. does haproxy let me analyze the traffic to each destination in real time? [14:40] catbadger: haproxy with the certs will probably be easier [14:40] catbadger: if you terminate TLS at the backends, haproxy would operate in TCP proxy mode, not much to inspect but you'd get TCP logging [14:41] catbadger: or nginx [14:41] nginx is good for proxying https to http or even to https if you don't trust the network in the back [14:41] catbadger: in TCP proxy mode, you can generally look at the unencrypted portion of the TLS session so you can learn which hostname/cipher/proto ... but nothing more [14:42] that's ok. i just want to be able to analyze volume from the proxy [14:43] it should be easy for both, last I checked [14:43] okie thank you all [14:43] both [14:43] just setup grafana or something to draw the graphs :) [14:44] or just zabbix - or munin or … [15:02] hi [15:02] Sick question: Is it possible to downgrade smbd on bionic to the samba/smbd used by xenial? :) [15:04] unlikely given build depends, etc. [15:04] not certain you can't but it's probably *unlikely* [15:06] 8 ball says.....prob not [15:07] teward, Ussat: I need to install the samba package from Xenial on my Bionic Ubuntu system [15:07] yes you said that already [15:07] Ya, survey says..........not a good idea [15:08] deps will be different to start [15:08] ^ [15:08] lets start here, WHY do you need that one ? [15:08] ^ this as well [15:08] 'cause it sounds like an XY problem in the current way you asked [15:09] the bot has factoids :) [15:09] !xy [15:09] The XY problem is when you need to do X, and you think you can use Y to do X, so you ask about how to do Y, when what you really should do is state what your X problem is. There may be a Z solution that is even better than Y, but nobody can suggest it if X is never mentioned. [15:10] OK, so this is Ubuntu on WSL (Windows Subsystem for Linux) and samba from Bionic Ubuntu (from Canonical) got issues starting) [15:10] OK....full stop right there [15:10] it worked with the samba from Ubuntu Xenial [15:11] WSL is NOT real ubuntu, networking stuff is VERY different [15:11] right [15:11] use a VM if you must [15:11] doin ANY network stuff with WSL may or may not work [15:11] WSL is really just one emulated bash process [15:11] really, use a VM [15:11] ^^^ [15:12] You will be much happier with a VM, VMware player is free [15:13] WSL is in my opinion, a novelty.....its ok for some light stuff, network stuff is not one of those [15:14] why are you installing samba in a windows-emulation [15:15] instead of, say, the built in samba daemon in windows [15:15] this sounds like we're at least two levels of xy problem deep [15:15] jerichowasahoax, and that ya [15:15] samba windows daemon? :O [15:15] right [15:15] what ere you REALLY trying to do [15:15] because samba is used through a ssh tunnel :D [15:15] ... [15:15] so the target box can git clone [15:16] REALLY dont use WSL [15:16] look fam just throw the whole project away and start over [15:16] use a VM and then share the folders via the hypervisor [15:16] WSL is a very bad idea for this [15:17] why are you trying to git clone through samba anyway [15:17] what possible advantage would that have [15:18] the deployment thing wants a git repository - and I don't want to host all these git repos publicly [15:18] so I use a SSH tunnel and samba so it can clone locally (from its perspective) [15:18] so...use git for windows if you must [15:18] hm [15:19] i use openvpn for that [15:19] but ya ssh + samba + wsl = bad juju [15:19] VPN stuff, interesting! [15:19] stick openvpn on a box, git clone ssh://vcs.internal.example.com/project.git [15:19] I have to use a SSH reverse tunnel though because my internet is behind a double NAT - or rather my ISP NATs me anyway [15:20] wait, if youre useing ssh, no need to use a vpn [15:20] right, I use a reverse SSH from the target machine to get a samba mount [15:20] You REALLY need to sit down and draw this out...because this is ugly. and DONT use WSL [15:20] originally I used NFS but it was behaving bad, it often got stuck [15:20] hm right [15:21] if you must use an ubuntu "guest" for this task, install hyper-v [15:21] or vmware player [15:21] he's already got the windows license, most of those come with hyper-v now [15:21] unless its win7 [15:22] right, I got pro + hyperv support, I use it for docker on windows [15:22] and player is free [15:22] I am not a hyper-v fan is all I am sure its fine [15:22] i'm kind of allergic to vmware, myself ;-) [15:23] I have a little over 1k *nix systems in esxi :) [15:24] i most strongly prefer qemu kvms but windows doesn't have those afaik [15:24] hyper-v comes close [15:26] I am not a fan of hyper-v :) I had issues with ipv6 and ubuntu as guest [15:26] but after disablign ipv6 completely in ubuntu guest it works fine [16:31] hi [16:31] So I am now using native Windows file sharing service instead of samba [16:31] I still use WSL though - but this works very nicely now. [16:32] it tunnels over SSH, directly using the SSH client options [16:32] so on the server/target system side I only need samba package for cifs-utils [16:41] my 18.04 reverse tcp proxy setup is failing to start haproxy https://pastebin.com/jaZv8xgZ PLEASE HELP I'M FREAKING OUT [16:44] catbadger: any error messages in the log? any errors in dmesg? what gives you the impression it's not working? [16:46] catbadger: you may want to use "haproxy -c -f /etc/haproxy/haproxy.cfg" to sanity check the config [16:47] the line "server [domainnamehere.com] 192.168.0.2:* check" looks bogus to me [16:48] he, I also got some haproxy experience and yes, its logging thing is strange [16:52] phobosoph: the log config in there looks pretty much like the stock config, no? [16:57] dev/log, so syslog? [16:58] yup, that's a dedicated socket created inside the default chroot === Wryhder is now known as Lucas_Gray [16:59] the magic happens in /etc/rsyslog.d/49-haproxy.conf [17:16] @sarnold @sdeziel thank you. i got it working [17:17] yw [17:17] catbadger: cool, what was it? [17:17] the config was completely wrong. [17:17] haha [17:17] changed a lot [17:18] well, that'll do it :) === gislaved2 is now known as gislaved [18:30] I have screen overriding my titles I set with ctrl+a A ... any idea where this might be stored? [18:30] or what setting that is? it seems to update it with a path [18:31] is it perhaps your PS1 environment variable? [18:34] sarnold: thank you, that's possible. I wonder if screen is set to override that when values of PS1 change [18:34] $ echo $PS1 [18:34] [\u@\h \W]\$ [18:34] eg. I want it to stay at whatever I set it at with ctrl+a A [18:34] hmm. that's nice and boring. bummer. [18:35] sarnold: what is "that" - my PS1, or what I want it to do? [18:35] your PS1. that shouldn't cause retitling things [18:39] sarnold: oh, ok, thanks. This must be a screen setting [18:41] foo: what's in your ~/.screenrc? [18:42] sarnold: nothing, must be a global setting overriding. I could snag from another system perhaps [18:43] hmmmm. /etc/screenrc ? [18:47] sarnold: thanks, yup. I bet it's in here... somewhere. [21:28] foo: PROMPT_COMMAND? [21:44] mwhudson: looks like that could very well be it, thank you [21:45] foo: lots of places for things to hide :) [21:52] mwhudson: :) [21:52] mwhudson: ha :) nice