Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[NET] Many connections
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
zieloo
Veteran
Veteran


Joined: 28 Mar 2004
Posts: 1337

PostPosted: Wed May 04, 2005 7:34 am    Post subject: [NET] Many connections Reply with quote

I'm dead serious here, don't laugh at me if you read sth funny:lol:
I need to create multiple connections to a server. It doesn't matter what type of connections, but it has to as many as possible of them.
What would I use for that?
Back to top
View user's profile Send private message
jbwillia
Tux's lil' helper
Tux's lil' helper


Joined: 07 May 2004
Posts: 108
Location: TN, USA

PostPosted: Wed May 04, 2005 7:41 am    Post subject: Reply with quote

soooo, you're wanting to launch a DOS attack???
_________________
Code:
#!/bin/bash
for everyexe in $(find /home/you -name "*.exe" | egrep -i ".*exe$")
do
    kill $(pgrep you)
done
Back to top
View user's profile Send private message
zieloo
Veteran
Veteran


Joined: 28 Mar 2004
Posts: 1337

PostPosted: Wed May 04, 2005 7:50 am    Post subject: Reply with quote

No, I just want to test the network. I'm not sure it will handle the trafiic, that's why I want to do it.
Back to top
View user's profile Send private message
jbwillia
Tux's lil' helper
Tux's lil' helper


Joined: 07 May 2004
Posts: 108
Location: TN, USA

PostPosted: Wed May 04, 2005 7:56 am    Post subject: Reply with quote

lol .... can you not just write a quick little script that does this in a loop or even a C program (if you want it really fast)?
_________________
Code:
#!/bin/bash
for everyexe in $(find /home/you -name "*.exe" | egrep -i ".*exe$")
do
    kill $(pgrep you)
done
Back to top
View user's profile Send private message
jbwillia
Tux's lil' helper
Tux's lil' helper


Joined: 07 May 2004
Posts: 108
Location: TN, USA

PostPosted: Wed May 04, 2005 8:12 am    Post subject: Reply with quote

damn, I crashed my laptop experimenting with your idea here. Seeing that I don't have a per user process limit setup on my laptop like the solaris machines I administer at work :wink: I didn't stop the script I wrote before it got out of control. I'm just tired and need to go to sleep now. LoL
_________________
Code:
#!/bin/bash
for everyexe in $(find /home/you -name "*.exe" | egrep -i ".*exe$")
do
    kill $(pgrep you)
done
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum