vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Big Board Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=172)
-   -   Securing Your Server? (https://vborg.vbsupport.ru/showthread.php?t=110127)

AdminNation 03-12-2006 02:38 AM

Securing Your Server?
 
In the past week or so we've had countless attempts at people trying to hack into our sever, most noteably when somebody tried to get FTP access to corrupt files, but made sure to spoof an admin IP so it would go unnoticed. So, as you can imagine, we're starting to get a bit paranoid. Aside from install most of the 3.5.2-4 security hacks on this board (which was already somewhat planned), what else can be done in terms of server configuration, software, firewall settings, ect to help better secure our box?

Trigunflame 03-12-2006 03:30 AM

Quote:

Originally Posted by AdminNation
In the past week or so we've had countless attempts at people trying to hack into our sever, most noteably when somebody tried to get FTP access to corrupt files, but made sure to spoof an admin IP so it would go unnoticed. So, as you can imagine, we're starting to get a bit paranoid. Aside from install most of the 3.5.2-4 security hacks on this board (which was already somewhat planned), what else can be done in terms of server configuration, software, firewall settings, ect to help better secure our box?

Lockdown php with open_basedir for PHP stuff.
Server side, compile a monolithic kernel with grsec, preferably a 2.6.x build.
As for FTP server, it depends which you are using and if its chrooted or not.
Chroot your nameserver, webserver, and FTP if its not already along with any other public services.
Firewall settings are going to be geared mainly towards deflecting illegitimate traffic, that being udp floods, tcp connections, concurrent request etc..
Prevent direct root login, make sure you have to login as a system user first then su- to root; also change SSH to a higher level port thats not currently in use, possibly change ftp to another port as well.

turkforum 03-12-2006 03:58 AM

I do Close all unnecessary ports. Update the server every day. Check the Logs. let my mods change their pass every month or week (admins). And still looking for a nice firewall for a windows machine.

Paul M 03-12-2006 10:17 AM

Quote:

Originally Posted by turkforum
And still looking for a nice firewall for a windows machine.

Have you tried Winroute Pro ?

cirisme 03-12-2006 05:59 PM

I use DenyHosts to help in the security fight.

who is chris c 03-13-2006 10:02 PM

also you can move ftpd to a secureftpd (data encryption)

Erwin 03-13-2006 10:29 PM

Don't use ftp - close that port, and use only ssh2.

GrCh_Jeff 03-19-2006 11:47 AM

Quote:

Originally Posted by Erwin
Don't use ftp - close that port, and use only ssh2.

is that like ftp?

who is chris c 03-21-2006 12:21 AM

ssh is an encrypted telnet protocol:

Ssh2 (Secure Shell) is a program for logging in on a remote machine and
executing commands on a remote machine. It is intended to replace rlogin
and rsh, and provide secure, encrypted communication channels between two
hosts over an insecure network. X11 connections and arbitrary TCP/IP ports
can also be forwarded over such secure channels.

mikeylikesitz 03-21-2006 03:28 AM

and for those of you who dont know about winscp, it is a great windows based ssh transfer program.

http://winscp.net/eng/docs/introduction

i dont use ftp at all on my server, only ssh on a higher port and this program.

Carnage 03-21-2006 04:27 PM

something else thats worth a go, take a look at your apache error logs from time to time (i often notice people attempting to access none existant files like for example, known buggy web apps) It also may give up some information about people attempting thigns like inserting shell commands into session cookies ?!? (All this results in is the site blocking with a fatel error message)

GrCh_Jeff 04-05-2006 03:49 AM

Here is a question.Is ssh faster at uploading to the server than ftp? I have cable 3meg down 256 up and when uploading files to the server it only uploads at like 30 to 40 kb a sec. .

DavidN 04-11-2006 05:53 PM

Quote:

Originally Posted by GrCh_Jeff
Here is a question.Is ssh faster at uploading to the server than ftp? I have cable 3meg down 256 up and when uploading files to the server it only uploads at like 30 to 40 kb a sec. .

I find SCP from a windows machine using pscp really slow. scp from a Linux box can use my full bandwidth. Very odd.

Although, btw 256k up is ~32k/s


All times are GMT. The time now is 04:54 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01083 seconds
  • Memory Usage 1,736KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (13)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete