General :: Use Squid With Free Radius And Mysql?

Oct 3, 2010

i want to use squid with free radius and mysql. i am able to authenticate user if i am changing client browser. but i want to do authetication authorization and accounting without doing any change in client browser( transparent mode).

View 5 Replies


ADVERTISEMENT

Fedora Security :: Free Radius Configuration + F10?

Jun 10, 2009

i installed freeradius 2.1.3 on fedora 10 and want to use it with ieee802.1x using peap.when i run command to start radius service in debug mode the following output come

[root@Fedora ~]# radiusd -X FreeRADIUS Version 2.1.3, for host i386-redhat-linux-gnu, built on Dec 8 2008 at 15:31:31 Copyright (C) 1999-2008 The FreeRADIUS server project and contributors. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. You may redistribute copies of FreeRADIUS under the terms of the
GNU General Public License v2.

[Code]...

View 1 Replies View Related

Networking :: Placing Squid ACL's In A MySQL Database?

Jan 11, 2011

I'm using Squid in our company network, to block access to certain websites. Some websites are blocked for all computers, except for a few. These computers are grouped in an ACL, in squid.conf

Since the group contains only a few computers, this is no big deal and it works fine. But now we wish to expand this to more computers and regulate access to certain websites per computer more detailed. This means that the ACL list in squid.conf will grow significantly and I don't think that is a good thing.

The best solution would be to move all the ACL's from squid.conf, into a MySQL database. However, I have no idea how to do that.

As far as I know, I need external_acl_type to do this.

View 7 Replies View Related

General :: Get Radius To Start After A Reboot ?

Sep 30, 2010

I have installed FreeRadius to a Debian Linux server.

I have configured an account called Support to run the Radius as I didnt want Root to be the user to run this.

I want Radius to start up automatically after the system is rebooted but I don�t know how to do this. I am new to Linux so please bare with me. If the system is rebooted, is it possible for the Support account to be logged in automatically? Is there a script I can create to automatically login the Support account? This may not be secure but it has been requested. Also the main question is after a reboot can the Radius be configured to automatically start without the need for someone to login? So if the system is rebooted and then goes back to login prompt, can the Radius then be running?

I have had a good search about scripts but with my limited knowledge it isnt too easy.

So far Ive read it says to create a script in /etc/init.d which Ive done and named start-my-radius.sh I think Ive made It execuatable by chmod 777, if thats right?

The script looks like this:

But I dont know if thats even right? The radiusd is located in the /usr/local/sbin/ and the radacct and radius.log is located in / usr/local/var/log/radius

Some stuff I have read says it needs to link into /etc/rc.d but there isnt a rc.d directory, I have other rc directories which are rc1.d rc6.d.

After reading it also said something about using rc.radiusd which will automatically start Radius after a reboot, but again I cannot understand exactly what I need to do.

Let me know if I am on the right track? Will the start-my-radius.sh script work after the system is rebooted without someone actually login and how do I get it to work?

View 1 Replies View Related

General :: Configure Radius To Run Script Under Different User

Oct 12, 2010

My startup script for Radius now works so it starts at boot time, the script is in /etc/init.d and looks like this

#!/bin/sh
/usr/local/sbin/radiusd -d /usr/local/var/log/radius/radacct/ -d /usr/local/etc/raddb/

After rebooting radius starts up automatically which is what I want.

However for security I dont want this to run under root, but I want to it run under a user and group called support

I have edited the radius.conf file and added

# for some finer-grained access controls.
#
user = support
group = support

[Code]....

View 5 Replies View Related

General :: Can't Connect To Local MySQL Server Through Socket '/var/lib/mysql/mysql.sock' (2)

Jun 2, 2010

i am using liferay5.2(mysql included in the download pack) on fedora. while liferay is working fine but i cannot connect to mysql.i am getting the error

[
[root@localhost ~]# ln -s /var/lib/mysql/mysql.sock /tmp
[root@localhost ~]# /etc/init.d/mysqld start
Timeout error occurred trying to start MySQL Daemon.

[code]....

i didnt find the mysql.sock file in the location /var/lib/mysql/mysql.sock. i cannot find the portal-ext.properties file also to make intial settings.

View 9 Replies View Related

General :: Squid Access / Permission Denied Error From Squid Occur?

Dec 29, 2010

I am using squid to controlling access to the internet all is working fine expect one of the user who is using outside organization portal to connect internet. But whenever he tries to enter in the portal by typing (EXAMPLE)url. Permission denied error from squid occur.

How can i allow this portal in squid. So squid will allow this to access.

View 1 Replies View Related

General :: Radius Has Started In Debugging Mode Upon Boot And Cannot Login

Oct 11, 2010

I have created a Radius startup script in /etc/init.d for Debian which looks like this:

Now this works but when I boot my server it shows as ready to process requests and it doesnt login. I cant get a login prompt. If I do a CTRL C to try close this it doesnt work and just shows CTRL C on the screen, I can type in kill radius but nothing happens.

I guess its because my script is in debugging mode, most of the suggestions for a script said I should use:

However the radiusd a doesnt work and if I try to run using command radiusd in it comes up and says invalid command and I dont have the option to use

So if this script runs on my server, I could connect to the server through a putty session via port 22 and log on fine and do what I need too, but if I try to connect to the server directly after boot its just sitting on ready to process requests and I cannot do anything when directly at the server. On one particular server I didnt have the network confg right so I couldnt putty to it and now Im a bit stuck. Will I need to rebuild my server? As I canït break out of this ready to process requests and I cannot login as its just sitting there, I have tried connecting through serial management via my laptop but I cant do anything this way either the only way I could do anything was if I could get through to the server on putty.

There must be a way when directly at the server to cancel the radius and get logged in? As Ive mentioned CTRL C doesnt work. I can get to the ok prompt but not sure what command to use and if I could change the network config at the ok prompt or if I could somehow cancel the startup script at the ok prompt? I thought I could use the init commands to start the server without the script starting but the init commands don�t work and the server just sits there.

Also I guess I shouldnt be using radius X in my startup script, to prevent this problem is there something else I should be using? I tried using radius x (the small x) and I hit enter and then no process for radius starts .

View 1 Replies View Related

General :: Add / Of 3000mb In The Remaining 20380mb Free Space It Showing An Error Message That No Free Space Is Available

Jul 25, 2010

I have 160gb laptop. i installed vista in c primary partition which is 25gb and installed ubuntu in d primary partition which is 20gb. A remainig for my data. Now i tried to install CENT OS by formatting ubuntu. I inserted CENT OS DVD and restarted and i selected to delete my /dev/sda2 which is showing 20480mb and it shown me free space. but i tried to add partion /boot of 100mb it got added. but, when i am trying to add / of 3000mb in the remaining 20380mb free space it showing an error message that no free space is available.

View 4 Replies View Related

General :: Create A New Mysql User And A Mysql Database At The Shell Prompt?

Aug 7, 2010

How do I create a new mysql user and a mysql database at the shell prompt?

View 1 Replies View Related

General :: Mysql Not Starting After Changing Mysql Admin Password In Fedora?

Feb 19, 2010

Mysql starting problem after changing mysqladmin password.I tried all the solutions available on forums, but not solve the problem.At last I restored the mysql db backup, this make mysql service start, but till other databases not showing all tables.

View 1 Replies View Related

General :: Access Remote Mysql Db With Mysql-administrator Command?

May 13, 2011

I have install mysql on my fedora12. My different mysql server is located in us. I want to check health status and hits per seconds everything. Is it possible with mysql-administrator command.

now a these days i am connect through ssh and excuting below command

#mytop mysql -u root -p <passwd>

In my mysql db i have added the userip & passwd (allowed the privileages for that ip)

If i use mysql-administrator i am getting below error

MySQL Error Nr. 2003
Can't connect to MySQL server on '66.98.152.64' (111)

View 6 Replies View Related

General :: Interact With The Mysql To Reset The Root Mysql Pass?

Jun 14, 2011

I have tried many different ways to interact with the mysql to reset the root mysql pass. This is what I got to right now

Code:
#!/bin/sh
newpass=$1
service mysqld stop
mysqld_safe --skip-grant-tables --skip-networking &
echo "use mysql;" >> /tmp/mysql_pass_reset.txt
echo "update user set password=PASSWORD("$newpass") where User="root";" >> /tmp/mysql_pass_reset.txt

[Code]...

View 6 Replies View Related

OpenSUSE Network :: ERROR 2002 (HY000): Can't Connect To Local MySQL Server Through Socket '/var/mysql/mysql.sock

Jun 7, 2011

I think this goes here, but I'm not sure. I decided that XAMPP had been troublesome enough. MySQL never worked. So I decided to instal the LAMP stack offered by YaST. I went about installing it thinking that it would all work. But it seems that I was wrong. So I try to start mysql, and here's what I get:

Code:
the-matrix:~ # mysql start
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/mysql/mysql.sock' (2) or
Code:
the-matrix:~ # rcmysql start
Starting service MySQL warning: /var/mysql/mysql.sock didn't appear within 30 seconds
chmod: cannot access `/var/run/mysql/mysqld.pid': No such file or directory

[Code]...

View 6 Replies View Related

Server :: Like To Understand Linux 'free' Command With Respect To Cache And Free Memory

Mar 27, 2010

Was wondering if anyone can explain briefly the relationship of "cache" and free memory in the "free" memory command.

View 2 Replies View Related

Debian Configuration :: What Default Sources.list That Has Free And Non Free Etc For Squeeze

Jun 16, 2010

During playing around sources, synaptic playing I messed up the default list. I know I should have been more careful. Anyways could someone tell me what the default the default sources.list that has free and non free etc for squueze please? I have been trying to get the default list but I cannot find it anywhere. There are alot of lists out there but nothing tagged like the "default" list.

View 6 Replies View Related

Server :: Use System Monitor Via A VNC Connection The Free Disk Space Value Is 20GB Free On The Same Volume

May 18, 2011

I've got a question on free disk space. I'm currently running CentOS 5.5 on in Xenserver virtual environment. We've had an issue with disk space. My question is as follows: - from a ssh connection i run df -h this gives the value of 90% used leaving me with 9GB. If I use system monitor via a VNC connection the free disk space value is 20GB free on the same volume. Which one is correct? I do use SNMP to monitor the same volume and should alert me when < 10% is free I know this works as I set the alert threshold to < 90% I get an alert.

View 2 Replies View Related

Applications :: Setting Up A Radius Server?

Dec 27, 2010

I need to set up a Radius server for use in an ISP which will be wireless internet only.

I had thought to use Centos maybe and install and somehow configure Freeradius.

I have little experience with Linux, but am a Windows Admin, and use Linux a little.

My questions would be: Is there a best distro that i should use?? I have used Ubuntu the most, but not sure if it is best to use for this project.

Freeradius website has documentation but it doesnt tell me much about how to get it all up and running, What we want is Authentication and Accounting and from what i can see Freeradius is a good option? Is there anything better that i can use? We will be eventually having approximately 5000 clients.

View 3 Replies View Related

Server :: Got Error During Setting Up Radius

Jul 19, 2010

Now i am setting up wifi hot spot with this guide. During this set up i got this error, after i type command #sudo radtest "John Doe" hello 127.0.0.1 0 radiussecret "radclient: no response from server for ID 47 socket 3"

View 5 Replies View Related

Server :: Got Error During Setting Up Radius?

Jul 19, 2010

Now i am setting up wifi hot spot with this guide. During this set up i got this error,after i type command #sudo radtest "John Doe" hello 127.0.0.1 0 radiussecret"radclient: no response from server for ID 47 socket 3"

View 1 Replies View Related

Fedora Servers :: Build Radius Server On F13?

Jul 16, 2010

i have a project from my boss to make radius server on fedora 13 i 686. can u tell the step by step how to build radius server on fedora 13???? thx u for sharing

View 3 Replies View Related

Ubuntu :: Compiz Show Mouse Radius

May 20, 2011

I just wanted to share something with you all. If this belongs somewhere else let me know.I got the idea from this thread.I wanted the show mouse effect to not rotate around my mouse (just a preference)and have the emitters directly under my cursor. So by editing two files it gave me the desired effect to an extent.

1. Just in case back up your compiz settings.
2. Open a terminal and type - sudo nautilus . It'll ask for your admin password.
3. The file manager should now be open, go to /usr/share/compiz/showmouse.xml copy the file and rename the copy to showmouse.xml.bak.
4. Open showmouse.xml with the text editor.
5. Scroll down to the bottom and look for the "radius" section. Go to the <min>10</min> entry and change it to 2. Save.
6. Go to /usr/lib/compiz/libshowmouse.so copy the file and rename the copy to libshowmouse.so.bak.
7. Open the file with Ghex and search for the string radius on the right side of the search box.
8. It'll look like a jumble of words, but look after the word radius and find <min>10</min> change to 2. Save.
9.Compiz should now disable itself.
10. Reboot and re-enable Compiz and try out the show mouse plugin, it should now allow you to use a smaller radius.

View 1 Replies View Related

Red Hat / Fedora :: Creating A Radius Server In RHEL 5.5?

Sep 12, 2010

creating a radius server. i need info regarding books or webpages.

View 4 Replies View Related

Security :: Failed SSH Authentication With Radius Server

Jan 26, 2011

I have intalled RADIUS server on one machine which has fedora 10. I have installed freeradius-server-2.1.10 on it(server machine IP 10.150.110.42).

I have one more machine with redhat linux on which i have installed pam_radius-1.3.17(client machine IP 10.150.113.4).

I have done the follwoing configuration at both sides

SERVER SIDE.

users file
"vijay" Auth-Type := Local, Cleartext-Password == "123qwe", NAS-IP-Address == "10.150.113.4"
Reply-Message = "Hello, %u"

[Code]....

Above mentioned is my configuration. when i try to connect client with SSH it is not sending a request for authenticating user to RADIUS server. what else configuration i have to do, or if there are any mistakes in my configuration

View 2 Replies View Related

Server :: Trying To Get Radius To Start After Reboot Automatically

Sep 30, 2010

I have installed FreeRadius to a Debian Linux server.I have configured an account called Support to run the Radius as I didn't want Root to be the user to run this.I want Radius to start up automatically after the system is rebooted but I don't know how to do this. I am new to Linux so please bare with me. If the system is rebooted, is it possible for the Support account to be logged in automatically? Is there a script I can create to automatically login the Support account? This may not be secure but it has been requested. Also the main question is after a reboot can the Radius be configured to automatically start without the need for someone to login? So if the system is rebooted and then goes back to login prompt, can the Radius then be running?

I have had a good search about scripts but with my limited knowledge it isn't too easy.

After reading it also said something about using rc.radiusd which will automatically start Radius after a reboot, but again I cannot understand exactly what I need to do.Please can someone help out with this and let me know if I am on the right track? Will the start-my-radius.sh script work after the system is rebooted without someone actually login and how do I get it to work?Please explain clearly as this is all a bit technical for my liking and not understanding it well!

View 2 Replies View Related

Server :: Tools - Squid Accounts - To Create - Change - Modify Users Of Squid And To View Their Logs

May 23, 2010

My squid server works fine in fedora 11 system . Is there any web like interface for admins to create,change,modify users of squid and to view their logs.

View 1 Replies View Related

CentOS 5 Server :: Squid Proxy Configuration SQUID 2.6.STABLE21

Jan 17, 2011

I would like to ask some help and tutorial for setting up and how to configure squid proxy server in my (Home PC Server). I am a newbie in Linux Centos. I already installed in my system the CentOS 5.5 . Now, I want to configure it as my internet server, all of my 4 system running in Windows including the laptop I want to connect through my CentOS pc with username authentication. I assign all IP address by static. see tthe attachement in my set up. [url] I just want to know what I need to change and add in my squid config file. And how can I configure properly my CentOS with 2 LAN card as internet server.

View 1 Replies View Related

Debian :: Apache2 Web Authentication Against Radius Server - Jessie

Mar 22, 2016

How to configure Web authentication against RADIUS server on Debian Jessie, because the package libapache2-mod-auth-radius is not available on debian mirrors.

I would like to know what happened to this package and what is the newest way to configure radius auth. Some people have told me to compile this package, but is there not an easier way to do that?

View 1 Replies View Related

Ubuntu Networking :: 802.1x Port Based Authentication With EAP And Radius

Apr 5, 2010

I was asked to setup 802.1x Port Based Authentication for users connecting to a Managed Cisco Switch. From what I was told, it should work like this:
- User plugs workstation into switch.
- Workstation asks user for radius credentials.
- Workstation is then able to authenticate to the Radius server.
- After workstation is authenticated, the switchport then becomes unrestricted and allows the workstation to communicate on the network.

View 1 Replies View Related

Ubuntu Networking :: VPN With Authentication To External Radius Server?

Jun 25, 2010

this is all I need simple VPN with authentication to external Radius server. Here is what I have done to try and get this goal accomplished. 1st try using PPTPD and Radius plugin No matter what I have tried (long explanation here [URL].. I can't get PPTPD to talk to my Radius server, even though I can authenticate using the same server and radius server using pam radius. PPTPD just won't, and so far the POTOP mail list has been quiet since my post to them and no replies/ideas in my other post, see forum link above.

2nd try using OpenVPN and their pam auth plugin. I give up on this one! I have the server working great BUT! As soon as I enable the plugin /usr/lib/openvpn/openvpn-auth-pam.so in the config I get this when trying to start the VPN server. kernel: [3725586.167177] openvpn[28364]: segfault at 0 ip 00007fd6e5e38fb4 sp 00007fff434f18f0 error 4 in openvpn-auth-pam.so[7fd6e5e38000+3000] Google turns up nothing on Segfaults on the openvpn-auth-pam.so Ug at my wits end, anybody have any other suggestions? I'm at a total loss ATM.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved