Sponsored Content
Full Discussion: How to know port is block..
Special Forums IP Networking How to know port is block.. Post 302191815 by Saurabh78 on Monday 5th of May 2008 05:09:32 AM
Old 05-05-2008
How to know port is block..

My server is running on a port 16386, in the case when this port is blocked by some other application ( anti virus etc. ) or firewall then how do i know it's block? Is bind will return any specific error in this case.
I have to know is it blocked or not?
 

10 More Discussions You Might Find Interesting

1. IP Networking

block telnet to specific port

Hello All I am running redhat linux 7.2 and would like to know how i can block telnetting to a specified port . say for example i would like to block telnet acesses to port 80. regards Xiamin (5 Replies)
Discussion started by: xiamin
5 Replies

2. UNIX for Dummies Questions & Answers

unix program that can port scan a c block of ips for proxies

can anyone tell me a unix program that can port scan a c block of ips for proxies? a fast one, with reliable results, that can load an ip list, or set an ip range, and specify ports thanks! (1 Reply)
Discussion started by: user
1 Replies

3. IP Networking

How to block a port

Hi, i faced a problem, where i have to block a port, therefore nobody used it, evenwith SO_REUSEADDR flag. How can i achive it. (4 Replies)
Discussion started by: Saurabh78
4 Replies

4. Linux

using firewall to block port

Hi, I will like to allow access to the mysql port (3306) to certain IP address. All other IP's should be automatically blocked. What is the best way to do this? (8 Replies)
Discussion started by: shantanuo
8 Replies

5. Shell Programming and Scripting

to block the files uploading via the port

Hi Folks, I am not good in shell scripting. Please help me with my problem. Is it possible to block the file named "ss.cgi" using the port 25 to upload. (4 Replies)
Discussion started by: gsiva
4 Replies

6. Shell Programming and Scripting

Block local and remote port with iptables - Script BASH

Hello I'm beginner in the linux scripting and i would like to get help. I want to create a script that can block one or more Port even see all the TCP port. The ports must be blocked even when starting my machine. Of course requires a second script which will allow the ports that you want to... (0 Replies)
Discussion started by: houstaf
0 Replies

7. UNIX for Dummies Questions & Answers

iptables to block port 25 only to a certain range

I want to limit all *outbound* traffic on eth0 (or all *.*) on port 25 to a specific (allowed) range... I.E. 192.168.1.5 (local ip) tries to connect to 1.2.3.4:25 (outside real world ip) It can proceed because 1.2.3.0/24 is the allowed range Now, 192.168.1.5 (local ip) tries to connect to... (1 Reply)
Discussion started by: holyearth
1 Replies

8. Solaris

How to find port number wwn of particular port on dual port HBA,?

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

9. Web Development

Two public ip for server, how to block a port for ip2 but not for ip1

Hello, I am not sure that it's possible to set a server for explained below scenario: I have ordered a second ip for my streaming server. Both ip addresses are set and well responding to my ping requests. LAMP is installed into server. Assume that port 15678 is running for nginx. Admin port is... (0 Replies)
Discussion started by: baris35
0 Replies

10. Solaris

Block port for all except for one specific ip in Solaris11.4

Hi, I need to block ssh port 22 from all the servers except one server ip. Until solaris11.3 and below, I used to do like below(under /etc/ipf/ipf.conf),and it's working fine pass in quick from $server_ip to any port=22 block in quick from any to any port=22 But I tried almost same in... (1 Reply)
Discussion started by: Sumanthsv
1 Replies
tttk_block_while(library call)											    tttk_block_while(library call)

NAME
tttk_block_while -- block while a counter is greater than zero SYNOPSIS
#include <Tt/tttk.h> Tt_status tttk_block_while( XtAppContext app2run, const int *blocked, int ms_timeout); DESCRIPTION
The tttk_block_while function is used to process asynchronous events, such as ToolTalk messages or window system events, while waiting for a condition or timeout. If app2run is not zero, then an event loop is run for that application context, by repeatedly calling XtAppProcessEvent(3) with ms_timeout being effected using XtAppAddTimeOut(3). If app2run is zero, then the file descriptor (as returned by tt_fd(3)) of the default procid is polled (using the poll(2) function) and tttk_Xt_input_handler(3) is called whenever the file descriptor is active. If blocked is zero, then tttk_block_while runs until ms_timeout occurs. If blocked is non-zero, then the loop is run until either ms_time- out occurs, or *blocked is less than 1. If ms_timeout is zero, tttk_block_while checks once for events, processes the first one, and then returns. If ms_timeout is negative, no timeout is in effect. RETURN VALUE
Upon successful completion, the tttk_block_while function returns the status of the operation as one of the following Tt_status values: TT_OK The operation completed successfully. TT_DESKTOP_ETIMEDOUT The timeout occurred within ms_timeout milliseconds, or ms_timeout was zero and no input was available. TT_DESKTOP_EINTR The app2run argument was zero, and poll(2) was interrupted by a signal. TT_DESKTOP_EAGAIN The app2run argument was zero, and poll(2) returned EAGAIN. If app2run is not zero and ms_timeout is negative, then tttk_block_while will only return when *blocked is less than 1, with TT_OK being returned. If app2run is not zero, ms_timeout is negative, and blocked is zero, then tttk_block_while behaves equivalent to XtAppMainLoop(3), and will never return. APPLICATION USAGE
If app2run is zero, then only messaging events for the default procid will be serviced. Events for other procids will be blocked, as will window system events, so that the graphical user interface of the application will not update itself even, for example, after expose events. On the other hand, if the application passes its Xt context in as app2run, then window system events will continue to be handled, as will message activity for all procids for which an XtAppAddInput(3) has been done. Since the window system event loop is fully operational in this case, the application should take care to disable any user interface controls that the user should not operate while the application is waiting for tttk_block_while to return. SEE ALSO
Tt/tttk.h - Tttttk(5), tttk_Xt_input_handler(3); poll(2), XtAppPending(3), XtAppAddTimeOut(3), XtAppNextEvent(3), XtDispatchEvent(3). tttk_block_while(library call)
All times are GMT -4. The time now is 09:47 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy