sub isTroll {
my $slashdb = getCurrentDB();
my $user = getCurrentUser();
my $form = getCurrentForm();
return 0 if $user->{seclev} >= 100;
my $good_behavior = 0;
if (!$user->{is_anon} and $user->{karma} >= 1) {
if ($form->{postanon}) {
# If the user is signed in but posting anonymously,
# their karma helps a little bit to offset their
# trollishness. But not much.
$good_behavior = int(log($user->{karma})+0.5);
} else {
# If the user is signed in with karma at least 1 and
# posts with their name, the IP ban doesn't apply.
return 0;
}
}
It IS applicable. This is the cod eexecuting. The further function applies points to ip range history.
######################################################## ######################################################## # (And now a word from CmdrTaco) # # I'm putting this note here because I hate posting stories about # Slashcode on Slashdot. It's just distracting from the news, and the # vast majority of Slashdot readers simply don't care about it. I know # that this is interpreted as me being all men-in-black, but thats # bull pucky. I don't want Slashdot to be about Slashdot or # Slashcode. A few people have recently taken to reading CVS and then # trolling Slashdot with the deep dark secrets that they think they # have found within. They don't bother going so far as to bother # *asking* before freaking. We have a mailing list if people want to # ask questions. We love getting patches when people have better ways # to do things. But answers are much more likely if you ask us to our # faces instead of just sitting in the back of class and bitching to # everyone sitting around you. I'm not going to try to have an # offtopic discussion in an unrelated story. And I'm not going to # bother posting a story to appease the 1% of readers for whom this # story matters one iota. So this seems to be a reasonable way for me # to reach you. # # What I'm talking about this time is all this IPID crap. It's a # temporary kludge that people simply don't understand. It isn't # intended to be permanent, or secure. These 2 misconceptions are the # source of the problem. # # The IPID stuff was designed when we only kept 2 weeks of comments in # the DB at a time. We need to track IPs and Subnets to prevent DoS # script attacks. Again, I know conspiracy theorists freak out, but # the reality is that without this, we get constant scripted # trolling. This simply isn't up for debate. We've been doing this # for years. It's not new. We *used* to just store the plain old IP. # # The problem is that I don't want IPs staring me in the face. So we # MD5d em. This wasn't for "security" in the strict sense of the word. # It just was meant to make it inconvenient for now. Not impossible. # Now I don't have any IPs. Instead we have reasonably abstracted # functions that should let us create a more secure system when we # have the time. # # What really needs to happen is that these IDs need to be generated # with some sort of random rolling key. Of course lookups need to be # computationally fast within the limitations of our existing # database. Ideas? Or better yet, Diffs? # # Lastly I have to say, I find it ironic that we've tracked IPs for # years. But nobody complained until we *stopped* tracking IPs and # put the hooks in place to provide a *secure* system. You'd think # people were just looking for an excuse to bitch... ######################################################## ########################################################
(Score: -1, Troll) by Anonymous Coward on Saturday October 25, @09:23AM
(3 children)
by Anonymous Coward
on Saturday October 25, @09:23AM (#1422106)
So this is why janrinok continues to spam mod relentlessly, in hopes of blacklisting all the available tor exits, an other available ip addresses used by persons practicing free speech. Comment by kolie in IRC confirms. Um, gentlemen, your plan is not succeeding.
You just tried it again.
Due to excessive bad posting from this IP or Subnet, anonymous comment posting has temporarily been disabled. You can still login to post. However, if bad posting continues from your IP or Subnet that privilege could be revoked as well. If it's you, consider this a chance to sit in the timeout corner or login and improve your posting. If it's someone else, this is a chance to hunt them down. If you think this is unfair, please email admin@soylentnews.org with your MD5'd IPID and SubnetID, which are "525de4f78c4fbdbd8c4a44014c86fdaee" and "98247b8dcd05af9d97b047489b81378b2"
Not me, dudes! You need to upgrade your censorship software!
(Score: 0) by Anonymous Coward on Saturday October 25, @11:04AM
(1 child)
by Anonymous Coward
on Saturday October 25, @11:04AM (#1422121)
[23:05:38] Love the AC(s) in my journal repeatedly showing all they want to do is cause problems and stir up shit then actually do anything constructive.
[21:18:53] As Ari is hinting in my journal, getIsTroll meta mod is semi effective. [21:18:01] {kolie} idgaf I liked slashdot when it was full of spam. if I don't want to read shit posts I don't pretty simple. [21:17:30] {AlwaysNever} Every village has his fool, you gotta love them for the social institution they embody [21:17:03] {kolie} There is things I'd categorize as fixation and obsession and unhealthy. [21:16:47] {kolie} I suspect there to be neuro divergent behavior sure. [21:16:19] {AlwaysNever} but is my description consistent with his behaviour? [21:15:49] {kolie} Nor do I know his mental diagnosis. [21:15:30] {kolie} idk the sexual identity of Ari. [21:15:12] {AlwaysNever} Ari is that trans person who is out of his mind? [20:46:57] {kolie} Apparently Ari believes that I am a member of a young republican chat group, whatever that means
How do you interpret the comment to which you have linked supports kolie's previous statement: "Love the AC(s) in my journal repeatedly showing all they want to do is cause problems and stir up shit th[a]n actually do anything constructive?"
He has asked you to provide links, evidence and examples of what you are claiming. You have not done so. kolie also points out that your comments are, for the moment, nothing more than unsubstantiated allegations.
(Score: 2) by kolie on Monday October 20, @08:56PM (6 children)
Relevant code is Comments.pm - function isTroll
sub isTroll {
my $slashdb = getCurrentDB();
my $user = getCurrentUser();
my $form = getCurrentForm();
return 0 if $user->{seclev} >= 100;
my $good_behavior = 0;
if (!$user->{is_anon} and $user->{karma} >= 1) {
if ($form->{postanon}) {
# If the user is signed in but posting anonymously,
# their karma helps a little bit to offset their
# trollishness. But not much.
$good_behavior = int(log($user->{karma})+0.5);
} else {
# If the user is signed in with karma at least 1 and
# posts with their name, the IP ban doesn't apply.
return 0;
}
}
return $slashdb->getIsTroll($good_behavior);
}
(Score: 0) by Anonymous Coward on Monday October 20, @08:59PM (5 children)
Inapplicable, ACs have no karma! But, you knew that.
(Score: 5, Informative) by kolie on Monday October 20, @09:01PM (4 children)
It IS applicable. This is the cod eexecuting. The further function applies points to ip range history.
########################################################
########################################################
# (And now a word from CmdrTaco)
#
# I'm putting this note here because I hate posting stories about
# Slashcode on Slashdot. It's just distracting from the news, and the
# vast majority of Slashdot readers simply don't care about it. I know
# that this is interpreted as me being all men-in-black, but thats
# bull pucky. I don't want Slashdot to be about Slashdot or
# Slashcode. A few people have recently taken to reading CVS and then
# trolling Slashdot with the deep dark secrets that they think they
# have found within. They don't bother going so far as to bother
# *asking* before freaking. We have a mailing list if people want to
# ask questions. We love getting patches when people have better ways
# to do things. But answers are much more likely if you ask us to our
# faces instead of just sitting in the back of class and bitching to
# everyone sitting around you. I'm not going to try to have an
# offtopic discussion in an unrelated story. And I'm not going to
# bother posting a story to appease the 1% of readers for whom this
# story matters one iota. So this seems to be a reasonable way for me
# to reach you.
#
# What I'm talking about this time is all this IPID crap. It's a
# temporary kludge that people simply don't understand. It isn't
# intended to be permanent, or secure. These 2 misconceptions are the
# source of the problem.
#
# The IPID stuff was designed when we only kept 2 weeks of comments in
# the DB at a time. We need to track IPs and Subnets to prevent DoS
# script attacks. Again, I know conspiracy theorists freak out, but
# the reality is that without this, we get constant scripted
# trolling. This simply isn't up for debate. We've been doing this
# for years. It's not new. We *used* to just store the plain old IP.
#
# The problem is that I don't want IPs staring me in the face. So we
# MD5d em. This wasn't for "security" in the strict sense of the word.
# It just was meant to make it inconvenient for now. Not impossible.
# Now I don't have any IPs. Instead we have reasonably abstracted
# functions that should let us create a more secure system when we
# have the time.
#
# What really needs to happen is that these IDs need to be generated
# with some sort of random rolling key. Of course lookups need to be
# computationally fast within the limitations of our existing
# database. Ideas? Or better yet, Diffs?
#
# Lastly I have to say, I find it ironic that we've tracked IPs for
# years. But nobody complained until we *stopped* tracking IPs and
# put the hooks in place to provide a *secure* system. You'd think
# people were just looking for an excuse to bitch...
########################################################
########################################################
########################################################
sub getIsTroll {
my($self, $good_behavior) = @_;
$good_behavior ||= 0;
my $user = getCurrentUser();
my $constants = getCurrentStatic();
my $ipid_hoursback = $constants->{istroll_ipid_hours} || 72;
my $uid_hoursback = $constants->{istroll_uid_hours} || 72;
my($modval, $trollpoint);
my $minicache = { };
# Check for modval by IPID.
$trollpoint = $self->calcTrollPoint("ipid", $good_behavior);
$modval = $self->calcModval("ipid = '$user->{ipid}'",
$ipid_hoursback, $minicache);
return 1 if $modval calcTrollPoint("subnetid", $good_behavior);
$modval = $self->calcModval("subnetid = '$user->{subnetid}'",
$ipid_hoursback, $minicache);
return 1 if $modval {is_anon};
# Check for modval by user ID.
$trollpoint = $self->calcTrollPoint("uid", $good_behavior);
$modval = $self->calcModval("comments.uid = $user->{uid}", $uid_hoursback);
return 1 if $modval = $trollpoint;
# All tests passed, user is not a troll.
return 0;
}
(Score: -1, Troll) by Anonymous Coward on Saturday October 25, @09:23AM (3 children)
So this is why janrinok continues to spam mod relentlessly, in hopes of blacklisting all the available tor exits, an other available ip addresses used by persons practicing free speech. Comment by kolie in IRC confirms. Um, gentlemen, your plan is not succeeding.
You just tried it again.
Not me, dudes! You need to upgrade your censorship software!
(Score: 2) by janrinok on Saturday October 25, @09:32AM (2 children)
Are you going to give us a clue where on IRC? I will argue there is no such comment.
Did you?
[nostyle RIP 06 May 2025]
(Score: 0) by Anonymous Coward on Saturday October 25, @11:04AM (1 child)
https://logs.sylnt.us/%23soylent/2025-10-22.html [sylnt.us] Oh, wait, not that.
https://logs.sylnt.us/%23soylent/2025-10-20.html [sylnt.us]
Should have kept it on #shitlords, eh?
Why do you think others lie, janrinok? Projection?
(Score: 2) by janrinok on Saturday October 25, @11:39AM
How do you interpret the comment to which you have linked supports kolie's previous statement: "Love the AC(s) in my journal repeatedly showing all they want to do is cause problems and stir up shit th[a]n actually do anything constructive?"
He has asked you to provide links, evidence and examples of what you are claiming. You have not done so. kolie also points out that your comments are, for the moment, nothing more than unsubstantiated allegations.
[nostyle RIP 06 May 2025]