From: Alan D. <We...@Om...> - 2005-10-19 18:47:35
|
Is there a Webmin module to list all open ports on a system, such as the netstat command? I noticed the "Running Processes" module will show network connections for a given process, and it allows for searching all processes for a given port. But it does not seem to have a way to list all open ports, or search for a range of ports. Has something like this been developed? If not, would it be appropriate to add these features to the "Running Processes" module, or would a separate "Network Connections" module be in order? Thanks, Alan |
From: Greg M. <Moe...@ge...> - 2005-10-20 12:57:57
|
Joe: =20 We've been looking for something like this for a while. Unfortunately, = when I downloaded it, and tried to install it, it tells me that Solaris = doesn't support sysinfo. =20 Don't know if something is in the works or not for Solaris. =20 -Greg >>> jo...@sw... 10/19/2005 5:26 >>> Hey Alan, My System Information module has a netstat mode. You can get it here: http://www.swelltech.com/projects/webmin/sysinfo.html To get to "netstat -l" data click on Network Statistics and then=20 Listening Sockets. The module is getting an overhaul as soon as I have some time to spare.=20 There's quite a few improvements architecturally that need doing, and=20 it is a great place to experiment with AJAX features (realtime graph=20 updates without page reloads would be lovely). The module only has configs for Red Hat based systems, I think, but=20 modifying it to run on just about any other Linux or Unix would be=20 pretty easy (it will get FreeBSD, Debian, SUSE, Mandrake, and Gentoo=20 support in a month or two for reasons I suspect you, as a Virtualmin=20 Professional user, can guess). Alan Dobkin wrote: >=20 > Is there a Webmin module to list all open ports on a system, such as = the=20 > netstat command? I noticed the "Running Processes" module will show=20 > network connections for a given process, and it allows for searching = all=20 > processes for a given port. But it does not seem to have a way to = list=20 > all open ports, or search for a range of ports. Has something like = this=20 > been developed? If not, would it be appropriate to add these features=20= > to the "Running Processes" module, or would a separate "Network=20 > Connections" module be in order? >=20 > Thanks, > Alan >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, discussions,= > and more. http://solutions.newsforge.com/ibmarch.tmpl > - > Forwarded by the Webmin mailing list at web...@li...urceforge.n= et > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-list ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl - Forwarded by the Webmin mailing list at web...@li...= To remove yourself from this list, go to http://lists.sourceforge.net/lists/listinfo/webadmin-list |
From: Joe C. <jo...@sw...> - 2005-10-20 19:30:28
|
Hi Greg, Linux is probably all that is going to be easy to support at this point. I have never even broken out the paths into the configuration file (I inherited the module from another developer, and have never given it as much attention as it deserves). So all of the programs and files are accessed with hardcoded paths. As I mentioned, I am going to do a lot of work on it in the next month or so, and though I didn't mention it Solaris is also going to be a platform that I'll be supporting...so the module will eventually work fine on Solaris. I don't know how tough that will be, though, since it uses a lot of system-dependent interfaces like /proc and "free" and such. There are equivalents on most systems, Solaris included, but the syntax and output won't be identical. Even between the supported Linux versions (2.2, 2.4, and 2.6) there are differences that have broken the module in the past--there's a lot of ugly "if ($some_version < 99.44) {blahblah;}" bits in there. Until there is a standard way to gather the data and interpret it, it's just going to get uglier. SNMP might do it, but I'd have to pull in a bunch of extra SNMP stuff to get the Perl interface and the snmp daemon--would probably make it a wholly different module by the time I was finished. Anyway, give it a month or two, and you'll be able to use it on Solaris. Or, you could tackle the changes yourself if you're in a hurry. Any improvements are certainly welcome. ;-) Greg Moeller wrote: > Joe: > > We've been looking for something like this for a while. Unfortunately, > when I downloaded it, and tried to install it, it tells me that Solaris > doesn't support sysinfo. > > Don't know if something is in the works or not for Solaris. > > -Greg > > >>> jo...@sw... 10/19/2005 5:26 >>> > Hey Alan, > > My System Information module has a netstat mode. You can get it here: > > http://www.swelltech.com/projects/webmin/sysinfo.html > > To get to "netstat -l" data click on Network Statistics and then > Listening Sockets. > > The module is getting an overhaul as soon as I have some time to spare. > There's quite a few improvements architecturally that need doing, and > it is a great place to experiment with AJAX features (realtime graph > updates without page reloads would be lovely). > > The module only has configs for Red Hat based systems, I think, but > modifying it to run on just about any other Linux or Unix would be > pretty easy (it will get FreeBSD, Debian, SUSE, Mandrake, and Gentoo > support in a month or two for reasons I suspect you, as a Virtualmin > Professional user, can guess). > > Alan Dobkin wrote: > > > > Is there a Webmin module to list all open ports on a system, such as the > > netstat command? I noticed the "Running Processes" module will show > > network connections for a given process, and it allows for searching all > > processes for a given port. But it does not seem to have a way to list > > all open ports, or search for a range of ports. Has something like this > > been developed? If not, would it be appropriate to add these features > > to the "Running Processes" module, or would a separate "Network > > Connections" module be in order? > > > > Thanks, > > Alan > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: > > Power Architecture Resource Center: Free content, downloads, discussions, > > and more. http://solutions.newsforge.com/ibmarch.tmpl > > - > > Forwarded by the Webmin mailing list at > web...@li... > > To remove yourself from this list, go to > > http://lists.sourceforge.net/lists/listinfo/webadmin-list > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > - > Forwarded by the Webmin mailing list at web...@li... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-list > |
From: Cary R. <ca...@ca...> - 2005-10-21 19:13:55
|
I've been playing around trying to manually add a machine account on a RedHat Enterprise box. It used to work when I was using RedHat 9, but now I get an invalid name error. Here is the command I am using, and the error it gives me. useradd -r -g trust -d /dev/null -s /dev/null 'test$' Invalid User Name 'test$' Does anybody know of a work around for this ? Thanks, Cary ps... Sorry for the off topicness |
From: Craig W. <cra...@az...> - 2005-10-22 06:45:52
|
On Fri, 2005-10-21 at 14:13 -0500, Cary Robinson wrote: > > I've been playing around trying to manually add a machine account on a > RedHat Enterprise box. It used to work when I was using RedHat 9, but now I > get an invalid name error. > > Here is the command I am using, and the error it gives me. > > useradd -r -g trust -d /dev/null -s /dev/null 'test$' > Invalid User Name 'test$' > > > Does anybody know of a work around for this ? ---- wouldn't it be easier just to create the machine accounts on the fly? (in general section of smb.conf) add machine script = /usr/sbin/useradd -s /bin/false -d /dev/null %u Craig -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. |
From: Cary R. <ca...@ca...> - 2005-10-25 17:41:28
|
I'm re-posting this hoping for an answer. Figured it got lost in all the other excitement the first time I posted it. Thanks At 02:13 PM 10/21/2005, you wrote: >I've been playing around trying to manually add a machine account on a >RedHat Enterprise box. It used to work when I was using RedHat 9, but now >I get an invalid name error. > >Here is the command I am using, and the error it gives me. > >useradd -r -g trust -d /dev/null -s /dev/null 'test$' >Invalid User Name 'test$' > > >Does anybody know of a work around for this ? > > >Thanks, >Cary > > >ps... Sorry for the off topicness |
From: Steve C. <cam...@cn...> - 2005-10-25 17:53:49
|
----- Original Message ----- From: "Cary Robinson" <ca...@ca...> To: <web...@li...> Sent: Tuesday, October 25, 2005 1:40 PM Subject: Re: [webmin-l] Creating Samba Machine Account > I'm re-posting this hoping for an answer. Figured it got lost in all the > other excitement the first time I posted it. > > Thanks > > > At 02:13 PM 10/21/2005, you wrote: > > >>I've been playing around trying to manually add a machine account on a >>RedHat Enterprise box. It used to work when I was using RedHat 9, but now >>I get an invalid name error. >> >>Here is the command I am using, and the error it gives me. >> >>useradd -r -g trust -d /dev/null -s /dev/null 'test$' >>Invalid User Name 'test$' >> >> >>Does anybody know of a work around for this ? >> >> >>Thanks, >>Cary >> >> >>ps... Sorry for the off topicness > > My system says that if you use the -r, you must use the -m option. This is a RED HAT option, as stated in the man pages. Steve Campbell cam...@cn... Charleston Newspapers |
From: Cary R. <ca...@ca...> - 2005-10-25 20:29:41
|
At 12:53 PM 10/25/2005, you wrote: >----- Original Message ----- From: "Cary Robinson" <ca...@ca...> >To: <web...@li...> >Sent: Tuesday, October 25, 2005 1:40 PM >Subject: Re: [webmin-l] Creating Samba Machine Account > > >>I'm re-posting this hoping for an answer. Figured it got lost in all the >>other excitement the first time I posted it. >> >>Thanks >> >> >>At 02:13 PM 10/21/2005, you wrote: >> >> >>>I've been playing around trying to manually add a machine account on a >>>RedHat Enterprise box. It used to work when I was using RedHat 9, but >>>now I get an invalid name error. >>> >>>Here is the command I am using, and the error it gives me. >>> >>>useradd -r -g trust -d /dev/null -s /dev/null 'test$' >>>Invalid User Name 'test$' >>> >>> >>>Does anybody know of a work around for this ? >>> >>> >>>Thanks, >>>Cary >>> >>> >>>ps... Sorry for the off topicness >> > >My system says that if you use the -r, you must use the -m option. >This is a RED HAT option, as stated in the man pages. > >Steve Campbell >cam...@cn... >Charleston Newspapers The -m option only must be used if you want to create a home directory for the machine account. I tried it anyway though.. Same error...... |
From: Joe C. <jo...@sw...> - 2005-10-19 22:25:59
|
Hey Alan, My System Information module has a netstat mode. You can get it here: http://www.swelltech.com/projects/webmin/sysinfo.html To get to "netstat -l" data click on Network Statistics and then Listening Sockets. The module is getting an overhaul as soon as I have some time to spare. There's quite a few improvements architecturally that need doing, and it is a great place to experiment with AJAX features (realtime graph updates without page reloads would be lovely). The module only has configs for Red Hat based systems, I think, but modifying it to run on just about any other Linux or Unix would be pretty easy (it will get FreeBSD, Debian, SUSE, Mandrake, and Gentoo support in a month or two for reasons I suspect you, as a Virtualmin Professional user, can guess). Alan Dobkin wrote: > > Is there a Webmin module to list all open ports on a system, such as the > netstat command? I noticed the "Running Processes" module will show > network connections for a given process, and it allows for searching all > processes for a given port. But it does not seem to have a way to list > all open ports, or search for a range of ports. Has something like this > been developed? If not, would it be appropriate to add these features > to the "Running Processes" module, or would a separate "Network > Connections" module be in order? > > Thanks, > Alan > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > - > Forwarded by the Webmin mailing list at web...@li... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-list |
From: Alan D. <We...@Om...> - 2005-10-20 00:47:47
|
Thanks, Joe. That was exactly what I was looking for! I have used your module in the past on other systems, but I had not installed it yet on my Virtualmin Professional system. After you get your overhaul done, it will be a great addition as a standard module. Thanks, Alan On Wed, 19 Oct 2005, Joe Cooper wrote: > Hey Alan, > > My System Information module has a netstat mode. You can get it here: > > http://www.swelltech.com/projects/webmin/sysinfo.html > > To get to "netstat -l" data click on Network Statistics and then Listening > Sockets. > > The module is getting an overhaul as soon as I have some time to spare. > There's quite a few improvements architecturally that need doing, and it > is a great place to experiment with AJAX features (realtime graph > updates without page reloads would be lovely). > > The module only has configs for Red Hat based systems, I think, but > modifying it to run on just about any other Linux or Unix would be > pretty easy (it will get FreeBSD, Debian, SUSE, Mandrake, and Gentoo > support in a month or two for reasons I suspect you, as a Virtualmin > Professional user, can guess). > > Alan Dobkin wrote: >> >> Is there a Webmin module to list all open ports on a system, such as the >> netstat command? I noticed the "Running Processes" module will show >> network connections for a given process, and it allows for searching all >> processes for a given port. But it does not seem to have a way to list all >> open ports, or search for a range of ports. Has something like this been >> developed? If not, would it be appropriate to add these features to the >> "Running Processes" module, or would a separate "Network Connections" >> module be in order? >> >> Thanks, >> Alan |