Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View olgeni's full-sized avatar

Giacomo Olgeni olgeni

View GitHub Profile
@olgeni
olgeni / virtual-server-6.17.gpl.wbm.info
Last active October 14, 2021 17:30
diffoscope output for virtual-server-6.17.gpl.wbm.gz
Checksum before: 60309531a4d5d1a71b0258ccb52ead77d5619c553ae967da978783117ab14b42
Checksum after: 9793f3fbb92cce9d5f16e84babc1ee93da5321a2b9e48c8679b72a3969108e26
@olgeni
olgeni / webmin-1.940-a323639f-ce76c58e.diff
Created January 6, 2020 23:09
webmin-1.940-a323639f-ce76c58e.diff
This file has been truncated, but you can view the full file.
diff -ruN webmin-1.940-0/authentic-theme/authentic-lib.pm webmin-1.940/authentic-theme/authentic-lib.pm
--- webmin-1.940-0/authentic-theme/authentic-lib.pm 2019-12-24 21:11:54.000000000 +0100
+++ webmin-1.940/authentic-theme/authentic-lib.pm 2019-12-28 08:01:02.000000000 +0100
@@ -1451,7 +1451,7 @@
(int(($t->{'temp'} * 9.0 / 5) + 32) . "°F") :
(int($t->{'temp'}) . '°C ')
) .
- '</span>&nbsp;';
+ '</span>';
}
@olgeni
olgeni / opnsense-bad.txt
Created May 14, 2019 15:39
OPNsense stats (not working)
=== Not working ===
Status: Enabled for 0 days 21:37:09 Debug: Urgent
Interface Stats for vtnet0 IPv4 IPv6
Bytes In 1590894 0
Bytes Out 3609342 172
Packets In
Passed 20572 0
Blocked 0 0
@olgeni
olgeni / opnsense-good.txt
Created May 14, 2019 15:39
OPNsense stats (working)
=== Working ===
Status: Enabled for 0 days 05:44:00 Debug: Urgent
Interface Stats for vtnet0 IPv4 IPv6
Bytes In 662984 0
Bytes Out 2415944 172
Packets In
Passed 8707 0
Blocked 0 0
@olgeni
olgeni / opnsense-panic.txt
Created April 29, 2019 08:36
OPNsense page fault
Fatal trap 12: page fault while in kernel mode
cpuid = 1; apic id = 01
fault virtual address = 0x200
fault code = supervisor write data, page not present
instruction pointer = 0x20:0xffffffff80d8a36e
stack pointer = 0x28:0xfffffe007b56c7c0
frame pointer = 0x28:0xfffffe007b56c810
code segment = base 0x0, limit 0xfffff, type 0x1b
= DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags = interrupt enabled, resume, IOPL = 0
@olgeni
olgeni / rebar-inferior-erlang-compile-outdir.el
Created March 11, 2019 15:27
Making rebar3 and Emacs erlang-mode cooperate
(defun rebar-inferior-erlang-compile-outdir (orig &rest args)
(concat (projectile-project-root) "_build/default/lib/" (projectile-project-name) "/ebin"))
(advice-add 'inferior-erlang-compile-outdir :around 'rebar-inferior-erlang-compile-outdir)
10:53:47.642769 IP (tos 0x10, ttl 63, id 0, offset 0, flags [DF], proto TCP (6), length 60)
10.64.23.34.33217 > 10.101.214.155.http: Flags [S], cksum 0x38f9 (correct), seq 796021328, win 65535, options [mss 1460,nop,wscale 6,sackOK,TS val 1391375843 ecr 0], length 0
10:53:47.662774 IP (tos 0x0, ttl 59, id 0, offset 0, flags [DF], proto TCP (6), length 56)
10.101.214.155.http > 10.64.23.34.33217: Flags [S.], cksum 0x9676 (correct), seq 3854362645, ack 796021329, win 4344, options [mss 1360,sackOK,TS val 88268430 ecr 1391372842], length 0
10:53:47.662782 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto TCP (6), length 40)
10.64.23.34.56296 > 10.101.214.155.http: Flags [R], cksum 0x4f82 (correct), seq 796021329, win 0, length 0
03:11:06.546817 IP 10.64.23.34.35232 > 10.101.214.155.http: Flags [S], seq 401861570, win 65535, options [mss 1460,nop,wscale 6,sackOK,TS val 1195754928 ecr 0], length 0
03:11:06.561751 IP 10.101.214.155.http > 10.64.23.34.35232: Flags [S.], seq 2391121544, ack 401861571, win 4344, options [mss 1360,sackOK,TS val 84715020 ecr 1195754928], length 0
03:11:06.561761 IP 10.64.23.34.46146 > 10.101.214.155.http: Flags [R], seq 401861571, win 0, length 0
FreeBSD/amd64 (...) (ttyu0)
login: root
Password:
----------------------------------------------
| Hello, this is OPNsense 18.7 | @@@@@@@@@@@@@@@
| | @@@@ @@@@
| Website: https://opnsense.org/ | @@@\\\ ///@@@
| Handbook: https://docs.opnsense.org/ | )))))))) ((((((((
| Forums: https://forum.opnsense.org/ | @@@/// \\\@@@
Fatal trap 9: general protection fault while in kernel mode
cpuid = 3; apic id = 03
instruction pointer = 0x20:0xffffffff80cff6e4
stack pointer = 0x28:0xfffffe011ab2e8b0
frame pointer = 0x28:0xfffffe011ab2e900
code segment = base 0x0, limit 0xfffff, type 0x1b
= DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags = interrupt enabled, resume, IOPL = 0
current process = 12 (swi4: clock (0))
[ thread pid 12 tid 100008 ]