netfilter를 이용하면 현재 ip 헤더부분부터 페이로드까지만 불러오더라구요. 그보다 상위 계층 ethernet 프레임에서 mac 주소를 얻어오고 싶은데 방법을 모르겠습니다. 제 맥주소와 상대 맥주소 두가지를 알아보고 싶은데 혹시 아시는분 없을까요?
ebtables 엔 iptables 의 queue 같은 기능은 아직 없는 것 같고요, watcher extention 을 사용하면 log 처럼 받아볼 수는 있는 것 같습니다.https://github.com/irgeek/ebtables/blob/master/examples/ulog/test_ulog.c
텍스트 포맷에 대한 자세한 정보
<code>
<blockcode>
<apache>
<applescript>
<autoconf>
<awk>
<bash>
<c>
<cpp>
<css>
<diff>
<drupal5>
<drupal6>
<gdb>
<html>
<html5>
<java>
<javascript>
<ldif>
<lua>
<make>
<mysql>
<perl>
<perl6>
<php>
<pgsql>
<proftpd>
<python>
<reg>
<spec>
<ruby>
<foo>
[foo]
ebtables 엔 iptables 의 queue
ebtables 엔 iptables 의 queue 같은 기능은 아직 없는 것 같고요,
watcher extention 을 사용하면 log 처럼 받아볼 수는 있는 것 같습니다.
https://github.com/irgeek/ebtables/blob/master/examples/ulog/test_ulog.c
댓글 달기