10 More Discussions You Might Find Interesting
1. Cybersecurity
Just added these lines to our server firewall:
iptables -A INPUT -p tcp --dport 3306 -s 127.0.0.1 -d 127.0.0.1 -j ACCEPT
iptables -A INPUT -p tcp --dport 3306 -j DROP
Even though mysql is configured to correctly only listen on port 127.0.0.1 we still see these mysql log file notes on a daily... (0 Replies)
Discussion started by: Neo
0 Replies
2. Solaris
please find the below o/p for your reference
bash-3.00# fcinfo hba-port
HBA Port WWN: 21000024ff295a34
OS Device Name: /dev/cfg/c2
Manufacturer: QLogic Corp.
Model: 375-3356-02
Firmware Version: 05.03.02
FCode/BIOS Version: BIOS: 2.02; fcode: 2.01;... (3 Replies)
Discussion started by: sb200
3 Replies
3. IP Networking
i want to kill a tcp connection by killing its pid
with netstat -an i got the tcp ip connection on port 5914
but when i type ps -a or ps-e there is not such process running on port 5914
is it possible that because i do not log on with proper user account i can not see that process running? (30 Replies)
Discussion started by: alinamadchian
30 Replies
4. AIX
Hello Team,
We are having weblogic which running on AIX 6.1 Lpar machine. We not enabled any firewall(IPSEC) in AIX level.
Our weblogic is running on cluster.Whenever we stop/restart the cluster we would like to stop/start the port(by using command) which used by the weblogic. Please... (2 Replies)
Discussion started by: gowthamakanthan
2 Replies
5. Programming
Hello!
I searched forum for similar topic, with no luck, if you know one, delete this topic, and send me private message with link please.
Little background:
I have a lot of clients and one serwer. Client can make multiple connections on different ports and ips, but only one can be acctive... (2 Replies)
Discussion started by: ikeban
2 Replies
6. IP Networking
I am trying to block ALL traffic except when from ports 9100,22,23 to destination network 192.0.0.0 (my WAN): 2 networks 192.0.3.0 with static route to 192.0.0.0
Shouldn't this work?:
iptables -A INPUT -p tcp -d 192.0.0.0/24 --dport 22 -j ACCEPT
iptables -A INPUT -p tcp -d 192.0.0.0/24... (3 Replies)
Discussion started by: herot
3 Replies
7. Programming
Does anyone know if there is a C API call to get the status of a TCP port? As opposed to running netstat and parsing the results. At the moment I have to attempt to bind() and pick up on the address in use error which isn't very elegant
Thanks
---------- Post updated at 10:42 AM ----------... (0 Replies)
Discussion started by: janra
0 Replies
8. Shell Programming and Scripting
I have multiple processes running the same program on my linux machine. For each process I want to be able to use a unique (available) TCP port. I have thought of using netstat to check which ports are available for use however, the time-window between checking and selecting might expose some race... (1 Reply)
Discussion started by: timmylita
1 Replies
9. UNIX for Dummies Questions & Answers
Hello, I have a service running (ODBC) and every now and then it will hang and I will have to stop and restart the service. The problem is when I stop the service, it indeed stops the service, but netstat reports a tcp port still open with the fin_wait_2 status. Then I must close the client... (1 Reply)
Discussion started by: raidzero
1 Replies
10. IP Networking
I am trying to connect via DBACCESS and Informix server to a server on a different computer. When I execute the connect command from dbaccess I get the following message,
Exec format error cannot bind a name to the port.
As far as I know the port is not being used by another client.
How... (1 Reply)
Discussion started by: lopez
1 Replies
KNOCKER(1) General Commands Manual KNOCKER(1)
NAME
knocker - An easy to use network security port scanner
SYNOPSIS
knocker --host <host> [OPTION]
DESCRIPTION
knocker is a simple and easy to use TCP security port scanner written in C using pthreads which is able to analyze hosts and all of the
different services started on them.
OPTIONS
-H, --host
host name or numeric Internet address to scan
-P, --port
port number to scan (single port scan only)
-SP, --start-port
port number to begin the scan from
-EP, --end-port
port number to end the scan at
--last-host
uses the last scanned host as target
--last-scan
performs again the last port scan
-q, --quiet
disable console output and logs to file.
-lf, --logfile <logfile>
log the results to a specified file.
-nf, --no-fency
disable fency output
-nc, --no-colors
disable colored output
--configure
let the user configure knocker
-h, --help
display this help and exit
-v, --version
output version information and exit
EXAMPLES
To run this program the standard way type:
knocker --host 192.168.0.1
If you want to specify a port range to scan:
knocker --host thehost --start-port 1 --end-port 2600
or
knocker -H thehost -SP 1 -EP 2600
To scan a single port:
knocker -H thehost --port 21
To run this program not using colors (if your terminal does not support colors):
knocker --host 192.168.0.1 --no-colors
To run this program run in background and have the results written in a log file:
knocker --host 192.168.0.1 --quiet &
AVAILABILTY
The latest version of this program can be found at http://knocker.sourceforge.net
BUGS
See the BUGS file in the knocker source package for a list of known bugs. Report bugs to <g.gabriele79@genie.it>
AUTHOR
knocker is written by Gabriele Giorgetti <g.gabriele79@genie.it>
COPYRIGHT
Copyright (C) 2001,2002 Gabriele Giorgetti
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU-
LAR PURPOSE.
MAY 24, 2002 KNOCKER(1)