a question on "netstat"s output

2000-05-07 Thread t s a d i
hello everyone !  (sorry for the 1st misformatted email that i sent)

when i do _~$ netstat_ on my web server, i get the ff:


bangus:~$ netstat
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address   Foreign Address State  
tcp0  39595 bangus.myphilippine:www ME21-66.i-manila.c:1520 ESTABLISHED 
tcp0201 bangus.myphilippine:www 210.23.110.23:1129  ESTABLISHED 
tcp0  20091 bangus.myphilippine:www 203.177.21.243:1551 ESTABLISHED 
tcp0  25491 bangus.myphilippine:www cisco8-s1.pacific:56495 ESTABLISHED 


my question ...  what does the numbers 1520, 1129, 1551 and 56495 mean ?

thanks a lot and hope someone can shed me some light on this :-)

chad


__
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/


a question re "netstat" output

2000-05-07 Thread t s a d i
hello everyone !

when i do _~$ netstat_ on my web server, i get the ff:


bangus:~$ netstat
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address   Foreign Address
State  
tcp0  39595 bangus.myphilippine:www ME21-66.i-manila.c:1520
ESTABLISHED 
tcp0201 bangus.myphilippine:www 210.23.110.23:1129 
ESTABLISHED 
tcp0  20091 bangus.myphilippine:www 203.177.21.243:1551
ESTABLISHED 
tcp0  25491 bangus.myphilippine:www cisco8-s1.pacific:56495
ESTABLISHED 


my question ...  what does the numbers 1520, 1129, 1551 and 56495 mean
?

thanks a lot and hope someone can shed me some light on this :-)

chad

__
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/


how to chroot /home/ an ssh/telnet acct

2000-03-20 Thread t s a d i
hello all,
 
   i need to give someone shell access to my server (ssh) but i dont
want him to go higher than /home/ ...  any idea on how that can be done
?
 
 
thanks in advance ...
 
chad adlawan


__
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com


automatically deleting ^M on text files

2000-03-16 Thread t s a d i
hello everyone ...

i have a truckload oftext files (.html) that i need to edit and it
has the character "^M" all over it (caused when someone uploads a text
file and the ftp transfer is set to binary).

does anyone know of a way to automate this ?

thanks a lot,
chad

ps: pls cc me the reply, i unsubscribed myself to this list because it
chokes my small connection

__
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com


assigning IRQ manually

2000-03-15 Thread t s a d i
hello,

  how do i assign an IRQ to my eth0 manually ?  (the PCI cont on my new
board doest do that, even if on auto) ...
  its something that u need to add in ur lilo.conf right ? ..  please
help ...

thanks,
chad

pls cc: me the reply, im not subscribed to this list anymore because i
cant handle its traffic, thanks again

__
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com


on master and slave DNS servers

2000-03-07 Thread t s a d i
hello all,

with reference to the example bellow;  will it matter if
ns1.secure.net and ns2.secure.net are just slave servers to some other
DNS server ?

that is, its /etc/named.conf will only contain something like :

  zone "cproda.com" {
 type slave;
 file "cproda.com.db";
 masters {
 123.123.123.123;
 };
  };

of course, the dns server 123.123.123.123 will be a fully working
master domain server for zone cproda.com.

TIA,
Chad

===  this is just an example =

archangel:~$ whois cproda.com

Whois Server Version 1.1

Domain names in the .com, .net, and .org domains can now be registered
with many different competing registrars. Go to http://www.internic.net
for detailed information.

   Domain Name: CPRODA.COM
   Registrar: NETWORK SOLUTIONS, INC.
   Whois Server: whois.networksolutions.com
   Referral URL: www.networksolutions.com
   Name Server: NS1.SECURE.NET
   Name Server: NS2.SECURE.NET
   Updated Date: 08-apr-1999


>>> Last update of whois database: Mon, 6 Mar 00 03:21:34 EST <<<

The Registry database contains ONLY .COM, .NET, .ORG, .EDU domains and
Registrars.

archangel:~$

===  end =
__
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com


exim to sendmail help

2000-03-04 Thread t s a d i
hello everyone,

im trying to help configure a linux box for a friends small group
and i have a few questions (all because she really wanted to try
sendmail and not exim) ...

1.  how do i tell sendmail to relay email for a group of IPs ?
something like this in exim :
sender_net_accept_relay = 192.168.1.0/24:192.168.2.0/24

2.  in exim, i make a small destribution list (like [EMAIL PROTECTED])
by making a user called staff and then putting the ff. in staff's
.forward file :
 # Exim filter
 deliver [EMAIL PROTECTED]
 deliver [EMAIL PROTECTED]
 deliver [EMAIL PROTECTED]
 etc, etc ...

 may i know how do i do this under sendmail ?  i mean, what should
i put in the users .forward file ?

thanks a lot in advance ...
chad
__
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com


building firewall, help

2000-02-08 Thread t s a d i
hello all,

We want to build a Linux Firewall for our experimental site, to
basically look like this

||
||
Internet ===|eth0eth1|=Internal Network
208.x.x.x10.10.10.1( Web/FTP/Mail Server,
||   Backend Database Server)
 FireWall

 For the Linux Firewall, can someone point me to some documents w/c
can help me build that ?

TIA,
Chad

__
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com


ssl'ed / ssh'ed ftp ?

2000-02-07 Thread t s a d i
hello all,
we use ssh (and ssl telnet) at our place to remotely admin some
machines (we are on an untrusted network) ...  
our concern now is on ftp, is there such thing as an ssh'ed or
ssl'ed ftp ? or any equivalent ?  (using ssh's file transfer capability
is not an option since no Win9x ssh client supports this)

TIA,

tsadi
__
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com