Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add regex support for option -r/-R in the radsniff #1118

Closed
jpereira opened this issue Jul 3, 2015 · 4 comments
Closed

Add regex support for option -r/-R in the radsniff #1118

jpereira opened this issue Jul 3, 2015 · 4 comments
Labels
defect category: a defect or misbehaviour v4.0.x meta: relates to the v4.0.x branch

Comments

@jpereira
Copy link
Contributor

jpereira commented Jul 3, 2015

Hi,

Suggestion for a good improvement for the great tool.

e.g:

# radsniff -i eth0 -x -r "User-Name =~ /regex/ || Idle-Timeout >= 10"
@arr2036
Copy link
Member

arr2036 commented Jul 7, 2015

should already work?

@jpereira
Copy link
Contributor Author

jpereira commented Jul 9, 2015

@arr2036 nops. have an idea, how could be the changes?

@arr2036 arr2036 added feature request v4.0.x meta: relates to the v4.0.x branch defect category: a defect or misbehaviour and removed feature request labels Aug 29, 2015
@derde
Copy link

derde commented Sep 1, 2015

Matching with ~= works in 3.0.9 when the regex is not quoted with slashes, ie.

radsniff -x -r 'User-Name =~ ..' -c 10

@arr2036
Copy link
Member

arr2036 commented Sep 2, 2015

Assuming the fix for this was the same as #1205 if not, please reopen.

@arr2036 arr2036 closed this as completed Sep 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
defect category: a defect or misbehaviour v4.0.x meta: relates to the v4.0.x branch
Projects
None yet
Development

No branches or pull requests

3 participants