November 21, 2024, 04:13:42 PM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: eroor occuring in acl in smoothwall  (Read 16198 times)

Offline praful_thakare

  • Linux Noob !
  • *
  • Posts: 24
eroor occuring in acl in smoothwall
« on: August 16, 2005, 05:01:19 AM »
hi

 i have install smoothwall and i configure the squid proxy.....it is running fine...but i have one problem whenever i write acl to allow network PC in specified time say in working hours......it not work until the smoothwall is restarted when i restart the server that acl works..... but the next day after specified time it will not allow to brows until i restart the server.......
is there any remeddy....for that....


hope my problem is understandable.....!!!!!!!!

if possible mail me at merrypraful@yahoomail.com  plzzzzzzzzz!!!!!!!!1

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
eroor occuring in acl in smoothwall
« Reply #1 on: August 16, 2005, 08:26:49 AM »
Yes , I am getting it but you have to first post all the information ie. your config and ACLs over here.

Offline praful_thakare

  • Linux Noob !
  • *
  • Posts: 24
acl for user Authentication to access the internet
« Reply #2 on: August 17, 2005, 07:27:48 AM »
Hi Rickey

thanks for reply....

you asked for acl config file but my problem was slove......but i have one another problem regarding accessing the internet through smoothwall proxy....

i have write acl such that every user has to give there username and password to access the internet......

is it possible to write such acl.....in the smoothwall squid


and also know to how to manage the bandwidth.....


thank you.....

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
eroor occuring in acl in smoothwall
« Reply #3 on: August 17, 2005, 10:04:40 AM »
manageing bandwidth through squid is not hard but atm I m not strong in it.. Infact I have forgot the concept actually ! Anyways.. you have to use Delay Pools to control bandwidth.

About Authentication.. see my post regarding NCSA athentication --> Squid  NCSA authentication .

Offline praful_thakare

  • Linux Noob !
  • *
  • Posts: 24
error occure in smoothwall while giving NCSA athentication
« Reply #4 on: August 18, 2005, 09:01:56 AM »
Hi Ricky

Thkans for reply....


as per your  post regarding NCSA athentication  Squid NCSA authentication
i gone through that but it is not working in smoothwall squid

 in  smoothwall is there  such NCSA modules  i serach for that but i have not found there ...if there plz tell me how to compile it... and againg whenrver i give command

htpasswd -c /usr/local/squid/etc/passwd

it is generating one error

Usage:
htpasswd [-cmdps] password file username
htpasswd [-cmdps] password file username password

htpasswd -n [mdps]  username
htpasswd -n [mdps]  username password

-c create a new file
-n Force upadate file;display result on stout
-m Force MD5 encryption of the password (default)
-d Force CRYPT encretion of the password (default)
-p do not encreypt the password (plaintext)
-s Force SHA encryption of the password
-b use passwd from the command line rather than promting for it

on windows TPF and netware sstyem '-m' flag is used by degault
on all othere system the '-p' flag will probly not.

and it goes on promt without creating that passwd file
give me solution for that

thanks in advanced

[/b]

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
eroor occuring in acl in smoothwall
« Reply #5 on: August 19, 2005, 01:23:15 PM »
hmm..

I had done that long ago, anyways..

you are missing username in your command .
BTW.. on of our other LS user has suggested me earlier to not use -c in that as then you can only create one user .
So now you have to do is
Code: [Select]
htpasswd /usr/local/squid/etc/passwd <username>
in place of <username> give any username u want.

Offline praful_thakare

  • Linux Noob !
  • *
  • Posts: 24
againg having same error in smoothwall squid...
« Reply #6 on: August 19, 2005, 02:43:51 PM »
Hello Ricky

Thakns but sorry to say it is not working again......it giving same message that i told you earlier....

here i tell you that i m using Smoothwall Express 2.0 and i have give acl for authontication to user to access the internet through transparent proxy...

and in that i m configuring squid........

pleaz tell how to do that ...

and one thing i want ot know can i install man pages in smoothwall........???

sorry for distrubing u.....
thakns in advanced..............

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
eroor occuring in acl in smoothwall
« Reply #7 on: August 20, 2005, 08:32:51 AM »
Well.. I will check here on a machine then will tell u further.. meanwhile you can contact "muthu" . He is one of member and has been using NCSA authentication from long. He might you help you out well.

Offline praful_thakare

  • Linux Noob !
  • *
  • Posts: 24
eroor occuring in acl in smoothwall
« Reply #8 on: August 23, 2005, 04:49:40 AM »
Thakns Ricky

I will be waiting for your reply.....

mean while i will ask my query to muthu...

ok thank you...once again...

Offline praful_thakare

  • Linux Noob !
  • *
  • Posts: 24
error while give NCSA in smoothwall squid
« Reply #9 on: August 23, 2005, 04:52:27 AM »
Hello muthu

here i tell you that i m using Smoothwall Express 2.0 and i have give acl for authontication to user to access the internet through transparent proxy...

and in that i m configuring squid........

pleaz tell how to do that ...

and one thing i want ot know can i install man pages in smoothwall........???

whenever i config ncsa acl it givies error....
the error is....

as per your post regarding NCSA athentication Squid NCSA authentication
i gone through that but it is not working in smoothwall squid

in smoothwall is there such NCSA modules i serach for that but i have not found there ...if there plz tell me how to compile it... and againg whenrver i give command

htpasswd -c /usr/local/squid/etc/passwd

it is generating one error

Usage:
htpasswd [-cmdps] password file username
htpasswd [-cmdps] password file username password

htpasswd -n [mdps] username
htpasswd -n [mdps] username password

-c create a new file
-n Force upadate file;display result on stout
-m Force MD5 encryption of the password (default)
-d Force CRYPT encretion of the password (default)
-p do not encreypt the password (plaintext)
-s Force SHA encryption of the password
-b use passwd from the command line rather than promting for it

on windows TPF and netware sstyem '-m' flag is used by degault
on all othere system the '-p' flag will probly not.

and it goes on promt without creating that passwd file
give me solution for that

sorry for distrubing u.....
thakns in advanced..............

Offline praful_thakare

  • Linux Noob !
  • *
  • Posts: 24
want to see bandwidth usage with the help of smoothwall
« Reply #10 on: August 23, 2005, 07:25:32 AM »
hello Ricky.....

          I need to monitor the bandwidth usage of my clients. I need a tool that is realtime. So that when ever my link is slow due to high traffic I can easily determine which client is using up most of the bandwidth at that particular time. i am using smoothwall express 2.0

is it possible wth smoothwall....

Any idea how I can set this up?

thanks in advanced........

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
eroor occuring in acl in smoothwall
« Reply #11 on: August 23, 2005, 08:19:42 AM »
Smoothwall already have bandwidth monitoring tool, you can refresh its graph to get the current data I think.

BTW.. you should send PM to MUTHU asking the question.

Offline praful_thakare

  • Linux Noob !
  • *
  • Posts: 24
lof file problem in smoothwall
« Reply #12 on: October 05, 2005, 07:29:52 AM »
Hello Rikey

here i have problem in smoothwall log file... i m not able to kept or store log file more than two days in the server. the log files are automatically get deleted after two days.. how to increse the time period of storing the log files for a week....


thanks in advanced

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
eroor occuring in acl in smoothwall
« Reply #13 on: October 07, 2005, 04:51:08 PM »
I think there are cron job set . You need to remove them, best is to see "man cron" to know more about it.