Comments (4)
I'm willing to write the code myself (though I can only easily test on Linux) but don't want to start the effort if it's already known that the feature won't be accepted...
from pam_radius.
from pam_radius.
Well, yes, you could name your host eth0
but how often does that happen? You could ioctl(SIOCGIFADDR)
on the name first, and if that fails, do a gethostbyname()
on it instead.
from pam_radius.
It's not about how often it happens, it's about doing things clearly and correctly so that we know the software is correct.
It costs essentially nothing to add another configuration parameter. The code could look for source_interface
, and if found use that. If not found, use source_ip
.
This is not really any more code than looking up the interface by name, and if not found, looking the name up as a hostname.
from pam_radius.
Related Issues (20)
- getservbyname fails HOT 2
- DISA STIG'd RHEL8 Cannot unlock vlock screen lock with RADIUS authentication HOT 3
- Abort when configuration file is empty HOT 5
- FR: Override Access-challenge text HOT 4
- rlm_pam HOT 1
- About Radius Server Returned time out problem HOT 1
- Radius Access-Challenge received with State or Reply-Message Missing HOT 1
- PAM Radius + OVPN HOT 1
- MSChap/MSChapv2 support in PAM module HOT 1
- Change port for pam account radius request HOT 2
- pam_radius version 2 not woking with multi factor authentication/2FA HOT 24
- pap: ERROR: Cleartext password does not match "known good" password HOT 1
- PAM authentication thread crash when using built module to disable IPV6 HOT 3
- ocserv rewrite framed ip from radius HOT 2
- add environment variable attribute Framed Route
- Question abou Privileg level HOT 1
- Getting Management-Privilege-Level
- Displaying sudo lecture text/prompt not working with SLES 15SP5 and skip_passwd option HOT 5
- Getting cisco-avpair from radius server response HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pam_radius.