[GH-ISSUE #512] Slow Performance After Reinstalling Bastillion #132

Closed
opened 2026-05-07 00:19:17 +02:00 by BreizhHardware · 4 comments

Originally created by @Mariaab1 on GitHub (Dec 11, 2024).
Original GitHub issue: https://github.com/ovh/the-bastion/issues/512

Hello!

I need help with a problem 😔

I have a Debian 12 system with hardening applied, where I had previously installed Bastillion. It was working correctly, but I lost my passwords.

So, I reverted my virtual machine to a previous snapshot (with the hardening already applied but without Bastillion installed) and reinstalled Bastillion.

However, after reinstalling, Bastillion is now running very slowly. Even connecting via SSH takes a long time just to log in, which wasn't the case before.

Has anyone experienced this or knows why this might be happening?

Thank you all 💐

Originally created by @Mariaab1 on GitHub (Dec 11, 2024). Original GitHub issue: https://github.com/ovh/the-bastion/issues/512 Hello! I need help with a problem 😔 I have a Debian 12 system with hardening applied, where I had previously installed Bastillion. It was working correctly, but I lost my passwords. So, I reverted my virtual machine to a previous snapshot (with the hardening already applied but without Bastillion installed) and reinstalled Bastillion. However, after reinstalling, Bastillion is now running very slowly. Even connecting via SSH takes a long time just to log in, which wasn't the case before. Has anyone experienced this or knows why this might be happening? Thank you all 💐
Author
Owner

@codyro commented on GitHub (Dec 11, 2024):

If you pass -vvv when connecting it should shed some light on what bits it's hanging on. You can also set the sshd log verbosity to DEBUG which might give you additional information.

Unrelated: I vote for renaming this project bastillion.

<!-- gh-comment-id:2536027788 --> @codyro commented on GitHub (Dec 11, 2024): If you pass `-vvv` when connecting it should shed some light on what bits it's hanging on. You can also set the sshd log verbosity to DEBUG which might give you additional information. Unrelated: I vote for renaming this project bastillion.
Author
Owner

@speed47 commented on GitHub (Dec 11, 2024):

Hello,

Usually a slow performance means that your DNS setup is broken. There is an easy way to check it: instruct The Bastillion (😊) to skip any DNS query:
https://ovh.github.io/the-bastion/administration/configuration/bastion_conf.html?highlight=broken#dnssupportlevel

If this fixes your problem, then you might want to have a look at your /etc/resolv.conf.

About the name, well, this is quite nice indeed, but what about Le Bastillion in this case? ;)

<!-- gh-comment-id:2536154896 --> @speed47 commented on GitHub (Dec 11, 2024): Hello, Usually a slow performance means that your DNS setup is broken. There is an easy way to check it: instruct The Bastillion (😊) to skip any DNS query: https://ovh.github.io/the-bastion/administration/configuration/bastion_conf.html?highlight=broken#dnssupportlevel If this fixes your problem, then you might want to have a look at your /etc/resolv.conf. About the name, well, this is quite nice indeed, but what about Le Bastillion in this case? ;)
Author
Owner

@Mariaab1 commented on GitHub (Dec 12, 2024):

Thank you both very much, the key was changing the "dnsSupportLevel": 2, a "dnsSupportLevel": 0, en nano /etc/bastion/bastion.conf

solved! 🥳

<!-- gh-comment-id:2538555559 --> @Mariaab1 commented on GitHub (Dec 12, 2024): Thank you both very much, the key was changing the `"dnsSupportLevel": 2,` a `"dnsSupportLevel": 0,` en ` nano /etc/bastion/bastion.conf` solved! 🥳
Author
Owner

@speed47 commented on GitHub (Dec 13, 2024):

Good! Closing as resolved then :)

<!-- gh-comment-id:2541404618 --> @speed47 commented on GitHub (Dec 13, 2024): Good! Closing as resolved then :)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/the-bastion#132
No description provided.