09-05-2016
Quote:
Originally Posted by
anaigini45
tcp 0 0 10.61.1.121.80 192.168.11.41.37274 CLOSE_WAIT
That is NOT a process ID, it is the port number. "192.168.11.41.37274" is a "socket": a certain port on a certain IP address.
When we talk about "TCP connections" we are talking about something you can picture like a garden hose, where, instead of water, data can be pumped through (in both directions). This is also called a "virtual channel". The "sockets" are the end points at the two connecting systems where this garden hose is attached. In this case you have two systems connected: 10.61.1.121 and 192.168.11.41. The "garden hose" connects port 80 on the first system to port 37274 on the second.
You really should read the suggested book (or another, but i found this one to be the best to learn from) to understand basic networking concepts.
I hope this helps.
bakunin
This User Gave Thanks to bakunin For This Post:
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am not by any means a UNIX guru if you can't already tell by the question I'm about to ask.
How do I launch Apache web server on my SOlaris 8 server without rebooting it?
Any help would be much appreciated!!!
-Thanks (5 Replies)
Discussion started by: jskillet
5 Replies
2. UNIX for Dummies Questions & Answers
I successfully installed Apache, but When I tried to start it I experienced problems.
After installing and compiling, I typed the PREFIX "usr/local/
apache/bin/apachect1 start." The output was path not found.
After checking the apachect1 file using vi, I found the file empty.
There was no... (4 Replies)
Discussion started by: cstovall
4 Replies
3. Programming
Hi
I am new to APR and I started programming using APR 1.2.2.
So please guide me how to start learning it? (0 Replies)
Discussion started by: sumsin
0 Replies
4. Shell Programming and Scripting
Hi All,
I am trying to start the docbase but i am getting the following error-:
$ ./dm_start_ncsglorbiprd00
interpreter "/bin/sh" not found
file link resolves to "/usr/bin/sh"
sh: ./dm_start_ncsglorbiprd00: not found.
Can anyone please help me in this regard.
Thanks in advance
... (0 Replies)
Discussion started by: Divyac
0 Replies
5. Solaris
I've been working on a project to replace one of the my group's primary NIS servers. It also runs mysql and apache, as it is the host for the our team's hardware tracking database and website. Its running apache 1.3, and for some odd reason, I can't get apache to start on system boot. The... (1 Reply)
Discussion started by: godspunk32
1 Replies
6. UNIX for Dummies Questions & Answers
I just installed Apache 2.2.6 & when trying to start it i got this:
Invalid command 'SSLProtocol', perhaps misspelled or defined by a module not included in the server configuration
Any help? (3 Replies)
Discussion started by: moe2266
3 Replies
7. Web Development
Hi,
I just installed Apache 2.0.54 and when I try and start httpd I get
mohit@mohit-desktop:/sw/pkg/apache/bin$ ./httpd -k start
httpd: Could not determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
(13): make_sock: could not bind to address :80
no listening... (1 Reply)
Discussion started by: mojoman
1 Replies
8. UNIX for Advanced & Expert Users
Sir,
I have installed an Apache server in Fedora 9 (packages)
and when i go to etc folder and try the command
httpd -k start
it says command not found....can any one help me out!!!
---------- Post updated at 12:02 PM ---------- Previous update was at 11:46 AM ----------
When i... (4 Replies)
Discussion started by: bssandeshbs
4 Replies
9. Red Hat
Hello,
I am facing an issue while starting the apache server after compiling php and curl.
Below are the versions i am using.
php-5.2.17
httpd-2.2.17
curl-7.16.0
CentOS5.5x64
Compiling above packages without curl working very fine but when trying to compile php with curl below error is... (1 Reply)
Discussion started by: sunnysthakur
1 Replies
10. UNIX for Dummies Questions & Answers
e.g.
File name: File.txt
cat File.txt
Result:
#INBOUND_QUEUE=FAQ1
INBOUND_QUEUE=FAQ2
I want to get the value for one which is not commented out.
Thanks, (3 Replies)
Discussion started by: Tanu
3 Replies
edge(8) SUPERUSER COMMANDS edge(8)
NAME
edge - n2n edge node daemon
SYNOPSIS
edge [-d <tun device>] -a <tun IP address> -c <community> -k <encrypt key> -l <supernode host:port> [-p <local port>] [-u <UID>] [-g <GID>]
[-f] [-m <MAC address>] [-t] [-r] [-v]
DESCRIPTION
N2N is a peer-to-peer VPN system. Edge is the edge node daemon for n2n which creates a TAP interface to expose the n2n virtual LAN. On
startup n2n creates the TAP interface and configures it then registers with the supernode so it can begin to find other nodes in the commu-
nity.
OPTIONS
-d <name>
sets the TAP device name as seen in ifconfig.
-a <addr>
sets the n2n virtual LAN IP address being claimed. This is a private IP address. All IP addresses in an n2n community should belong
to the same /24 network (ie. only the last segment of the IP addresses varies).
-b cause edge to perform hostname resolution for the supernode address each time the supernode is periodically contacted.
-c <community>
sets the n2n community name. All edges within the same community look to be on the same LAN (layer 2 network segment). All edges
communicating must use the same key and community name.
-h write usage to tty then exit.
-k <keystring>
sets the twofish encryption key from ASCII text (see also N2N_KEY in ENVIRONMENT). All edges communicating must use the same key and
community name.
-l <addr>:<port>
sets the n2n supernode IP address and port to register to.
-p <num>
binds edge to the given UDP port. Useful for keeping the same external socket across restarts of edge.
-u <uid>
causes the edge process to drop to the given user ID when privileges are no longer required.
-g <gid>
causes the edge process to drop to the given group ID when privileges are no longer required.
-f causes the edge process to fork and run as a daemon, closing stdin, stdout, stderr and becoming a process group leader.
-m <MAC>
start the TAP interface with the given MAC address. This is highly recommended as it means the same address will be used if edge
stops and restarts. If this is not done, the ARP caches of all peers will be wrong and packets will not flow to this edge until the
next ARP refresh.
-M <MTU>
set the MTU of the edge interface in bytes. MTU is the largest packet fragment size allowed to be moved throught the interface. The
default is 1400.
-s <netmask>
set the netmask of edge interface in IPv4 dotted decimal notation. The default is 255.255.255.0 (ie. /24).
-t use HTTP tunneling instead of the normal UDP mechanism (experimental).
-r enable packet forwarding/routing through the n2n virtual LAN. Without this option, packets arriving over n2n which are not for the
-a <addr> IP address are dropped.
-v use verbose logging.
ENVIRONMENT
N2N_KEY
set the encryption key so it is not visible on the command line
EXAMPLES
edge -d n2n0 -c mynetwork -k encryptme -u 99 -g 99 -m DE:AD:BE:EF:01:23 -a 192.168.254.7 -p 50001 -l 123.121.120.119:7654
Start edge with TAP device n2n0 on community "mynetwork" with community supernode at 123.121.120.119 UDP port 7654 and bind the
locally used UDP port to 50001. Use "encryptme" as the shared encryption key. Assign MAC address DE:AD:BE:EF:01:23 to the n2n inter-
face and drop to user=99 and group=99 after the TAP device is successfull configured.
Add the -f option to make edge run as a daemon.
Somewhere else setup another edge with similar parameters, eg.
edge -d n2n0 -c mynetwork -k encryptme -u 99 -g 99 -m DE:AD:BE:EF:01:21 -a 192.168.254.5 -p 50001 -l 123.121.120.119:7654
Now you can ping from 192.168.254.5 to 192.168.254.7.
The MAC address (-m <MAC>) and virtual IP address (-a <addr>) must be different on all edges in the same community.
CONFIGURATION
All configuration for edge is from the command line and environment variables. If you wish to reconfigure edge you should kill the process
and restart with the desired options.
EXIT STATUS
edge is a daemon and any exit is an error.
AUTHOR
Luca Deri ( deri (at) ntop.org ), Richard Andrews ( andrews (at) ntop.org ), Don Bindner
SEE ALSO
ifconfig(8) supernode(1) tunctl(8)
revision 3679 Jan 3, 2009 edge(8)