Sponsored Content
Full Discussion: open ports solaris 8
Top Forums UNIX for Dummies Questions & Answers open ports solaris 8 Post 302264193 by csgonan on Wednesday 3rd of December 2008 10:54:08 AM
Old 12-03-2008
As I said in my prior post, I rebooted the server and they shut down but this morning I looked and they were all open again. They are not listed in /etc/services. Any suggestions or tools would be appreciated.

Thank you.

*.1023 Idle
*.1022 Idle
*.1021 Idle
*.1020 Idle
*.1019 Idle
*.1018 Idle
*.1017 Idle
*.1016 Idle
*.1015 Idle
*.1014 Idle
*.1013 Idle
 

10 More Discussions You Might Find Interesting

1. Cybersecurity

closing open ports

/* 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 To Open Ports in RedHat ?

how can i open ports i need in red hat server vs root access ? (7 Replies)
Discussion started by: Sirius
7 Replies

3. UNIX for Advanced & Expert Users

determining open ports

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

4. Shell Programming and Scripting

Check open ports every ...

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

5. AIX

Open Ports on System

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

6. Solaris

open ports solaris 8

Hello, I have a number of Solaris 8 Sun servers that have open ports that I cannot identify. I see some with 1013-1023 (which are reserved ports according to the IANA. Lsof does not identify these. I rebooted the server and they went off, but this morning I saw they were all back on again. Any... (1 Reply)
Discussion started by: csgonan
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. Solaris

Open ports in solaris 10

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

9. UNIX for Dummies Questions & Answers

open ports and services

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

10. IP Networking

Open/close of ports

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
Glib::MainLoop(3)					User Contributed Perl Documentation					 Glib::MainLoop(3)

NAME
Glib::MainLoop - An event source manager DESCRIPTION
Event-driven programs need some sort of loop which watches for events and launches the appropriate actions. Glib::MainLoop provides this functionality. Mainloops have context, provided by the MainContext object. For the most part you can use the default context (see "default"), but if you want to create a subcontext for a nested loop which doesn't have the same event sources, etc, you can. Event sources, attached to main contexts, watch for events to happen, and launch appropriate actions. Glib provides a few ready-made event sources, the Glib::Timeout, Glib::Idle, and io watch ("Glib::IO->add_watch"). Under the hood, Gtk+ adds event sources for GdkEvents to dispatch events to your widgets. In fact, Gtk2 provides an abstraction of Glib::MainLoop (See "Gtk2->main" and friends), so you may rarely have cause to use Glib::MainLoop directly. Note: As of version 1.080, the Glib module uses a custom event source to ensure that perl's safe signal handling and the glib polling event loop play nicely together. It is no longer necessary to install a timeout to ensure that async signals get handled in a timely manner. CONSTANTS
"SOURCE_REMOVE" and "SOURCE_CONTINUE" are designed for use as the return values from timeout, idle and I/O watch source functions. They return true to keep running or false to remove themselves. These constants can help you get that the right way around. Glib::SOURCE_CONTINUE # true Glib::SOURCE_REMOVE # false METHODS
maincontext thingamabob = Glib::MainContext->new mainloop = Glib::MainLoop->new ($context=undef, $is_running=FALSE) o $context (Glib::MainContext thingamabob) o $is_running (boolean) integer = Glib::Timeout->add ($interval, $callback, $data=undef, $priority=G_PRIORITY_DEFAULT) o $interval (integer) number of milliseconds o $callback (subroutine) o $data (scalar) o $priority (integer) Run $callback every $interval milliseconds until $callback returns false. Returns a source id which may be used with "Glib::Source->remove". Note that a mainloop must be active for the timeout to execute. integer = Glib::Idle->add ($callback, $data=undef, $priority=G_PRIORITY_DEFAULT_IDLE) o $callback (subroutine) o $data (scalar) o $priority (integer) Run $callback when the mainloop is idle. If $callback returns false, it will uninstall itself, otherwise, it will run again at the next idle iteration. Returns a source id which may be used with "Glib::Source->remove". integer = Glib::Timeout->add_seconds ($interval, $callback, $data=undef, $priority=G_PRIORITY_DEFAULT) o $interval (integer) o $callback (scalar) o $data (scalar) o $priority (integer) Since: glib 2.14 integer = Glib::IO->add_watch ($fd, $condition, $callback, $data=undef, $priority=G_PRIORITY_DEFAULT) o $fd (integer) file descriptor, e.g. fileno($filehandle) o $condition (Glib::IOCondition) o $callback (subroutine) o $data (scalar) o $priority (integer) Run $callback when there is an event on $fd that matches $condition. The watch uninstalls itself if $callback returns false. Returns a source id that may be used with "Glib::Source->remove". Glib's IO channels serve the same basic purpose as Perl's file handles, so for the most part you don't see GIOChannels in Perl. The IO watch integrates IO operations with the main loop, which Perl file handles don't do. For various reasons, this function requires raw file descriptors, not full file handles. See "fileno" in perlfunc. maincontext thingamabob = $loop->get_context maincontext thingamabob = Glib::MainContext->default boolean = $context->is_owner Since: glib 2.12 boolean = $loop->is_running boolean = $context->iteration ($may_block) o $may_block (boolean) integer = Glib::main_depth Find the current main loop recursion level. This is handy in fringe situations, but those are very rare; see the C API reference for a more in-depth discussion. Since: glib 2.4 boolean = $context->pending $loop->quit boolean = Glib::Source->remove ($tag) o $tag (integer) Remove an event source. $tag is the number returned by things like "Glib::Timeout->add", "Glib::Idle->add", and "Glib::IO->add_watch". $loop->run integer = Glib::Child->watch_add ($pid, $callback, $data=undef, $priority=G_PRIORITY_DEFAULT) o $pid (integer) child process ID o $callback (subroutine) o $data (scalar) o $priority (integer) Add a source to the default main context which will call &$callback ($pid, $waitstatus, $data) when child process $pid terminates. The return value is a source id which can be used with "Glib::Source->remove". When the callback is made the source is removed automatically. In a non-threaded program Glib implements this source by installing a SIGCHLD handler. Don't change $SIG{CHLD} in Perl or the callback will never run. Since: glib 2.4 ENUMS AND FLAGS
flags Glib::IOCondition o 'in' / 'G_IO_IN' o 'out' / 'G_IO_OUT' o 'pri' / 'G_IO_PRI' o 'err' / 'G_IO_ERR' o 'hup' / 'G_IO_HUP' o 'nval' / 'G_IO_NVAL' SEE ALSO
Glib COPYRIGHT
Copyright (C) 2003-2009 by the gtk2-perl team. This software is licensed under the LGPL. See Glib for a full notice. perl v5.12.1 2010-07-05 Glib::MainLoop(3)
All times are GMT -4. The time now is 10:16 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy