Better HN
topnewbestaskshowjobs
Log inSign up

codedokode

9,867 karma · joined Aug 20, 2015 (11y ago) · 5,528 submissions

PHP developer from Russia.
Submissions

comment 3y ago · link · parent

if Cloudflare can do this on commodity hardware (stop attacks and block thousands of IPs), then router manufacturers who have custom hardware can do much more.

Also, in Russia for example, there is DPI inspection and recording of all Internet traffic and if it is possible in Russia, then West can probably do 10x more. Simply adding a blacklist on routers seems like an easy task compared to DPI inspection.

comment 3y ago · link · parent

Yes. Because blocking several extra users on a bad network that has several infected hosts and does nothing about it is better than being under attack.

comment 3y ago · link · parent

The router can send back a confirmation code and you must send it back to confirm that request comes from your IP.

Also, on a well-behaved networks that do not allow spoofing IP addresses, this check can be omitted.

comment 3y ago · link · parent

When you send a "reject" packet, the imtermediate routers send back a confirmation code. You must send this code back to them to confirm that "reject" packet comes from your IP address. No cryptography or signing required.

comment 3y ago · link · parent

The routers can send back a confirmation token to confirm the origin address.

comment 3y ago · link · parent

You can only ban packets coming to your IP. Botnet can only ban packets coming to its IP addresses.

comment 3y ago · link · parent

No, it cannot. It is well-thought.

comment 3y ago · link · parent

You can send back a reply with a token to confirm ban.

comment 3y ago · link · parent

ISPs do not want to spend money for fighting against criminals.

comment 3y ago · link · parent

You can only block access to your IP address, so you can ban someone from sending packets to you but not to anyone else. My proposal is well-thought and doesn't require any lists like Spamhaus that have vague policies for inclusion and charge money for removing. My proposal doesn't have any potential for misuse.

comment 3y ago · link · parent

You can deny access only from your IP, not for anyone else.

comment 3y ago · link · parent

> What you say already exists, hell, you can use BGP to distribute ACLs

But you should own an AS for that?

> But it costs space in the routing tables

Not implementing my proposal leaves critical infrastructure unprotected from foreign attacks. Make larger routing tables. Also, instead of blocking single IPs one can block /8 or /16 subnets.

comment 3y ago · link · parent

How exactly? You can authenticate sender by sending a special confirmation token back.

comment 3y ago · link · parent

I propose to make a special "reject" packet. When a host, let's say 1.1.1.1, sends such packet to 2.2.2.2, all providers that see this packet, MUST reject any traffic from 2.2.2.2 to 1.1.1.1. This is very easy but very efficient and allows a single host to withstand the attack of any size.

There is no need for any central authority and no need to maintain any lists.

comment 3y ago · link · parent

There should be a protocol to block traffic on the upstream provider. So if someone from 1.2.3.4 sends lots of traffic at you, you send a special packet to 1.2.3.4 and all upstream providers (including the provider that serves 1.2.0.0/16), that see this packet block traffic from that IP address directed at you. Of course, the packet should allow blocking not only a single address, but a whole network, for example, 1.2.3.4/16.

But ISPs do not want to adopt such protocol.

comment 3y ago · link · parent

Such attacks are possible because ISPs do not want to adopt a protocol that would allow any host to send a special packet to block malicious traffic on the upstream provider or even at the source network. In this case networks like Cloudflare would become unnecessary.

comment 3y ago · link · parent

> The one key fact that puts the idea to rest is all the staircases I've seen that spiral clockwise in one part of the building, and counter-clockwise in the other.

Smart! One staircase to defend from attackers coming up from the ground and another to defend from attackers coming from the roof.

comment 3y ago · link · parent

Such staircases are pretty scary to climb even without a knight attacking you because there is nothing to hold, the steps are not flat and it is easy to fall down.

Also, such straicases are used not only in medieval castles. A modern Russian 19th century cathedral also has a staircase of such type. Probably, because cathedrals must be built using traditional architecture?

comment 3y ago · link · parent

The link says that it supports only Fedora 38. Also, the main page for COPR says (in a small font): "NOTE: Copr is not yet officially supported by Fedora Infrastructure.". As I understand, it is the repository for packages uploaded by random anonymous users (not related to the authors of yabridge or Fedora).

comment 3y ago · link · parent

Those are rarely used formats, most of plugins are either in Windows formats like VST, or in Mac formats.

comment 3y ago · link · parent

Abrt (problem reporting window) shows no information about that type of crash.

comment 3y ago · link · parent

If nobody provides Linux binaries then maybe it is better to support Windows binaries out of the box?

comment 3y ago · link · parent

Looks like a pain to install (doesn't support Fedora 37, isn't included in standard Fedora repositories, requires to use non-standard Wine version).

comment 3y ago · link · parent

Ardour's UI is complicated compared to, for example, Ableton Live. For example, I have added a MIDI track and it is unclear how to add notes to it. Right clicking on a track doesn't give an option to do that.

Also on Linux it supports only rarely used plugin formats (LV2, Linux VST), for which there are little plugins.

comment 3y ago · link · parent

Even if you trust the developer (I don't), there is a chance that there is a bug or vulnerability in the software. Also you need to install different plugins from random anonymous guys from Github, and it is difficult to trust an anonymous person.

comment 3y ago · link · parent

> First, if you don't trust a bit of software, why are you installing it?

The more people you trust, the larger is the chance that you get deceived.

> But more importantly - you don't want your text editor to be able to open and edit your browser history files, or your ssh key files?

Only with my permission.

comment 3y ago · link · parent

Usually developer of application tests it only with a specific version of a library. If you use another version of library, you need to carefully test it and fix all found bugs and I am not sure if Debian has resources to do it. So we can assume that they simply use untested combinations of libraries and hope that everything will be ok (it won't).

comment 3y ago · link · parent

What I don't like in Debian:

- 3rd-party software is not welcome; there is no mechanism for installing it securely because you are supposed to either install software from official repository or compile what you have written yourself. For example, if you want to install Sublime Text, or VS Code, there is no way to do it securely, without giving untrusted software access to your browser history and SSH keys. Of course, you can ignore security and run sudo curl http://script , but it doesn't guarantee that the installer won't break something. It is like we are back in 95 when every second program would replace system DLLs in Windows folder and break other software.

- there are third-party repositories, but they can cause conflicts and you better not use them, but there is no other way to install third-party software.

Third-party software is very important, I install OS to run it, and it surpises me that Linux is so unfriendly to third-party software, including closed-source software and doesn't provide means to install and run it securely and reliably and without making developers adapt it to every existing distribution.

- their bugtracker is email-based and as I don't use email it is completely alien to me. But maybe this is not bad because it stops most of people from posting bugs and saves time to reply to them.

I also tried Fedora, and here is what I don't like:

- they release a new version every 6 or 12 months and it is incompatible with older version, and you have to use a very weird way to upgrade: first, you need to install non-standard plugin (dnf-plugin-system-upgrade), then you need to download packages, then reboot into a temporary OS, then if everything is ok, it will create a new OS, and reboot into it. It looks complicated, easy to break and probably requires a lot of disk space, while Debian can upgrade everything in place.

- if a system component like Gnome is crashing, there will be neither log records nor crash dumps and you will never figure out why it has crashed

Also, APT is buggy when dealing with mixed 32-bit/64-bit packages: I wanted to install a package once and it suggested to delete half of the system to do it; luckily I have noticed that the package list is too long before agreeing. Why would package manager delete packages when I ask to install something, I don't understand. As a bugtracker requires using email, I didn't report it, and it would be difficult to reproduce this anyway.

comment 3y ago · link · parent

What's good in Intel WiFi chips? They don't work in access point mode.

comment 3y ago · link · parent

But smartphones are rarely rebooted so maybe you don't need persistence that much?
1
888990
185