Better HN
topnewbestaskshowjobs
Log inSign up

LinuxBender

57,650 karma · joined Jun 16, 2015 (11y ago) · 19,241 submissions

I am not for everyone. To ignore me in uBlock Origin, add to "My filters":

   news.ycombinator.com##tr.athing.comtr:has(a.hnuser):has-text(/\bLinuxBender\b/)
For HN usage questions see https://github.com/minimaxir/hacker-news-undocumented for HN tips (not my repo)

    (\_/)
    (='.'=)
    (")_(")
Submissions

comment 4y ago · link · parent

Not a billionaire but would love to start digging my own tunnels. [1] As for the billionaires, all the bunker's I've seen them build can barely just be called a bunker. Most are mansions and some of them are even carbon neutral.

[1] - https://www.youtube.com/watch?v=Ok2OPHg0660

comment 4y ago · link · parent

The total size with --depth=1 is 239MB and the .git folder is 116MB. Also the same with adding --branch=master.

comment 4y ago · link · parent

I was one upvote. I find it fascinating that a government can deploy a police department in a foreign nation. The local troopers and sheriff in my neck of the woods have very limited abilities once they leave their jurisdiction.

comment 4y ago · link · parent

This looks interesting. Is there by chance a live demo of this?

9125.

The ‘GrayKey 2.0,’ the Tool Cops Use to Hack Phones(vice.com ↗)

5 points · by LinuxBender · 4y ago · discuss

9126.

Rights Groups Say The Pentagon Is Buying Its Way Around the Fourth Amendment(gizmodo.com ↗)

3 points · by LinuxBender · 4y ago · 1 comment

9127.

Delivery drone crashes into power lines, causes outage(theregister.com ↗)

13 points · by LinuxBender · 4y ago · 1 comment

comment 4y ago · link · parent

Here [1] is someone playing with voice scrambling not so much related but may be interesting and here [2] is the P25 project information. Decoding unencrytped P25 Phase 2 using an SDR [3] And finally, someone that agrees with you. [4]

[1] - https://www.youtube.com/watch?v=yGLRK6D6rgo [video]

[2] - https://en.wikipedia.org/wiki/Project_25

[3] - https://www.rtl-sdr.com/tutorial-on-setting-up-op25-for-p25-...

[4] - https://www.youtube.com/watch?v=NhJQkJxRWf8 [video]

comment 4y ago · link · parent

Many law enforcement radio systems are already encrypted and that is growing with time budgets permitting. Some are partially encrypted like tactical and some use full encryption. This varies heavily by state and county but it is really by budget. The tactical channels in my area are encrypted and I am in the middle of nowhere.

Here [1] is one of the laws on radio encryption. More discussion here related to civilian use. [2]

Laws aside I am sure there are folks here that could make an encrypted SDR for use as a private intercom if they do not already exist however they would not be able to decrypt law enforcement without their private keys unless the vendors mistakenly left them in a public git repo.

[1] - https://www.law.cornell.edu/cfr/text/47/90.553

[2] - https://woofthebeatenpath.com/are-there-encrypted-walkie-tal...

comment 4y ago · link · parent

[Edit] Too late for me to edit my original post. It was pointed out to me that Iranians are not permitted to use AWS. In that case, replace "AWS" with whatever VPS/Server providers that Iranians are permitted to use that is outside of the country.

comment 4y ago · link · parent

This looks nice. I might try it out.

One nitpick, the .git directory is rather large and probably needs some attention as it is 129MB. The tests directory also has a bit of photo content. Perhaps this could be stored outside of git somehow? Excluding those directories the repository would be less than 11MB.

comment 4y ago · link · parent

This is a tricky question because most plastic is not easily recyclable. Companies have even gone as far as to hijack the recycle logo for their resin code. [1] Resin codes #3 , #4, #5, #6 and #7 are generally tougher to recycle and are not universally collected in local recycling programs. [2] If in doubt, get a tour of your landfills recycling center and watch closely what is happening. Most of the sorted plastic ends up in the landfill. I do not envy the workers that have to smell this stuff all day long.

If our goal is to get companies to recycle all the resin types then they would either need a substantial tax cut to incentivize it or they would have to be required to do it and the costs would be passed onto the consumer. This probably sounds great in theory but experience tells me companies will fight this and game the system every step of the way. Perhaps I have become opti-pessimistic [3] with age.

So along that line I think the question should be broadened to include all material, not just plastic alone. If I buy a 150lb AGM battery and 200lbs of solar panels that are now defective then perhaps the company should provide a list of drop-off locations I can bring them to instead of me having to take them to the dump and pay to drop off hazardous material. I believe it should be on the manufactuer to figure out what can be recycled and get a tax cut based on the percentage of materials they can prove they have properly recycled. Maybe we should even get a rebate for some of the materials just like what is done with metals today.

[1] - https://polychem-usa.com/wp-content/uploads/2017/08/SPI-Resi...

[2] - https://plasticactioncentre.ca/directory/plastic-by-the-numb...

[3] - Obscure reference to LOIS BBS

comment 4y ago · link · parent

Ah I was unaware. In that case they should use whatever VPS they normally use that is outside of Iran. Hopefully some of them are outside of the country.

9134.

Do this daily to help brain health and prevent cognitive decline [video](youtube.com ↗)

1 points · by LinuxBender · 4y ago · 1 comment

comment 4y ago · link · parent

we’ve learned more from them than the inverse

Adding to this, their security forces learned a great deal as well. Here is a brief talk on this covering a little bit of the protest history and what is likely to occur. [1]

[1] - https://www.youtube.com/watch?v=ooROZDeds8o [video 4 mins]

9136.

Hear what CNN reporter noticed about crowd watching Putin's speech [video](youtube.com ↗)

1 points · by LinuxBender · 4y ago · 1 comment

9137.

Microsoft warns of North Korean crew posing as LinkedIn recruiters(theregister.com ↗)

6 points · by LinuxBender · 4y ago · 1 comment

9138.

Ian is no longer a normal hurricane as it lashes South Carolina(lite.cnn.com ↗)

1 points · by LinuxBender · 4y ago · discuss

comment 4y ago · link · parent

Please tell me you took a picture of this. Just don't show it to Monster or they will make one.

comment 4y ago · link · parent

I do not know the specifics to Brisbane but planes are not supposed to be flying within 500 feet of people. If they are getting too close one could capture a video that includes their tail number and report them.

comment 4y ago · link · parent

Here [1] is a previous discussion on this as well.

[1] - https://news.ycombinator.com/item?id=33009545

comment 4y ago · link · parent

If the datacenter had been using SSH on port 22 to AWS in the past, I would just stick with that. The less changes the less obvious something is out of place. It sounds like they can still egress the datacenters for now.

The connection to the residence would be the last hop in the SSH proxy foward chain meaning that all Iran will see is Datacenter -> AWS. Then it is AWS -> residence. Iran would not have visibility into AWS egress traffic, rather Five-Eyes [1] would see everything in and out of AWS.

Datacenter -> Non-Iranian-AWS Region -> Non-Iranian Residence -> Internet.

The flow from the DC to AWS is all they would see.

[1] - https://en.wikipedia.org/wiki/Five_Eyes

comment 4y ago · link · parent

I believe you are asking about theoretical machine learning used to identify encrypted traffic patterns.

SSH can be used for file transfers via sftp so it is not uncommon to have long transfers of data. In this edge case however one could set up a simple rate limited rsync over ssh and then rate limit ssh slightly higher so that the browsing shares the bandwidth creating a relatively smooth data stream. Data streams are not expected to be perfectly constant across the internet so a little fluctuation would be fine.

If Multiplexing is being used via ControlMaster ControlPath in the client then the people browsing will be riding the extra SSH channels without having to re-authenticate after their first authentication. The first SSH channel would be used for the SFTP transfer.

   rsync -aq --bwlimit=600 /some/dir/big-file ssh-first-hop:/dev/null
Then rate limit SSH just above 600KB/s using `tc`. On a modern kernel this is one line.

   tc qdisc add dev eth0 handle 101: root cake diffserv3 bandwidth 6mbit internet nat egress ack-filter triple-isolate ethernet  memlimit 32M
One could use HTB bucket rules with tc on older kernels.

All of this said, I do not believe this step is required unless a datacenter's SSH traffic patterns were already being traffic profiled and I would theorize that for this to be the case Iran's intelligence agency would have been watching them for other reasons.

comment 4y ago · link · parent

something similar to mosh

Something that looks similar to mosh being UDP and encrypted but that allows proxied traffic would be Tinc Open Source VPN [1] The nicest thing about Tinc is that it does user-space dynamic mesh routing without requiring packet forwarding being enabled. I would call it a middle ground to onion routing if set up right. It has configurable compression. The reason I did not suggest this is that it is not simple to set up and get OpSec right the first time out of the gate unless the people involved are already very experienced with it. That's why I suggested SSH. SSH is relatively simple, well known and will blend in with all the legit SSH traffic and more people have experience with SSH. SSH egress from a datacenter is normal, expected and likely already permitted to AWS without making logged firewall changes.

[1] - https://www.tinc-vpn.org/

comment 4y ago · link · parent

and not pay royalties.

And no actors guilds, unions, make-up artist time, dealing with actors needs, multiple takes and expensive re-shoots that is on developers now. Movie studios won't need to be in a big city any more either. Developers can work from home if their internet is fast enough.

comment 4y ago · link · parent

It’s a dangerous game.

That it is. When their society has reached a tipping point where women are burning their hijabs in the street in front of massive groups and cameras I think they have decided to not hide in the shadows and are willing to sacrifice themselves for what they believe in. Many of them are likely to have unspeakable things done to them. I suspect they know the sacrifices they are making and willing to take risks. Godspeed to them.

comment 4y ago · link · parent

I considered that, but the small group of trusted people is a bit of a double-edged sword. If one person is taken and they do not have good OpSec they could expose that entire group of trusted friends and that would be a more valuable target to authorities. So in that case I would stick with having an accidentally exposed SSH in that datacenter.

comment 4y ago · link · parent

the servers inside Iranian data centers still have access to the outside world.

Knowing that, the simplest and easiest solution that would avoid detection is to SSH tunnel into that datacenter and SSH-ProxyForward out of that datacenter into Amazon AWS via SSH and use that SSH proxy chain as a SOCKS proxy for browsers. Make sure the browser is using the SOCKS proxy (SSH) for its DNS. Many sites will make your friends solve captchas if they show up from Amazon so if you have a friend outside of Iran in the same AWS region that is willing to open SSH on their home router then one could add that private home router as their last hop in the SSH proxy forward. Do not go directly from the datacenter to the home. It is normal and expected for Datacenters to SSH to Amazon.

SSH Client -> Iranian Datacenter / Server -> AWS VM -> Home router in same region as AWS -> Internet.

If many people are using the same server and VM then make sure that MaxStartups and MaxSessions have been increased in sshd_config as well as any PAM limits on the servers for open files on every node in the path. Clients should enable ControlPath / ControlMaster in their ssh_config or ~/.ssh/config. To harden each hop configure PermitOpen to only allow the SSH hops and the final hop should also permit *:443

Examples of all these steps can be found on SuperUser / StackExchange / ServerFault and are all public knowledge. All above-board, no hacking involved.

[Edit] Removing the Squid MITM SSL-Bump proxy idea. That would make follow on questions harder to explain.

[Edit from Fatnino's input] If your Amazon VPC's are too outbound-restricted then pick another VPS provider that is commonly used for hosting 3rd party tools for datacenters, preferably one already used by that datacenter.

[Edit] In theory hypothetically speaking every hop possible could have misconfigured but realistic looking syslog so that SSH connections are not logged on the server and in theory a log-less silent rule in the edge firewall to not log SSH connections. Sometimes syslog disks also fill up by mistake. SSH can also be performed in ephemeral diskless containers such as Docker, Podman and LXC.

9149.

UK watchdog dismisses criticisms over crypto authorisations(reuters.com ↗)

1 points · by LinuxBender · 4y ago · discuss

1
304305306
642