SELinux is complicated. No one will argue with this statement. That’s why I’ve assembled this list of useful commands to have a system up and running with SELinux enabled. Of course, you can take coward’s route and disable it completely, but professional paranoia should normally prevail. Continue reading
I have a terrible experience with wireless interfaces in Kali Linux. Either I’m unlucky in this regard or Kali team just doesn’t want to include as many wireless drivers as other distros do, but when I try to get WiFi running on Kali – it always ends up in few hours of work. This time I struggled with a Broadcom BCM43228 card. Apparently there is no support for this model in an open Broadcom driver and you need to install the proprietary one.
Installation isn’t simple one either, so I documented all the steps in case I’ll need to repeat them some time. Hopefully it’ll also prove useful for someone else.
In case you are using Debian in virtual machines on VMware ESXi, you can get annoyed by
mpt-statusd: detected non-optimal RAID status log message spam. This can easily be fixed with:
apt-get remove mpt-status
Just came back from FrOSCon. I was really impressed by quality of the event. Lots of people, interesting lectures. I’ve learned quite a lot about new(and not so new) open source products, deepened my knowledge in two factor authentication(especially in LinOTP, which looks like very promising product – I’ll definitely implement it wherever I can), gained some insights into logging and monitoring.
And the best part: ticket costed only 5€ – they were the best 5€ I’ve ever spent.
Yesterday I’ve released sanguinews v0.47 and this release marks the end of alpha stage. It doesn’t mean that the software is bug free. It means that I am quite happy with it and it should be able to provide desired results. If there are some bugs(and I presume that there are) – I don’t know about them at the moment. So, I will need your help. Use it, test it, inform me of any strange behavior. Bugs need to be crushed!
In the meantime, I will be improving the “progressbar” feature. Currently it displays only the average speed. I will be adding “ETA” and some kind of actual, moving progress/status bar. One more thing that I would like to see in my program is the capability to tweak headers. I am fan of Gentoo distribution. I like tinkering with the system and I think that a user should have as much freedom and options as it’s possible. Usenet’s standards include quite a lot of headers. Some are required, some are taken by usenet providers, but there are some that could be used, for any reason, by us. I will make sure that there is an easy way to change them.
What I will do after that? No idea. Time will tell, but at the moment I am still having fun and it means that I will continue improving this particular project of mine.
I didn’t want to do this, but scripting languages aren’t as good for pure computing as C. After spending more than 10 hours running various benchmarks, I’ve rewritten yencoding function in inline C code. As much as I hate debugging C problems, it gives 3500% increase in performance compared to the pure ruby solution. So, it was definitely worth it.
Update to the new version via Github.
Thank you for your feedback everyone. I have revamped the code behind the upload scheduling and have achieved much better upload performance. The new version(0.44) is available on Github now. Please keep in mind that I’ve updated nzb gem also. Version 0.2.1 is required now. The code behind gem version check isn’t working at the moment, so you will need to reinstall the gem yourself.
As always, feedback is welcome.
After I’ve added newsmangler’s support to my script, I was thinking that I don’t like newsmangler that much. It has no SSL support and it should be a major turn down for anyone, who is security conscious. I don’t want to send my password in a plain text. What about you?
But I didn’t want to learn python just be able to fix this thing myself. I decided to write something similar, but in ruby. And this way sanguinews was born. Feel free to test it and leave some feedback.
Installation is simple. First install nzb library:
gem install nzb
And you will need one other gem:
gem install parseconfig
Then get the latest code from the github:
git clone https://github.com/tdobrovolskij/sanguinews.git
Copy sample.conf to your home directory:
cp sample.conf ~/.sanguinews.conf
Adjust it as needed and run. It accepts pretty much the same options as newsmangler does. It should be compatible with the latest version of my script – v0.85.
If you notice any bug – just leave a comment here or on the github.
P.S. If you are unfamiliar with git, you need to be aware that you need to run git pull inside the projects directory to update the code. Something like this:
cd sanguinews && git pull
Many people have asked me to add the option to upload files automatically with newsmangler. I thought that this is a great idea and decided to implement it in the next release. So, in the new(0.80) version, you’ll see two new options -U(upload) and -X(path to newsmangler executable). They should not cause any problems, if you are familiar with the script already. In case you aren’t, you could always check the detailed guide prepared by my friend. Continue reading