Re: [ITCENTER] Tanya Squid NCSA_auth

2006-09-20 Terurut Topik gnomeajamfaz gnomeajamfaz
Mungkin bisa membantu


squid.conf

hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin
#? no_cache deny QUERY
cache_mem 64 MB
cache_dir ufs /cache 100 16 256
auth_param basic program /usr/lib/squid/ncsa_auth
/etc/squid/passwd
auth_param basic children 5
auth_param basic realm Masukan Username dan Password
auth_param basic credentialsttl 2 hours
refresh_pattern ^ftp:   144020% 10080
refresh_pattern ^gopher:14400%  1440
refresh_pattern .   0   20% 4320
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 563
acl Safe_ports port 80  # http
acl Safe_ports port 21  # ftp
acl Safe_ports port 443 563 # https, snews
acl Safe_ports port 70  # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535  # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT
acl sieradlw src 192.168.30.0/24
acl SMPMTRB src 192.168.45.0/24
acl USUARIOS proxy_auth REQUIRED
  
  
   
#acl PORNO url_regex -i "/etc/squid/porn"
#acl PORNO1 url_regex -i "/etc/squid/porn1"
#acl NAO_PORNO url_regex -i "/etc/squid/noporn"
#acl banlist url_regex "/root/porno.txt
#http_access deny banlist
http_access allow USUARIOS
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
#http_access allow USUARIOS NAO_PORNO MINHA_REDE
#http_access allow USUARIOS !PORNO !PORNO1 MINHA_REDE
http_access deny all
#http_access allow all
http_reply_access allow all
icp_access allow all
visible_hostname ajam
error_directory /usr/share/squid/errors/English
coredump_dir /var/cache/squid
#http_port 80
http_port 8080
#pemberian akses


-
Untuk mengcreate user

#mkdir /etc/squid/password
#httpasswd /etc/squid/passwd newuser
#New password: isi passwordnya

Mudah2 bisa membantu


Thank
ajam



--- ech muhlifan <[EMAIL PROTECTED]> wrote:

> On 9/19/06, Gilang Rivai <[EMAIL PROTECTED]> wrote:
> >
> > Saya mau tanya, saya install dan konfigurasi squid
> dan
> >  ncsa_auth nya di linux fedora core 4 agar setiap
> user
> >  yang akan menggunakan internet harus memasukan
> >  username dan password nya terlebih dahulu, tetapi
> >  dalam hal ini saya belum terkoneksi ke Internet
> baru
> >  test lokal aja.saya test di PC Servernya squid
> >  berhasil )"meminta password dan usernamenya"),
> tetapi
> >  begitu saya test di PC usernya (melalui LAN) ko
> ngga
> >  minta username sama password, tidak seperti waktu
> saya
> >  test di server("localhost"). padahal sudah saya
> >  setting di internet optionnya ip nya dan portnya
> 8080.
> >  kalau logikanya di server nya melalui localhost
> dan
> >  melalui LAN harusnya bisa.
> >
> >  Mohon jalan keluar nya dan pencerahannya
> >
> 
> Kalau boleh tau detail configure squid with ncsa
> authnya gimana?
> Mungkin kesalahannya ada disitu.
> 
> -ech-
> http://ech.blogspot.com
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 





-- 
www.itcenter.or.id - Komunitas Teknologi Informasi Indonesia 
Gabung, Keluar, Mode Kirim : [EMAIL PROTECTED] 
## Jobs: itcenter.or.id/jobs ## Bursa: itcenter.or.id/bursa ##

## Jaket ITCENTER tersedia di http://shop.itcenter.or.id 

:: sponsor ---
www.laptopseken.com - Buat apa beli PC kalau bisa beli laptop!
Dapatkan harga spesial dari kami!
--
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ITCENTER/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/ITCENTER/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





Re: [ITCENTER] Tanya Squid NCSA_auth

2006-09-20 Terurut Topik gnomeajamfaz gnomeajamfaz
mudah2 bisa membantu

hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin
#? no_cache deny QUERY
cache_mem 64 MB
cache_dir ufs /cache 100 16 256
auth_param basic program /usr/lib/squid/ncsa_auth
/etc/squid/passwd
auth_param basic children 5
auth_param basic realm Masukan nama dan password
auth_param basic credentialsttl 2 hours
refresh_pattern ^ftp:   144020% 10080
refresh_pattern ^gopher:14400%  1440
refresh_pattern .   0   20% 4320
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.0/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 563
acl Safe_ports port 80  # http
acl Safe_ports port 21  # ftp
acl Safe_ports port 443 563 # https, snews
acl Safe_ports port 70  # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535  # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT
acl MINHA_REDE src 192.168.0.0/24
acl USER proxy_auth REQUIRED
acl banlist url_regex "/root/porno.txt
http_access deny banlist
#acl PORNO url_regex -i "/etc/squid/porn"
#acl PORNO1 url_regex -i "/etc/squid/porn1"
#acl NAO_PORNO url_regex -i "/etc/squid/noporn"
#Konexksi User
  
  
   
http_access allow USER
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
#http_access allow USUARIOS NAO_PORNO MINHA_REDE
#http_access allow USUARIOS !PORNO !PORNO1 MINHA_REDE
#http_access deny all
http_access allow all
http_reply_access allow all
  
  
   
#koneksi
  
  
   
icp_access allow all
visible_hostname sangkuriang
error_directory /usr/share/squid/errors/English
coredump_dir /var/cache/squid
http_port 8080
http_port 80
icp_port 3130



mengecreate user
#mkdir /etc/squid/passwd
#htpasswd /etc/squid/passwd newuser
New password: isikan passwordnya

JIka mendisibel User name
#vi /etc/squid/passwd
NewUser
tambahkan lambang # (#Newuser)
save

---

Mudah2 bisa membantu


Thank

ajam

--- ech muhlifan <[EMAIL PROTECTED]> wrote:

> On 9/19/06, Gilang Rivai <[EMAIL PROTECTED]> wrote:
> >
> > Saya mau tanya, saya install dan konfigurasi squid
> dan
> >  ncsa_auth nya di linux fedora core 4 agar setiap
> user
> >  yang akan menggunakan internet harus memasukan
> >  username dan password nya terlebih dahulu, tetapi
> >  dalam hal ini saya belum terkoneksi ke Internet
> baru
> >  test lokal aja.saya test di PC Servernya squid
> >  berhasil )"meminta password dan usernamenya"),
> tetapi
> >  begitu saya test di PC usernya (melalui LAN) ko
> ngga
> >  minta username sama password, tidak seperti waktu
> saya
> >  test di server("localhost"). padahal sudah saya
> >  setting di internet optionnya ip nya dan portnya
> 8080.
> >  kalau logikanya di server nya melalui localhost
> dan
> >  melalui LAN harusnya bisa.
> >
> >  Mohon jalan keluar nya dan pencerahannya
> >
> 
> Kalau boleh tau detail configure squid with ncsa
> authnya gimana?
> Mungkin kesalahannya ada disitu.
> 
> -ech-
> http://ech.blogspot.com
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




-- 
www.itcenter.or.id - Komunitas Teknologi Informasi Indonesia 
Gabung, Keluar, Mode Kirim : [EMAIL PROTECTED] 
## Jobs: itcenter.or.id/jobs ## Bursa: itcenter.or.id/bursa ##

## Jaket ITCENTER tersedia di http://shop.itcenter.or.id 

:: sponsor ---
www.laptopseken.com - Buat apa beli PC kalau bisa beli laptop!
Dapatkan harga spesial dari kami!
--
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ITCENTER/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/ITCENTER/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





Re: [ITCENTER] Tanya Squid NCSA_auth

2006-09-20 Terurut Topik Gilang Rivai

konfigurasinya sesuai dengan petunjuk yang ada di buku
dan internet :

http_port 8080

auth_param basic program ../.../ncsa_auth
/etc/squid/password
  |
  |


acl pengguna proxy_auth REQUIRED
acl All src 0.0.0.0/0.0.0.0
  |
  |
...

http_access allow pengguna
  |
  |
...


Kira2 begitulah konfigurasinya.

Terima kasih atas bantuannya...

Gilang


--- ech muhlifan <[EMAIL PROTECTED]> wrote:

> On 9/19/06, Gilang Rivai <[EMAIL PROTECTED]> wrote:
> >
> > Saya mau tanya, saya install dan konfigurasi squid
> dan
> >  ncsa_auth nya di linux fedora core 4 agar setiap
> user
> >  yang akan menggunakan internet harus memasukan
> >  username dan password nya terlebih dahulu, tetapi
> >  dalam hal ini saya belum terkoneksi ke Internet
> baru
> >  test lokal aja.saya test di PC Servernya squid
> >  berhasil )"meminta password dan usernamenya"),
> tetapi
> >  begitu saya test di PC usernya (melalui LAN) ko
> ngga
> >  minta username sama password, tidak seperti waktu
> saya
> >  test di server("localhost"). padahal sudah saya
> >  setting di internet optionnya ip nya dan portnya
> 8080.
> >  kalau logikanya di server nya melalui localhost
> dan
> >  melalui LAN harusnya bisa.
> >
> >  Mohon jalan keluar nya dan pencerahannya
> >
> 
> Kalau boleh tau detail configure squid with ncsa
> authnya gimana?
> Mungkin kesalahannya ada disitu.
> 
> -ech-
> http://ech.blogspot.com
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




-- 
www.itcenter.or.id - Komunitas Teknologi Informasi Indonesia 
Gabung, Keluar, Mode Kirim : [EMAIL PROTECTED] 
## Jobs: itcenter.or.id/jobs ## Bursa: itcenter.or.id/bursa ##

## Jaket ITCENTER tersedia di http://shop.itcenter.or.id 

:: sponsor ---
www.laptopseken.com - Buat apa beli PC kalau bisa beli laptop!
Dapatkan harga spesial dari kami!
--
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ITCENTER/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/ITCENTER/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





Re: [ITCENTER] Tanya Squid NCSA_auth

2006-09-19 Terurut Topik ech muhlifan
On 9/19/06, Gilang Rivai <[EMAIL PROTECTED]> wrote:
>
> Saya mau tanya, saya install dan konfigurasi squid dan
>  ncsa_auth nya di linux fedora core 4 agar setiap user
>  yang akan menggunakan internet harus memasukan
>  username dan password nya terlebih dahulu, tetapi
>  dalam hal ini saya belum terkoneksi ke Internet baru
>  test lokal aja.saya test di PC Servernya squid
>  berhasil )"meminta password dan usernamenya"), tetapi
>  begitu saya test di PC usernya (melalui LAN) ko ngga
>  minta username sama password, tidak seperti waktu saya
>  test di server("localhost"). padahal sudah saya
>  setting di internet optionnya ip nya dan portnya 8080.
>  kalau logikanya di server nya melalui localhost dan
>  melalui LAN harusnya bisa.
>
>  Mohon jalan keluar nya dan pencerahannya
>

Kalau boleh tau detail configure squid with ncsa authnya gimana?
Mungkin kesalahannya ada disitu.

-ech-
http://ech.blogspot.com


-- 
www.itcenter.or.id - Komunitas Teknologi Informasi Indonesia 
Gabung, Keluar, Mode Kirim : [EMAIL PROTECTED] 
## Jobs: itcenter.or.id/jobs ## Bursa: itcenter.or.id/bursa ##

## Jaket ITCENTER tersedia di http://shop.itcenter.or.id 

:: sponsor ---
www.laptopseken.com - Buat apa beli PC kalau bisa beli laptop!
Dapatkan harga spesial dari kami!
--
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ITCENTER/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/ITCENTER/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/