Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blacklist using MySQL? #11

Closed
GoogleCodeExporter opened this issue May 12, 2015 · 12 comments
Closed

Blacklist using MySQL? #11

GoogleCodeExporter opened this issue May 12, 2015 · 12 comments

Comments

@GoogleCodeExporter
Copy link

Is it possible to turn my whitelist stored in the database to a blacklist 
stored in the database?

Original issue reported on code.google.com by TechN9Ne...@gmail.com on 2 Nov 2011 at 8:35

@GoogleCodeExporter
Copy link
Author

Yes, by editing the source.

BTW, this is not a 'question' tracker.

Original comment by olafvdspek on 2 Nov 2011 at 9:04

  • Changed state: Invalid

@GoogleCodeExporter
Copy link
Author

Could you be a bit more specific? What do I need to edit exactly? I know the 
client ids are stored in the peer_id table in the database but the references 
in tracker_input.cpp also mention no_peer_id and m_no_peer_id.

Original comment by TechN9Ne...@gmail.com on 2 Nov 2011 at 9:11

@GoogleCodeExporter
Copy link
Author

What whitelist are you talking about? 

Original comment by olafvdspek on 2 Nov 2011 at 9:13

@GoogleCodeExporter
Copy link
Author

I would think it is the same one as mentioned in issue 5 here. You can see the 
source of tracer_input.cpp here:
http://pastebin.com/ZQsibaCv

Original comment by TechN9Ne...@gmail.com on 2 Nov 2011 at 9:18

@GoogleCodeExporter
Copy link
Author

That's a custom version of the tracker. 

Original comment by olafvdspek on 2 Nov 2011 at 9:23

@GoogleCodeExporter
Copy link
Author

Yes it is. It was written for project gazelle, but I got no help on there 
forums so I thought I would try here. Any help would be much appreciated. I 
have tried several things on my own, but with no luck.

Original comment by TechN9Ne...@gmail.com on 2 Nov 2011 at 9:48

@GoogleCodeExporter
Copy link
Author

I'm not here to teach you C++. ;)

Original comment by olafvdspek on 2 Nov 2011 at 10:06

@GoogleCodeExporter
Copy link
Author

I did not ask for a lesson in C++. I asked for help. I have experience in C++ 
and php, but I am no expert. I tried the obvious, line 82 I changed:
if (name == "peer_id" && value.length() == 20)
to
if (!name == "peer_id" && value.length() == 20)
but had no success. So I was kindly asking for help. 

Original comment by TechN9Ne...@gmail.com on 2 Nov 2011 at 10:14

@GoogleCodeExporter
Copy link
Author

What kind of help? Writing C++?

Original comment by olafvdspek on 3 Nov 2011 at 10:35

@GoogleCodeExporter
Copy link
Author

What kind of help, refer back to the first post...

Original comment by TechN9Ne...@gmail.com on 3 Nov 2011 at 3:27

@GoogleCodeExporter
Copy link
Author

Yes, it's possible, no, I'm not writing the code for you or teaching you how to 
write that code.

Original comment by olafvdspek on 3 Nov 2011 at 3:28

@GoogleCodeExporter
Copy link
Author

Nor did I ask you to. I am simply asking to be pointed in the right direction. 
What exactly do I need to? Why not offer something useful rather then wasting 
your time and mine?

Original comment by TechN9Ne...@gmail.com on 3 Nov 2011 at 3:31

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant