[03:07] Hi, can anyone here point to some instructions on getting openvswitch working with netplan? [07:12] Good morning [11:13] rostam: try the dig tool, dig @ [11:13] rostam: start with using the ip from /etc/resolv.conf [11:14] if that's 127.0.1.1 or some such, move on to your real dns server, then try 8.8.8.8 (google's), etc [11:53] rbasak: hi, I'm getting this from g-u merge start on samba: [11:53] $ git ubuntu merge start pkg/ubuntu/devel [11:53] 01/22/2018 09:53:01 - ERROR:pkg/ubuntu/devel version (2:4.7.3+dfsg-1ubuntu1) is after debian/sid version (2:4.7.1+dfsg-1). Are you sure you want to merge? (Pass -f to force the merge). [11:53] rbasak: debian/sid is at 4.7.4, though [11:53] seems like the debian branch(es?) are behind in the importer? [12:01] AFAICT, sid is at 2:4.7.3+dfsg-1 and bionic-devel is at 2:4.7.3+dfsg-1ubuntu1 [12:01] Do you see something different? [12:01] I was looking at https://code.launchpad.net/~usd-import-team/ubuntu/+source/samba/+git/samba [12:21] rbasak: rmadison, and the merges page [12:21] both show sid at 4.7.4-+dfsg-1 [12:29] rbasak: sorry, the vpn dropped, this was the last I saw: [12:29] both show sid at 4.7.4-+dfsg-1 [12:29] * Disconnected () [13:30] ahasenack: ah. OK. So the problem is that the importer is straightforwardly out of date rather than inconsistently out of date in different branches I think? [13:30] I need to sort out my VPN connection. That's blocking me from looking right now :-/ [13:31] rbasak: I don't know, but "out of date" sounds right [13:50] Hi [13:50] i'm trying to preseed (with ubuntu kickstart + some preseed lines) a ubuntu install on a dualboot [13:50] each kickstart make Win7 not bootable [13:50] i need to repair Win7 with CDROM [13:50] fact is that i need to automate 800 nodes deploy [13:51] here is the kickstart file -> https://ptpb.pw/F5ts [13:51] here's some checksums on what changed at each steps -> https://ptpb.pw/0Y6b.png [13:51] and here the "view details" log from win7 repair tool -> https://ptpb.pw/fxvz [13:51] the fact is that PARTUUID seems changing after kickstart [13:51] i think its due to partman [13:51] and i'm searching for a way to keep same sda1 PARTUUID [13:51] to not to have to repair WIN7 after kickstarting [13:51] the strange thing is that kickstarting edit only MBR's bootloarder part -> and repairing with WIN7 CDROM changes only C:\Boot\BCD [13:51] and every loop i do a kickstart deploy gives the same [13:51] while true; do ; kickstart change bootloarder ; WIN7 boot broken ; repairing with CDROM, it edits date inside sda1 ; done [13:51] (sorry for that huge paste) [13:54] dont dual boot [13:58] are you serious ? [13:58] very [13:58] cool [13:58] any serious help here ? [13:59] There is, in my opinion, almost no reason to dual boot anymore with modern hypervisors [13:59] you doesn't have my needs [13:59] and i'm not asking for that help [13:59] that's cool from you [13:59] but not my ask [14:09] eoli3n: Wait, you're taking a checksum of sda1 there? [14:09] eoli3n: I'm assuming sda1 is your ESP, yes? [14:10] I'm not completely understanding here, but I'd be more inclined to think you're seeing a problem with your efibootmgr entries. [14:10] mason: i'm using legacy not uefi bios [14:10] i took some checksum to see what kickstart change [14:10] sda1 is windows part [14:11] eoli3n: Ah... Nowadays I wouldn't consider dual-booting without UEFI, but I'm not sure Windows 7 can deal with UEFI. Can it? [14:11] mason: i use old nodes [14:11] i don't know, problem is that i will node renew my 800 nodes now :) [14:11] i will not [14:11] * [14:11] right [14:12] my problem needs a bit reflexion to understand what i do [14:12] sorry to bot be able to make it easy undestandable [14:12] just noted that you've included multiple pastes - looking [14:12] thx, ask if any question [14:12] the important paste is the table [14:12] a bit hard to understand [14:13] i started at line1 with a dualboot working [14:13] then i reinstall with kickstart at line 2 [14:13] my kickstart installation needs to keep win7 working [14:13] after kickstart, i'm not able to boot win7 without win7 CDROM repair tool [14:13] #Clear the Master Boot Record [14:13] zerombr yes [14:13] Guessing that's why. [14:13] nomp [14:13] nop [14:14] asked to dev of ubuntu kickstart [14:14] it does nothing [14:14] ahasenack: I import samba by hand and it worked fine. [14:14] Not sure what happened in the past. [14:14] ahasenack: so it should be good for you now. [14:15] Sorry it didn't work before. It could have been due to a gap when the importer was running. [14:15] We haven't got the full "catch up everything" thing running yet. [14:15] nacc: ^ [14:15] mason: he pasted me that -> https://paste.ubuntu.com/26409694/ [14:18] eoli3n: Hm, well. Hopefully someone who's done this will come around with ideas, or there's always the mailing list. I don't run Windows anywhere so I'm not entirely clear on what it wants and what's changed out from under it. [14:19] eoli3n: I only just came in, but it sounds to me like GRUB needs to create a menu entry for the Windows install. If you want Windows to remain the primary boot-strap bootloader then you have to prevent GRUB from writing it's bootstrap code [14:21] TJ-: i don't want to prevent it [14:21] chainloader +1 is working [14:21] problem is that win7, while booting, ask for repairing [14:21] TJ-: https://ptpb.pw/0Y6b.png [14:22] please check and tell me if its clear [14:22] when installing with kickstart, nothing changed on the disk exept ubuntu install on sda2 and bootloader 0>446 on sda [14:22] the strange part is [14:22] when i repair win7 [14:22] it repair by changing BCD on win7 install [14:23] i don't know more what it does -> here's the log file -> https://ptpb.pw/fxvz [14:23] grub is working [14:24] eoli3n: is the partitioning using only MBR ? [14:24] what do you mean ? "using only MBR" ? [14:25] eoli3n: it's possible to have GPT hybrid that also has a valid MBR [14:25] i'm using mbr not gpt [14:25] https://ptpb.pw/F5ts [14:25] https://ptpb.pw/F5ts [14:25] OK, and which sector does sda1 start at? [14:25] oups sorry for double [14:25] 2018 [14:25] ahhh [14:25] 2048 [14:26] please look at the paste [14:26] at PRE part [14:26] you will see that i use sfdisk to restore part table [14:26] eoli3n: OK, so under normal circumstances GRUB will write it's boot-strap into sector 0 and it's core image into sector #1 through 2047 [14:27] not from 0>446 ? [14:27] hm i didn't knew there was more that "boot-strap" [14:27] my question is [14:27] eoli3n: 446-509 is the partition table, 510-511 is the signature [14:28] ok [14:28] so why [14:28] installing grub breaks win7 boot [14:28] as win7 bootloard is at start of sda1 [14:28] bootloader [14:28] so at 2028 [14:28] 2048 [14:30] eoli3n: the process goes PC >BIOS > read sector 0 > execute code from offset 0. This is the bootloader's boot-strap code. In GRUB it then uses BIOS services to read sector #1-2047 into memory and continues executing - that is GRUB's core image, which then finds GRUB's root file-system and accesses that, loads the normal.mod and executes 'normal' command which reads /grub/grub.cfg and processes it [14:30] (menu, wait for key press, launch OS, etc) [14:31] i get it [14:31] As I recall, Windows boot-strap code in sector 0 looks for the partition that is flagged as Bootable, then reads boot code from that partition, which then reads Windows bootmgr code [14:31] the partition sda1 is marked as bootable [14:31] with "boot" flag i mean [14:32] so installing grub can not break any win7 install right ? [14:32] eoli3n: right, from your table it looks as if the Win7 repair is writing something into the 'spare' sectors from sector 1 onwards - is that correct? [14:33] which are spare sectors [14:34] what i can say, is that repair tools write between 2048 and end of partition [14:34] i know that it edit BCD file [14:34] eoli3n: Installing GRUB will break Windows every time 100%, since it has to write it's boot-strap code into sector 0. However, it uses os-prober to locate the Windows OS during "update-grub" and adds a menuentry for Windows [14:35] TJ-: i used a previous installation method which install grub with a custom script without breaking win7 part [14:35] win7 install i mean [14:35] eoli3n: it sounds more likely Windows is breaking itself - by 'thinking' it needs a repair when it doesn't simply because sector 0 changed, then during the repair it goes on to change things it doesn't need to change [14:36] so how to make it works without repair ? dd backup then restore ? [14:36] i need to automate the process [14:36] but still, i'm not understanding on how my previous deploying method differs [14:38] in my previous installation/deploy method, i uncompressed a huge tar.xz on disk, then install grub in chroot with this script -> https://ptpb.pw/DR9s [14:38] that didn't make win7 needs a repair [14:38] why ? [14:39] my previous installation working method, complete is -> boot debian bootstrap pxe -> sfdisk to restore part table -> detar.xz sda2 (/boot) and sda3 (/) -> chroot -> install grub with the script in chroot -> reboot [14:39] win7 still working after that [14:39] what differ in kickstart method ? [14:43] weird, isn't it ? [14:45] I'm trying to determine what exactly "grub-installer/with_other_os" is supposed to fo [14:50] I think that should be set to "true" when you expect another OS to be installed; I don't think that'll affect the issue you are having though [14:50] that was my question before all of that on #debian [14:50] i tried every options TJ- [14:51] with_other_os and only_debian, set to true or false [14:51] all false was my last try [14:51] just tried to install grub with my custom script [14:51] as https://ptpb.pw/n5Av [14:51] lets try, i tell you in 20min [14:51] grub-installer/skip boolean true [14:51] then generate a chroot grub.sh installer [14:54] cat not echo -> fixed : https://ptpb.pw/ao3y [15:08] eoli3n: Are you sure when Win7 'repairs' it's not writing a GPT to the disk? Because in your table for lines (3) and (4) you show PARTUUID - that will only be available for GPT, MBR scheme has nowhere to store a /partition UUID/ (whereas the file-system in the partition can/does have a UUID) [15:11] eoli3n: GPT uses sectors 1-33 which would explain why in line (3) you have a different checksum for 0>1024 [15:12] i repair, and recheck [15:15] use "gdisk" to check before and after [15:15] i can't, no xserver [15:17] gdisk is console [15:17] ah [15:17] huhu [15:17] "gdisk -l /dev/sda" [15:18] need to redeploy, my custom grub.sh breaks [15:18] tell you in some minutes [15:20] hmm that could be the trick [15:20] dump and restore with sgisk [15:49] TJ-: before -> http://ix.io/EvA, after -> http://ix.io/EvC [15:50] GUID change each time i run gdisk [15:50] http://ix.io/EvD [15:50] http://ix.io/EvE [15:51] OK, so not GPT then. So why is Win7 changing something in sector 1+? Does it also hide recovery info there? [15:51] hide recovery info ? [15:51] where ? [15:51] i don't know why, i think, maybe it changes only BCD boot file [15:51] in log of repair tool, it just says that it edit the entry in BCD [15:52] suppress previous one then replacing by a new matching one [15:52] as i my previous paste [15:52] https://ptpb.pw/fxvz [15:52] https://ptpb.pw/0Y6b.png [15:53] 3 collumns in orange are same [15:53] eoli3n: oh! I misread your table "0>1024" as being the first 4 sectors of the disk, but that's actually the 1st partition [15:53] i mean first one is 2048 > (1024*50) [15:53] yep [15:53] eoli3n: you should take a checksum of sectors 1-2047 [15:53] hm but how to cut it [15:53] eoli3n: This is where UEFI is much more orderly. There aren't random things slipping their tentacles around different undocumented bits of disk. [15:54] 0>446, 446>510, 512> 2047 ? [15:54] as in "dd if=/dev/sda skip=1 count=2047 | md5sum" [15:55] ok but it will tell nothing [15:55] https://ptpb.pw/0Y6b.png [15:55] i already test lower part [15:55] 0>446 , 446>510 [15:55] 1>2047 will have part table and bootloader into it no ? [15:56] the range is too high ? you know what i mean ? [15:56] sadly, i have to go :( , i really want to find out that problem, i will try to diff md5sum 512>2047 too tommorow [15:57] eoli3n: no, 1-2047 are 'spare' sectors which GRUB puts its core image in [15:57] ? [15:57] https://fr.wikipedia.org/wiki/Master_boot_record [15:57] i don't get what you mean [15:57] sorry [15:58] wikipedia says that 0>446 is part table [15:58] so how 1>2047 could be grub core image [15:58] 1 is a byte, yes ? [15:58] byte "1" to byte "2047" [15:58] ? [15:59] No, it's sectors of 512 bytes [15:59] dd uses 512 byte blocks by default [16:00] ohhhhh [16:01] i will take a look tomorow morning at 8h (GMT+1) [16:01] thx a lot for your help [18:10] is there an ubuntu repo for tomcat 8.5? [18:11] DammitJim: 8.5 appears to be in artful and forthcoming bionic [18:12] I guess I've got to learn what bionic and artful is [18:13] I have ubuntu 16.04 LTS servers with tomcat 8 and apparently Apache Tomcat is making tomcat 8 EOL in September [18:13] DammitJim: 18.04 (unreleased) and 17.10, respectively [18:13] trying to start getting off that version [18:14] gosh, it looks like I'm going to have to just uninstall tomcat8 [18:14] oh [18:14] and download the apache=tomcat-8.5.zip [18:14] and work it from that angle [18:14] so you don't actually have an application that requires 8.5? [18:14] no repos [18:15] I do not [18:15] we are purely doing it because it's EOL [18:15] just upgrade to 18.04 LTS when you're comfortable with the change [18:15] 18.04 will be released before september. [18:15] yeah, I think that'll be an option in my proposal [18:22] DammitJim: also, Tomcat 8 being in main, it should be supported for the full lifetime of 16.04 even if upstream reaches its EOL [18:22] (supported by canonical/ubuntu) [18:22] *not* by upstream, to be clear :) [18:23] yeah, main is a canonical thing :) [18:30] thanks for clarifying that, sdeziel [18:30] so, if there was a problem with tomcat 8, Canonical would fix it and release an update? [18:31] DammitJim: yeah [18:31] generally speaking, it does depend on 'the problem', as we still need to follow SRU rules [18:31] but preusming you mean CVEs or so, then yes [18:31] awesome [18:32] I need to find the documentation that explains that, because that is AMAZING [18:32] https://help.ubuntu.com/community/Repositories#Main [18:32] iirc [18:49] thanks [19:04] nacc, I'm reading the Main section [19:04] that's where Tomcat would fall under, right? [19:04] DammitJim: correct [19:05] you can use 'apt-cache policy tomcat8' to see [19:06] not all binary packages built from a source package are in main, so it doesn't hurt to check all the binary packages you care about [19:06] sarnold: good point [19:07] oh gosh [19:07] the devil is in the details, but thanks! [19:07] so, it seems that if I want to use tomcat 8.5, I'll have to upgrade to Ubuntu 18.04? [19:08] DammitJim: i think everying is in main except libtomcat8-embed-java nad tomcat8-user [19:09] DammitJim: once released, yes, or 17.10 in the meanwhile [19:45] sigh [21:34] &j ssacc.net [21:54] So here's something that's been baffling me, and it's arguably appropriate since the router in question runs Ubuntu ;) [21:55] A bunch of random sites seem to have started blocking HTTP traffic from my office, with what appear to be Apache "Access Denied" messages. This extends to curl/wget from the router itself . . . but somehow *not* to traffic through the OpenVPN instance? [21:56] keithzg: is your public IP on a blacklist? [22:00] TJ-: That was my first thought, but if it is, I can't seem to find any publically-accessible listing thereof [22:01] keithzg: what's the public ip address/mask ? [22:02] TJ-: It's 184.70.164.246, aka gmcl.com [22:03] (My current working theory remains that it's some sort of private corporate blacklist; that doesn't explain why VPN'd traffic doesn't get block but I can sortof hand wave that away with "routing is complicated, I'm probably not understanding something") [22:04] keithzg: if you are using openvpn to tunnel out to another host that then routes, it's IP address will be different [22:05] TJ-: The router is also the VPN server, though, so shouldn't sites see that as the IP address of the traffic? [22:06] keithzg: you mean you connect from LAN clients using openvpn to your gateway router? [22:07] keithzg: checked the IP, not blocked anywhere [22:07] TJ-: Specifically I mean that the router for the office LAN is also the VPN server that external clients use to get into our LAN remotely. [22:08] keithzg: Oh, I thought you meant you link your gateway to another location and tunnel /out/ through it [22:09] keithzg: then I can only thing your gateway is messing with the traffic, are you sure your network doesn't have a transparent proxy? [22:09] keithzg: does it affect HTTPS connections or only HTTP? [22:10] keithzg: i'd suspect the Apache message you see is from your own network [22:11] TJ-: Funny story about that, due to this I've noticed that https://thebay.com doesn't have a valid cert ;) but yeah it appears to affect both HTTPS and HTTP traffic, for instance https://tools.usps.com has a valid HTTPS connection but tells me "You don't have permission to access "http://tools.usps.com/" on this server" [22:12] keithzg: I think you've got an internal redirection issue in the gateway. Possibly the rules that were set for incoming openvpn tunnel traffic are breaking regular forwarded traffic [22:13] keithzg: Ask yourself: 1) when did this start? 2) What did I change just before I noticed the issue? [22:13] TJ-: That's the problem, other than the standard security patches I haven't touched anything on the router in ages now. [22:14] keithzg: it's an Ubuntu server actiing as gateway? [22:14] TJ-: Yup. [22:14] keithzg: check /var/log/syslog and /var/log/kern.log for clues [22:15] keithzg: also, if it has apache2 web-server installed, check it's logs in /var/log/apache2/ in case it indicates it's responsible for the messages [22:18] TJ-: No messages in kern.log for several days now, I can't see anything that seems remotely relevant in either syslog or the apache logs, and nothing seems to shwo up if I tail them while trying to access a site :( [22:19] keithzg: has it run out of space? "df -h" [22:19] also try "df -ih" (for inodes) [22:20] pity there's no way to get both in one invocation :( [22:20] TJ-: Naw, the 256GB M.2 SSD that the router runs is only at 4% space usage (the only higher is /run at 8%, and inode usage for everything is being rounded to 1% [22:22] keithzg: good. Are you comfortable sharing the netfilters rules? ("pastebinit <( sudo iptables-save )" [22:29] TJ-: https://paste.ubuntu.com/26440410/ [22:29] if you request httpS://tools.usps.com amdd get to see an error stating that you may not access HTTP://tools.usps.com/ (so non-encrypted) then this is a pretty obvious hint that your TLS connection was stripped towards the receiving end. [22:29] s/amdd/and/ [22:29] tomreyn: that's why I suspect a local proxy [22:29] right [22:29] keithzg: are the local clients using Ubuntu/Linux ? [22:29] Yeah I wonder . . . I'm going to try turning off the Apache server (which is proxying to a VM running the *actual* company website) [22:30] TJ-: Not all of them, the first person who noticed this and has continued to notice things is on Windows 8.1, and I randomly tried a macOS VM at one point. I myself have been mostly testing this from Kubuntu. [22:31] Well, shutting down the Apache server on the router didn't change anything. [22:31] keithzg: I'm also surprised, if that is a gateway router, that the INPUT chain doesn't have a DROP policy and then specific rules for allowing VPN/SSH traffic in [22:32] keithzg: can you do one of those 'wget' ops that gets denied and show us the output in a pastebin? [22:32] keithzg: from the gateway itself [22:33] keithzg: also, "pastebinit <( ip -4 -6 route show )" [22:34] TJ-: I have SSH blocked with `-A INPUT -i external0 -p tcp -m tcp --dport 22 -j REJECT --reject-with icmp-port-unreachable` and that I thought worked fine for blocking SSH traffic (I actually run a port knocker, and that's how rules for allowing SSH in get added) [22:38] "ip -4 -6 ro" only returns v6 routes here (on Xenial) [22:38] keithzg: right, but if there are other services on the gateway they may be exposed. [22:38] sdeziel: it returns both here on 16.04 [22:38] TJ-: Ah, fair enough. [22:38] sdeziel: oh, no, you're correct! Sorry, I misread! [22:38] Anyways the denied requests are just single-line HTTP responses, ex. [22:38] Request RejectedThe requested URL was rejected. Please consult with your administrator.

Your support ID is: 16159986499229415207 [22:38] TJ-: too bad, I would have like it to work ;) [22:38] keithzg: so, "pastebinit <( ip route show; ip -6 route show )" [22:38] sdeziel: yeah, it annoys me that without switches it defaults to IPv4 [22:38] TJ-: https://paste.ubuntu.com/26440446/ [22:38] Oh how I wish we had IPv6 [22:38] keithzg: I wanted to see the entire wget messages. Do "pastebinit <( wget http:///whatever 2>&1 )" [22:38] TJ-: Oh, fair enough, I just saw that it was going "200 OK" and nothing else other than the actual *contents* of index.html indicates any problem. But here: https://paste.ubuntu.com/26440457/ [22:39] Oh oops, never mind that [22:39] Although maybe that's a clue to some degree, many initial URLs are fine, but then what they're actually redirecting to isn't OK. [22:40] Actual wget output for one of these 403s: https://paste.ubuntu.com/26440460/ [22:40] "wget -SO - http:///whatever 2>&1 )" [22:40] i'd rather suggest to use curl --trace /tmp/trace http(s)://... [22:42] keithzg: thebay.com is broken for me too, and TLS connections return SSL_ERROR_BAD_CERT_DOMAIN [22:42] keithzg: any other domains do this to you? [22:42] 69.192.84.206 belong to Shaw Communications [22:42] keithzg: would that be your ISP ^ [22:42] tools.usps.com seemed like a better test candidate [22:43] For that I get "20 redirections exceeded." [22:43] and when resolving www.thebay.com, I get an akamai IP so it looks like an ISP getting in the way [22:44] tomreyn: heh yup, that would be precisely what I was going to try as an alt. Here in fact is the curl trace output for that: https://paste.ubuntu.com/26440477/ [22:44] keithzg: that's the output of which command? [22:45] sdeziel: Interesting, I saw Akamai when trying to figure things out before too with https://www.us-cert.gov/ (the third website giving this error) [22:45] sdeziel: that explains it then, they've left thebay.com in the DNS zone file but it should be front-ended by cloudfront. www.thebay.com is correct with a CNAME [22:45] tomreyn: `curl --trace tracefile https://tools.usps.com` [22:45] sorry, akamai, not cloudfront [22:46] keithzg: from that paste, it seems the 403 was emitted by Akamai themselves [22:46] Server: AkamaiGH [22:46] maybe Akamai thinks your IP has a bad reputation? [22:46] tools.usps.com also on akamai - do Akamai have a problem? [22:47] sdeziel: I did an RBL check on the IP addres over about 30 RBLs and it's clean [22:47] akamai may have their own database [22:47] akamai don't like you. [22:48] That defintiely aligns with the vague intimations of https://community.akamai.com/community/cloud-security/blog/2016/04/07/why-is-akamai-blocking-me [22:50] (one of the first things I found when initially noticing this error and when nmap told me that the us-cert site was hosted by Akamai) [22:50] this is 1 of the big downsides to centralised proxies [22:50] Yeahhh, and unfortunately that help page gives the impression that there's no way to contact Akamai and ask them precisely what's going on :( [22:51] keithzg: has anything on your network been doing automated connections, say to access the USPS site for example? [22:51] someone developing a tool to query shipping status maybe? [22:53] TJ-: Nothing intentional, no; the only software development anyone other than ol' sysadmin me does is oldskool Win32 work for the software we sell (that in turn tends to run on theoretically airgapped networks, so we don't even have any sort of auto-updater or such for our tools). [22:55] keithzg: how about via the VPN - you said connections via the VPN were OK - which I can only see happening if the VPN uses a different IP address for it's exit interface from your /30 [22:56] or maybe the VPN is using split tunneling ? [22:56] keithzg: show us "pastebinit <( ip addr show )" [22:57] TJ-: Yeah, that one baffles me as well. Here it is: https://paste.ubuntu.com/26440512/ [22:58] keithzg: so, the external clients /are not/ using the VPN for general internet access, which explains htat [22:58] keithzg: on a VPN client that works, could you share "pastebinit <( ip ro)" [22:59] sdeziel: I hate that "split tunnel" name, it's deceptive, there's no split in the tunnel, it's just standard routing! [22:59] TJ-: I /think/ it could be it but I haven't seen any evidence so far [22:59] sdeziel: Well drat, I didn't bring my laptop to work today! I wonder if Android can manage that. [23:01] sdeziel: I'm sure it is, the client will use their standard default route (and hence connect successfully to thebay.com) but will route 10.0.0.0./8 (or similar) via the openvpn tunnel [23:01] keithzg: you could do something server side. "sudo iptables -A FORWARD -i tun0 -o external0" [23:02] keithzg: 1 thing you could try us assign another IP address to external0 and use it as the source address for a test, see if it is blocked too, or just your current single IP address [23:02] keithzg: then with the VPN client, access a site then run this on the server side: "pastebinit <(sudo iptables -nvL FORWARD)" [23:02] my typing is going downhill, my fingers have a mind of their own! [23:02] TJ-: if Akamai blocks based on IP reputation, they maybe do that using wider CIDRs than /32 [23:03] sdeziel: right, but it's worth testing, because if it's only a /32 there is a workaround [23:03] sdeziel: Seems the command works fine from a shell on my Android phone, I think? https://paste.kde.org/pw2t6zene [23:04] keithzg: hmm, no default route? [23:04] 184.70.164.246 belongs to a /13 (!) - not ideal if your hopes are that you'll be emitting less bad traffic than the average of shaw communication (cable?) users. for business use, a much smaller address range would be recommendable. [23:04] keithzg: "ip ro g 8.8.8.8" ? [23:04] which is "ip route get 8.8.8.8" [23:05] yeah, sorry, I'm very lazy [23:05] :D trying to educate as well as diagnose :p [23:05] and it's better to have the receiving end understanding a command before running it :) [23:06] sdeziel: 8.8.8.8 via 10.180.113.86 dev rmnet_data0 src 10.180.113.85 uid 10228 [23:06] I keep telling that to my Huskies! [23:06] lol [23:06] (I haven't tried `sudo iptables -A FORWARD -i tun0 -o external0` yet, for the record) [23:06] keithzg: I think that's your answer [23:07] keithzg: you are using split tunnelling (or routing just the remote LAN IP space over your VPN/tun0) [23:07] Aha, fair enough (can't remember if that was intentional on my part when I ported over to the new server, or maybe that [23:07] 's an artifact of the convoluted setup of my predecessor) [23:07] keithzg: it makes sense, no point in routing internet bound traffic via the tunnel [23:08] keithzg: at least that's what I believe is going on. I'm not very familiar with the per UID routing stuff done on Android [23:08] TJ-: Yeah, it's definitely what I'd have chosen to set up if I actually did so deliberately ;) [23:08] keithzg: do you want to test with your 'spare' currently unused IP address? [23:08] * sdeziel wonders if per UID routing landed upstream [23:10] TJ-: That does sound like a plan---although I honestly don't know what it is, heh (I knew we had a second static address but I haven't bothered to look it up) [23:11] keithzg: your 184.70.164.244/30 gives you 2 IP addresses: .245 and .246 (which you use) so we can try adding .245 and using it [23:11] keithzg: "sudo ip addr add 184.70.164.245/30 dev external0" [23:12] wget --bind-address=184.70.164.245 -SO - https://tools.usps.com/ [23:13] keithzg: then try "wget --bind-address=184.70.164.245 -S -O - http://www.thebay.com" [23:13] Grrrr, stealing my typing :D [23:14] I don't trust your self-aware fingers either ;) [23:14] LOL [23:15] hehe [23:15] Well I must've messed up the addition of the additional address or something, since that (either one) just hangs at "Connecting" forever [23:15] keithzg: check with "ip addr show dev external0" [23:16] keithzg: you should see both .245/30 and .246/30 [23:16] We know there's no netfilter rules to get in the way :) [23:18] TJ-: Heh. Yeah I see it listed although it's different? https://paste.kde.org/pbatt57z3/32j5t0/raw [23:19] keithzg: that's fine [23:19] keithzg: let's check routing: "pastebinit <( ip route show )" [23:19] TJ-: Fair enough, I just wasn't sure, although upon reflection I assume "brd" means broadcast so that makes sense to me then [23:20] TJ-: https://paste.ubuntu.com/26440728/ [23:20] keithzg: did you say both .245 and .246 hung when used with wget --bind-address= ? [23:21] TJ-: Oh, no I didn't try binding to .246 instead. Just tried it, it instantly works. [23:21] interesting, adding the new IP changed the default via to .245 [23:21] (well, gives the 403 from AkamaiGHost, heh) [23:22] keithzg: I'm getting confused. which works? "wget -S -O - http://www.thebay.com" ? [23:23] TJ-: That works (gets a 403), explicitly binding to .246 works (also 403), explicitly binding to .245 does not (hangs on the Connecting step) [23:24] keithzg: weird, that suggests your ISP has assigned a /30 but is not routing it! Is there a modem/router from your ISP connected to the server? [23:24] keithzg: in which case it's likely .245 is assigned to that device [23:26] keithzg: do "sudo ip addr del 184.70.164.245/30 dev external0" to clean up the server [23:26] Yeah they insisted they couldn't give me *just* a modem anymore :( (this is why I don't use Shaw personally!). In theory they've disabled it so that it's only acting as a modem, it's not bridged or anything, but I wouldn't be surprised then if the modem+router box also has its own IP address secretly then. [23:27] Huh, even add that del I still see .245 as the default route. [23:27] (Did I just not have a default before? Yeesh, I need to keep better track of these things!) [23:28] https://paste.ubuntu.com/26440446/ shows that you had a "default via 184.70.164.245 dev external0 onlink" [23:29] keithzg: that's one of your earlier paste [23:29] sdeziel: Ah, fair enough. So it's more just a lack of comprehension of what it all means on my part then, heh. [23:29] oh, so .245 is the ISP device [23:30] i missed that [23:30] keithzg: no, we screwed up a little I'm affraid [23:30] keithzg: so the upshot is ... Akamai [23:30] i read the default as .246 originally, grrr [23:31] Curse our fallable humanity! [23:31] I blame my fingers AND my eyes :) [23:31] basically, broken I/O [23:31] on the up side, you were not SSH'ed in from a remote location and didn't lose access :) [23:31] hehe [23:32] Yeah, seems like my next step is probably to bug my ISP and see if there's some way they can get more info or a delisting from Akamai. [23:33] Many, many thanks! :) [23:33] I wish all of the internet was full of people as wonderful as #ubuntu-server :D [23:34] Fallable and human as they may be ;) [23:34] hehe [23:34] good luck! [23:34] Thanks!