Disable 802.1x?

Started by scuq, February 08, 2013, 05:07:51 PM

Previous topic - Next topic

scuq

is it possible to turn off 802.1x polling?

I see a lot of "Checking 802.1x state for" in the logfile.

Alex Kirhenshtein

Not right now. You can only disable it in the code and then rebuild server.
diff --git a/src/server/core/interface.cpp b/src/server/core/interface.cpp
index 0436baa..6f95b42 100644
--- a/src/server/core/interface.cpp
+++ b/src/server/core/interface.cpp
@@ -504,6 +504,7 @@ void Interface::StatusPoll(ClientSession *pSession, DWORD dwRqId,   Queue *pEventQ
                        break;
        }

+  /*
        // Check 802.1x state
        if ((pNode->getFlags() & NF_IS_8021X) && isPhysicalPort())
        {
@@ -512,6 +513,7 @@ void Interface::StatusPoll(ClientSession *pSession, DWORD dwRqId,   Queue *pEventQ
                if ((m_dot1xPaeAuthState == PAE_STATE_FORCE_UNAUTH) && (newStatus < STATUS_MAJOR))
                        newStatus = STATUS_MAJOR;
        }
+  */

        // Reset status to unknown if node has known network connectivity problems
        if ((newStatus == STATUS_CRITICAL) && (pNode->getRuntimeFlags() & NDF_NETWORK_PATH_PROBLEM))

scuq

thx a lot, i'll try a compile, if all other hiccups are stashed away