This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python2 | |
# | |
# Copyright 2014 James Geboski <[email protected]> | |
# | |
# This program is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or | |
# (at your option) any later version. | |
# | |
# This program is distributed in the hope that it will be useful, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/terminal/main.c b/terminal/main.c | |
index 93f8d40..9f9a0ce 100644 | |
--- a/terminal/main.c | |
+++ b/terminal/main.c | |
@@ -241,7 +241,7 @@ main (int argc, char **argv) | |
g_type_init (); | |
#endif | |
- if (!disable_server) | |
+ if (G_UNLIKELY (!disable_server)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verizon FiOS (and possibly other ISPs) deploy CPE routers based on | |
OpenRG which enable CWMP (port 4567) by default. The CWMP protocol | |
enables remote management of the CPE device, however, the protocol can | |
also enable a remote attacker to obtain unwarranted access. The simple | |
solution is to disable the CWMP protocol, which is done below. Please | |
note, this operation is likely unsupported by ISPs, so do the following | |
at your own risk. | |
Information on CWMP: http://en.wikipedia.org/wiki/TR-069 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright (C) 2011-2014 James Geboski <[email protected]> | |
* | |
* This program is free software; you can redistribute it and/or modify it | |
* under the terms of the GNU General Public License version 2 as published | |
* by the Free Software Foundation. | |
*/ | |
#include <znc/Buffer.h> | |
#include <znc/Chan.h> |
NewerOlder