Git Product home page Git Product logo

sourcebansv1's People

Contributors

bara20 avatar bobby-swetz avatar darkdevil avatar erikminekus avatar peace-maker avatar psychonic avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sourcebansv1's Issues

ADD: To use an SMTP server rather than the internal PHP mail() function.

Import from Redmine, issue originally created by Peace-Maker on 2009-08-13 
22:50:27

Some SMTP Mail servers don't like you using the old internal PHP mail() 
function any more.
Its not safe to send E-mails this way hand has been for the past few years due 
it requires the SMTP Email server to run in a unsafe unsecured config which 
makes SMTP Email server more vulnerable to spammers trying to use it as an Open 
SMTP Mail Relay due a lot of the protection that prevents spammers doing this 
has to be turned off.

A lot of scripts now are no longer using the old internal PHP mail() function.
But provide a place where SMTP Mail Settings can be entered and used by the 
script instead

So add script support for SMTP Email Server settings to be used instead for 
mailing emails out

SMTP Email or PHP mail() function.

SMTP Host

SMTP Port

SMTP Username

SMTP Password

SMTP Secure Connection: Options: None / SSL / TLS (Required if some email 
servers need an SSL authentication to login in order to send mails - SSL / TLS 
uses OpenSSL)

Enable '-f' Parameter: - Some send mail servers may require the '-f' parameter 
to be sent with email calls from PHP

Original issue reported on code.google.com by [email protected] on 13 Oct 2010 at 3:06

Ban friends

Error: the XML response that was returned from the server is invalid. Received:
Fatal error: Call to a member function getElementsByTagName() on null in /www/htdocs/xxxxxx/sourcebans/includes/sb-callback.php on line 2867
You have whitespace in your response.

Sourcebans broken case sensitivity when writing admin configs.

Sourcebans uses KeyValues to make admin configs, which are not case sensitive and randomly get casing wrong update after update. (Will root keyvalues with "group" instead of "Group" sometimes).

Sourcemod's admin-flatfile uses SMC parsing, which is case sensitive and only recognizes "Group".

https://forums.alliedmods.net/showthread.php?t=265684
https://forums.alliedmods.net/showthread.php?t=265635&page=8

Could go back to several past updates where the same thing has happened time and time again.

Compile warning: FCVAR_PLUGIN is marked as deprecated

When compiling sourcebans.sp with SourceMod 1.8.0:

sourcebans.sp(145) : warning 234: symbol "FCVAR_PLUGIN" is marked as deprecated: No logic using this flag ever existed in a released game. It only ever appeared in the first hl2sdk.

User Password Salt is Constant

Just noticed that in the ini.php on line 93 there is a static value for the salt of all the passwords. Since this project is open source, that essentially means that the salt is now irrelevant since its constant for any user.

Generating a random salt and storing it in the database, even if its just generated once during the site installation is vastly more secure than storing it as a static variable in ini.php. Ideally it should be generated for every user and then stored in the user table.

I wish I had time to fix this myself but I'm quite busy at the moment and wanted to point it out at least.

SourceBans.net gone?

I've noticed references to SourceBans.net in the AlliedMods forums, etc. saying to go there for documentation and such. However, SourceBans.net appears to be off-line? = like maybe expired and not renewed? or maybe just didn't renew the hosting?

Sourcebans Fatal Error

Hi,

bekommen von sourcebans diesen Fehler wenn ich die Banliste auf rufe:

Fatal error: mysqli error: [2006: MySQL server has gone away] in EXECUTE("INSERT INTO sb_log(type,title,message, function, query, aid, host, created) VALUES ('e','PHP Error','[256] mysqli error: [2013: Lost connection to MySQL server during query] in EXECUTE("SELECT bid ban_id, BA.type, BA.ip ban_ip, BA.authid, BA.name player_name, created ban_created, ends ban_ends, length ban_length, reason ban_reason, BA.ureason unban_reason, BA.aid, AD.gid AS gid, adminIp, BA.sid ban_server, country ban_country, RemovedOn, RemovedBy, RemoveType row_type,\n SE.ip server_ip, AD.user admin_name, AD.gid, MO.icon as mod_icon,\n CAST(MID(BA.authid, 9, 1) AS UNSIGNED) + CAST('76561197960265728' AS UNSIGNED) + CAST(MID(BA.authid, 11, 10) * 2 AS UNSIGNED) AS community_id,\n (SELECT count() FROM sb_demos as DM WHERE DM.demtype='B' and DM.demid = BA.bid) as demo_count,\n (SELECT count() FROM sb_bans as BH WHERE (BH.type = BA.type AND BH.type = 0 AND BH.authid = BA.authid AND BH.authid != '' AND BH.authid IS NOT NULL) OR (B in /www/htdocs/xxxxxxx/sourcebans/includes/adodb/adodb-errorhandler.inc.php on line 77

ADD: To use an SMTP server rather than the internal PHP mail() function.

Import from Redmine, issue originally created by Peace-Maker on 2009-08-13 
22:50:27

Some SMTP Mail servers don't like you using the old internal PHP mail() 
function any more.
Its not safe to send E-mails this way hand has been for the past few years due 
it requires the SMTP Email server to run in a unsafe unsecured config which 
makes SMTP Email server more vulnerable to spammers trying to use it as an Open 
SMTP Mail Relay due a lot of the protection that prevents spammers doing this 
has to be turned off.

A lot of scripts now are no longer using the old internal PHP mail() function.
But provide a place where SMTP Mail Settings can be entered and used by the 
script instead

So add script support for SMTP Email Server settings to be used instead for 
mailing emails out

SMTP Email or PHP mail() function.

SMTP Host

SMTP Port

SMTP Username

SMTP Password

SMTP Secure Connection: Options: None / SSL / TLS (Required if some email 
servers need an SSL authentication to login in order to send mails - SSL / TLS 
uses OpenSSL)

Enable '-f' Parameter: - Some send mail servers may require the '-f' parameter 
to be sent with email calls from PHP

Original issue reported on code.google.com by [email protected] on 13 Oct 2010 at 3:24

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.