General :: Determine What Program Is Listening To Some Port , TCP , UDP In System?

Jan 21, 2010

Is there a way to determine what program is listening to some port, TCP or UDP, in Linux?

View 4 Replies


ADVERTISEMENT

General :: SFTP Server Port Blocked On Uni Network / Need To Change Listening Port

Oct 21, 2010

VERY new to linux, erm but I have an issue that needs solving!I recently moved to university, where their network blocks sftp port 22, this means that I cannot connect to my FTP server which is running a version of linux.Now I've got this ftp server connected to a seedbox and it was created using the following walk through..Code:I have written this guide for a friend, but I though it would be useful for others as well.

There are several guides floating around, but I found that most always cock up in some way. This one is tried and tested to work on Debian Etch (on an OVH rps, but should apply to most servers).If there is a new stable release of rtorrent/libtorrent then I will update this guide to show you how to update it (without reinstalling the whole server).

At the bottom there are also instructions to install ftp access & some network monitoring software.Basically, I would really like someone to be able to construct the commands on how to change the listen port for sftp connection on linux or add another port to the list that Linux would use so that I could put in through putty.

View 2 Replies View Related

General :: Close Listening Port In Ubuntu 10.04?

Jul 7, 2010

I know that ports are, by default, not filtered; they simply don't respond to requests if there are no services listening on the port. Well, running netstat -tulpn gives:

Code:
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN -
[code]....

View 3 Replies View Related

General :: Http - Find Out Which Process Is Listening On A Port?

Mar 16, 2011

How can I find out which process is listening on a port on linux?

View 5 Replies View Related

Server :: SSH Is Still Listening On Port 22 After Change To A New Port?

Apr 6, 2011

I edited "sshd_config" file and changed port 22 to a new port. After I restart ssh, it listens on port 22 and the new port. How can I disable SSH to listen on port 22? I'm using Debian.

View 6 Replies View Related

General :: Determine Which Application Is Using Port 8080?

May 18, 2010

Finding the process that is using a certain port in linux

I have an Ubuntu Server setup, where I'm trying to set up a daemon that wants to have access to port 8080. When I run the command, the error message says it's being used by another process. But which one, it doesn't say. How can I go about finding which program uses this port?

View 1 Replies View Related

Fedora :: Finding PID Associated With Listening Port

Sep 25, 2009

When I do netstat -pantu it shows a dash where the pid would be. I have also checked lsof -i and see no pid associated with the port. How do I find what program is keeping the port open?

View 1 Replies View Related

Networking :: Ssh Listening To A Non-standard Port?

Oct 2, 2010

I am running Ubuntu 64-bit and I have been trying to set up an ssh connection between the Ubuntu server and a Windows 7 client (using putty) and when I enter the command:

Code:
sudo netstat --inet -lpn | grep sshd
I get the following:

[code]....

View 3 Replies View Related

Server :: Apache Is Not Listening On Port 8080?

Dec 2, 2010

My Apache is not listening on port 8080. Hence i cant access my server manager [URL]

View 2 Replies View Related

Ubuntu Servers :: Named Is Listening On The Wrong Port?

Jul 11, 2010

update:

Code:
luke@media:~$ sudo service bind9 restart
* Stopping domain name service...

[code]....

View 4 Replies View Related

Security :: IPtables And FTP When Server Listening On Non-Standard Port?

Nov 9, 2009

I'm using iptables with modules ip_contrack_ftp to be able to use passive ftp. It works well as long as port 21 is being used as listening port. Is there any way to make it work when I configure my ftp server (vsftpd) to listen on an alternative port, lets say 21001 or something? The helper module only seems to be working properly with the standard port, so I was wondering whether there was a way to "tell it" that another port is being used? I mean, of course I make a rule in fw to allow traffic to the alternative port.

But once it's time to start passive connection, then the iptable module cannot handle it properly. I could solve the problem by making a range of passive ports in the ftp-server configuration and allow the incoming traffic to them, but then using helper modules doesn't make any sense. I just want to allow the traffic to the listening port and then want the ip_contrack_ftp module to take care of the rest. This is what I do today - but only port 21 seems to be working. Is there a way to do this with a non-standard ftp port?

View 5 Replies View Related

Fedora Servers :: Syslog Listening On Port 514 For Both Firewall And IDS Logs?

Jan 17, 2010

Currently Im having a syslog server that consolidate firewall logs on port 514 udp. Im also having a IDS device that I wish to push its logs to this particular syslog server so that I can retrieve my IDS logs on this server as well.

Is it possible to do so?Having syslog listening on port 514 for both firewall and IDS logs? If it is possible will the logs be recorded in a single log file?Or will it be recorded in a separate log file ie. firewall.log, IDS.log etc?? I wish to have them in separate individual log files or else there will be hard time segregating the log entries in a single file. Can anyone advice on how to achieve this??

View 2 Replies View Related

Security :: Unable To Make 27000 Port On Listening Mode?

Nov 1, 2010

i tried my best andwrite all the commands given below. but port 27000 is not in listening state.Note: I spoofed MAC address (change MAC address)on this MAchine.here is my iptables file.

# Firewall configuration written by system-config-securitylevel
# Manual customization of this file is not recommended.
*filter

[code]....

View 2 Replies View Related

Programming :: Bind The Listening Socket To A Paricular Ip Address And Port?

Jun 26, 2011

I am learning network prgramming in linux in c,and try to build a server and in this server I want to bind the listening socket to a paricular Ip address and port.Bind function is showing error,I did not want to use wild card. Here is the code.

#include<stdio.h>
#include<sys/socket.h>
#include<strings.h>
#include<netinet/in.h>
#include<arpa/inet.h>
#include<string.h>

[Code]...

View 2 Replies View Related

Networking :: Using A Perl Script To Test For A Socket Listening On A UDP Port On A Remote Host?

Mar 10, 2011

is it possible using a perl script to test for a socket listening on a UDP port on a remote host ?I work in an environment where netcat is not allowed and from time to time I need to see if a UDP port is open on a remote host.

View 6 Replies View Related

CentOS 5 Networking :: Change ISCSI Server Listening Port 3260 - Scsi-target-utils

May 14, 2010

iSCSI Server, can I change the default port 3260 to other port ?

View 1 Replies View Related

General :: Cannot Determine The Gcc Include Path On System?

Mar 8, 2011

I'm trying to install tgrep using the INSTALL file but I'm gettin errors. The following messages speaks for itself.

Code:
denish@ubuntu:~/tgrep$ ./INSTALL
THIS IS THE CONFIGURATION SCRIPT FOR TGREP
answer all questions with full pathnames

I cannot determine the gcc include path on your system. Please enter the gcc include path if it is available: /usr/include

[Code]...

View 2 Replies View Related

Ubuntu Networking :: How To Determine Which Port Needs Opening

Aug 2, 2011

I am unable to open my webmail on my small business computers (all ubuntu 10.04 LTS using a Billion router) but am able to access it from my home computers (also ubuntu 10.04 LTS but with a different router).

The most likely problem is obviously that the firewall in the router is blocking access. I know how to open ports in the router's firewall, but how do I determine which port or ports need to be opened?

I have asked my email provider, and that have replied that the port can vary and I need to get my technical support people to do it. Obviously they struggle to understand the concept of 'small business"!

View 5 Replies View Related

General :: Determine Version Of System That My Synology Server Running?

Jul 7, 2011

Can anyone tell me how I determine the version of linux my Synology Diskstation DS210+ is running?\

View 3 Replies View Related

Ubuntu :: Determine Which Process Has /dev/ttyUSB0 Port Open?

Jan 16, 2011

I'm developing a serial port application under Lazarus using the SunaSer code library.

The application reports an error indicating that "the Port is opened by another process".

What command can I execute in a Terminal session to determine what process has the USB-serial port open?

View 4 Replies View Related

General :: Determine On System Where Process Substitution Creates FIFO Files?

Aug 16, 2011

I'm writing a C++ application and need to work with process substitution in the Bash shell. I'm trying to find a way to validate the paths passed as arguments to my program, some of which point to FIFO files created by process substitution.

Is there a shell (or C++) way that I can check if the system creates these files in /dev/fd or if they are created somewhere else?

View 2 Replies View Related

General :: GRUB Legacy - Unable To Determine The File System Type?

Dec 8, 2010

I had only Arch on an HDD.sda2 was "/".Now it's with Windows XP and sda2 is not a root any more but a container partition wich has sda{5,6,7} in it. I configured the dual boot and it works. It finds Arch and boots it, but not completely. Stops after some time and says: unable to determine the file system type of /dev/sda2. FSTAB is configured, sda{5,6,7} are on their places. So I can't boot Arch. XP boots correctly. What do I do with this error?Also it says: try adding rootfstype=your_filesystem_type to kernel command line.

View 4 Replies View Related

General :: How To Find What Program Is Listen On Port 80

Apr 14, 2010

I've killed apache via /etc/init.d/apache2 stop, but something is still listening on port 80:

Code:

root@www:/etc/apache2/sites-enabled# netstat -an | grep LISTEN | grep 80
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:8022 0.0.0.0:* LISTEN
unix 2 [ ACC ] STREAM LISTENING 5806 /var/run/mysqld/mysqld.sock

How do I find out that program this is?, or how to I stop it listening?

View 3 Replies View Related

General :: Allocate Fixed Port For Program?

Feb 3, 2010

I have written a program which uses port 5000. I need to restrict other programs use this port when I'm not running that program. In Linux are there a mechanism to restrict port 5000 accesses from other programs.

View 2 Replies View Related

OpenSUSE Network :: Program To Determine Back Door?

Nov 1, 2010

I'm highly suspicious that someone installed a backdoor on my system. Is there a program or way to determine this?

View 9 Replies View Related

Software :: Program To Determine If A File Is A Valid Image (jpg, Png, Gif, Etc.)?

Jun 9, 2009

As the title says, I'm looking for a program that will go through all images in a directory tree and determine if they're valid, if they've been corrupted, and (wishful thinking) if they have the wrong extension. Does anything like that exist?

View 7 Replies View Related

Software :: Identify The Status Of Serial Port ("Port Already Opened") From A C Program?

Feb 5, 2010

I am writing some application in C, which will access a serial port device (RS232). My application is working good. But if any other application is already opened the port, I couldn't able to identify that. In windows VB program, while accessing comport through mscomm control, i am receiving an error as "Port Already Opened". But in Linux environment, through C program how can i get that? I am accessing comport 1 as follows

fd = open("/dev/ttyS0", O_RDWR | O_NOCTTY | O_SYNC);

View 3 Replies View Related

Programming :: Create A Message Forwarder Program That Receive A Message On Port A And Pass It On T Port B?

Sep 6, 2010

We are trying to create a message forwarder program that receive a message on Port A and pass it on t Port B. Also receive a message from Port C and Pass it on to Port D as follows.

[Code]...

View 4 Replies View Related

Ubuntu :: Determine Which Kde And Qt Version Have On System?

Apr 15, 2010

How do I determine which kde and Qt version i have on my system. i am using kde 9.10.

View 5 Replies View Related

General :: Establish Serial Port Communication Through USB In System?

Jun 30, 2011

I am new to Ubuntu and I need to establish a serial port communication between my PC and microcontroller MSP430G2452.

On connection the USB available with the Launchpad and using lsusb.

It identifies the port as:

Bus 005 Device 003: ID 0451:f432 Texas Instruments, Inc. eZ430 Development Tool

After establishing such a connection what I need to do? My aim is to send a byte of information in Linux.

View 1 Replies View Related







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