Rendered at 20:54:33 GMT+0000 (Coordinated Universal Time) with Cloudflare Workers.
nicholasjarnold 17 hours ago [-]
Love seeing stuff like this here. I recall back in the very early days of DOCSIS, before it was encrypted, one could use Ethereal[0] with a NIC that supported promiscuous mode and simply inspect traffic from all devices connected to your neighborhood peering point. This was before TLS or even SSL was common, so most people's traffic was in the clear. It wasn't morally correct, but as a teen it was a lot of fun.
You could also determine the IP address of the TFTP server that your ISP was using to serve the modem's config files to the various nodes in your local area. Using Ethereal, again, you could dump the bytes of the config file, edit it in a text editor and then serve it from a TFTP server you had setup on a box in your home. Then you simply changed your IP address to the TFTP server's IP address, plugged the modem directly into your box and BOOM, you now turned your 8Mbps connection into a 100Mbps connection...until the next modem reboot. Good times...
Yup. It was a good time. The forums were great because we would share configs nationally. And the way they operating back then, any config we tried was valid, even if not offered in your area. But I slipped up and reused a MAC address between legal and hacked modems. Then the Charter folks showed up at my door hehe
I was flying with 16m/2m when the fastest available at the time was like 5m/.512m. Peak megaupload days too
edude03 5 hours ago [-]
This brings back memories. My family made me pay for the internet when I was in high school so I had rogers ultra lite (64kbps/16kbps? IIRC) and I remember using this trick.
They of course eventually started using the internet too, and they'd get mad when the modem restarted (typically because my grandmother unplugged it) and it was slow again
sslalready 15 hours ago [-]
> inspect traffic from all devices connected to your neighborhood peering point
This is still the case with FTTH.
throw0101c 8 hours ago [-]
>> inspect traffic from all devices connected to your neighborhood peering point
> This is still the case with FTTH.
All PON standards (ITU-T G.984, ITU-T G.9807.1, etc) support the use of (AES) encryption. If your ISP doesn't enable it that's on them and not the technology.
martinald 7 hours ago [-]
The issue though is the AES key is sent plaintext on the upstream (and upstream isn't encrypted at all).
So if you can tap before the splitter on the OLT side you can dump all the AES keys.
throw0101c 6 hours ago [-]
> The issue though is the AES key is sent plaintext on the upstream (and upstream isn't encrypted at all).
From ITU-T G.984.3 §B.2.2:
> As described in clause 9.13.11 of [ITU-T G.988], the compliant OLT and ONU may execute a mutual authentication procedure, in the course of which both the OLT and the ONU compute the 128-bit master session key (MSK), a session-specific shared secret. Whenever the ONU is successfully authenticated, as indicated by the value of the ONU Authentication status attribute, the MSK is used to encrypt data encryption keys that are transmitted upstream.
and §B.2.3:
> Key exchange is initiated by the OLT. The OLT does so by sending the Request_Key message in the PLOAM channel. The ONU responds to the Request_Key message by generating, storing, possibly encrypting, and sending the data encryption key upstream. […]
See also G.987.3 §15.1, "Threat model for XG-PON":
> c) An attacker could connect a malicious device at various points on the infrastructure (e.g., by tampering with street cabinets, spare ports, or fibre cables). Such a device could intercept and/or generate traffic. Depending on the location of such a device, it could impersonate an OLT or alternatively it could impersonate an ONU.
> d) A malicious user in any of the above scenarios could record packets transmitted on the passive optical network (PON) and replay them back onto the PON later, or conduct bit‑flipping attacks.
Tapping glass has been considered; the standards and capabilities are there for companies to implement encryption.
Hikikomori 10 hours ago [-]
PON systems support downstream encryption though.
oynqr 15 hours ago [-]
With garbage tier GPON and friends, yes.
FireBeyond 17 hours ago [-]
I used to be an Comcast Business Cable customer. I can't remember the details but at one point they changed my static IP allocation, and somehow screwed it up, and sent me a configuration that meant I was online but un-routable (I think a typo in a mask or gateway or similar).
Anyway, I sat on a call with a L2 or L3 tech (I assume) trying all manner of things to see if we could cause a re-provisioning that was successful. No joy. An hour or more.
This was also very late at night. And at some point he realized/decided that I knew what I was doing, we could both see and understand the problem - "everything looks good, just fix this config entry and all will be well". But I couldn't do it, because I wasn't a Comcast admin. And then he said "hmm, here's what I think we do. Our admin password changes every day. I can give you the password and you can try to make the change".
I did it. And fixed.
psd1 13 hours ago [-]
That reminds me of the renegade plumber in the movie Brasil, who fixes problems in defiance of the utility company
rootsudo 14 hours ago [-]
Then about a decade of the sb5100 modems being infamous, and coaxthief being popular, it all came to an end.
esseph 17 hours ago [-]
> You could also determine the IP address of the TFTP server that your ISP was using to serve the modem's config files to the various nodes in your local area. Using Ethereal, again, you could dump the bytes of the config file, edit it in a text editor and then serve it from a TFTP server you had setup on a box in your home. Then you simply changed your IP address to the TFTP server's IP address, plugged the modem directly into your box and BOOM, you now turned your 8Mbps connection into a 100Mbps connection...until the next modem reboot. Good times...
Can confirm, did this in Mesa, Az in like 2000... Lol, we had some great quake 3 arena lan parties in the garage.
To say how this works another way, it's an arp poisoning attack where the router sees your tftp IP on the Ethernet interface first instead of on the cable interface. Once that IP was in the arp table, you could feed it a config file from your own tftp server, which is where the subscriber bandwidth limits were kept (in the modem config file sent by the tftp server). At the time, large scale subscriber equipment management was very limited.
Sometimes they'd see a subscriber was just pulling a ton of bandwidth somehow, and they'd send a tech out to replace the modem. Rinse/repeat.
mrweasel 12 hours ago [-]
Fortunately my ISP encourage getting your own router. It saves them money and they argue that you might already have one, so environmentally it just makes sense to allow you to use that. They'll happily send you one, but it's not going to be good.
A previous ISP didn't exactly encourage using your own router, but they also didn't hide the information you needed. I really didn't want to have both their router and an access point, so I got a 3Com router with wifi built in (yes, this was a while ago). I used that thing for 12 years, before the ISP reached out letting me know that the router they originally sent me was getting really old and that they'd need to send me a new one (which was better than the old 3Com one).
If the ISPs really want to dictate which router you have, they should really provide much nicer ones. I don't get why they also have to be the shittiest one on the market. Even when they advertise "best wifi router on the market" they just mean that it sucks less than the one I get from the competitor. It's always some weird Chinese brand you've never heard of, or Zyxel.
bob1029 11 hours ago [-]
My most recent ISP provided a router that is actually really good. It can handle the 5gbps connection without choking to death.
With the current era of AI, I am not in the mood to be poking inbound holes in my NAT anymore. If I have something I want to be visible from the internet I'll throw in on an EC2 machine or use some kind of proxy solution.
ShinyLeftPad 8 hours ago [-]
> My most recent ISP provided a router that is actually really good
Does it have a backdoor though?
unrented7977 8 hours ago [-]
Almost certainly
coldpie 7 hours ago [-]
Is that a thing that has ever happened? Any links?
BenjiWiebe 4 hours ago [-]
Well they basically all have TR-069 (and enabled) which is a remote admin protocol. So I suppose they could always add any firewall rules they want.
My ISP hardly needs a backdoor in order to inspect my internet traffic
Aaargh20318 7 hours ago [-]
Not to inspect your internet traffic, but they can use it to access your LAN.
I would never use an ISP-provided router for this reason alone. Plus, they usually hand out consumer-grade junk anyway. It's always some awkwardly shaped box that then need to stash somewhere instead of just providing something rackmountable.
The kind of people can detect if an ISP does this aren’t the kind of to use their ISP provided router.
LoganDark 8 hours ago [-]
Sure, but they can install software on your router that uses the WiFi signal to do motion sensing, or etc. Some providers are actually advertising this as a feature to excuse it being installed on the device.
type0 7 hours ago [-]
> they can install software on your router that uses the WiFi signal to do motion sensing,
Try telling this to a regular user, all they'll hear is you talking voodoo and will tell you to consult the priest or psychiatrist. At best they'll consult AI slopsummary that would tell them that such fears are nothing to worry about.
7 hours ago [-]
throw0101c 8 hours ago [-]
Somewhat related for GPON-based ISPs, instead using your ISP's ONT, you can now get "ONT sticks" which you can program to log into your ISP, but which can be inserted into the SFP(+) port of your own router so you can use its functionality:
I like how they use an Apple eMac and some type of IBM computer (a PS/2?) in their graphics :-)
jonpurdy 6 hours ago [-]
I was considering doing this when switching providers. But running their router in bridge mode seems good enough at this point (no packet drops or latency under load, getting almost advertised gigabit speeds).
Is this beneficial/noticeable for faster connections, or if the ISP equipment is terrible?
Edit: I wish they provided just an ONT, but it's built into their provided router that I use in bridge mode (with wifi/routing disabled etc).
wolrah 6 hours ago [-]
> Is this beneficial/noticeable for faster connections, or if the ISP equipment is terrible?
If the ISP-provided box actually has a real bridge mode that works reliably then there's not really any meaningful difference.
I am using one of these sticks because AT&T's BGW320 gateway is well documented as being absolute garbage in multiple significant ways. It does not have a bridge mode, so the closest you can get is "IP Passthrough" where it pulls some NAT tricks to make a single device believe it has the public IP address despite actually still being behind NAT.
This mode is unreliable, more often than not after a power outage I would be offline until I connected to the AT&T gateway, clicked "submit" on the already-configured IP passthrough page, and then renewed the DHCP lease on my router. It'd otherwise hand my router an internal address but then still set up some of its NAT tricks which would prevent it from actually getting online with that address.
Beyond that, the NAT connection tracking table on these devices is extremely small (a few hundred connections) so regardless of whether you're using passthrough or not it was very easy to exhaust the entire table at which point new connections just stop working until old ones close or expire. This is a problem that has never been an issue for decent NAT devices and even the trash-tier ones mostly figured it out in the early 2000s. My 2004-era WRT54GS could handle tens of thousands of connections, so the fact that a device being packaged with 5 gigabit symmetrical fiber only does a fraction of that has no explanation other than it being intentional.
For the last two years I've had a WAS-110 handling the PON side of things plugged in to my UniFi Cloud Gateway Fiber and it's been entirely problem-free.
YCombinedBob 13 hours ago [-]
FYI: Fritzboxes have a built in packet capture feature which makes this possible. Also comes in handy if you forgot your ISP credentials and can't retrieve them from the UI.
oh, that's cool. in my case it's under [ip]/#/cap.
tzs 18 hours ago [-]
> If you're lucky enough to have an ISP using DOCSIS, you can likely get away with setting your ISP modem to bridge mode and just connect your own router on the other end and everything will just work
I've heard people suggest that instead of doing that go ahead and leave the ISP modem/router in router mode, connect your router to it, and put your router in the ISP router's DMZ.
Put all of your devices on your router.
The advantage of this approach is that people who use bridge mode often report that if there is any network problem the ISP tries to blame it on your router. Same for people who replace the ISP modem/router with their own.
The DMZ approach makes your setup look like a normal consumer setup to the ISP, so you just have to deal with customer supports hoops normal consumers have to deal with.
Note: I'd assume this also works with ISPs that don't use DOCSIS. It just requires that the ISP router supports a DMZ.
toast0 16 hours ago [-]
That often works, but it has a few problems:
a) it doesn't make me happy, whereas bridge mode makes me happy.
b) DMZ mode means you're still dealing with a lot of the CPE's protocol stack. If there's something it can't or won't do, or something that crashes it, DMZ mode may not be enough to let you do what you should be able to do.
c) if you do have to deal with pppoe (boo!), running it on your router can be useful, as you can use the pppoe status to trigger failover to lte/5g or something. Whereas if you wanted to query the status from the CPE, it would probably work great for a week then start failing.
drdexebtjl 1 hours ago [-]
This is double NAT, triple if your ISP puts you on a CGNAT.
I just do what TFA says, and when I need to call the ISP, I unplug my router and plug theirs in.
nemothekid 16 hours ago [-]
>and put your router in the ISP router's DMZ.
It's might be minor depending on the use case or your hardware, but this creates a double-NAT and can cause problems with UDP/WebRTC connections.
Atleast for comcast, you can buy an approved modem instead.
inventor7777 15 hours ago [-]
In my case, Cox (now Spectrum) allows customer owned modems. And we haven’t had a single internet issue in about 6 years. Few outages from storms and stuff but it has been incredible. I really appreciate having control of the full stack and even seeing DOCSIS logs and channel information.
Geezus_42 9 hours ago [-]
They do always try to blame the customer. However, a lot of them provide a separate modem and WiFi router. The modem is configured in bridge modem by default so that their router will work correctly, but it works the same for your own. They'll still tell you that your router is the problem, especially for speed issues.
TacticalCoder 17 hours ago [-]
[dead]
doyoon_123 18 hours ago [-]
fwiw this is just illegal in germany now. routerzwang got killed aug 1 2016, the isp has to hand over the access data so you can plug in your own router, safety excuse or not https://de.wikipedia.org/wiki/Routerzwang
ada-h00k 11 hours ago [-]
The only problem is that some providers, like Vodafone, implement this in the worst possible way. With them, you have to get your router’s MAC address whitelisted, and sometimes they block it again. They also refused to provide support, and I had to connect their router before they told me they had accidentally reset the list. I solved this for myself by simply cloning the MAC address of the original router using OpenWRT.
Geezus_42 9 hours ago [-]
Cable TV companies did the same thing with CableCard. They were purposefully awful to setup as a customer or and tech support rep. Getting them to actually work was a miracle.
Fnoord 5 hours ago [-]
I need to either get my SFP+ serial whitelisted, or spoof it. Both works. It is also easy to spoof a MAC address on a *NIX machine, provided you have root.
bot403 2 hours ago [-]
Funny how they never lose or block their own MAC address. Weird.
Fnoord 5 hours ago [-]
Yeah, here in NL as well. Plus, long before that there were ISPs who'd allow you to bring your own router. I was never interested in changing the caps (though in hindsight seems fun to try), but to have my own freedom and not have garbage hardware sitting inbetween. I now use a SFP+ with 1 gbit full-duplex fiber, no ONT or router, except my own (which is also a firewall and NAS among other things). Quite an upgrade from a pair-bonded, uncapped (!!) VDSL2. Oh, the times have changed.
Then there's 4G/5G where I actually like having lower bandwidth due to the monthly cap of total bandwidth, and sometimes a mistake would mean oops downloaded a gigabit there.
physhster 4 hours ago [-]
Same in Belgium. Proximus deployed the network but only gives you an ONT. You can even bypass that if you want because it's just PPPoE.
madduci 15 hours ago [-]
And here I am, running OpenWRT since 2016 the Telekom Speedport Router they give you is just trash
rft 6 hours ago [-]
I used to run FritzBoxes I bought myself, but now I have OpnSense on a mini PC via pppoe to a Digitalisierungsbox Basic in plain modem mode. Based on the little I had to interact with Speedports in the past, they seemed to have earned their reputation.
zahrc 13 hours ago [-]
I did my networking apprenticeship at Telekom. I’ve worked with some of the smartest people I’ve ever met… Always baffled me how bad their consumer grade services were.
Fuck Telekom
mschuster91 9 hours ago [-]
DTAG is Germany's utterly dominant phone and mobile carrier, even with them being the former national monopoly you don't stay in business if your staff isn't among the best there is. But their consumer side is excessively capitalist.
DominoTree 4 hours ago [-]
Ages ago I actually had to dump the flash from a Pace 8256AC router AT&T provided, and then do a bit of firmware disassembly and custom squashfs variant rewriting so that I could recover and unlock the 802.1x cert needed to use a third-party router.
This got more complicated because their 802.1x cert was actually significantly malformed (not a remnant of how I extracted it) - there were a number of places where they were using ASCII strings of hex values, rather than the hex values themselves, causing fields to overrun their maximum sizes.
OpenSSL did not like this, and I assume it is a bug in how they were cutting these certs to begin with.
The cert ended up being locked based on a permutation of the device serial number - but getting another device to unlock and use this malformed cert was an entirely different effort - I ended up just using OpenBSD.
After a week or two I got it all working, and it was a fun project, but it was an insane amount of effort for something so trivial.
ksec 9 hours ago [-]
Are there any countries's ISP that allows you to bring your own ONT + Router All in one?.
I want an ONT + Router in one devices. In the good old days there were at least a few choices for ADSL so I dont need to separate devices. Now it seems only Huawei does it. I would have thought UniFi would at least be interested in that as well.
If not, are there any technical reason why this isn't being done or a good idea?
taldo 8 hours ago [-]
You can get any router with an SFP/SFP+ port, and use a GPON SFP module (a.k.a. "GPON Stick")... it takes a bit of fiddling with GPON auth, MAC addresses, VLANs but totally doable and gets you in full control of your side of the internet equipment.
8 hours ago [-]
kosinus 8 hours ago [-]
Many ISPs in the Netherlands allow this. They don't recommend it though, because damaging the fiber line into the building is a costly repair.
mangod12 8 hours ago [-]
Fun read. One side note: even after you get your own credentials for the WAN side, the ISP routers are usually managed remotely over TR-069, so the ISP can push config and read settings whenever it wants. That's reason enough for me to put my own router behind or in place of theirs, regardless of how good the hardware is.
chaz6 5 hours ago [-]
It is very invasive, but it does help the ISP diagnose issues that could be causing problems for the customer. For example, a misbehaved device that is causing performance problems by trying to associate to the access point constantly but failing (perhaps because the customer changed the wifi password but did not update the device).
stroebs 9 hours ago [-]
Great write-up, and something I’ve done myself using a MikroTik router to intercept the PPPoE connection and do a packet capture, both of which possible on almost any MikroTik router manufactured since as far back as I can remember. Handy device to keep in the arsenal and quite cheap too.
skibz 9 hours ago [-]
Agreed, the value for money with Mikrotik is exceptional. Where I live, I can find low to mid spec Mikrotik indoor wireless routers at the same price as your run-of-the-mill lobotomised TP-Link.
Implement7347 18 hours ago [-]
Pretty interesting writeup, i've always been curios about how authentication between the router and isp works, btw i got my isp credentials by finding a root rce on my isp provided router, which was fun
skibz 9 hours ago [-]
Assuming a very vanilla ISP and PPPoE (and glossing over a lot of other things), the username and password from your router is received by a RADIUS [0] server [1] (that your ISP operates) when your router tries to establish the PPPoE tunnel and get you online.
This RADIUS server will check whether your account exists (authentication) and whether you may continue to connect to the Internet (authorisation - you might have a bandwidth limit, for example, or maybe you haven't paid your bill).
If those checks pass, the tunnel is established and you're online. From this point, your connection is being metered (accounting), so that the ISP can monitor your usage and dynamically shape or disconnect your connection based on your account plan that you've paid for with the ISP.
There's obviously a million and one ways that this could work, but the core of the RADIUS protocol itself is relatively simple to understand and apply, even in a homelab.
Authentication and authorisation (in the simplest cases) is three packet types: Access-Request (sent by your router, into which your username and password are encoded), Access-Accept, and Access-Reject.
And accounting has two (Accounting-Request and Accounting-Response) with Accounting-Request including a status type (Start, Interim-Update, and Stop) to indicate the beginning, periodic updates, and termination of the connection along with its bandwidth usage.
This old project [2] I worked on a long time ago demonstrates precisely what I described above.
I had a gut feeling this was in Türkiye! Such a good resource, I had found my router's MITM guide posted 3 months back on a random dev blog when I wanted to switch routers a few years back. Funny how the router policy is almost universal in Türkiye.
hebelehubele 2 hours ago [-]
Yeah. My router had the jankiest admin page ever. I reverse-engineered & built a custom firmware + brand new admin page for it. Turns out Golang supported that chipset, so that was nice.
I learned a lot on how routers work, and it was a fun challenge to keep the internet connected while flashing new firmwares repeatedly.
esskay 8 hours ago [-]
I've been pretty lucky with this. In the UK I've used BT then EE (Which was owned by BT) and then Sky. I've still got the original BT credentials set in unifi and it's automatically just worked with no config changes or anything.
I've just got a standard openreach ONT on the wall, ethernet to the unifi and it 'just works'.
rstreefland 11 hours ago [-]
Vodafone in the UK are happy to provide the credentials via live chat as long as you agree that they only provide support for their own router.
wpollock 16 hours ago [-]
Enjoyed this post! Note there is a 4th option you didn't mention: enter "make and model of ISP's router" and the magic phase "default password" into your search engine. Sadly this works quite often!
viceconsole 13 hours ago [-]
PPPoE credentials are typically not the same as the credentials to access the router admin interface.
edude03 5 hours ago [-]
back in the day there was a bell modem (HH3k?) where you could get the PPPoE credentials from the admin page if you google'd the admin password. It also had a removable PON SFP so you could slot that in any router with the found credentials and it would just work
thenthenthen 16 hours ago [-]
And a 5th: mine has the credentials written on the back! Edit: not that its very useful in my case it seems
tripdout 18 hours ago [-]
> And particularly if you live in a third world country, your ISP uses an ancient protocol called Point-to-Point over Ethernet (PPPoE) for session authentication on top of that.
Or just Bell Canada. At least they’ll tell you the PPPoE creds and there’s pon.wiki.
Vaushite 13 hours ago [-]
Also used in first world countries when the access network is unbundled from the internet service provider, so it needs to know which ISP to connect you to.
blntechie 5 hours ago [-]
My third world ISP providing speeds up to 5Gbps provides ONTs with PPPoE still. Receny they have began to lock down the router management page and force customers to use their app to manage the router and of course with that goes the bridge mode too.
Thanks to eMudhra and bazillion vulnerabilities this year, saw many posts on users 'jailbreaking' their ISP ONT to unlock router management and bridge mode.
What are other alternatives for PPPoE? It is just initial auth layer and seem to be well understood. Curious on what the western ISPz use.
chaz6 5 hours ago [-]
The (only AFAIK) other option is IPoE, which is a fancy term for plain old DHCP. At the head end, the OLT will snoop for any DHCP discover packets from the client towards the network and inject an option 82 header, which can include a circuit id, customer id, or both. When a fiber network operator sells access on a wholesale bases, the ISP will configure the customer id as part of the service so they can differentiate between different services. On top of that, each service is assigned a SVLAN and a CVLAN which is another but less common way of differentiating between services.
Scoundreller 17 hours ago [-]
The fun part was discovering that grandpa’s Bell dialup login/password also worked for DSL over Bell’s lines in case your indy provider DSL sneezed.
ls612 17 hours ago [-]
I mean in a western country there’s no excuse for not going Starlink at this point if your only option is PPPoE DSL.
toast0 16 hours ago [-]
I had pppoe dsl until recently ... i dislike pppoe, but my bonded (vdsl2) lines were in good condition so I got very consistent latency and reasonable speeds. Upload wasn't great.
People near me on starlink reported latency that was sometimes better and sometimes worse, I think better speeds, but also CGNAT.
I don't need CGNAT in my life, thanks.
ls612 14 hours ago [-]
If it ever came to that for me I’d just get a seedbox. The people for whom CGNAT hurts the most are also the ones who will figure out an alternative.
viraptor 8 hours ago [-]
There's no good cgnat alternative for when you want to do voice/video calls and cgnat says no. You could VPN around that problem, but that adds to the latency.
tripdout 8 hours ago [-]
No, it’s used for their FTTH.
Scoundreller 17 hours ago [-]
oh, they do it for their fibre too
aftbit 6 hours ago [-]
>I personally use 10.0.0.0/8 for my home subnet because I'm awesome.
But then where do you put your VPN? 100.64.0.0/16 like tailscale?
azalemeth 13 hours ago [-]
The thing I would love to do is replace the gpons with an SFP+ optical interface or at least get some visibility on them. There's a project (https://hack-gpon.org/) that tries to do that, but they're all quite closed.
The less compute an ISP has on your LAN, the better.
ssl-3 12 hours ago [-]
I looked into doing that at home.
But my ISP's ONT is approximately the leanest little box. It uses very little power, it doesn't do any routing or wifi, and it acts like a tiny little transition between the world of internet-over-glass to internet-over-copper.
The hack-value of a spicy SFP+ module doesn't scare me at all and is kind of enticing, but I perceived zero functional advantage to rejiggering things in that way.
Instead, I perceived only disadvantages: If my fiber connection at home is ever fucked up somehow, then I want it to be un-fucked as soon as possible. The less weird stuff I have going on, the better off I'll be.
So I stopped exploring that path and decided that the ISP-supplied ONT is fine.
And anyway, that ONT is on the internet side of the firewall that I built and control. I do not care at all what the ONT might be up to, just as I don't care what any of the billions of other things that also live on the internet side of my firewall are doing.
chaz6 5 hours ago [-]
This is the way. ONT's are generally very efficient. Squishing all of the functionality into a stick brings the problem of heat dissipation, and they are known to fail over time if not cooled properly.
mindslight 5 hours ago [-]
I have the same exact setup. I'm happy to view the ethernet port on the ONT as a logical demarc point. And since it's not sitting on the side of the house (the traditional telco demarc), the ONT can be on my own surge protector for (stronger) galvanic isolation.
I think a lot of the pressure must come from ONT+router combos, or people trying to super-optimize space.
ssl-3 14 minutes ago [-]
It's kind like a telco demarc, sure.
The install here has one of those, too: The fiber originates in a small underground vault across the street, goes up a pole, flies overhead and across the street to another pole, and is carried along the old (abandoned, mostly) telco cable for support before flying over to the side of the house.
It goes down the side of the house and lands at a telco-esque demarc box with a good loop of extra fiber inside and a field-spliced SC connector, along with a coupler.
After that, a prefabulated patch cord goes in through a hole in the foundation, heads 20 feet or so across the basement, and lands at the ONT on the shelf where the other wired network gear lives.
In terms of galvanic isolation, that basement patch cord (at least) is just plastic and glass. It's electrically non-conductive.
The ONT is powered by the same outlet (in this case with a UPS, but that doesn't matter) that also powers the router and switch. If there's an increase in electrical potential for whatever reason at that point, then all of that gear (the ONT, router, switch) experience the ~same increase and the presence or absence of the fiber/ONT doesn't change that at all.
It's clean.
If they required me to use an ONR instead, then yeah: I might feel differently about it. It depends. (I'd still be using my own router, anyway.)
throw0101c 8 hours ago [-]
> The thing I would love to do is replace the gpons with an SFP+ optical interface or at least get some visibility on them.
Usually because there’s some level of authentication that the ONT does which is not possible with a standard GPON SFP like the one you’ve linked. The alternative is something like a WAS-110 [1] which has a tiny Linux distribution on it to clone whatever authentication or identification mechanism the ISP uses. These aren’t without issue as they are massively prone to overheating and despite having a programmable identity don’t support some providers/manufacturers.
The GPON interface is on the ISP's LAN, not yours.
J8kes 6 hours ago [-]
I'm doing this right NOW. I have a business WISP connection, 10km of wifi towers to town as we're on a farm, symmetrical 150mb up and down, and uncapped and supposedly not throttled, yet when I run the whole network through a wire guard connection on my GL.iNet Flint router my speeds are better, but latency is then the issue.
spuz 11 hours ago [-]
Apparently, for my ISP (EE in the UK), we all share the same username and password:
un: bthomehub@btbroadband.com
pw: BT or blank
Which makes me wonder, how do they identify my account and my plan?
mrktf 11 hours ago [-]
Multiple ways: by physical connection (isp side switch port and vlan, and GPON mac) - at least was my impression when engineer opened fancy control plane management page.
martinald 7 hours ago [-]
Basically Openreach or BTWholesale inject a "header" to the PPPoE session and they use that to identify your line.
So it basically doesn't use the username/password but still requires a PPPoE session so it has something to inject the header in.
esskay 8 hours ago [-]
The same credentials work for Sky as well bizarrely. I dont think they're using them, its purely a case of stick something in the field and they work it out on their end. I've not used a router provided by an ISP since the ADSL days.
ferngodfather 13 hours ago [-]
Pretty neat but completely unnecessary here in the UK for the most part. Especially with Andrews and Arnold.
hdgvhicv 13 hours ago [-]
I use a+a but I’ve never had an isp which doesn’t provide the pppoe details.
TimCTRL 14 hours ago [-]
> with a measly 100 mbit/s internet?
That's a monthly internet package here in Uganda..haha
GJim 11 hours ago [-]
To be fair, 100 milli bits/second is rather slow.
Geezus_42 8 hours ago [-]
That might be all you need depending upon your usage. Could be very cheap if there is good competition. Assuming it behaves like any other "package" in the billing/management system and uses the same equipment as higher tiers, there wouldn't be any management overhead. Some people were happy paying a $15 a month for basic cable. However, there were technical reasons to get rid of that mainly bandwidth.
evanjrowley 17 hours ago [-]
I'm looking forward to trying this with my router sometime after the holidays. The ethernet tap is ready to go.
m101 8 hours ago [-]
can someone shed some light on why ISPs care about the hardware you have inside your home?
bzzzt 8 hours ago [-]
Support? Remote login is possible and it's always the same script so cheap call center employees can do basic diagnostics.
ryandrake 17 hours ago [-]
I don’t think I’ve used equipment owned by my ISP in 20 years. My cable modem is always mine. My gateway/router is always mine. I sometimes forget that there are people who have to put up with this shit. We shouldn’t.
myself248 17 hours ago [-]
I use an ISP-rented modem for the first few weeks of a new service. Wiggle every connection, exercise everything, find every marginal piece, hope for severe weather to get the outside plant nice and wet, and maybe point a hose at it if nature doesn't provide. Make them fix it while they own every inch and can't point fingers.
Once it's rock-solid, return their modem and drop in my own. I'll eat one month of rental fee just for the simplicity of blame during the shakedown, but never more than one month.
GreyStache 16 hours ago [-]
I do the same but I keep the router mothballed. Unless you're fortunate to have a true geek ISP they'll immediately pull the "not supported" card.
In case of issues I plug in their equipment and then just sail with the standard support flow until I'm clear of first line.
myself248 15 hours ago [-]
Ahh, they charge me for every month the router is in my possession, and I very much want to not dignify that revenue stream. I can buy my own for roughly one year's worth of rental fees, and use it for the next decade or so.
10 hours ago [-]
xelxebar 16 hours ago [-]
I wish there were open ONU. It would be fun to poke around at low level fiber details.
stroebs 9 hours ago [-]
The 8311 community kind of does this with their own firmware, which you can put into a WAS-110 SFP module. It still uses the Azores binary so not fully open.
TBH the goal of ISP WAN authentication is 99% billing 1% security. IPoE + Option 82 solve this pretty well in the modern era. But running PPPoE + Radius is dead easy and will likely never die.
You could also determine the IP address of the TFTP server that your ISP was using to serve the modem's config files to the various nodes in your local area. Using Ethereal, again, you could dump the bytes of the config file, edit it in a text editor and then serve it from a TFTP server you had setup on a box in your home. Then you simply changed your IP address to the TFTP server's IP address, plugged the modem directly into your box and BOOM, you now turned your 8Mbps connection into a 100Mbps connection...until the next modem reboot. Good times...
[0] https://www.wireshark.org/news/20060607.html
I was flying with 16m/2m when the fastest available at the time was like 5m/.512m. Peak megaupload days too
They of course eventually started using the internet too, and they'd get mad when the modem restarted (typically because my grandmother unplugged it) and it was slow again
This is still the case with FTTH.
> This is still the case with FTTH.
All PON standards (ITU-T G.984, ITU-T G.9807.1, etc) support the use of (AES) encryption. If your ISP doesn't enable it that's on them and not the technology.
So if you can tap before the splitter on the OLT side you can dump all the AES keys.
From ITU-T G.984.3 §B.2.2:
> As described in clause 9.13.11 of [ITU-T G.988], the compliant OLT and ONU may execute a mutual authentication procedure, in the course of which both the OLT and the ONU compute the 128-bit master session key (MSK), a session-specific shared secret. Whenever the ONU is successfully authenticated, as indicated by the value of the ONU Authentication status attribute, the MSK is used to encrypt data encryption keys that are transmitted upstream.
and §B.2.3:
> Key exchange is initiated by the OLT. The OLT does so by sending the Request_Key message in the PLOAM channel. The ONU responds to the Request_Key message by generating, storing, possibly encrypting, and sending the data encryption key upstream. […]
* https://www.itu.int/epublications/publication/itu-t-g-984-3-...
See also G.987.3 §15.1, "Threat model for XG-PON":
> c) An attacker could connect a malicious device at various points on the infrastructure (e.g., by tampering with street cabinets, spare ports, or fibre cables). Such a device could intercept and/or generate traffic. Depending on the location of such a device, it could impersonate an OLT or alternatively it could impersonate an ONU.
> d) A malicious user in any of the above scenarios could record packets transmitted on the passive optical network (PON) and replay them back onto the PON later, or conduct bit‑flipping attacks.
Tapping glass has been considered; the standards and capabilities are there for companies to implement encryption.
Anyway, I sat on a call with a L2 or L3 tech (I assume) trying all manner of things to see if we could cause a re-provisioning that was successful. No joy. An hour or more.
This was also very late at night. And at some point he realized/decided that I knew what I was doing, we could both see and understand the problem - "everything looks good, just fix this config entry and all will be well". But I couldn't do it, because I wasn't a Comcast admin. And then he said "hmm, here's what I think we do. Our admin password changes every day. I can give you the password and you can try to make the change".
I did it. And fixed.
Can confirm, did this in Mesa, Az in like 2000... Lol, we had some great quake 3 arena lan parties in the garage.
To say how this works another way, it's an arp poisoning attack where the router sees your tftp IP on the Ethernet interface first instead of on the cable interface. Once that IP was in the arp table, you could feed it a config file from your own tftp server, which is where the subscriber bandwidth limits were kept (in the modem config file sent by the tftp server). At the time, large scale subscriber equipment management was very limited.
Sometimes they'd see a subscriber was just pulling a ton of bandwidth somehow, and they'd send a tech out to replace the modem. Rinse/repeat.
A previous ISP didn't exactly encourage using your own router, but they also didn't hide the information you needed. I really didn't want to have both their router and an access point, so I got a 3Com router with wifi built in (yes, this was a while ago). I used that thing for 12 years, before the ISP reached out letting me know that the router they originally sent me was getting really old and that they'd need to send me a new one (which was better than the old 3Com one).
If the ISPs really want to dictate which router you have, they should really provide much nicer ones. I don't get why they also have to be the shittiest one on the market. Even when they advertise "best wifi router on the market" they just mean that it sucks less than the one I get from the competitor. It's always some weird Chinese brand you've never heard of, or Zyxel.
With the current era of AI, I am not in the mood to be poking inbound holes in my NAT anymore. If I have something I want to be visible from the internet I'll throw in on an EC2 machine or use some kind of proxy solution.
Does it have a backdoor though?
I would never use an ISP-provided router for this reason alone. Plus, they usually hand out consumer-grade junk anyway. It's always some awkwardly shaped box that then need to stash somewhere instead of just providing something rackmountable.
The kind of people can detect if an ISP does this aren’t the kind of to use their ISP provided router.
Try telling this to a regular user, all they'll hear is you talking voodoo and will tell you to consult the priest or psychiatrist. At best they'll consult AI slopsummary that would tell them that such fears are nothing to worry about.
* https://pon.wiki
Is this beneficial/noticeable for faster connections, or if the ISP equipment is terrible?
Edit: I wish they provided just an ONT, but it's built into their provided router that I use in bridge mode (with wifi/routing disabled etc).
If the ISP-provided box actually has a real bridge mode that works reliably then there's not really any meaningful difference.
I am using one of these sticks because AT&T's BGW320 gateway is well documented as being absolute garbage in multiple significant ways. It does not have a bridge mode, so the closest you can get is "IP Passthrough" where it pulls some NAT tricks to make a single device believe it has the public IP address despite actually still being behind NAT.
This mode is unreliable, more often than not after a power outage I would be offline until I connected to the AT&T gateway, clicked "submit" on the already-configured IP passthrough page, and then renewed the DHCP lease on my router. It'd otherwise hand my router an internal address but then still set up some of its NAT tricks which would prevent it from actually getting online with that address.
Beyond that, the NAT connection tracking table on these devices is extremely small (a few hundred connections) so regardless of whether you're using passthrough or not it was very easy to exhaust the entire table at which point new connections just stop working until old ones close or expire. This is a problem that has never been an issue for decent NAT devices and even the trash-tier ones mostly figured it out in the early 2000s. My 2004-era WRT54GS could handle tens of thousands of connections, so the fact that a device being packaged with 5 gigabit symmetrical fiber only does a fraction of that has no explanation other than it being intentional.
For the last two years I've had a WAS-110 handling the PON side of things plugged in to my UniFi Cloud Gateway Fiber and it's been entirely problem-free.
I think it is http://fritz.box/html/capture.html on your local box...
I've heard people suggest that instead of doing that go ahead and leave the ISP modem/router in router mode, connect your router to it, and put your router in the ISP router's DMZ.
Put all of your devices on your router.
The advantage of this approach is that people who use bridge mode often report that if there is any network problem the ISP tries to blame it on your router. Same for people who replace the ISP modem/router with their own.
The DMZ approach makes your setup look like a normal consumer setup to the ISP, so you just have to deal with customer supports hoops normal consumers have to deal with.
Note: I'd assume this also works with ISPs that don't use DOCSIS. It just requires that the ISP router supports a DMZ.
a) it doesn't make me happy, whereas bridge mode makes me happy.
b) DMZ mode means you're still dealing with a lot of the CPE's protocol stack. If there's something it can't or won't do, or something that crashes it, DMZ mode may not be enough to let you do what you should be able to do.
c) if you do have to deal with pppoe (boo!), running it on your router can be useful, as you can use the pppoe status to trigger failover to lte/5g or something. Whereas if you wanted to query the status from the CPE, it would probably work great for a week then start failing.
I just do what TFA says, and when I need to call the ISP, I unplug my router and plug theirs in.
It's might be minor depending on the use case or your hardware, but this creates a double-NAT and can cause problems with UDP/WebRTC connections.
Atleast for comcast, you can buy an approved modem instead.
Then there's 4G/5G where I actually like having lower bandwidth due to the monthly cap of total bandwidth, and sometimes a mistake would mean oops downloaded a gigabit there.
This got more complicated because their 802.1x cert was actually significantly malformed (not a remnant of how I extracted it) - there were a number of places where they were using ASCII strings of hex values, rather than the hex values themselves, causing fields to overrun their maximum sizes.
OpenSSL did not like this, and I assume it is a bug in how they were cutting these certs to begin with.
The cert ended up being locked based on a permutation of the device serial number - but getting another device to unlock and use this malformed cert was an entirely different effort - I ended up just using OpenBSD.
After a week or two I got it all working, and it was a fun project, but it was an insane amount of effort for something so trivial.
I want an ONT + Router in one devices. In the good old days there were at least a few choices for ADSL so I dont need to separate devices. Now it seems only Huawei does it. I would have thought UniFi would at least be interested in that as well.
If not, are there any technical reason why this isn't being done or a good idea?
This RADIUS server will check whether your account exists (authentication) and whether you may continue to connect to the Internet (authorisation - you might have a bandwidth limit, for example, or maybe you haven't paid your bill).
If those checks pass, the tunnel is established and you're online. From this point, your connection is being metered (accounting), so that the ISP can monitor your usage and dynamically shape or disconnect your connection based on your account plan that you've paid for with the ISP.
There's obviously a million and one ways that this could work, but the core of the RADIUS protocol itself is relatively simple to understand and apply, even in a homelab.
Authentication and authorisation (in the simplest cases) is three packet types: Access-Request (sent by your router, into which your username and password are encoded), Access-Accept, and Access-Reject.
And accounting has two (Accounting-Request and Accounting-Response) with Accounting-Request including a status type (Start, Interim-Update, and Stop) to indicate the beginning, periodic updates, and termination of the connection along with its bandwidth usage.
This old project [2] I worked on a long time ago demonstrates precisely what I described above.
[0]: https://en.wikipedia.org/wiki/RADIUS
[1]: https://github.com/FreeRADIUS/freeradius-server
[2]: https://github.com/io-digital/tephra
I learned a lot on how routers work, and it was a fun challenge to keep the internet connected while flashing new firmwares repeatedly.
I've just got a standard openreach ONT on the wall, ethernet to the unifi and it 'just works'.
Or just Bell Canada. At least they’ll tell you the PPPoE creds and there’s pon.wiki.
Thanks to eMudhra and bazillion vulnerabilities this year, saw many posts on users 'jailbreaking' their ISP ONT to unlock router management and bridge mode.
What are other alternatives for PPPoE? It is just initial auth layer and seem to be well understood. Curious on what the western ISPz use.
People near me on starlink reported latency that was sometimes better and sometimes worse, I think better speeds, but also CGNAT.
I don't need CGNAT in my life, thanks.
But then where do you put your VPN? 100.64.0.0/16 like tailscale?
The less compute an ISP has on your LAN, the better.
But my ISP's ONT is approximately the leanest little box. It uses very little power, it doesn't do any routing or wifi, and it acts like a tiny little transition between the world of internet-over-glass to internet-over-copper.
The hack-value of a spicy SFP+ module doesn't scare me at all and is kind of enticing, but I perceived zero functional advantage to rejiggering things in that way.
Instead, I perceived only disadvantages: If my fiber connection at home is ever fucked up somehow, then I want it to be un-fucked as soon as possible. The less weird stuff I have going on, the better off I'll be.
So I stopped exploring that path and decided that the ISP-supplied ONT is fine.
And anyway, that ONT is on the internet side of the firewall that I built and control. I do not care at all what the ONT might be up to, just as I don't care what any of the billions of other things that also live on the internet side of my firewall are doing.
I think a lot of the pressure must come from ONT+router combos, or people trying to super-optimize space.
The install here has one of those, too: The fiber originates in a small underground vault across the street, goes up a pole, flies overhead and across the street to another pole, and is carried along the old (abandoned, mostly) telco cable for support before flying over to the side of the house.
It goes down the side of the house and lands at a telco-esque demarc box with a good loop of extra fiber inside and a field-spliced SC connector, along with a coupler.
After that, a prefabulated patch cord goes in through a hole in the foundation, heads 20 feet or so across the basement, and lands at the ONT on the shelf where the other wired network gear lives.
In terms of galvanic isolation, that basement patch cord (at least) is just plastic and glass. It's electrically non-conductive.
The ONT is powered by the same outlet (in this case with a UPS, but that doesn't matter) that also powers the router and switch. If there's an increase in electrical potential for whatever reason at that point, then all of that gear (the ONT, router, switch) experience the ~same increase and the presence or absence of the fiber/ONT doesn't change that at all.
It's clean.
If they required me to use an ONR instead, then yeah: I might feel differently about it. It depends. (I'd still be using my own router, anyway.)
See perhaps various "PON stick" options:
* https://pon.wiki
[1] https://pon.wiki/xgs-pon/ont/bfw-solutions/was-110/
un: bthomehub@btbroadband.com pw: BT or blank
Which makes me wonder, how do they identify my account and my plan?
So it basically doesn't use the username/password but still requires a PPPoE session so it has something to inject the header in.
That's a monthly internet package here in Uganda..haha
Once it's rock-solid, return their modem and drop in my own. I'll eat one month of rental fee just for the simplicity of blame during the shakedown, but never more than one month.
In case of issues I plug in their equipment and then just sail with the standard support flow until I'm clear of first line.
https://github.com/djGrrr/8311-was-110-firmware-builder
I hear it was friendlier at some point, but got bought by Sony.
0. https://github.com/meh301/HG8045Q/issues/2