| alterdego | 2006-05-06 21:50:00 |
![]() Posts: 12 Topics participated: 7 Topics started: 1 First post: 2006-04-30 05:11:00 Last post: 2007-02-13 12:29:00 |
IN FILE: include/bittorrent.php you will find the following code: |
![]() |
reserved IP (IP VALIDATION)
| DRRRR | 2006-05-06 22:21:00 |
![]() Posts: 510 Topics participated: 277 Topics started: 5 First post: 2006-03-13 22:18:00 Last post: 2006-10-25 20:54:00 |
please let me know what you guys think. I think you're the only person that actually checked that iana link above to see if the old function was completely ok ;) |
![]() |
| alterdego | 2006-05-06 22:59:00 |
![]() Posts: 12 Topics participated: 7 Topics started: 1 First post: 2006-04-30 05:11:00 Last post: 2007-02-13 12:29:00 |
I think you're the only person that actually checked that iana link above to see if the old function was completely ok ;) the only reason that i checked was because i am attempting to do a complete rewrite of the tbdev script (with a few mods here and there). i am attempting to have the most efficient code in terms of security, cpu usage, and php4 coding standards according to the php manual and what php zend studio tells me. so back to the question at hand, which array should i use? the default one, or the one i posted? thanks for any input. |
![]() |
| DRRRR | 2006-05-06 23:04:00 |
![]() Posts: 510 Topics participated: 277 Topics started: 5 First post: 2006-03-13 22:18:00 Last post: 2006-10-25 20:54:00 |
attempting to have the most efficient code in terms of security, cpu usage Why is everyone trying to do te same stuff i do ;( :P j/k ;) Well both arrays aren't that big so you prolly won't notice that kind of stuff in parse time, but i'm not using any of them. my getip function is just a straight 'return $_SERVER['REMOTE_ADDR'];'. Don't really see the point of checking forwarded_for headers since you can't be sure that one is valid anyway. |
![]() |
| alterdego | 2006-05-06 23:24:00 |
![]() Posts: 12 Topics participated: 7 Topics started: 1 First post: 2006-04-30 05:11:00 Last post: 2007-02-13 12:29:00 |
i didn't know you had already started a project with the cpu/security otherwise i would have started from your source, but i already started using the virgin TBDEV.NET Source 12-09-05 i added a few mods that are specific to the site i plan on starting. don't worry, its entirely unique. so it won't be a copy of any other torrent site. or at least none i have ever seen. this function basically blocks site access from the ips in those arrays, am i wrong? if im correct, editing this array would be a nice way of securing your site a little better. simply add government agencies into this array. also, does anyone know how to get the ip address of someone behind a firewall? because the virgin tracker source returns my ip as that of my router (192.168.1.1) and thus makes me UNCONNECTABLE. |
![]() |
Similar threads
| Topic | Posts | Last post |
|---|---|---|
| Email Validation | 5 | 2008-09-08 10:30:00 |
| Validation e-mails | 1 | 2007-10-01 12:20:00 |
| Pincode validation Mod | 7 | 2008-09-23 14:09:00 |
Statistics
| Today's active topics · | |
|---|---|
| User(s) active in the past 30 minutes | |
| 39 Guests, 18 Members linuxboy, narix, oidia, Ruffneck, zodiac, Numer0bis, CrazyRabbit, RazorRS, abudman, spankybot, honor, oem123, twsSentinel, lazalukasz, bobby, Velox, badamoi, nerosero optymalizacja strony www , opisy gg , odzyskiwanie danych , mp3 download , okna drewniane Obrazki alveo Kredyty bingo online pozycjonowanie | |
| Often viewed topics | |
| · Work with mod_r... · Question about ... · new Message · browse.php · RSS feed passke... · New BBCode · Auto Cleanup! · User/ID · Null Announce. · Stats on index · Add/Remove Style · theme system · Nice signup usi... · last 10 forum ... · Preliminary XSS... · Torrent Inline ... · Save PMs to temp! · Rating using ajax · Invite With Bonus · Warned users (o... | |
| Forthcoming Calendar Events within the next 5 days | |
| There are no forthcoming calendar events | |


