06-16-2017
The second looks like an IPv6 address, but I'm surprised the protocol listed is tcp and not tcp6
9 More Discussions You Might Find Interesting
1. Cybersecurity
/* Linux Slackware */
Nmap shows the following ports open on the gateway.
21/tcp ftp
22/tcp ssh
23/tcp telnet
25/tcp smtp
37/tcp time
80/tcp http
113/tcp auth
515/tcp printer
587/tcp submission
1024/tcp kdm
6000/tcp x11
-------------------------------
i would like to close as... (10 Replies)
Discussion started by: LowOrderBit
10 Replies
2. Linux
how can i open ports i need in red hat server vs root access ? (7 Replies)
Discussion started by: Sirius
7 Replies
3. Programming
Hi, I'm trying to fix up some serial code that was given to me by a coworker no longer on the project. Problem is, when the program is running and reading the port, I can take away the port by doing a cu command in another terminal window. When I release the cu, the program crashes, I think... (1 Reply)
Discussion started by: Oak
1 Replies
4. UNIX for Advanced & Expert Users
hi all
1) how to determine available ports in a box (solaris)
do i have to go for a netstat on all the ports?
2) how to block a particular port for a particular type of connection.
Any help would be greatly appreciated
Thanks (7 Replies)
Discussion started by: matrixmadhan
7 Replies
5. Shell Programming and Scripting
Hello, i need a script (bash type maybe?..), which would check open ports on 127.0.0.1 and then compare open ports with "registered/allowed" port list and try to kill the program who uses unregistered ports. It would be great that script would be started lets say every 5 or 10 minutes.
You see i... (2 Replies)
Discussion started by: MorchiuS
2 Replies
6. AIX
Hi Every body,
What is the command on AIX 5.2 that can be used to get all open ports? (2 Replies)
Discussion started by: aldowsary
2 Replies
7. Solaris
hi guys,
may i know the exact steps to open a port in solaris.i have some rough idea - which is adding the port number in /etc/services.
but i am not sure the correct conventions, steps or any other steps.
kindly advise.thanks guys ! (1 Reply)
Discussion started by: cromohawk
1 Replies
8. UNIX for Dummies Questions & Answers
just a quick question:
a. whats the simplest command to check open port and the corresponding services?
example:
bash-2.05# netstat -an | grep LISTEN
*.199 *.* 0 0 49152 0 LISTEN
*.8989 *.* 0 0 49152 ... (1 Reply)
Discussion started by: lhareigh890
1 Replies
9. IP Networking
Hi,
I have read some forum theads about the open and close ports. some points are clear and it is not working on my machine or something am i missing?
I have commented out a port /etc/services, one application uses
then when i use the telnet <hostname> <port_blocked> it shows connected..... (1 Reply)
Discussion started by: balamv
1 Replies
LEARN ABOUT FREEBSD
netconfig
NETCONFIG(5) BSD File Formats Manual NETCONFIG(5)
NAME
netconfig -- network configuration data base
SYNOPSIS
/etc/netconfig
DESCRIPTION
The netconfig file defines a list of ``transport names'', describing their semantics and protocol. In FreeBSD, this file is only used by the
RPC library code.
Entries have the following format:
network_id semantics flags family protoname device libraries
Entries consist of the following fields:
network_id The name of the transport described.
semantics Describes the semantics of the transport. This can be one of:
tpi_clts Connectionless transport.
tpi_cots Connection-oriented transport
tpi_cots_ord Connection-oriented, ordered transport.
tpi_raw A raw connection.
flags This field is either blank (specified by ``-''), or contains one or more of the following characters:
b The network represented by this entry is broadcast capable. This flag is meaningless in FreeBSD.
v The entry may be returned by the getnetpath(3) function.
family The protocol family of the transport. This is currently one of:
inet6 The IPv6 (PF_INET6) family of protocols.
inet The IPv4 (PF_INET) family of protocols.
loopback The PF_LOCAL protocol family.
protoname The name of the protocol used for this transport. Can currently be either udp, tcp or empty.
device This field is always empty in FreeBSD.
libraries This field is always empty in FreeBSD.
The order of entries in this file will determine which transport will be preferred by the RPC library code, given a match on a specified net-
work type. For example, if a sample network config file would look like this:
udp6 tpi_clts v inet6 udp - -
tcp6 tpi_cots_ord v inet6 tcp - -
udp tpi_clts v inet udp - -
tcp tpi_cots_ord v inet tcp - -
rawip tpi_raw - inet - - -
local tpi_cots_ord - loopback - - -
then using the network type udp in calls to the RPC library function (see rpc(3)) will make the code first try udp6, and then udp.
getnetconfig(3) and associated functions will parse this file and return structures of the following format:
struct netconfig {
char *nc_netid; /* Network ID */
unsigned long nc_semantics; /* Semantics */
unsigned long nc_flag; /* Flags */
char *nc_protofmly; /* Protocol family */
char *nc_proto; /* Protocol name */
char *nc_device; /* Network device pathname (unused) */
unsigned long nc_nlookups; /* Number of lookup libs (unused) */
char **nc_lookups; /* Names of the libraries (unused) */
unsigned long nc_unused[9]; /* reserved */
};
FILES
/etc/netconfig
SEE ALSO
getnetconfig(3), getnetpath(3)
BSD
November 17, 2000 BSD