Networking :: Cannot Open Sockets In Computer

Sep 14, 2010

The problem started when I noticed I couldn't upload to people using a torrent downloading program, the program listened on port X and when I sniffed on the same port I saw that syn's are forwarded correctly from my nat to that port but the program doesn't relate to those packets. Then I listened with NC, and even on another port nothing is being answered to those syns packets.

View 3 Replies


ADVERTISEMENT

Ubuntu Security :: One Limit The Number Of Open Sockets To Prevent Exploiting?

Dec 6, 2010

I was searching around and I stumbled upon a Linux Kernelix Sockets Local Denial of Service exploit.I downloaded the exploit, compiled it ran it to check if I am vulnerable.As I was expecting, the exploit instantly "killed" my Maverick system and I had to use the power button to reset my computer...Is there any way to limit the numberof allowed open sockets?I don't think that this can be done using /etc/security/limits.conf in a similar way of preventing the fork bombs

View 1 Replies View Related

Programming :: Connect Multiple Sockets From A Single Client To A Single Server And Keep Them Open?

Oct 13, 2010

I have question about the UNIX sockets. my goal is to connect multiple sockets from a single client to a single server and keep them open...I'm not sure if that is possible to create or not. Do you have any suggestion or an example of code?

View 1 Replies View Related

Networking :: How Many Possible Sockets On 64-bit

Jan 24, 2011

What's the total no. that the OS can create? Does this differ from 32-bit?

View 1 Replies View Related

Server :: Error "no Listening Sockets Available, Shutting Down Unable To Open Logs [FAILED]" When Restart The Service Httpd

Apr 2, 2011

[root@itsupport ~]# service httpd restart Stopping httpd: [FAILED] Starting httpd: (98)Address already in use: make_sock: could not bind to address [::]:80 (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80

no listening sockets available, shutting down Unable to open logs [FAILED] Iam facing the above error when i restart the service httpd

View 9 Replies View Related

Networking :: How To Send A File Using Sockets ?

Jun 25, 2010

Hi ,

I created a socket.port no 21 meaning ftp client.
I am sending some stings and receviing some data from server.Fine.

But I want to send a file some x.c to host using socket.
Please can someone help me whether we can do it or not.
If we can how can we send a file.I was only able to send buffer and data but not a file.Please if possible can you help me with example.

Regards,
shaiva

View 2 Replies View Related

Networking :: Bad: Two Sockets Of Different Ports In A Single Program?

Mar 4, 2011

I am trying to make a file proxy server...that is any request of file a client makes goes to the proxy server...it checks it in cache if not there then asks main server for the file. to act as a server for client and as client for server...how to do it in a single program. I tried with 2sockets with different ports one for client-proxy server and one for proxyserver-main server.But it does not workAm i doing something wrong or is there any other method

View 2 Replies View Related

Networking :: How To Receive ICMP Messages In UDP Sockets

Jul 9, 2009

I have a C program which does.

1. Creates a UDP socket
2. Send the UDP Request packet to the TFTP server.
3. If the TFTP server is not listening in the 69 port, the remote machine send an ICMP ("Port Unreachable") message.

Is there a way to receive a notification from the Linux kernel on receipt of an ICMP packet to the created UDP socket.

View 1 Replies View Related

Networking :: HTTPD Not Starting - No Listening Sockets Available

Sep 29, 2010

root@HOST [~]# /etc/init.d/httpd start
Starting httpd: no listening sockets available, shutting down
Unable to open log [FAILED]
root@HOST [~]# /etc/init.d/httpd restart
Stopping httpd: [FAILED]
Starting httpd: no listening sockets available, shutting down
Unable to open logs [FAILED]
root@HOST [~]# tail -n 10 /var/log/messages
Sep 29 17:59:30 localhost avahi-daemon[2870]: New relevant interface wlan0.IPv4 for mDNS.
Sep 29 17:59:30 localhost avahi-daemon[2870]: Joining mDNS multicast group on interface wlan0.IPv4 with address 196.219.240.236.
Sep 29 17:59:30 localhost avahi-daemon[2870]: Registering new address record for 196.219.240.236 on wlan0.
Sep 29 17:59:31 localhost avahi-daemon[2870]: New relevant interface wlan0.IPv6 for mDNS.
Sep 29 17:59:31 localhost avahi-daemon[2870]: Joining mDNS multicast group on interface wlan0.IPv6 with address fe80::223:cdff:fecb:9c5e.
Sep 29 17:59:31 localhost avahi-daemon[2870]: Registering new address record for fe80::223:cdff:fecb:9c5e on wlan0.
Sep 29 17:59:31 localhost NetworkManager: <info> (wlan0): device state change: 7 -> 8
Sep 29 17:59:31 localhost NetworkManager: <info> Policy set 'Sunsoft1' (wlan0) as default for routing and DNS.
Sep 29 17:59:31 localhost NetworkManager: <info> Activation (wlan0) successful, device activated.
Sep 29 17:59:31 localhost NetworkManager: <info> Activation (wlan0) Stage 5 of 5 (IP Configure Commit) complete.
What is the problem I have a local server
CentOS Linux

View 19 Replies View Related

Ubuntu :: Sporadic With The Openoffice.org Program - Can't Open Any Open Office Programs Without Rebooting Computer

Jan 28, 2011

I'm having sporadic issues with the openoffice.org program. Sometimes, power point presentations will crash the program and then I can't open any open office programs without rebooting the computer. The problem seems to be just with powerpoint files and I'm not sure what the issue could be.

View 7 Replies View Related

Networking :: Sending Frames Of Size 1518 Using Raw Sockets

Aug 19, 2010

I wrote an application that receives packets on one interface and sends them to another interface after it added a vlan header. Both the sending and the receiving is done using raw sockets. Everything seems to work fine until I get TCP packets that are of size 1514 (MTU). Once I add a vlan header to the packet, its size becomes 1518 and when I try to send it I get the returned value -1 and errno=90 (message too long). I tried to change the MTU of the NIC to a value that is bigger than 1500 but that fails. If I create a bridge using brctl and vconfig between the NICs I can see that my NIC does sends packets of size 1518. What do I need to in order to make my NIC to send packets of size 1518?

View 5 Replies View Related

Networking :: Sending / Receiving Data Simultaneously Using BSD Sockets

Jun 25, 2010

I would like to send a data using one thread and receive a data using other thread by using a same socket connection using USD sockets. The calls i am using for sending and receiving are send(), recv(). let me know is it possible to send and receive the data parallel (Full duplex communication)?

View 2 Replies View Related

CentOS 5 Networking :: Active UNIX Domain Sockets Necessary To Use

Jun 28, 2009

Did a netstat -an got this

Active UNIX domain sockets (servers and established)

View 1 Replies View Related

Networking :: Detecting Broken Connection Before Sending Data With Sockets?

Oct 28, 2010

I am writing a code in Python where a socket client changes data with the server. That works nice if the connection is up. However it is also supposed to work offline. So I need to be able to detect if the connection is up before sending data, but I was not able to do so. A summary of the code is like that:

Code:
try:
socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
socket.connect( (self.host, self.port) )
connected = True
except:
connected = False

if connected:
data = "some data byte"
try:
socket.send(data)
except:
connected=False
socket.close()

If I unplug the cable after the connection is ready then the socket sends data and does not detect the connection failure. What is amazing is that the client detects the connection failure just after the cable has been plugged again. Of course there is a loop in the code above and always that connected==False a new connection is made. How could the program detect the connection failure before sending data and then lead the code to an exception?

View 3 Replies View Related

Networking :: Limitof UDP Sockets We Can Bind At Same Time In Fedora Core X64 ?

Jan 18, 2011

During the development of a java application appearantly found that cannot bind more than 500 UDP sockets at the same time.

The developed java application is running on Fedora Core (x64)

Is there some procedure to check how many sockets I can bind at the same time on that linux distribution?

In case the limit exists, can it be increased easily?

$ uname -a result is :

View 2 Replies View Related

Networking :: Packet Generation - Info On Sockets In Kernel Level?

Jul 14, 2011

I am learning about net filters and I am practicing some sample programs on it. I am very new to this and I have a general query. I got the packet to a desired function using PRE_ROUTING hook. Now how do I frame a packet from this point? I am just trying to simulate a echo client server program in the kernel level using these hooks. Any useful info on sockets in the kernel level?

View 1 Replies View Related

Ubuntu Networking :: Assigned Computer A's Static Ip To Computer C Without Changing Dhcp Setting?

Aug 18, 2010

I set up a dhcp server in the lan and assigned static ips to two computers, computer A and B, according to their mac address. Everything was running fine. But when I turned off computer A, connected computer C to the network, and assigned computer A's static ip to computer C without changing dhcp setting. Computer C was able to access the internet. When I turned on computer A, dhcp couldn't assign an ip address to it, and computer C showed an error message of ip conflict and failed to use internet. I wonder if dhcp server is able to prevent other computer from using the same static ip that is already assigned to a computer according to its mac address.

View 5 Replies View Related

Ubuntu Networking :: One Computer Sees Network, The Other Computer Doesnt?

Nov 11, 2010

My wifes networked computer connected to the network just fine when it was Win XP. Now that Ive converted it to 10.04 (completely) it can see the network, but it just wont connect to it. I had no problem converting my computer to Ubuntu and it sees the network and accesses it great. Files, folders and hard drives are all shared. So, one computer connects great, the other does not.**I dont know what to do at this point.Here is the layout:My Comp (10.04) ---------......Main Network Comp (XP)Wife Comp (10.04) -------/The main network computer is XP as it has software on it we need that does not work in Wine. The main computer will have to stay XP. I cannot get my wifes computer to connect to the main system, although mine connects just fine. I dont know what the problem is. Her computer sees the network, but when trying to connect, it times out and says unable to connect.

View 2 Replies View Related

Ubuntu :: Cant See When Open Computer?

Sep 1, 2011

i just got ubuntu and starting using it as i was learning basic ruby programming for two weeks. suddenly now everytime i open my computer it doesn't give me the choice of weather i would like to use windows or ubuntu like it normally does. any ideas on how i can fix that? all my ubuntu files are still on my computer so it wasnnt removed.

View 1 Replies View Related

Ubuntu Networking :: Computer Finding The Name Of Another Computer Under DHCP?

Sep 10, 2010

I have two Linux computers and one small home router with DHCP functionality. I configured the router with the "dynamic DHCP" setting, ie, the static DHCP with MAC-Address was not used. Before that, I used the manual IP configuration, defining the two computers' names in the /etc/hosts file.

Example:

10.0.0.2 comp2
10.0.0.3 comp3

Now, with DHCP, the above example is no longer appropriate, because the DHCP server is supposed to tell the computer what IP number it will receive. However, I am missing something, because I haven't figured it out yet how to make one computer know the other computer's name. Is it that I haven't installed a name-finding package? Is there a simple way to accomplish this (one computer finding the other computers' names)?

View 9 Replies View Related

Ubuntu Networking :: Move HD To New PC - Can't Access Computer From Other Computer

Sep 21, 2010

I have ubuntu server installed on a pc. The motherboard died, so I switched the HD to another computer. Everything is fine except the network. I cannot access this computer from other computer (while it was possible before). I looked at the interfaces and everything seems fine. The nic itselft seems to work too.

View 1 Replies View Related

Networking :: How To Find Ip Address Of Other Computer In LAN Network From Own Computer?

Jun 7, 2010

i want to find ip address of other computer which are connected in LAN..suppose ther are 5 compter in LAN and i want to find ip of all remaining 4 computer using my computer only in command or any other way is ther....

View 4 Replies View Related

Fedora :: Computer Will Not Open Any Webpages In F13

Oct 14, 2010

I have recently installed fedora 13 on my desktop, it is ibm hardware, an older 1 gig processor, it is a full install, it functions fine but with one problem. The ethernet card is functioning, however the only web pages I can get to come up is the fedora stuff I believe comes with it. I have looked at the forums and guide and they all say it should connect itself and be good to go, it has found the connection, but cant find anything on the internet. I have two computers connected to a router, when running windows both connect just fine. When I switch mine over to fedora it will not open any web pages, gives me a "cant find the server" message. I have tried several things including changing settings and manually setting IP addresses and mac addresses, nothing has worked.

View 2 Replies View Related

Ubuntu :: Can't Open Computer And Trash

Dec 1, 2010

everytime i click on computer icon on my desktop an error message pop up: Could not display "computer:". Nautilus cannot handle "computer" locations.

same problem with trash: Could not display "trash:". The file is of unknown type

is it because i try to install softice in wine? by the way im using ubuntu 9.10 netbook.

View 1 Replies View Related

Ubuntu :: Open Computer With Super Key + E?

May 17, 2011

Is there a way to open Computer with super key + E?

I'm just used to opening My Computer with Boss key + E in Windows. Oh, and I'm on Natty.

View 4 Replies View Related

Ubuntu :: Ssh - Open Application On Remote Computer?

Feb 28, 2011

I have a small netbook that I would like to use as a terminal for my main computer, so instead of opening Gnome-terminal on my computer it will run from my netbook.

what i want to know is how to ssh from my netbook into my main computer and run an application on that computer.

So i would like to be able to ssh into my computer, and when i type "vlc movie.avi" it will open and run on the REMOTE computer just as if i had opened gnome-terminal and typed the command there.

Note: I'm not looking for something/anything like "ssh -X" or VNC or Remote Desktop.

View 5 Replies View Related

General :: Unable To Get CUPS To Open On Computer

Jun 11, 2011

I cant get cups to open on my computer http://localhost:631/ wont open for me either.

View 2 Replies View Related

Networking :: How To View Computer On Windows Computer?

Jan 1, 2010

I downloaded the vnc 4.1 on my linux computer which is running Ubuntu I'm not sure how to view it on a windows computer. I really have no idea what i'm doing so can anyone that answers please add as much detail as possible.

View 3 Replies View Related

Ubuntu :: How To Get Icon On Desktop To Open Computer Folder

Jul 11, 2010

Ubuntu 10.4 64bit. I accidentally deleted the computer icon from the desktop. How can I replace it?

View 3 Replies View Related

Ubuntu :: OpenOffice Won't Open Files On Remote Computer?

Oct 11, 2010

Using connect to server in 10.04, service type SSH (sftp) from the places menu. This shows my folder and I can double-click pdfs, text files etc from Nautilus. But.... if I try to open an ods or odt file it opens the archive manager. It also fails if I open from within OOo. It used to work but has recently stopped.As an aside, if I export the share via NFS and access it that way, then everything works OK.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved