Sponsored Content
Full Discussion: How to setup ports on Linux
Operating Systems Linux How to setup ports on Linux Post 302159461 by ramen_noodle on Thursday 17th of January 2008 09:11:06 PM
Old 01-17-2008
If you want to run some inet services centrally without worrying about the various standalone runlevel startup scripts,etc...you can always use (x)inetd. http://www.xinetd.org/
 

10 More Discussions You Might Find Interesting

1. SuSE

Can we disable/delay login ports in suse linux ?

Plz . tell me the command in suse linux to rert availibility of login ports, disable login ports, & delay available login ports. (3 Replies)
Discussion started by: vrguha
3 Replies

2. SuSE

Setup Problem with SUSE Linux

I setup SUSE Linux 10. I downloaded from SUSE website. A DVD version. But I have a problem: Please click to see the screen shots Shot 1: (Problem is here, with Software) http://www.vernoos.net/shot-1.jpg Shot 2: http://www.vernoos.net/shot-2.jpg Shot 3:... (1 Reply)
Discussion started by: HASSELBLAD
1 Replies

3. Linux

linux setup and addition config

Hi, I have just setup linux on fedora 6 and would like to understand any further configurations - we have our standard build procedures however wan to know if there is anything else required for good practice: we have setup: selinux switched off due to causing confilicts with apps running... (3 Replies)
Discussion started by: chlawren
3 Replies

4. IP Networking

domain linux server, open ports?

Hi all - i currently run a domain strifex.net. This domain has a dedicated IP address and in having that, should be able to run a ventrilo VoIP server from it. I uploaded all the needed files etc... and am able to connect to it, if and only if i enable DMZ to my local machine - then i am able to... (1 Reply)
Discussion started by: ccfc1986
1 Replies

5. SuSE

setup Linux as a wireless router

Hi I've done some google searching but haven't really found anything that seems to be what I need. First I should add it's been awhile since I have run Linux but that's changing :) What I'm after doing is setting up a Linux box as a wireless router. I will be running the Suse distro if I... (2 Replies)
Discussion started by: woofie
2 Replies

6. Linux

proper way to reserve ports in linux

How do you debug a perl script non interactively, similar to bash -x? (1 Reply)
Discussion started by: marcpascual
1 Replies

7. Cybersecurity

Ports open on solaris/linux

Hi, I am trying to close all possible ports on my solaris and linux servers. I am stuck on the following ports on both Solaris 10 (local zone) and Linux (Suse) servers. Here is nmap output : PORT STATE SERVICE 22/tcp open ssh 80/tcp open http 1720/tcp open H.323/Q.931... (6 Replies)
Discussion started by: manifesto
6 Replies

8. Programming

c functions to turn off open ports in linux

nmap is a network utility which gives u information about open ports on ur system. for eg $ nmap 10.226.112.202 PORT STATE SERVICE 7/tcp open echo 13/tcp open daytime 22/tcp open ssh 23/tcp open telnet 37/tcp open time 1100/tcp open unknown these open... (2 Replies)
Discussion started by: anand121
2 Replies

9. UNIX for Advanced & Expert Users

Mail Setup on Linux

Hi Guys, I need to send mail from linux to my outlook email id. mailx command is not working. I guess, some configuration is required. Don't know what exactly needs to be done. Please help. Thanks, Vikas (1 Reply)
Discussion started by: vikanna
1 Replies

10. UNIX for Dummies Questions & Answers

Linux (RHEL) and ports...

Hi, One of our applications running on RHEL is not working as expected - the application supplier has advised that a port is not allowing the correct traffic. I know the port is open for incoming connections (checked with nmap and telnet) however is there a way I check the port is open for... (4 Replies)
Discussion started by: mcclunyboy
4 Replies
IOPERM(2)						     Linux Programmer's Manual							 IOPERM(2)

NAME
ioperm - set port input/output permissions SYNOPSIS
#include <sys/io.h> /* for glibc */ int ioperm(unsigned long from, unsigned long num, int turn_on); DESCRIPTION
ioperm() sets the port access permission bits for the calling thread for num bits starting from port address from. If turn_on is nonzero, then permission for the specified bits is enabled; otherwise it is disabled. If turn_on is nonzero, the calling thread must be privileged (CAP_SYS_RAWIO). Before Linux 2.6.8, only the first 0x3ff I/O ports could be specified in this manner. For more ports, the iopl(2) system call had to be used (with a level argument of 3). Since Linux 2.6.8, 65,536 I/O ports can be specified. Permissions are inherited by the child created by fork(2) (but see NOTES). Permissions are preserved across execve(2); this is useful for giving port access permissions to unprivileged programs. This call is mostly for the i386 architecture. On many other architectures it does not exist or will always return an error. RETURN VALUE
On success, zero is returned. On error, -1 is returned, and errno is set appropriately. ERRORS
EINVAL Invalid values for from or num. EIO (on PowerPC) This call is not supported. ENOMEM Out of memory. EPERM The calling thread has insufficient privilege. CONFORMING TO
ioperm() is Linux-specific and should not be used in programs intended to be portable. NOTES
The /proc/ioports file shows the I/O ports that are currently allocated on the system. Before Linux 2.4, permissions were not inherited by a child created by fork(2). Glibc has an ioperm() prototype both in <sys/io.h> and in <sys/perm.h>. Avoid the latter, it is available on i386 only. SEE ALSO
iopl(2), outb(2), capabilities(7) COLOPHON
This page is part of release 4.15 of the Linux man-pages project. A description of the project, information about reporting bugs, and the latest version of this page, can be found at https://www.kernel.org/doc/man-pages/. Linux 2017-09-15 IOPERM(2)
All times are GMT -4. The time now is 03:04 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy