Better HN
topnewbestaskshowjobs
Log inSign up

pavel_odintsov

305 karma · joined Nov 1, 2014 (12y ago) · 78 submissions

Submissions

1.

Network Traffic Telemetry on modern Telco grade routers(pavel.network ↗)

2 points · by pavel_odintsov · 1y ago · discuss

2.

BGP Flow Spec: Ultimate Weapon Against Volumetric DDoS(pavel.network ↗)

1 points · by pavel_odintsov · 2y ago · discuss

3.

Using brand new 64-Core ARM server board from Ampere Altra at home(boredengineer.medium.com ↗)

4 points · by pavel_odintsov · 2y ago · discuss

4.

Versatile open source toolkit to detect volumetric DDoS attacks(github.com ↗)

1 points · by pavel_odintsov · 3y ago · discuss

comment 3y ago · link · parent

Thank you for great feedback! I decided to cover NAT64 and DNS64 gateway setup guide mentioned in this article briefly: https://pavel.network/building-gateway-to-access-legacy-ipv4...

comment 3y ago · link · parent

It was more about way to fix some very broken tool. ssh was just an example. It may be proprietary app without source code available.

comment 3y ago · link · parent

Thank you very much for this question. I've rewrote and improve my article to cover exactly this topic: https://pavel.network/building-gateway-to-access-legacy-ipv4...

comment 3y ago · link · parent

Thank you very much for approving my idea!

comment 3y ago · link · parent

In home network single $70 USD device with 2 daemons running may be clearly too much but for corporate or even office network it's just one more box in addition to dozens of network devices.

comment 3y ago · link · parent

It can be easily sorted out with DNS64 and NAT64: https://pavel.network/building-gateway-to-access-legacy-ipv4...

comment 3y ago · link · parent

Author is here.

Thank you for sharing! Yes, macOS has such logic and it works just fine. The main issue from clatd that it's pretty tricky to setup and it emulates presence of IPv4 on machine which is not very desirable as it tends to hide issues with other tools.

My plan was to explicitly disable IPv4 connectivity for machine and hide it from other app but keep it active for subset of well known broken tools and then fix them one by one and switch to IPv6 only setup.

12.

25 Gbit/s at home, part 1(boredengineer.medium.com ↗)

131 points · by pavel_odintsov · 3y ago · 149 comments

comment 3y ago · link · parent

eBPF requires way more tooling which I find excessive for such easy task.

More complicated load balancing protocols may need more complicated balancing microcode and eBPF will be helpful in this case.

One of the main differences between BPF and eBPF is number of allowed instructions and it's very big for eBPF.

I think you can do XDP based DHCP server in theory and keep state in eBPF map. Not sure that it does make any sense but clearly doable.

14.

Multiple inconsistencies in BPF based UDP load balancing logic of Linux Kernel(pavel.network ↗)

2 points · by pavel_odintsov · 3y ago · discuss

comment 3y ago · link · parent

Thank you for your great feedback

16.

Linearly scalable UDP server with BPF based load balancing on Linux(pavel.network ↗)

23 points · by pavel_odintsov · 3y ago · 4 comments

comment 3y ago · link · parent

It's very useful information for many low level network application. There are clearly many cases when such information is not useful but there are cases you cannot do without having this information in place.

comment 3y ago · link · parent

Great article. Thank you!

I used to develop and maintain one of the World largest DNS services and summarised my experience with DNS protocol in this blog post: https://pavel.network/please-stop-using-dns-protocol-for-you...

19.

Best way to get default outgoing IP address on Linux(pavel.network ↗)

2 points · by pavel_odintsov · 3y ago · 2 comments

20.

Please stop using DNS protocol for your application(pavel.network ↗)

3 points · by pavel_odintsov · 3y ago · 1 comment

comment 3y ago · link · parent

I'm Pavel from FastNetMon and we do for sure love Clickhouse as TSDB for embedded systems and we have multiple deployments on ARM64.

comment 3y ago · link · parent

Thank you for sharing such great insights.

comment 3y ago · link · parent

Yep that's serious issue and it's similar to our case. Our main product can work just fine even without SSE 4.2 but MongoDB requires it and then indirectly leads to AVX1 support as we use MongoDB as storage. We did PoC with FerretDB last month and I think it may be good option for Gerylog: https://www.ferretdb.io

comment 3y ago · link · parent

Great feedback, thank you. We have customers in many countries around the World and in many cases even medium sized businesses cannot afford buying new equipment just to make some random software happy about CPU flags.

In multiple countries import tax may reach 50% on top of equipment cost. When multiplied by exceptionally weak local currency even medium level server will cost like racing car.

Old equipment without AVX is perfectly capable running modern workloads and artificial requirement to have AVX hurts people and increases digital divide.

To address such cases we found nice trick by using FerretDB to replace MongoDB in such environments: https://fastnetmon.com/docs-fnm-advanced/using-fastnetmon-ad...

25.

Please do not require AVX support for your software(pavel.network ↗)

45 points · by pavel_odintsov · 3y ago · 52 comments

26.

Curious case of Martian traffic in Linux(pavel.network ↗)

51 points · by pavel_odintsov · 3y ago · 39 comments

comment 3y ago · link · parent

Great catch. I did not notice it:

dig -t aaaa news.ycombinator.com @8.8.8.8 +short

Returns empty result.

comment 3y ago · link · parent

I have idea of even more hostile environment in my mind. My plan for next phase is to get rid of 127.0.0.1 on lo interface. I've tried it once and I had to reboot my machine as all things stopped working.

As another angle to make it even more interesting but on network scale I've implemented option for Unbound to suppress A records even if they do exist: https://github.com/NLnetLabs/unbound/pull/819 and push dual stack apps to be IPv6 only.

comment 3y ago · link · parent

The main idea of my experiment was to run IPv6 only setup without any IPv4 connectivity: sudo ip route get 8.8.8.8 RTNETLINK answers: Network is unreachable

So I intentionally decided not to have IPv4 connectivity system wide to catch apps with issues in IPv6 only environment and then carefully evaluate issues and report them to authors: https://github.com/mozilla-mobile/mozilla-vpn-client/issues/... https://github.com/signalapp/Signal-Desktop/issues/4121

Dual stack setups tend to hide IPv6 implementation issues and may create illusion that app is IPv6 compatible but in reality it's not.

Clearly my setup is too hostile for home users but as developer I enjoy it a lot.

comment 3y ago · link · parent

Yep GitHub is one of the main reasons why I started work on NAT64 box next day after switching to IPv6.

Most of the services I need for work do support IPv6 and the only exceptions is GitHub.

123