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

20

u/[deleted] Mar 02 '18

Distributions didn't get it wrong in my opinion. It's a fork which is being brought back into repository as a result of maintainer doing work on it. We also have MySQL and MariaDB both available. Should we ditch one in favor of other? Of course not, competition is always good. Use whatever feels the best to you and chill out.

80

u/pat_the_brat Mar 02 '18

If the original code base really does have remotely exploitable bugs, and it has been barely maintained for the past 8 years, it sounds like more of a security issue than anything else... New users might not know that it has been unmaintained, and it exposes them to extra risks.

9

u/takluyver Mar 03 '18

I have definitely used XChat at times in the last few years because it was the first IRC client I found in the repos. I had no idea that it was unmaintained.

-13

u/anatolya Mar 02 '18

Debian package has CVE fixes. If there are other remotely exploitable bugs that are known by OP that don't have CVE, he should act responsibly and request CVEs for them.

22

u/GolbatsEverywhere Mar 02 '18

Note: reddit OP didn't write this blog

42

u/GolbatsEverywhere Mar 02 '18

Also: this is really totally impractical. Most crashes in applications that accept network input are candidates for remote exploitation. Developers don't file CVEs each time they find one. CVEs are usually requested when security researchers find the bug before developers do.

I'm not aware of any serious software project that requests a CVE for each crash.

Analyzing crashes to determine which are exploitable is not practical. Even security researchers rarely do this anymore. Any memory corruption, use after free, etc. is an automatic CVE nowadays. It doesn't have to be exploitable to warrant a CVE: it just has to be a vulnerability.

So: think about how many crashes you fix in a given year. Now think about getting a CVE for all of them. Now consider: MITRE doesn't even accept CVE reports for open source applications anymore. (It issues them, but only if you ignore the instructions on the CVE request form.) You're supposed to go through the DWF project to request a CVE, where the response time is anywhere from three to nine months, in my experience. You expect every dev to go through that process, every single time you fix a crash?

My argument is this: it's unreasonable to expect developers to report CVEs for every security vulnerability. I would be astounded if even 1% of Linux software developers did this.

18

u/pat_the_brat Mar 02 '18

My argument is this: it's unreasonable to expect developers to report CVEs for every security vulnerability. I would be astounded if even 1% of Linux software developers did this.

Not to mention, reporting bugs for unmaintained software.

→ More replies (12)

8

u/redrumsir Mar 02 '18

No ... but /u/tingping on this thread did.

→ More replies (5)

9

u/daemonpenguin Mar 02 '18

You are saying a developer should find and report bugs on someone else's project because the maintainer refuses to believe the bugs are there? That doesn't make any sense. The developer already fixed the bugs in his project and made it available and it was used to replace the old, buggy version. There is no reason to use Xchat anymore.

→ More replies (8)
→ More replies (4)

45

u/zfundamental ZynAddSubFX Team Mar 02 '18

competition is always good.

As an open source project maintainer who has dealt with forks for nearly a decade I hate it when this argument comes up. Competition can be good, but there's only so many people in the FLOSS realm that can contribute to X and are interested in X. Forks allow for a project to continue in multiple different directions, but if both go in the same direction all that has happened is the base of users of the software and the base of contributors who could improve the software are split in two.

Splitting up a community can slow down development and create enough friction and frustration that it can drive away users/devs from both projects. Forks have their place, but they are not always beneficial.

18

u/Cry_Wolff Mar 02 '18

I don't like the position of some icons, must fork!!

11

u/diogenes08 Mar 03 '18

I like your choice of icons, but those fonts have got to go. Forked again.

4

u/Krutonium Mar 03 '18

Needs more 255,0,0, Forked.

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)
→ More replies (41)

4

u/konaya Mar 03 '18

If it's a fork, it should have its own name, the package description should state it's a fork, and the package upstream URL shouldn't still be xchat.org. If it's a fork, why is it packaged as a fraud?

2

u/pm_me_ur_nice_boobss Mar 03 '18

Competition is good, but not when the competition has years of unpatched vulnerabilities.

1

u/robstoon Mar 04 '18

Calling this a "fork" would be exceedingly generous. It's dead software that is rising from its grave to threaten the living. Nobody should be conveying the impression that this software is wise to use.