SL - Page 2
 

News:

29 December 2022 - PtokaX 0.5.3.0 (20th anniversary edition) released...
11 April 2017 - PtokaX 0.5.2.2 released...
8 April 2015 Anti child and anti pedo pr0n scripts are not allowed anymore on this board!
28 September 2015 - PtokaX 0.5.2.1 for Windows 10 IoT released...
3 September 2015 - PtokaX 0.5.2.1 released...
16 August 2015 - PtokaX 0.5.2.0 released...
1 August 2015 - Crowdfunding for ADC protocol support in PtokaX ended. Clearly nobody want ADC support...
30 June 2015 - PtokaX 0.5.1.0 released...
30 April 2015 Crowdfunding for ADC protocol support in PtokaX
26 April 2015 New support hub!
20 February 2015 - PtokaX 0.5.0.3 released...
13 April 2014 - PtokaX 0.5.0.2 released...
23 March 2014 - PtokaX testing version 0.5.0.1 build 454 is available.
04 March 2014 - PtokaX.org sites were temporary down because of DDOS attacks and issues with hosting service provider.

Main Menu

SL

Started by chill, 23 April, 2004, 10:08:59

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

[NL]trucker

hmm cant d/l chill websote seems to be down:-)
Owner of FunnyHub
 
Funyhub.no-ip.info
       Forum Master of


chill

#26
w version, some optimising  ,

- SL V 0.45: 05.06.04
1. Added StrDB for SusIP table. (memory is down to 3 MB  ) with over 10.000 ranges :))
2. Created IP-Bot with StrDB, and included it
3. Added CleanSusIP() to clean the susip table at midnght, it will only keep entreis of users that are online
to make sure that Connects per IP, are always accurate.
4. change command formatranges to reloadranges, this command lets you reload ranges from the DenyRangeTXT file, by default the guardian.p2p file.

simple thing to add your new denyranges, go here
download the file you need, and unpack into the SLfolder (SecuLite)

then start the hub, and to update the file overwrite the last p2pfile,
and type +reloadranges

SL V 0.45

sander815

very nice!

only +slhelp doesn't give my anything

Couger

Very nice
Chilla

once again what a fantastic script youve wrote

your first one logger was great and now this one is even better the favorite part is the way you integrated the feature ti import ranges from methlabs P2P file which is easy

Keep up the good work

Cheers [UKF]Couger

sander815

QuoteOriginally posted by chill

simple thing to add your new denyranges, go here
download the file you need, and unpack into the SLfolder (SecuLite)

then start the hub, and to update the file overwrite the last p2pfile,
and type +reloadranges

SL V 0.45

odd, now it worx again...

do i just need the guarding.p2p file and reload that?

chill

yepp place it in the sl folder by default 'SecuLite'

sander815

any new updates on this script?

YASHOV

#32
After I enter "+slhelp", nothing happens ?(

I also get:
Syntax Error: attempt to call field `Getn' (a nil value)

YASHOV

#33
Could someone please have a look at this bot?

I really need this bot, but getting errors

1) +slhelp  does not work
2) Syntax Error: attempt to call field `Getn' (a nil value)
3) share is shown as 0.00

PLEASE!!!!!!!!

I am running PetokaX v0.3.2.6 test drive 4

Thank you very much!!!!


YASHOV

Hmmmm, looks like nobody is going to fix the problems with this bot............ :(  :(  :(

chill

no I'm looking in :).

Quote1) +slhelp does not work   2) Syntax Error: attempt to call field `Getn' (a nil value)   3) share is shown as 0.00

well 1. could be that a script also uses the same prefix and then blocks all commands beginning with that prefix.
So try running sl alone, and see if it works, if it works then you can change the name of the script maybe to A...SLNAme.lua so it get loaded at first.

the second, I couldn't localize, but I fixed a mistake in TDB so the error could be gone.

The third is tuff, SL will only shows those share as correct that match the patternmatching, clear ;), but you could help me by giving me the MyINFO string of the user who's share is shown false, or at least the rest of it, you should be able to find it in one of the log files.

sl 0.46

YASHOV

#37
Thank you for looking in to it :)

I upgraded to v0.46 and:

1) If I run the script by itself, +slhelp still does not work if I enter +slhelp in the main chat window or if I select "Display SecuLite Help" from the right click menu.

2) I still get "Syntax Error: attempt to call field `Getn' (a nil value)" every time a reg connects to the hub.

3) All users are showing as having 0.00GB in their share.
Not sure if this is what you want, it's from the SL log file:
{ [1] = "192.168.000.003", [2] = "Yashov", [3] = "15/08/04 - 21:10:45", [4] = "ON", [5] = "\"$MyINFO $ALL Yashov Admin<++ V:0.403,M:A,H:0/1/0,S:8>$ $DSL$yas@mail.com$802119155096$\"" }

I see this when I select "Check logs for UserNick" from the right click menu:
[01:03:02] 3 - Date: 15/08/04 - 21:10:45, Nick: Yashov, IP: 192.168.0.3, Logged: ON
[01:03:02]    Descr: N/A, Share: 0.00 GB

It says Descr: N/A, even though I have "Admin" as description and my share is definitely not 0.00GB LOL

Thank you very much

Herodes

I was looking in this and number [5] dont look healthy unless chill needed it to be so ...
[5] = "\"$MyINFO $ALL Yashov Admin<++ V:0.403,M:A,H:0/1/0,S:8>$ $DSL$yas@mail.com$802119155096$\""}.. ?

chill

#39
okey fixed the MyINFO ;), and yepp I formatted it twice by accident,

I also connected as a reg and didn't get any errors,
I only call Getn for the IPBot, so no idea why the error should happen, maybe you can give me more details,
does it happen with all regged or only with a specific reg?

About the help, try renameing the script to something like

1SecuLite...   or
ASeculite...  or
ZSecuLite...  one should work I hope,

Well anyways fixed version is here

sl 0.47

YASHOV

#40
Thank you very much for fixing MyINFO,works great now :-)

I get "Syntax Error: attempt to call field `Getn' (a nil value)" when any and all members connect
There are as many errors showing as there are members connected, REGs, OPs, Admins............
But not the bots.

As for help, I tried everything..........
I renamed it and I got it to run as the only bot and I still can't get help to work :-(

YASHOV

#41
I found out why I was getting the " Syntax Error: attempt to call field `Getn' (a nil value) " error.
It happens if DenyRanges.txt is in the scripts\SecuLite folder.
I removed it from the folder and errors stopped.
I got the "DenyRanges.txt" from "SecuLite_V_0[1].44.zip"

OK, I got a new guarding.p2p.zip from HERE, reloaded and the deny ranges is now working and I am not getting any errors :-)

As for help, it works if I login as an OP or Admin or Master:-) but it does not work when I login as a NetworkFounder...... :-(

And I would like to request a function:
If a member loges in with a different IP more than a set number of times during a set period of time (like a month or adjustable), I would like SecuLite to send Admins and OPs a PM with the members name and the IPs he/she has used.
And I would like this function to have an Immune List for members on dialup and ISDN

Thank you very much

chill

good to hear its working now :),
I will add a function where you can adjust the profiles which are allowed to use SL.

To your other request,
I don't understand what its good for,
see it could only check registered users, since the others just change their nick and you would have a new entrie in your NicktoIP table.
Or it could end up that your regged users connect as unregged. But maybe you got some other arguments.

What I could do and what sounds reasonable to me, is, if you search the logs for a nick I could add a msg with how many different ip's the person connected. if found in the logs.

greets chill

YASHOV

Thank you very much!! :-)

As for my request, I want this function so that I am notified as soon as a members IP changes.
The reason for this, it seems there are a few people around that are selling their private hub login info........
And I need to know when a members IP changes so that I can investigate the reasons for the change.
I know I could do it manually, I just thought an automated process will save me a lot of time........
It is a private hub so the nick will never change.

Thank you

chill

is sorta done..

but you will have to check the nick for yourself, cause keepin an table with all users and their used IP's can end in huge mem usage so I added the GeoIP databas to the script, whitch you have to download from the net and you can update is yoursefl if you want, as the guardian.p2p also.

[01:23] +nicklog chill 1
[01:23]  ----------------------------------
[01:23] <-SecuLite->    LOGS, Searched for: chill, Matches: 3
[01:23]  ----------------------------------
[01:23]  1 - Date: 05/10/04 - 01:09:36, Nick: chill, IP: 23.0.0.1, From: South Africa (ZA), Logged: ON
[01:23]     Descr: <++ V:0.401,M:P,H:0/1/0,S:4>, Share: 1.68 GB
[01:23]  2 - Date: 05/10/04 - 00:58:23, Nick: chill, IP: 4.0.0.1, From: United States (US), Logged: ON
[01:23]     Descr: <++ V:0.401,M:P,H:0/1/0,S:4>, Share: 1.68 GB
[01:23]  3 - Date: 05/10/04 - 00:53:45, Nick: chill, IP: 93.0.0.1, From: South Africa (ZA), Logged: ON
[01:23]     Descr: <++ V:0.401,M:P,H:0/1/0,S:4>, Share: 1.68 GB
[01:23] +nicklog reg 1
[01:23]  ----------------------------------
[01:23] <-SecuLite->    LOGS, Searched for: reg, Matches: 4
[01:23]  ----------------------------------
[01:23]  1 - Date: 05/10/04 - 00:44:38, Nick: reg, IP: 55.0.0.6, From: United States (US), Logged: ON
[01:23]     Descr: <++ V:0.4032,M:A,H:0/1/0,S:1>, Share: 0.00 B
[01:23]  2 - Date: 05/10/04 - 00:44:06, Nick: reg, IP: 80.0.0.6, From: United Kingdom (GB), Logged: OFF
[01:23]     Descr: <++ V:0.4032,M:A,H:0/1/0,S:1>, Share: 0.00 B
[01:23]  3 - Date: 05/10/04 - 00:44:04, Nick: reg, IP: 217.0.0.6, From: Germany (DE), Logged: ON
[01:23]     Descr: <++ V:0.4032,M:A,H:0/1/0,S:1>, Share: 0.00 B
[01:23]  4 - Date: 05/10/04 - 00:44:03, Nick: reg, IP: 9.0.0.6, From: United States (US), Logged: OFF
[01:23]     Descr: <++ V:0.4032,M:A,H:0/1/0,S:1>, Share: 0.00 B

this is what the logs look like it also show the country next to the IP. I cannot gurante for the accuracy of the Countryname, but you can update the File by yourself, anytime you like.

If you use this bot you need a clean install.
Anybody should read the SecuLite Changelog, cause I
but the addys there where to find the guardian.p2p file
and the GeoIPDataBase file.

This script uses IP-Ranges and looks them up through Binary search witch is the fastest way of doing a IP-Range search, I advise anybody making scripts that search a table with IP-Ranges to use a binary search since it is the fastest, you can also find it in the GeoIP script from VidFamme, where you might find it easier to understand than in this script. But in a test once we found out that its like dunno forgot, since it was ages
ago, but really much faster than normal for i,v in table do , when using tables bigger than 10 entries, and it gets faster the bigger the table,
GeoIP has for exsamp 65.000 entries.
Well only if you are interested, else a snale also
gets to its aim, sometime.


SL V.048

YASHOV

Thank you very much!!!

But the download link does not work :-(

Psycho_Chihuahua

PtokaxWiki ?PtokaX Mirror + latest Libs

01100001011011000111001101101111001000000110101101101110011011110111011101101110001000000110000101110011001000000101010001101111011010110110111101101100011011110111001101101000

chill

#47
new version, did some fixes due to long testing.
Check the ChangeLog.

Remeber to update your denyranges, and GeoIP file yourself, from time to time.

sl 0.50

* right edited, :) *

Psycho_Chihuahua

Guess u meant sl 0.50  :D
PtokaxWiki ?PtokaX Mirror + latest Libs

01100001011011000111001101101111001000000110101101101110011011110111011101101110001000000110000101110011001000000101010001101111011010110110111101101100011011110111001101101000

sander815

what are the correct places to get the denyranges?

SMF spam blocked by CleanTalk