![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
12 years old
Join Date: Nov 2007
Posts: 104
Rep Power: 0
![]() |
kubuntu help
well on my older desktop i recently added a dual boot with kubuntu, so now it has kubuntu 7.10 and windows xp (im thinking sp2). well im hoping its not sp2, because of the dreaded raw-sockets kill. so i wrote a simple syn flooder with kate and compiled with gcc, when, to my suprise, didn't work. the following socket() call failed and produced the perror("socket()") call.
s = socket(PF_INET, SOCK_RAW, IPPROTO_RAW); if anyone here has some insight, please help edit: i believe nmap does work (port scanning atleast). im severely confused. |
|
|
|
|
|
#2 |
|
Battle Programmer
Join Date: Feb 2006
Location: Bellevue, WA, USA
Posts: 769
Rep Power: 3
![]() |
Re: kubuntu help
drivers would be specific to the OS running at the time...
__________________
<insert disclaimer here> <insert shameless plug for Visual Studio here> |
|
|
|
|
|
#3 |
|
12 years old
Join Date: Nov 2007
Posts: 104
Rep Power: 0
![]() |
Re: kubuntu help
|
|
|
|
|
|
#4 |
|
Not a user?
Join Date: Sep 2007
Posts: 295
Rep Power: 2
![]() |
Re: kubuntu help
Is there something wrong with raw sockets? networking challenged here.
|
|
|
|
|
|
#5 | |
|
Battle Programmer
Join Date: Feb 2006
Location: Bellevue, WA, USA
Posts: 769
Rep Power: 3
![]() |
Re: kubuntu help
Quote:
[edit:] actually, this makes sense. Giving raw network access seems (to my slightly buzzed mind, had a couple drinks this evening) like a very possible security risk, hence the need for - as Vista so well puts it - elevated privileges. Requiring anything using raw sockets to either run as root or call setuid() to get root privileges seems like a feasible requirement.
__________________
<insert disclaimer here> <insert shameless plug for Visual Studio here> |
|
|
|
|
|
|
#6 |
|
12 years old
Join Date: Nov 2007
Posts: 104
Rep Power: 0
![]() |
Re: kubuntu help
jimbo and jabo, in windows xp sp2 and above, raw sockets are disabled at driver level.
EDIT: sorry for the bump ![]() Last edited by null_ptr0; Apr 13th, 2008 at 1:57 PM. Reason: oops!! |
|
|
|
|
|
#7 | |
|
Battle Programmer
Join Date: Feb 2006
Location: Bellevue, WA, USA
Posts: 769
Rep Power: 3
![]() |
Re: kubuntu help
Quote:
__________________
<insert disclaimer here> <insert shameless plug for Visual Studio here> |
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Favourite Linux Distribution | MrMan9879 | Coder's Corner Lounge | 45 | Nov 24th, 2005 5:56 PM |