Pirania malformed auth_macs file

Open
#1,205 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
1-2 days
Newbie friendliness
38/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
lua
Domain
networking

Research direction

The report identifies /tmp/pirania/read_for_access/auth_macs and shows malformed entries, but it does not name the code that writes the file or explain how to reproduce the problem. Start by searching the repository for auth_macs and tracing how MAC addresses are written; define a reproduction and expected file format before attempting a fix.

Written by the indexing model from the issue text.

Description

We ended up with /tmp/pirania/read_for_access/auth_macs having this content:

56:7b:aa:35:69:ce1820 122580
ee:7e:0a:28:e4:8c4347 122580
7e:76:d4:da:3e:c86874 122580
aa:f7:e9:84:86:6e 466910
22:a2:b8:9f:12:5a 460166
5a:9d:6d:64:37:da 467203

56:7b:aa:35:69:ce, ee:7e:0a:28:e4:8c and 7e:76:d4:da:3e:c8 are the actual macs.

I have no clue on how we got there.

Dominant language
Lua
Stars
338
Forks
113
Avg merge
8d 3h
Merged PRs (30d)
3

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from libremesh/lime-packages

All issues in libremesh/lime-packages

Similar issues

More Lua issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.