Top
Best
New

Posted by 8organicbits 11 hours ago

Finding your ISP router's credentials(xetera.dev)
158 points | 52 commentspage 2
tripdout 9 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 3 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.
Scoundreller 8 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 8 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 6 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 5 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.
Scoundreller 8 hours ago|||
oh, they do it for their fibre too
TimCTRL 4 hours ago||
> with a measly 100 mbit/s internet?

That's a monthly internet package here in Uganda..haha

GJim 1 hour ago|
To be fair, 100 milli bits/second is rather slow.
Implement7347 8 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 10 minutes 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.

[0]: https://en.wikipedia.org/wiki/RADIUS

[1]: https://github.com/FreeRADIUS/freeradius-server

[2]: https://github.com/io-digital/tephra

evanjrowley 8 hours ago||
I'm looking forward to trying this with my router sometime after the holidays. The ethernet tap is ready to go.
xelxebar 7 hours ago||
I wish there were open ONU. It would be fun to poke around at low level fiber details.
ryandrake 8 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 8 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 6 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 6 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.
protocolture 7 hours ago||
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.
simsbridge 1 hour ago||
[dead]
oniconnect 6 hours ago|
[dead]