BLAG

BLAG Forums
It is currently Mon Dec 22, 2014 7:09 am

All times are UTC




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: port binding
PostPosted: Mon Mar 13, 2006 2:31 am 
i wasnt sure were to put this, so i put it in here, how would i go about binding ports, so like port 10000 points to /dev/null or something like that? if it needs to be a program i know a C/C++


Top
  
 
 Post subject:
PostPosted: Mon Mar 13, 2006 2:59 am 
Offline
Site Admin

Joined: Sun Mar 14, 2004 3:17 pm
Posts: 4492
Location: Loveland, Colorado, USA
Sounds more like you want firewalling.

What exactly are you trying to do?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 13, 2006 3:07 am 
Offline

Joined: Fri Mar 10, 2006 6:40 am
Posts: 35
i read somewere to make you computer harder to hack or more frustrating you can bind a bunch of ports to /dev/null or trick port scanners into thinking you have 100 ssh ports open.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 13, 2006 3:23 am 
Offline
Site Admin

Joined: Sun Mar 14, 2004 3:17 pm
Posts: 4492
Location: Loveland, Colorado, USA
Surely you mean crack ;)

You can do such tricks with iptables (firewalling) and such. Also google "honeypots" & "tarpits" if you want to muck with the people trying to crack your system.

-Jeff


Top
 Profile  
 
 Post subject: Adam
PostPosted: Mon Mar 13, 2006 4:13 am 
Offline

Joined: Fri Mar 10, 2006 6:40 am
Posts: 35
ok thx


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 15, 2006 3:52 am 
Offline
Site Admin

Joined: Sun Mar 14, 2004 6:08 pm
Posts: 973
Location: Canada
On a similar note, I frequently am attacked in excess of 500 times a day via SSH. In addition, my friend was recently assaulted all day long, resulting in excess of 5000 attempts before he added a block to his firewall. It's a growing issue and I know I heard about some software to block out repeated failures with sshd (can't remember what it's called, I remember I was using 10k at the time and it required a higher python version than I had). Might be something interesting to add to the repo.

Thanks,
Stephen Clement

_________________
E-mail me at s.clement@localhost (replace localhost with sympatico.ca) or stevo32@localhost (replace localhost with blagblagblag.org).


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 15, 2006 11:38 am 
Offline

Joined: Mon Jan 09, 2006 8:35 pm
Posts: 123
Location: Amersham, Bucks, UK
I had that problem. It isn't anything other than annoying - I mean, the security risks are very low as I am running a server with only 15 or so users, some of which don't even have shell access anyway. I ran across some script (can't remember anything about it) that added a firewall rule after 5 failures. Seemed a bit cumbersome, however, so in the end I gave up and hoped for the best.

Bizarrely, all the attacks appeared to come from Eastern European University departments! :p

_________________
---
PM me if needed.
http://www.nofoto.co.uk


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 15, 2006 11:49 pm 
Offline
Site Admin

Joined: Sun Mar 14, 2004 4:45 pm
Posts: 621
Location: London
I use this to add firewall bans for every brute force attempt on SSH and ftp.

http://www.rfxnetworks.com/bfd.php


Last edited by Jason on Tue Mar 21, 2006 9:49 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 21, 2006 9:35 pm 
Offline

Joined: Fri Mar 10, 2006 6:40 am
Posts: 35
Thx for the replies, but i was more interested
in learning the programming part of it so that
i could increase my knowledge in socket programming

thx


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group